[Feature Request] Twist part

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

[Feature Request] Twist part

Post by NewJoker »

Hi,

I think that it would be great to have an option, possibly in sweep settings, to twist the part using a specified angle. Here's how it can be done in Fusion360:
sweep 1.JPG
sweep 1.JPG (42.43 KiB) Viewed 1847 times
sweep 2.JPG
sweep 2.JPG (43.44 KiB) Viewed 1847 times

Currently, achieving the effect shown in the second picture, if even possible, would likely require quite a significant amount of work. By the way, how would you approach the problem of modeling this in the current version of FreeCAD ? Loft doesn't support guide rails so it seems hard to model this in cases when there are more revolutions.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: [Feature Request] Twist part

Post by adrianinsaval »

Somehing like this?
helix.FCStd
(34.18 KiB) Downloaded 50 times
Pretty simple in my opinion ;)
See PartDesign_AdditiveHelix
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [Feature Request] Twist part

Post by NewJoker »

Right, this helps with the case shown in the second picture of my original post. However, other angles of twist (like the one from the first picture) would require a different approach such as loft. It would be nice to have a single option for all the cases (with just an angle as input) in sweep settings.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: [Feature Request] Twist part

Post by adrianinsaval »

NewJoker wrote: Sun Nov 14, 2021 1:37 pm However, other angles of twist (like the one from the first picture) would require a different approach such as loft
why? how is it different? (see attached) having an angle option could be handy but it doesn't sound like a big deal, I'm sure one can calculate the correct values for a desired angle (pitch = height*360/desiredAngle)
Attachments
helix.FCStd
(19.87 KiB) Downloaded 36 times
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [Feature Request] Twist part

Post by NewJoker »

Right, I underestimated this feature. So twist angle setting for sweep would be just a convenience, not a new possibility to efficiently model such parts. Unless I am missing some scenarios that helix wouldn't handle and sweep with a twist would but I don't think that's the case. Thanks for your help.
drmacro
Veteran
Posts: 8870
Joined: Sun Mar 02, 2014 4:35 pm

Re: [Feature Request] Twist part

Post by drmacro »

There was a long thread about sweeping twisty things...

Image

https://forum.freecadweb.org/viewtopic. ... 69#p539069
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: [Feature Request] Twist part

Post by Vincent B »

This is a similar feature.
Curves shapes Wb.
Attachments
Capture.JPG
Capture.JPG (16.19 KiB) Viewed 1630 times
CurveArray.FCStd
(10.09 KiB) Downloaded 44 times
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: [Feature Request] Twist part

Post by mario52 »

Hi

Rectangle Hélix and sweep
twistPart_Sweep00.png
twistPart_Sweep00.png (19.67 KiB) Viewed 1614 times
twistPart_Sweep00.FCStd
(19.8 KiB) Downloaded 39 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.
Davide_sd
Posts: 25
Joined: Fri Feb 12, 2021 4:18 pm

Re: [Feature Request] Twist part

Post by Davide_sd »

I also join this thread for this feature request, as it would greatly simplify workflows.

For example, applying a twist to the following object:
Screenshot_20221005_100851.png
Screenshot_20221005_100851.png (45.61 KiB) Viewed 933 times
to get this one:
Screenshot_20221005_130643.png
Screenshot_20221005_130643.png (863.77 KiB) Viewed 933 times
User avatar
pathfinder
Posts: 315
Joined: Mon Oct 04, 2021 10:27 am

Re: [Feature Request] Twist part

Post by pathfinder »

Davide_sd wrote: Wed Oct 05, 2022 11:09 am I also join this thread for this feature request, as it would greatly simplify workflows.

For example, applying a twist to the following object:
This is something different, because what you want to do is twist an already existing solid, while the functions discussed here create the twist while the object is being extruded.


However, I agree that it would be a cool feature to have. I'm not sure if PartDesign or Part would be the right workbenches for it.

What I would love to see and what I think would integrate your request quite nicely is a lattice deform function similar to what Blender has:

Image

But that's even more different and also probably pretty hard to realize.
Post Reply