Curved Shapes: normals reversed and Links go out of scope

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
drmacro
Veteran
Posts: 8979
Joined: Sun Mar 02, 2014 4:35 pm

Curved Shapes: normals reversed and Links go out of scope

Post by drmacro »

Not sure why either of these happen.

Code: Select all

Part::FeaturePython / CurvedArray: Links go out of the allowed scope
I can see from the dependency graph that the curved array IS outside the Body. But it does not throw the warning when the array is made, only after subsequent operations (like changing the Solid or Surface property to true).

And why are the normals inverted?
CurvedArray_revnormals.png
CurvedArray_revnormals.png (79.13 KiB) Viewed 277 times
The file is just a bit big, so:
https://github.com/macdroid53/MyShares/ ... ng-1.FCStd
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Vincent B
Veteran
Posts: 4733
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curved Shapes: normals reversed and Links go out of scope

Post by Vincent B »

For inverted face, I saw that too:
https://forum.freecadweb.org/viewtopic.php?f=3&t=48305
For the scope allowed issue, it's because you're using sketches from a body. It's better to keep your sketches inside a group.
Unfortunately the surface feature doesn't work here.
Attachments
WIng-2.FCStd
(785.36 KiB) Downloaded 9 times
drmacro
Veteran
Posts: 8979
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curved Shapes: normals reversed and Links go out of scope

Post by drmacro »

GlouGlou wrote: Tue Aug 04, 2020 7:09 pm For inverted face, I saw that too:
https://forum.freecadweb.org/viewtopic.php?f=3&t=48305
For the scope allowed issue, it's because you're using sketches from a body. It's better to keep your sketches inside a group.
Unfortunately the surface feature doesn't work here.
I've learned that the normal of the shape (in this case the wing cross section) effects how things are created.

If I use the Draft Flip Dimension or Part Reverse Shapes before the operation then the resulting surface or solid will have the normals facing outward.

Note: the same effect can be had by making the guide lines run from negative to the face (rather than as done in the example positive from the shape).
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply