Problem with B-spline helix

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!
chrisb
Posts: 18784
Joined: Tue Mar 17, 2015 9:14 am

Problem with B-spline helix

Postby chrisb » Fri Oct 18, 2019 12:05 am

I have created a Helix for a spring with Macro FCSpring Helix Variable. The helix looks very good, but if I create a sweep with it, it looks rather garbled.
Snip macro screenshot-59b2a2.png
Snip macro screenshot-59b2a2.png (39.25 KiB) Viewed 485 times
mario wrote:ping
Is this an issue with B-spline or with the sweep?
Attachments
spring.FCStd
(216.13 KiB) Downloaded 12 times
UR_
Posts: 989
Joined: Tue Jan 03, 2017 8:42 pm

Re: Problem with B-spline helix

Postby UR_ » Fri Oct 18, 2019 5:30 am

comb of mario's bspline

Screenshot 006.png
Screenshot 006.png (23.96 KiB) Viewed 468 times


bspline discretized and re-interpolated by curves wb

Screenshot 007.png
Screenshot 007.png (26.59 KiB) Viewed 468 times
spring.FCStd
(557.31 KiB) Downloaded 11 times
chrisb
Posts: 18784
Joined: Tue Mar 17, 2015 9:14 am

Re: Problem with B-spline helix

Postby chrisb » Fri Oct 18, 2019 7:30 am

Seems like it's time to get engaged with Curves. I havent found the time yet, but whatever I see here in the forum looks great.
mario52
Posts: 2669
Joined: Wed May 16, 2012 2:13 pm

Re: Problem with B-spline helix

Postby mario52 » Sat Oct 19, 2019 12:07 pm

hi

the problem with my macro is : i cut the conference in x points (default 72 points (max 360 points)) and with the formula (as UR_) much more points and the point to point connection are shorter

see:

FCSpring Helix macro help needed

Spiralbohrer

the microelly2 method (what I need to do heu...2016)
Bspline abhängig parametrisch an Sketch hängen, wie?

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Dialog creation. My macros on Gist.github.