Skip to content

Commit 4df629c

Browse files
committed
fix: addressing issue #41, in newer versions Fusion now includes original body into pattern feature
1 parent 59da047 commit 4df629c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gridfinityUtils/baseplateGenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def createGridfinityBaseplate(input: BaseplateGeneratorInput, targetComponent: a
107107
centerCutoutBody = centerCutoutExtrudeFeature.bodies.item(0)
108108
combineUtils.joinBodies(
109109
centerCutoutBody,
110-
commonUtils.objectCollectionFromList(centerCutoutPattern.bodies),
110+
commonUtils.objectCollectionFromList([body for body in list(centerCutoutPattern.bodies) if not body.name == centerCutoutBody.name]),
111111
targetComponent,
112112
)
113113
extraCutoutBodies.append(centerCutoutBody)

0 commit comments

Comments
 (0)