You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to get the rotation on the X,Y,Z axis and the position of a .STEP object on FreeCAD, and also get screenshots in every position of the object with Python Scripts of FreeCAD.
I saw that we can do it manually (I'm a real beginner on FreeCAD), but it's not what I want.
So I tried this, but it's doesn't seems to be the good solution :
>>> for i in range(360):
... for j in range(360):
... for k in range(360):
... FreedCAD.getDocument("mySTEP").getObject("Part_Feature").Placement = App.Placement(App.Vector(0,0,0),App.Rotation(App.Vector(i,j,k),1))
As I said, I want to get screenshots of the object in all its rotations on X,Y and Z and also its position.
Is anyone can help me please?
Thank you
The text was updated successfully, but these errors were encountered:
This is not the appropriate place to make this request, right? Because it's a library of models. You'll have better exposure and more relevance if you post to the FreeCAD forum. Specifically the Python and macros subforum. Please do so and close this ticket. Thank you
I would like to get the rotation on the X,Y,Z axis and the position of a .STEP object on FreeCAD, and also get screenshots in every position of the object with Python Scripts of FreeCAD.
I saw that we can do it manually (I'm a real beginner on FreeCAD), but it's not what I want.
So I tried this, but it's doesn't seems to be the good solution :
As I said, I want to get screenshots of the object in all its rotations on X,Y and Z and also its position.
Is anyone can help me please?
Thank you
The text was updated successfully, but these errors were encountered: