RapCAD icon indicating copy to clipboard operation
RapCAD copied to clipboard

Add support for OpenSCAD CLI options, esp. "viewall"

Open WillAdams opened this issue 2 years ago • 4 comments

Using the nifty new OpenSCAD Graph Editor: https://github.com/derkork/openscad-graph-editor

but it calls OpenSCAD using a command-line option "viewall" which results in an error when calling rapcad.exe:

image

List of the options at:

https://en.m.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_OpenSCAD_in_a_command_line_environment

Having a superset of the OpenSCAD options would help interoperability a lot.

WillAdams avatar Aug 13 '22 12:08 WillAdams

I can quickly add a viewall option so it doesn't error. Getting it to fit the view might take a little longer. Do you want me to just ward off the error or can you wait for the full feature?

GilesBathgate avatar Aug 13 '22 14:08 GilesBathgate

Just warding off the error would be great!

The full feature support would be gravy, but I can wait for that.

Thanks!

WillAdams avatar Aug 14 '22 01:08 WillAdams

@WillAdams you can test a Windows snapshot that wards off the error if you like https://github.com/GilesBathgate/RapCAD/suites/7805119228/artifacts/329357650

NOTE Such snapshots are always available from the master branch github actions page: ( https://github.com/GilesBathgate/RapCAD/actions/runs/2855012732 )

GilesBathgate avatar Aug 14 '22 09:08 GilesBathgate

Thanks! This is working great!

image

WillAdams avatar Sep 06 '22 03:09 WillAdams

Fixed

GilesBathgate avatar Oct 10 '22 20:10 GilesBathgate