Skip to content

Commit

Permalink
Removed an optimization that breaks assembly of STEP and some CadQuer…
Browse files Browse the repository at this point in the history
…y parts. (#103)
  • Loading branch information
openvmp authored Jan 28, 2024
1 parent e3e7de4 commit 329ffd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion partcad/src/partcad/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ def get_shape(self):
if not self.location is None:
shape.locate(self.location)
self.shape = shape.wrapped
return copy.copy(self.shape)
return self.shape
# return copy.copy(self.shape) # TODO(clairbee): fix this for the case when the parts are made with cadquery

def _render_txt_real(self, file):
self.do_instantiate()
Expand Down

0 comments on commit 329ffd2

Please sign in to comment.