r/OpenPythonSCAD • u/gadget3D • Jan 25 '26
Creating LaserCuts with PythonSCAD
Something which PythonSCAD did not yet touch is lasercuts.
Plywood mostly acts as an objects surface for DIY lasercut art, so PythonSCAD's faces()
function is a great location to start with, so I started codeing an utiliy library 'pylaser' for that. Also there were quite some improvements inside PythonSCAD for better 2D support.
E.g. now its even possible to alter polygons after they were created
Imagin you have this code:
'''
from openscad import *
from pylaser import *
b=cube([30,30,20])
f=b.faces()
lc = LaserCutter(b.faces())
#lc.preview()
lc.finalize()
...
Results are:



But this is just the tip of the ice-berg. My plan is beeing able to be way more liberal and not having to stick to the faces() function, but also create my own compositions. Many Ideas yet to implement
Ideas welcome!
View all comments
Show parent comment
1
u/gadget3D Jan 26 '26
Only issue here, that my laser cannot create 45deg miter cuts. My sister has also asked me before and I had to declilne! On Temu there are nice signs:" Can I help to repair, or are you able to destroy it yourself"