Assembling Model from pre-defined separate parts by linking
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Assembling Model from pre-defined separate parts by linking
I am trying to assemble a model from predefined parts by linking to the parts using Assembly4. With my assembly document (Linked Motuh.FCStd) and all the individual part documents open I use Insert a link to a part and link to my Master Sketch. FC inserts the sketch and automatically aligns the centre LCS to the default LCS.
So far so good.
I repeat the process for the block intending to align its LCS to the Master Sketch Centre LCS but I am not offered the option (see next post)
I repeat the process for the block intending to align its LCS to the Master Sketch Centre LCS but I am not offered the option (see next post)
- Attachments
-
- Piston.FCStd
- (15.37 KiB) Downloaded 20 times
-
- Master Sketch.FCStd
- (9.3 KiB) Downloaded 19 times
-
- Linked Motuh.FCStd
- (5.89 KiB) Downloaded 25 times
-
- Block.FCStd
- (14.42 KiB) Downloaded 18 times
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Assembling Model from pre-defined separate parts by linking
Here's the Combo View close up Before I go too far and foul myself up completely, where have I missed the bus? I have found tutorials which show me how to insert a part; steal the Body from it into the Assembly Parts Folder; then close the linked part without saving it. This leaves the body in the assembly for use but later adjustments to the part are not reflected in the assembly. That is why I am trying to use parts that are just linked (as some other modelling software does).
Is this possible in FC?
Does someone know of a tutorial which covers this - heaven knows I haven't been able to find one?
What have I got wrong?
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Assembling Model from pre-defined separate parts by linking
that's because the LCSs are not in the "Part" container, they are in the child "Body" container. You have 2 options:
- when using PartDesign Bodies, don't "wrap" them inside an App::Part, place them directly at the root of the document, and link directly to the Body
- If you need to put it inside an App::Part (because of multi-body things for example) then you must "import" the LCS from the child into the top-most container. This imported LCS will follow the original LCS if you modify the underlying feature
Holy crap, where did you see this abomination ?I have found tutorials which show me how to insert a part; steal the Body from it into the Assembly Parts Folder; then close the linked part without saving it. This leaves the body in the assembly for use but later adjustments to the part are not reflected in the assembly.
did you try these ?Does someone know of a tutorial which covers this - heaven knows I haven't been able to find one?
https://github.com/Zolko-123/FreeCAD_Ex ... /README.md
https://github.com/Zolko-123/FreeCAD_Ex ... /README.md
(the second one wraps the Body into a Part, which was an old way to do things, I should update it)
Re: Assembling Model from pre-defined separate parts by linking
Thanks Zolko, I redrew the parts files with only Bodies and that resolved the LCS visibility issue. My assembly works https://1drv.ms/v/s!ArMxdUYEh9fKwAbloxR ... T?e=lfna2o but you'll probably freak at the way I did it. Is this the Tree View I should expect?
I'll attach the other files to the next post.
- Attachments
-
- Linked Master Sketch.FCStd
- (8.02 KiB) Downloaded 14 times
-
- Linked Motuh.FCStd
- (8.22 KiB) Downloaded 16 times
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Assembling Model from pre-defined separate parts by linking
The extra files
- Attachments
-
- Linked Piston.FCStd
- (14.46 KiB) Downloaded 16 times
-
- Linked Block.FCStd
- (13.32 KiB) Downloaded 15 times
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Assembling Model from pre-defined separate parts by linking
Dare I assume that that Tree Structure is (somewhere near) correct?
Thanks
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Assembling Model from pre-defined separate parts by linking
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Assembling Model from pre-defined separate parts by linking
I think I am in this territory now. I have a big (for me) project with 30+ Bodies in the document. These bodies were created inside a Part since, from what I have gathered, this is the correct procedure. Now I want to pull one of the Bodies (A-03-003) complete with Local Coordinate Systems into an assembly using Assembly4. FC doesn't seem to keen on that idea - it only sees the Part (Air Pump) not the Bodies inside the Part.Zolko wrote: ↑Wed Oct 20, 2021 9:53 am that's because the LCSs are not in the "Part" container, they are in the child "Body" container. You have 2 options:
- If you need to put it inside an App::Part (because of multi-body things for example) then you must "import" the LCS from the child into the top-most container. This imported LCS will follow the original LCS if you modify the underlying feature
Is the above quote hinting at the required procedure? I am thinking there must be a way to use this Part in an Assembly, otherwise using the Part container just makes the Bodies within it inaccessible and that wouldn't make much sense. Trouble is, I just can't find the way.
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Assembling Model from pre-defined separate parts by linking
where did you get this-one from ? You can do this if you want, but only if you intend to re-use the entire Part with all its constituents. In this case the part is already an assembly ... this was actually one of the ways to do assemblies before v0.19 and the Link interface
well, then no, this is not going to work. With Assembly4, you can only "pull" – link – parts and bodies at the root of the documentNow I want to pull one of the Bodies (A-03-003) complete with Local Coordinate Systems into an assembly using Assembly4.