Skip to content

Commit

Permalink
add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Krande committed Nov 21, 2024
1 parent c0bcb57 commit dea8fa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ada/api/spatial/part.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ def add_boolean(
add_pen_to_subparts=True,
add_to_layer: str = None,
) -> Boolean:
from ada import Boolean

def create_pen(pen_):
if isinstance(pen_, (PrimExtrude, PrimRevolve, PrimCyl, PrimBox)):
return Boolean(pen_, parent=self)
Expand Down

0 comments on commit dea8fa4

Please sign in to comment.