[OpenSCAD] Modify the viewport without reopening OpenSCAD

Torsten Paul Torsten.Paul at gmx.de
Fri Jul 26 14:22:56 EDT 2019


On 26.07.19 19:33, Juan C.Cilleruelo wrote:
> If it's possible without close and reopen OpenSCAD.

For giving a specific viewport setting when loading a file,
you can include the $vpX variables to setup a fixed viewport
on preview/render.

The saved state is Qt internal, I don't know what the
format is and if it can/should be driven from outside.

That said, there's an (experimental) InputDriver for DBus
which allows external programs to interact with a running
OpenSCAD. But so far that is only available on Linux.
There might be a way to get DBus working on Windows, but
I have never tried.

ciao,
  Torsten.



More information about the Discuss mailing list