Skip to content

Commit eb79a4e

Browse files
authored
Fixed typo bug from #1782 related to STEP subshape export (#1838)
1 parent 1b2c7fd commit eb79a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cadquery/occ_impl/exporters/assembly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def _process_child(child: AssemblyProtocol, assy_label: TDF_Label):
191191

192192
# Step through every face in the shape, and see if any metadata needs to be attached to it
193193
for face in shape.Faces():
194-
if face in names or face in shape in colors or face in layers:
194+
if face in names or face in colors or face in layers:
195195
# Add the face as a subshape
196196
face_label = shape_tool.AddSubShape(part_label, face.wrapped)
197197

0 commit comments

Comments
 (0)