Script Parameterization
https://github.com/openscad/openscad/wiki/Project:-Form-based-script-parameterization
is one of the future goals of OpenSCAD. With the help of event handler
capability in SynWrite editor, I did a lil experiment to create something
I'd call "In-Doc UI" (user-interface) to achieve some basic features of that
goal:
http://forum.openscad.org/file/n15774/20160119_idu_demo.gif
$ Runsun Pan, PhD
$ libs:
doctest ,
faces ( git ),
offline doc ( git ),
runscad.py( 1 , 2 , git ),
synwrite( 1 , 2 );
$ tips:
hash( 1 , 2 ),
sweep ,
var( 1 , 2 ),
lerp ,
animGif ,
precision( 1 , 2 ),
xl-control
--
View this message in context: http://forum.openscad.org/Script-parameterization-with-In-Doc-UI-in-SynWrite-tp15774.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
mmmhhh this gif doesn't work. let me figure out an alternative.
$ Runsun Pan, PhD
$ libs:
doctest ,
faces ( git ),
offline doc ( git ),
runscad.py( 1 , 2 , git ),
synwrite( 1 , 2 );
$ tips:
hash( 1 , 2 ),
sweep ,
var( 1 , 2 ),
lerp ,
animGif ,
precision( 1 , 2 ),
xl-control
--
View this message in context: http://forum.openscad.org/Script-parameterization-with-In-Doc-UI-in-SynWrite-tp15774p15775.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Check it out on youtube:
OpenSCAD Parameterization via"In-Doc UI" in SynWrite
https://www.youtube.com/watch?v=PQHdxmk1gew
$ Runsun Pan, PhD
$ libs:
doctest ,
faces ( git ),
offline doc ( git ),
runscad.py( 1 , 2 , git ),
synwrite( 1 , 2 );
$ tips:
hash( 1 , 2 ),
sweep ,
var( 1 , 2 ),
lerp ,
animGif ,
precision( 1 , 2 ),
xl-control
--
View this message in context: http://forum.openscad.org/Script-parameterization-with-In-Doc-UI-in-SynWrite-tp15774p15776.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
My adventure on using the SynWrite editor for OpenSCAD carries a huge step
further. The idea of "in-doc ui" developed previously is abandoned (because
it requires extra typing on the script). The new approach is called
"Click-Change", with that it's now possible to do some amazing script
parameterization with mouse clicks. See the video on youtube
https://www.youtube.com/watch?v=rNkvXI-PQsU&feature=youtu.be if the
animated gif below doesn't work:
http://forum.openscad.org/file/n15963/output.gif
Note that there is no keyboard entry at all during the entire process.
$ Runsun Pan, PhD $ libs: doctest , faces ( git ), offline doc ( git ), runscad.py( 1 , 2 , git ), synwrite( 1 , 2 ); $ tips: hash( 1 , 2 ), sweep , var( 1 , 2 ), lerp , animGif , precision( 1 , 2 ), xl-control
--
View this message in context: http://forum.openscad.org/Script-parameterization-with-In-Doc-UI-in-SynWrite-tp15774p15963.html
Sent from the OpenSCAD mailing list archive at Nabble.com.