GilesBathgate / RapCAD

Rapid prototyping CAD IDE for RepRap and RepStrap 3D printing machines.
https://rapcad.org
GNU General Public License v3.0
155 stars 25 forks source link

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

Closed WillAdams closed 2 years ago

WillAdams commented 2 years ago

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.

GilesBathgate commented 2 years ago

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?

WillAdams commented 2 years ago

Just warding off the error would be great!

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

Thanks!

GilesBathgate commented 2 years ago

@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 )

WillAdams commented 2 years ago

Thanks! This is working great!

image

GilesBathgate commented 2 years ago

Fixed