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

Problem with B-spline helix

Post by chrisb »

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 1108 times
mario wrote:ping
Is this an issue with B-spline or with the sweep?
Attachments
spring.FCStd
(216.13 KiB) Downloaded 56 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
UR_
Veteran
Posts: 1355
Joined: Tue Jan 03, 2017 8:42 pm

Re: Problem with B-spline helix

Post by UR_ »

comb of mario's bspline

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


bspline discretized and re-interpolated by curves wb

Screenshot 007.png
Screenshot 007.png (26.59 KiB) Viewed 1091 times
spring.FCStd
(557.31 KiB) Downloaded 67 times
chrisb
Veteran
Posts: 54197
Joined: Tue Mar 17, 2015 9:14 am

Re: Problem with B-spline helix

Post by chrisb »

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.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
mario52
Veteran
Posts: 4692
Joined: Wed May 16, 2012 2:13 pm

Re: Problem with B-spline helix

Post by mario52 »

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, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply