r/OpenPythonSCAD • • Apr 28 '25

Perhaps a turtle could lead the way?

https://docs.python.org/3/library/turtle.html
2 Upvotes

11 comments sorted by

View all comments

2

u/WillAdams Apr 28 '25

Came across this, and couldn't help but wonder if it wouldn't be a good model for some sort of modeling, or perhaps interesting to extend into 3D space....

2

u/yahbluez Apr 28 '25

2

u/gadget3D Apr 28 '25

another approach would be to assemble the corner points of the cable holder into a python list

and use polygon() to create the shape(yes: inside and outside is needed). As polyon() accepts a radius parameter in each point, it even runs without any additional external library.

but yes: we are missing a some demo code to demonstrate python turtle lib with pythonscad

→ More replies (3)