r/OpenPythonSCAD • u/gadget3D • Mar 27 '25
Dragging and moving Objects in PythonSCAD
These days PythonSCAD starts to become even more interactive.
Now you can drag edges and move them around with your mouse tip like so:
https://www.youtube.com/watch?v=9xBtzE5hhR4
In your code you have to mark values, which are enabled to be "draggable".
Right now this only works for cube() and rotate(), but many more to follow. my next goal is will be also update the source code after drag has finished.
5
Upvotes
View all comments
Show parent comment
1
u/gadget3D Mar 28 '25
https://www.youtube.com/watch?v=rtHItyofpxQ
Here is the improved version. There is a diamond and updated source code