r/OpenPythonSCAD • • Dec 04 '24

The Taste of OpenSCAD++

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();

''''

3 Upvotes

6 comments sorted by

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!