Created
November 30, 2011 01:01
-
-
Save sparr/1407460 to your computer and use it in GitHub Desktop.
freecad mirror rotate bug test case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from FreeCAD import Base | |
box1 = Part.makeBox(1,4,9) | |
Part.show(box1) | |
box2 = Part.makeBox(1,4,9) | |
box2.rotate(Base.Vector(0,0,0),Base.Vector(0,0,1),60) # this line changes the behavior of the mirror | |
Part.show(box2) | |
box2 = box2.mirror(Base.Vector(2,4,9),Base.Vector(1,0,0)) # this mirror doesn't work correctly after the part has been rotated | |
Part.show(box2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment