Attach two bodies using LCS and datum point (vertex-offset)
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!
Attach two bodies using LCS and datum point (vertex-offset)
I want to attach this point...
to the following LCS...
but I have no idea how to do it directly, most-pleasantly. In the mathematical sense I want to set the positions of both the LCS origin and the datum-point equal, then transform the attached-body content by the LCS orientation.
I have tried using the body-attachment tool but the closest attachment-method I could find was "tangent" where the z-line is set to collide with the vertex. But this does not close the gap that is created by the z-distance of both the LCS origin and the datum-point vertex.
Please do not suggest that I should put constants "until it fits" or work with absolute coordinates because that would break the parametric, dynamic design workflow I want to abide by.
My workaround is to put in the vertex manually into the attachment translation. But imagine a change of the attached body, resulting in a change of the datum-point vertex. Manually readjusting these values is a pain.
I am using FreeCAD 0.19.4.
Please help!
to the following LCS...
but I have no idea how to do it directly, most-pleasantly. In the mathematical sense I want to set the positions of both the LCS origin and the datum-point equal, then transform the attached-body content by the LCS orientation.
I have tried using the body-attachment tool but the closest attachment-method I could find was "tangent" where the z-line is set to collide with the vertex. But this does not close the gap that is created by the z-distance of both the LCS origin and the datum-point vertex.
Please do not suggest that I should put constants "until it fits" or work with absolute coordinates because that would break the parametric, dynamic design workflow I want to abide by.
My workaround is to put in the vertex manually into the attachment translation. But imagine a change of the attached body, resulting in a change of the datum-point vertex. Manually readjusting these values is a pain.
I am using FreeCAD 0.19.4.
Please help!
Re: Attach two bodies using LCS and datum point (vertex-offset)
Hi and welcome to the forum!
You can attach the point to the whole LCS by switching to the Model tab where you can select it in the tree.
You can attach the point to the whole LCS by switching to the Model tab where you can select it in the tree.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Attach two bodies using LCS and datum point (vertex-offset)
This makes the point jump to the LCS but the body of where it originally belonged to stays at the wrong spot. It does not solve my problem. I want to have the point stay attached to the body and then use it as attachment offset of the body.
Re: Attach two bodies using LCS and datum point (vertex-offset)
So you want to attach the point to a certain plane. Then create one.
It could also be helpful if you prepare a simplified file showing your issue so that people can play with it, and not every helper has to create it on his own.
It could also be helpful if you prepare a simplified file showing your issue so that people can play with it, and not every helper has to create it on his own.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Attach two bodies using LCS and datum point (vertex-offset)
I am not sure whether you understand my problem 100% but here is the FreeCAD simplified sample file that you have requested:
https://green-candy.osdn.jp/external/fo ... oint.FCStd
Please attach Topper to Platform by setting the positions of both AttachmentSlot origin and datum-pt to equal, while keeping the offsets of the body origin to contained element the same.
You are not allowed to adjust the origin by magical constants.
Re: Attach two bodies using LCS and datum point (vertex-offset)
Bodies don't have attachments and they don't have AttachmentOffset, all you can do is change their Placement. I can tell that you know Bodies can be moved but you want them attached.
To do this requires an additional program to keep them attached, this would be an assembly tool. FreeCAD has a few to choose from, do a search.
There are 2 typical approaches to building models; 1) Design in place so you set clearances as you model or 2) Design objects and then attach them with an assembler.
You can place objects and put them in a Part container and they will move together.
To do this requires an additional program to keep them attached, this would be an assembly tool. FreeCAD has a few to choose from, do a search.
There are 2 typical approaches to building models; 1) Design in place so you set clearances as you model or 2) Design objects and then attach them with an assembler.
You can place objects and put them in a Part container and they will move together.
Last edited by freedman on Wed Jun 15, 2022 11:28 pm, edited 1 time in total.
-
- Veteran
- Posts: 3180
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: Attach two bodies using LCS and datum point (vertex-offset)
You can attach them if you want using Part WB|Part|Attachment.
EDIT: Seems limited in what you can attach to, though.
Last edited by edwilliams16 on Thu Jun 16, 2022 12:19 am, edited 1 time in total.
Re: Attach two bodies using LCS and datum point (vertex-offset)
edwilliams16, you recommended that to me once and I tried it, there were issues. I can't remember exactly what happened but I quit using it. I think when I moved one of the objects the attachment failed or maybe it was a parametric update that failed. Anyway, I didn't think it was reliable enough to recommend.
Re: Attach two bodies using LCS and datum point (vertex-offset)
Hmm...works reliably for me.freedman wrote: ↑Wed Jun 15, 2022 11:33 pm edwilliams16, you recommended that to me once and I tried it, there were issues. I can't remember exactly what happened but I quit using it. I think when I moved one of the objects the attachment failed or maybe it was a parametric update that failed. Anyway, I didn't think it was reliable enough to recommend.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Attach two bodies using LCS and datum point (vertex-offset)
If you just want position them, then you may find the Manipulator workbench of interest.
If you want future movements of one to track the other then the Part workbench Attachment tool may suffice.
Otherwise, one of the assembly workbenches may be of interest.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."