Latest feature of Pythoncad is to use Python Classes in your SCAD code.
Lets do a Robot statemachine, something like this:
'''
use <robot.py>
robot=myrobot();
robot.draw_cube();
robot.right(2);
robot.draw_cube();
robot.front(3);
robot.draw_sphere();
robot.right(3);
robot.draw_cube();
''''

View all comments
Show parent comment
2
u/WillAdams Dec 05 '24
New version up at:
https://pythonscad.org/download.php
downloaded and installed --- will test this evening. Thanks!