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'm trying to implement a function to retrieve the translation and rotation of the parts in an assembly step file. I found the function read_step_file_with_names_colors(filename) inside DataExchange.py with the locations commented, and implemented in my code. When I get the numbers, they match perfectly with the parameters shown in a CAD program e.g. FreeCAD.
However, the positions are exactly the same for different parts, both in FreeCAD data and in my output, which I know not to be true, as they are shown in FreeCAD in different locations. I've read something in the internet about the vertices of a part actually being in the correct positions, but I have no idea how to implement that.
Is there a way to actually getting the correct position of a part in the "world" of the assembly?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I'm trying to implement a function to retrieve the translation and rotation of the parts in an assembly step file. I found the function
read_step_file_with_names_colors(filename)
insideDataExchange.py
with the locations commented, and implemented in my code. When I get the numbers, they match perfectly with the parameters shown in a CAD program e.g. FreeCAD.However, the positions are exactly the same for different parts, both in FreeCAD data and in my output, which I know not to be true, as they are shown in FreeCAD in different locations. I've read something in the internet about the vertices of a part actually being in the correct positions, but I have no idea how to implement that.
Is there a way to actually getting the correct position of a part in the "world" of the assembly?
Thanks in advance.
The text was updated successfully, but these errors were encountered: