Assembly4: How to access LCS (or other datum objects) of bodys in part

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
euphi77
Posts: 13
Joined: Sat Dec 02, 2017 9:45 am

Assembly4: How to access LCS (or other datum objects) of bodys in part

Post by euphi77 »

I try to assemble some Part Design Objects together with imported Step Files.

On Part Design Object is a Part with the Body and objects from the fastener workbench. (Heatsets, so I think it is good practice to add them to the Part itself before using it in assembly4 WB). So Structure: (see also screenshot)

- Part1
-- Body
--- some datum objects *1)
-- 4x Fastener
-- other datum objects *2)
- Body2
-- datum objects *2)
- Step-Part1
[...]
Model structure with the two datum objects selected
Model structure with the two datum objects selected
Screenshot_20220228_225058.png (514.07 KiB) Viewed 756 times
When assembling, I only can find the datum objects directly in top-level hierarchy (marked with *2) ).

So, how do I access the datum objects of the Body that belongs to Part1?
I also tried to move these datum objects to the part, but this breaks the body.

Strange thing is that I already managed to have some datum objects on Part1 level - but I don't remember how I did this.
Dialog when adding the step (with the datum objects inside a part of a part) and the "Attach to" object with the necessary datum object in a body of a part)
Dialog when adding the step (with the datum objects inside a part of a part) and the "Attach to" object with the necessary datum object in a body of a part)
Screenshot_20220228_231000.png (60.33 KiB) Viewed 743 times
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly4: How to access LCS (or other datum objects) of bodys in part

Post by Zolko »

euphi77 wrote: Mon Feb 28, 2022 10:07 pm I try to assemble some Part Design Objects together with imported Step Files.
Yes, this is foreseen : open the Part document, sélect the datum that you want, and click "import datum". This will create à New datum in the top-level part, at the same location. This datum can then be re-used. It is also parametric, It will follow changes
try the Assembly4 workbench for FreCAD — tutorials here and here
Post Reply