Slicer Discord
OpenSCAD - Python Edition – 3D-printbaar model van Thingiverse Thingiverse

OpenSCAD - Python Edition

door gigl
2 Downloads
6 Likes
0 Makes
Model downloaden
OpenSCAD is very powerful, but its also very limited, because variables can only be assigned once and trick workarounds are required to overcome this shortness. Why dont use another interpreter - like Python ?
Python has all the options you like and you can do clever things before rendering your 3D shapes( e.g. calculate the bits of an QR code)

This Variant is still under heavy development, but it already available for testing. Following commands are already available. My plan is to implement all of them and even more

These are the commands which are already available:

cube cylinder sphere
translate rotate
union intersection difference
square circle
linear_extrude rotate_extrude
A possible working program looks like

def foot(x,y):
c=cube([1,1,10])
return translate(c,[x,y,0])

def plate():
return cube([11,11,1])

parts=[]
parts.append(translate(plate(),[0,0,10]))

for y in [0,10]:
for x om [0,10]:
parts.append(foot(x,y]))

output(union(parts))
Bron
Thingiverse
Wat je nodig hebt om te printen: Beginner Lage betrouwbaarheid
Eendelig
Supports 1/3
Montage 0/3
Instellingen 1/3
Bedgrootte 0/3
Nabewerking 0/3
Printer
FDM / FFF
Bestandsformaat
STL
Materiaal
PLA, TPU
Software
Cura, PrusaSlicer of vergelijkbaar
Nog geen beoordelingen
Nog geen reacties – wees de eerste!
Feed Blog Slicer Kostenrekenmachine Zoeken op afbeelding Indienen Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Toevoegen aan collectie