Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #118 from galou/cleanup
Browse files Browse the repository at this point in the history
Cleanup geom.py
  • Loading branch information
jmwright committed Oct 9, 2015
2 parents 9511375 + 37890d1 commit c42d1e3
Show file tree
Hide file tree
Showing 2 changed files with 333 additions and 329 deletions.
2 changes: 1 addition & 1 deletion cadquery/CQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def transformed(self, rotate=(0, 0, 0), offset=(0, 0, 0)):
offset = offset.toTuple()

p = self.plane.rotated(rotate)
p.setOrigin3d(self.plane.toWorldCoords(offset))
p.origin = self.plane.toWorldCoords(offset)
ns = self.newObject([p.origin])
ns.plane = p

Expand Down
Loading

0 comments on commit c42d1e3

Please sign in to comment.