Twist entire Body or Part

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!
Davide_sd
Posts: 25
Joined: Fri Feb 12, 2021 4:18 pm

Twist entire Body or Part

Post by Davide_sd »

Is it possible to twist an entire body or part by a given angle around a given axis?

For example, twist this body around the vertical axis:
Screenshot_20221005_100851.png
Screenshot_20221005_100851.png (45.61 KiB) Viewed 1255 times
to get this one:
Screenshot_20221005_101138.png
Screenshot_20221005_101138.png (156.1 KiB) Viewed 1255 times
User avatar
NewJoker
Veteran
Posts: 3017
Joined: Sun Oct 11, 2020 7:49 pm

Re: Twist entire Body or Part

Post by NewJoker »

Unfortunately, there are no tools to bend or twist existing parts (such tools can be found in some commercial CAD software). You would have to model it as twisted from scratch. Here you can find some tips: https://forum.freecadweb.org/viewtopic. ... =1&t=63734
Davide_sd
Posts: 25
Joined: Fri Feb 12, 2021 4:18 pm

Re: Twist entire Body or Part

Post by Davide_sd »

NewJoker wrote: Wed Oct 05, 2022 8:50 am Unfortunately, there are no tools to bend or twist existing parts (such tools can be found in some commercial CAD software). You would have to model it as twisted from scratch. Here you can find some tips: https://forum.freecadweb.org/viewtopic. ... =1&t=63734
Do you know if it would be possible to achieve the result by working with scripts, or is there a core limitation that prevents this feature?
User avatar
NewJoker
Veteran
Posts: 3017
Joined: Sun Oct 11, 2020 7:49 pm

Re: Twist entire Body or Part

Post by NewJoker »

Davide_sd wrote: Wed Oct 05, 2022 9:07 am Do you know if it would be possible to achieve the result by working with scripts, or is there a core limitation that prevents this feature?
I don't think scripting can help in this case since there are no built-in tools that could realize this and be used within the script.

The only workaround that I can think of is trying to turn this geometry into a curve representation, then twisting the curves with some available tools (there are add-on modules for advanced operations on curves and surfaces) and recreating the solid shape. Definitely not easy but maybe doable.
chrisb
Veteran
Posts: 53921
Joined: Tue Mar 17, 2015 9:14 am

Re: Twist entire Body or Part

Post by chrisb »

Twisting one of these would look like a helix where the oval shape is cut off. An array could be used to multiply it.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Davide_sd
Posts: 25
Joined: Fri Feb 12, 2021 4:18 pm

Re: Twist entire Body or Part

Post by Davide_sd »

chrisb wrote: Wed Oct 05, 2022 11:47 am Twisting one of these would look like a helix where the oval shape is cut off. An array could be used to multiply it.
If you look at the picture above, the cross section of each "column" is a triangle with one filled vertex. I've tried the Subtractive Helix, unfortunately I'm unable to get the correct cross section...
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Twist entire Body or Part

Post by drmacro »

Interesting challenge.
Attachments
Snip macro screenshot-ffc51f.png
Snip macro screenshot-ffc51f.png (123.76 KiB) Viewed 1093 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
chrisb
Veteran
Posts: 53921
Joined: Tue Mar 17, 2015 9:14 am

Re: Twist entire Body or Part

Post by chrisb »

drmacro wrote: Wed Oct 05, 2022 2:53 pm Interesting challenge.
Interesting solution :D !
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NewJoker
Veteran
Posts: 3017
Joined: Sun Oct 11, 2020 7:49 pm

Re: Twist entire Body or Part

Post by NewJoker »

Davide_sd wrote: Wed Oct 05, 2022 8:13 am For example, twist this body around the vertical axis:
Could you share this .FCStd file for some tests ?
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Twist entire Body or Part

Post by drmacro »

NewJoker wrote: Thu Oct 06, 2022 10:27 am
Davide_sd wrote: Wed Oct 05, 2022 8:13 am For example, twist this body around the vertical axis:
Could you share this .FCStd file for some tests ?
Sorry, been busy...
Attachments
Ornament-2.FCStd
(168.27 KiB) Downloaded 50 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply