Documentation

This commit is contained in:
Elod Csirmaz 2024-11-30 22:45:02 +00:00
parent 9d24a2c85f
commit bb7155a5fd
25 changed files with 88 additions and 21 deletions

View file

@ -20,6 +20,7 @@ class LinearExtrude(Object):
# twist, slices, scale (float/vector), $fn
def render(self) -> str:
"""Render the object into OpenSCAD code"""
return f"linear_extrude(height={self.height}, center={self._center()}, convexity={self.convexity}){{\n{self.child.render()}\n}}"