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 » Tue Oct 20, 2020 8:25 pm

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 12 times
TheMarkster
Posts: 2045
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 » Tue Oct 20, 2020 10:47 pm

Perhaps a helix would be better than a spiral?
My FreeCAD video series on youtube: https://www.youtube.com/c/mwganson
chrisb
Posts: 28855
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 » Tue Oct 20, 2020 10:49 pm

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
Posts: 2613
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 » Wed Oct 21, 2020 8:28 am

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 4 times
bowl.PNG
bowl.PNG (43.32 KiB) Viewed 118 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 » Wed Oct 21, 2020 12:58 pm

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
Posts: 1933
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 » Wed Oct 21, 2020 1:58 pm

Or with just profiles and the Curves workbench:
Spiral3D.png
Spiral3D.png (87.85 KiB) Viewed 76 times
Attachments
Spiral3D.FCStd
(452.58 KiB) Downloaded 4 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."

My beginners, written treatise: Learning FreeCAD
mario52
Posts: 3215
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 » Wed Oct 21, 2020 2:06 pm

hi

other idea Macro_FCSpring_On_Surface Image

Bowl01.png
Bowl01.png (36.62 KiB) Viewed 74 times
Bowl00.FCStd
(112.77 KiB) Downloaded 2 times

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

Who is online

Users browsing this forum: Google [Bot], MisterMaker, philem and 15 guests