Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D rotations of .STEP file #244

Closed
sabrinamehlal opened this issue Jul 19, 2019 · 2 comments
Closed

3D rotations of .STEP file #244

sabrinamehlal opened this issue Jul 19, 2019 · 2 comments

Comments

@sabrinamehlal
Copy link

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

@luzpaz
Copy link
Contributor

luzpaz commented Jul 19, 2019

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

@normandc
Copy link
Contributor

normandc commented Mar 7, 2021

I doubt regular users can close tickets. I'd think only this repo's managers can. Doing so.

@normandc normandc closed this as completed Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants