How do I attach a body to a sketch point?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: How do I attach a body to a sketch point?

Post by Shalmeneser »

Sketcher_CreatePoint :
By default points are created as construction geometry and therefore are not visible outside of Sketch editing mode. Use the Sketcher ToggleConstruction.svg Toggle Construction tool to change them to normal geometry. introduced in version 0.19

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.28717 (Git)
Build type: Release
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: French/France (fr_FR)
Installed mods: 
  * fasteners 0.3.41
  * Manipulator 1.4.3
  * sheetmetal 0.2.49
Attachments
Socquette_SHALM2.FCStd
(27.25 KiB) Downloaded 6 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: How do I attach a body to a sketch point?

Post by Shalmeneser »

What is your purpose ?
You can modify the Sphere attachment (absolute position, relative position (point, edge, ...)).
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: How do I attach a body to a sketch point?

Post by Bance »

Your screenshots show at least two issues...

You have partially redundant constraints > resolve this first.

You must make the point selection the first selection in the attachment dialogue.

Look at my screenshots.
User avatar
3d_model_guy
Posts: 16
Joined: Sun May 16, 2021 10:38 pm

Re: How do I attach a body to a sketch point?

Post by 3d_model_guy »

Shalmeneser wrote: Wed May 25, 2022 4:36 pm What is your purpose ?
You can modify the Sphere attachment (absolute position, relative position (point, edge, ...)).
Sometimes I need to attach a different shape to the main drawing. This way the attachment will 'follow' the main drawing's dimension. With absolution positioning, I will have to manually update the attachment's position every time the main drawing is changed. That's my understanding of the workflow. There may be better ways to do that.
User avatar
3d_model_guy
Posts: 16
Joined: Sun May 16, 2021 10:38 pm

Re: How do I attach a body to a sketch point?

Post by 3d_model_guy »

Bance wrote: Wed May 25, 2022 4:43 pm Your screenshots show at least two issues...

You have partially redundant constraints > resolve this first.

You must make the point selection the first selection in the attachment dialogue.

Look at my screenshots.
Got you, the original issue exists only in Linkstage 3.
It works with Freecad official release.

I created a ticket for linkstage 3https://github.com/realthunder/FreeCAD/issues/428
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: How do I attach a body to a sketch point?

Post by Bance »

3d_model_guy wrote: Thu May 26, 2022 4:15 am There may be better ways to do that.
One may use named constraints and expressions to automate such things.
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: How do I attach a body to a sketch point?

Post by chrisb »

3d_model_guy wrote: Wed May 25, 2022 4:30 pm However, I noticed with 0.19.4, the reference destination for the point changed from vertex41 while inside the sketch to vertex21 while outside the sketch. Is this something worthy a ticket?
No, it will be solved together with the toponaming stuff.

Concerning the toggle of the construction point, have a look at the first answer in this topic :lol: .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply