Attaching B-Spline to circle

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!
Post Reply
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Attaching B-Spline to circle

Post by MRx »

Hi,

is there any way to attach a b-spline to a circle / circular surface?
b-spline_circle.png
b-spline_circle.png (3.04 KiB) Viewed 835 times
I'd like to attach this b-spline, and sweep a pipe over it, however I have no idea how it can be attached.
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Attaching B-Spline to circle

Post by chrisb »

The image shows two curves, and the are not connected. You cannot sweep along those two.

To attach a sketch to a spline or any other thing, click MapMode, then click the button occurring at the right. Select the spline and use mode Frenet NB.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Attaching B-Spline to circle

Post by MRx »

I attach a better sample. I couldn't figure out how to attach to that surface.
bspline_curve2.png
bspline_curve2.png (21.72 KiB) Viewed 815 times
Attachments
bspline.FCStd
(15.66 KiB) Downloaded 14 times
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Attaching B-Spline to circle

Post by Bance »

Which ever mode you choose the spline will attach at its centre point, because that is where you have positioned it.

In other words, the spline has been drawn around the origin which is the point that attachment uses to anchor the sketch to its destination.

See Basic_Attachment_Tutorial for a more in depth explanation.
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Attaching B-Spline to circle

Post by MRx »

Sorry I don't understand that, I tried and it will always attach to the straight square edge of the drawn circle.

I also found Map a sketch on a surface in the curves workbench, but it gives me:
12:14:57 Failed to get the face support of the sketch

The sketch should be mapped onto the round surface of the object.

Following is what I actually want to draw (and print):
1604_2.png
1604_2.png (190.78 KiB) Viewed 778 times
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Attaching B-Spline to circle

Post by MRx »

Seems like I was able to do that but super complicated...

Can anyone advise a better way how to get that done?
bspline_mapped.png
bspline_mapped.png (44.79 KiB) Viewed 756 times
I have attached the project...

I was not able to map the b-spline directly to the curved surface, I had to create an object and intersected the curve. I used the guides generated by the intersection to swipe along that path for removing the half-circle.
Attachments
bspline.FCStd
(401.49 KiB) Downloaded 12 times
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Attaching B-Spline to circle

Post by MRx »

ok I think I have it, I can create a helix and apply that one.
I just did not see the primitive like that before.

Applying sketches to surfaces seems to be challenging, on the other side I could probably still get away with b-splines, just by making a very tiny closed object and applying that one; just an open object doesn't seem to work.
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Attaching B-Spline to circle

Post by Bance »

It's good that you have found a solution. Your title is slightly misleading, in FC attaching is a particular way of doing things.

See Part_Attachment

What you are trying to do here, is mapping to a face. The difference is subtle, but there it is.
Post Reply