Search results

  1. M

    How to rotate around pivot

    Hi, I don't understand how to make multiple transformations or how to rotate around a pivot to get a valid result. I'm not sure if it is a problem with the order in which it should happen or am I misunderstanding things how it is meant to work. The gp_Trsf seems to make one transformation at a...
  2. M

    How to rotate or translate assemblies

    Sometimes its a long way to go. I do now use your approach with a custom and forced updateComponent() after translating/rotating. My way with Add/RemoveComponent() adds everytime a new Label to the assembly that I can't get rid off. I didn't notice that in the example/debug application. I...
  3. M

    How to rotate or translate assemblies

    It only sets isModified to true when there is a difference between the count of label-childs that are components (!) and children in the actual TopoDS_Shape. If I only do UpdateAssemblies() once after RemoveComponent() then there is equal count again and it won't work. When doing after adding it...
  4. M

    How to rotate or translate assemblies

    Thank you so much for your work! So much people are using OpenCascade and I can't imagine no one ever faced this problem. I had a really hard time searching forums and the internet. I thought I had a wrong understanding of how OpenCascade does things. I also did some more research (I never had...
  5. M

    How to rotate or translate assemblies

    Hi, I'm having a really hard time rotating or translating assemblies. I have a bunch of step files and need to have them equally aligned. I'm loading the document with opencascade STEPCAFControl_Reader. To understand the overall principle I watched youtube (Quaoar - Lesson12&15) several times...
Top