Ability to Pass Export Parameters
There is the ability to specify command line options for the application, but the CadQuery export method also accepts an options dictionary that modifies the result of the export. Below is an example with SVG export.
opts = {
"width": 800,
"height": None,
"marginLeft": 10,
"marginTop": 10,
"showAxes": False,
"projectionDir": (1.0, 0.0, 0.0),
"strokeWidth": 0.5,
"strokeColor": (10, 10, 10),
"hiddenColor": (127, 127, 127),
"showHidden": False,
}
cq.exporters.export(my_model, "my_model.svg", opt=opts)
Is there a way to pass a set of options like this to the processor? If not, could it be accommodated without making a mess of the spec?