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
3d_model_guy
Posts: 16
Joined: Sun May 16, 2021 10:38 pm

How do I attach a body to a sketch point?

Post by 3d_model_guy »

How do I attach a body (a small sphere) to a sketch point?
Image


I can create a datum plane of the larger body's surface, I then select the small sphere, in attachment mode, I can select the datum plane for Place Face, I can also select the vertex of the sketch, however, the sketch point does not appear in the sketch.
The final goal is to have the small sphere on the center of the rectangular shape on that datum plane, exactly where the sketch point is.

However, a more generic question is how do I attach any object to any points on a sketch?

Image

Here's the freecad file:
socket_holders.FCStd
(32.14 KiB) Downloaded 16 times
Attachments
Capture2.JPG
Capture2.JPG (101.6 KiB) Viewed 1041 times
Capture1.JPG
Capture1.JPG (54.73 KiB) Viewed 1041 times
Last edited by 3d_model_guy on Wed May 25, 2022 1:07 am, edited 1 time in total.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

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

Post by chrisb »

That point is only visibl outside the sketch if you toggle it from construction to real geometry with Sketcher ToggleConstruction.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
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 »

I changed the single point from construction geometry to normal geometry, it is still not showing.
Bance
Veteran
Posts: 4185
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

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

Post by Bance »

Works for me in the file you provided....
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 »

:idea:
Attachments
Annotation 2022-05-25 111941.jpg
Annotation 2022-05-25 111941.jpg (29.16 KiB) Viewed 891 times
Socquette_SHALM.FCStd
(26 KiB) Downloaded 10 times
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 »

In Sketch, there's a center point called "Sketch.Vertex9", try attaching the small sphere on Vertex9, it doesn't work for me, nor is it visible outside of the sketch.
Attachments
3.JPG
3.JPG (103.47 KiB) Viewed 834 times
Bance
Veteran
Posts: 4185
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

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

Post by Bance »

In the file you provided the point is not centred, however it does work.
point.png
point.png (14.62 KiB) Viewed 808 times
pointSphere.png
pointSphere.png (217.42 KiB) Viewed 808 times
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 »

Interesting, it isn't visible to me nor can I attach to it.

What version is your software?
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 +148 (Git)
Build type: Release
Branch: Branch_0.19.4
Hash: 476ecf091941bead59b14e44afa6064d5a66afa3
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)
Bance
Veteran
Posts: 4185
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

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

Post by Bance »

You have to make it visible.....
Snip macro screenshot-20cdd3.png
Snip macro screenshot-20cdd3.png (41.79 KiB) Viewed 772 times
Not like this....

Snip macro screenshot-eafc52.png
Snip macro screenshot-eafc52.png (42.1 KiB) Viewed 772 times
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 »

ah, I lied.

With FreeCad official release 0.19.4, it worked; the point becomes visible after making it a normal point (instead of construction point).
Originally, I used FreeCad Linkstage 2022.111, and the point stays invisible after making it a normal point (i'll file a bug for that on Linkstage).

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?
Attachments
a.JPG
a.JPG (101.59 KiB) Viewed 770 times
b.JPG
b.JPG (103.47 KiB) Viewed 770 times
Post Reply