mirror of
https://github.com/csirmaz/openscad-py.git
synced 2025-06-21 18:28:58 +02:00
Documentation
This commit is contained in:
parent
9d24a2c85f
commit
bb7155a5fd
25 changed files with 88 additions and 21 deletions
|
@ -14,13 +14,12 @@ class Sphere(Object):
|
|||
See https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_Language#sphere
|
||||
"""
|
||||
|
||||
|
||||
def __init__(self, r):
|
||||
self.r = r
|
||||
# $fa, $fs, $fn
|
||||
|
||||
|
||||
def render(self):
|
||||
"""Render the object into OpenSCAD code"""
|
||||
return f"sphere(r={self.r});"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue