Hi,
I'm looking into the Path module, and I have rotated my imported STEP file so the orientation (XY = horizontal plane) is correct. I did that thru the drop down menu's Edit -> Placement, and rotate to the correct orientation.
In the path module, when I add a job, and choose to use the existing stock, The wireframe showing the "old" orientation shows up. Do I do something wrong.
Best,
Bas
Question about stock after rotating a part
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Question about stock after rotating a part
Not easy to diagnose without the file... Most probably you didn't actually move the objects themselves but you moved the Part container in which they are. Such container having its own LCS, it actually only has a "visual effect".
-
- Posts: 991
- Joined: Wed Mar 27, 2019 10:45 am
Re: Question about stock after rotating a part
I know this is a little bit pirating this topic, and I've been here long enough that asking is shameful...
But im still extremely confused as to which FreeCAD action that moves the part (Transform, manipulator align, path rotate....etc) actually moves it (and in relation to what) And which actually is only visual.
But im still extremely confused as to which FreeCAD action that moves the part (Transform, manipulator align, path rotate....etc) actually moves it (and in relation to what) And which actually is only visual.
Re: Question about stock after rotating a part
During Job creation a clone is created (or more than one). After that both objects have independent placements, so that the clone can be rotated - which is in Path the main purpose.
Changing the shape of the object results in changing the shape of the clone too. Think of it like twins: they both mature and grow older, get both wrinkles and white hair, but can live in different places - or one of them is rotated, while the other isn't .
Changing the shape of the object results in changing the shape of the clone too. Think of it like twins: they both mature and grow older, get both wrinkles and white hair, but can live in different places - or one of them is rotated, while the other isn't .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Question about stock after rotating a part
Thank you all for the replies.
I have zero experience wirh FreeCAD, but I've been modelling with CAD programs for the last 20 years. Checking the Path module I'm "just" clicking around to try out stuff. Since I've seen this behaviour I could not comprehend I've made some screenshots to fo along, as well as my Freecad file, and the STEP file I import.
Playing aroud a bit more I've seen the behaviour I expect, and some that I do not expect. I intend no disrespect to the program itself nor its developers or community. I'm just trying to understand what I do wrong (in thinking). Bear with me.
Correct behaviour, see ictures 1 and 2 attached.
I made sure before even opening the Path workbench, I imported, rotated and saved the part. (yellow plane needs to be the XY plane in the picture). And then I've made a job where the stock shows the model I expect. This differed from the situation I made my original post. So I wondered what did I do different. The difference was that I selected the "document" if you will (see picture 2 attached) with the "blue cube red sphere" icon. This probably has a proper name I do not know of
This shows the "Stock-stud_welding_assembly" in the same orientation as the model after manually hiding the body.
The behaviour I do not understand, pictures 3 and 4 attached.
When I selected the geometry/solid before I create a job, then selecting "Use existing solid" for stock from the combobox would default to the "cover" body and would show the wrong orientation. Why would that happen if I rotated the entire geometry in the first place? A clone of the rotated body would be rotated in my thoughts.
Scrolling down allows me to chose "stud_welding_assembly" and that shows the proper stock again. I did not see this initially. It seems like selecting something from the Model view, will default to the first child entry for the "Use existing model" option. I would expect the parent that got selected by me and not the first child.
Anyway, I can work further, nothing blocking, but it would be good to understand.
Best,
Bas
I have zero experience wirh FreeCAD, but I've been modelling with CAD programs for the last 20 years. Checking the Path module I'm "just" clicking around to try out stuff. Since I've seen this behaviour I could not comprehend I've made some screenshots to fo along, as well as my Freecad file, and the STEP file I import.
Playing aroud a bit more I've seen the behaviour I expect, and some that I do not expect. I intend no disrespect to the program itself nor its developers or community. I'm just trying to understand what I do wrong (in thinking). Bear with me.
Correct behaviour, see ictures 1 and 2 attached.
I made sure before even opening the Path workbench, I imported, rotated and saved the part. (yellow plane needs to be the XY plane in the picture). And then I've made a job where the stock shows the model I expect. This differed from the situation I made my original post. So I wondered what did I do different. The difference was that I selected the "document" if you will (see picture 2 attached) with the "blue cube red sphere" icon. This probably has a proper name I do not know of
This shows the "Stock-stud_welding_assembly" in the same orientation as the model after manually hiding the body.
The behaviour I do not understand, pictures 3 and 4 attached.
When I selected the geometry/solid before I create a job, then selecting "Use existing solid" for stock from the combobox would default to the "cover" body and would show the wrong orientation. Why would that happen if I rotated the entire geometry in the first place? A clone of the rotated body would be rotated in my thoughts.
Scrolling down allows me to chose "stud_welding_assembly" and that shows the proper stock again. I did not see this initially. It seems like selecting something from the Model view, will default to the first child entry for the "Use existing model" option. I would expect the parent that got selected by me and not the first child.
Anyway, I can work further, nothing blocking, but it would be good to understand.
Best,
Bas
Re: Question about stock after rotating a part
I forgot to add the STEP and FreeCAD file.
Here they are
Here they are
- Attachments
-
- stud_welding_assembly.STEP
- (233.97 KiB) Downloaded 24 times
-
- stud_welding_assembly.FCStd
- (131.83 KiB) Downloaded 27 times
Re: Question about stock after rotating a part
Finally got around to have a look.
When you create the Job, Path does the right thing and only presents the top level solid. The selection for "Use Existing Solid" is quite messed up as it turns out. What happens is that the choices for the combo box are lexicographically sorted. I remember the reasoning to allow sub-parts in that list, looking at your file I question the wisdom of that decision though
Finally, the reason "cover" is placed wrong is because the orientation of "cover" is overlayed by the Placement of "stud_welding_assembly" (which has the rotation). If you clear the Placement of "stud_welding_assembly" you'll see that "cover" is placed as it shows up as Stock. Alternatively, if you drag "cover" out of the "stud_welding_assembly" it will also revert back to its original placement (orientation).
Does this make any sense?
BTW: I haven't played with a Part in a long time, last time I tried it didn't work for Path at all. This is excellent news - thanks for showing that off!
When you create the Job, Path does the right thing and only presents the top level solid. The selection for "Use Existing Solid" is quite messed up as it turns out. What happens is that the choices for the combo box are lexicographically sorted. I remember the reasoning to allow sub-parts in that list, looking at your file I question the wisdom of that decision though
Finally, the reason "cover" is placed wrong is because the orientation of "cover" is overlayed by the Placement of "stud_welding_assembly" (which has the rotation). If you clear the Placement of "stud_welding_assembly" you'll see that "cover" is placed as it shows up as Stock. Alternatively, if you drag "cover" out of the "stud_welding_assembly" it will also revert back to its original placement (orientation).
Does this make any sense?
BTW: I haven't played with a Part in a long time, last time I tried it didn't work for Path at all. This is excellent news - thanks for showing that off!