mirror of
https://github.com/csirmaz/openscad-py.git
synced 2025-06-22 02:38:57 +02:00
Documentation
This commit is contained in:
parent
9d24a2c85f
commit
bb7155a5fd
25 changed files with 88 additions and 21 deletions
|
@ -15,5 +15,6 @@ class Difference(Object):
|
|||
self.tool = Collection.c(tool) # what to remove
|
||||
|
||||
def render(self) -> str:
|
||||
"""Render the object into OpenSCAD code"""
|
||||
return f"difference(){{ {self.subject.render()}\n{self.tool.render()} }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue