mirror of
https://github.com/csirmaz/openscad-py.git
synced 2025-06-21 10:25:41 +02:00
Documentation
This commit is contained in:
parent
9d24a2c85f
commit
bb7155a5fd
25 changed files with 88 additions and 21 deletions
|
@ -29,6 +29,7 @@ class Circle(Object):
|
|||
return cls(r=r, fn=sides)
|
||||
|
||||
def render(self) -> str:
|
||||
"""Render the object into OpenSCAD code"""
|
||||
fnstr = '' if self.fn is None else f", $fn={self.fn}"
|
||||
return f"circle(r={self.r}{fnstr});"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue