How to create a non planar path to be used for a sweep

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
Greyble
Posts: 6
Joined: Wed Sep 23, 2020 2:02 pm

How to create a non planar path to be used for a sweep

Post by Greyble »

I'd like to be able to sweep or loft a profile over a path that is non planar. I've attached a mock up hopefully it'll help explain the issue.

In the PartDesign WB I created a bowl as a body. Using this I wish to create a 'cradle' that spirals out from the base (in XY plane) and at the same time rises to touch the outside of the bowl - i.e the actual path looks like part of a spiral when projected onto the XY plane and part of an elipse when projected onto say the XZ plane.
Attachments
Bowl.FCStd
(86.77 KiB) Downloaded 24 times
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: How to create a non planar path to be used for a sweep

Post by TheMarkster »

Perhaps a helix would be better than a spiral?
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: How to create a non planar path to be used for a sweep

Post by chrisb »

Have a look at the addon macro "3D parametric curve".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
papyblaise
Veteran
Posts: 8013
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: How to create a non planar path to be used for a sweep

Post by papyblaise »

use Part (I don't know how to do it in PartDesign)
Make a Helix, create a wide strip with Sweep, make a Common between a bowl copy and the spiral strip
draw the profile of the support and make a Sweep between this profile and the edge of the Common as a path
Attachments
bowl.FCStd
(157.74 KiB) Downloaded 16 times
bowl.PNG
bowl.PNG (43.32 KiB) Viewed 641 times
Greyble
Posts: 6
Joined: Wed Sep 23, 2020 2:02 pm

Re: How to create a non planar path to be used for a sweep

Post by Greyble »

First - thanks for all the prompt replies.

I was unaware of how useful and general purpose the online macro's could be - the '3d parametric curve' will be useful elsewhere.
Thanks to papyblaise - I was looking for a technique to solve this sort of interaction issue. This approach will also be very useful.
drmacro
Veteran
Posts: 9000
Joined: Sun Mar 02, 2014 4:35 pm

Re: How to create a non planar path to be used for a sweep

Post by drmacro »

Or with just profiles and the Curves workbench:
Spiral3D.png
Spiral3D.png (87.85 KiB) Viewed 599 times
Attachments
Spiral3D.FCStd
(452.58 KiB) Downloaded 16 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
mario52
Veteran
Posts: 4696
Joined: Wed May 16, 2012 2:13 pm

Re: How to create a non planar path to be used for a sweep

Post by mario52 »

hi

other idea Macro_FCSpring_On_Surface Image

Bowl01.png
Bowl01.png (36.62 KiB) Viewed 597 times
Bowl00.FCStd
(112.77 KiB) Downloaded 14 times

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