This is "orientation" as a geometric concept, not "Orientation" as a property of Wires/Edges, correct?wmayer wrote:The reason for the failure has to do with the placement applied on the sketches because I assume the internal orientation of the shapes doesn't fit to what the loft needs. All three sketches have totally different rotation axes and this might be the major problem.
Part.Loft - Wrong Vertices Linked?
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Part.Loft - Wrong Vertices Linked?
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Part.Loft - Wrong Vertices Linked?
I extended your test to a circular loft using the double sketch hack to force the closure. In the previous attempt I drew the sketches on the appropriate plane (XZ or YZ, possibly "reverse direction" where appropriate) and used distance and symmetry constraints to position them. I didn't adjust Placements manually.wmayer wrote:As a quick test I copied the sketches into a new document and reset the placements. Then for sketch two I set rotation axis=(0,1,0) angle=90 deg and for sketch three the same axis and angle=180 deg. So, this gives the same form (but in a different position of course) and the the loft works as expected.
Are the resulting complicated Placements an indication of poor technique or a bug in Sketcher/Part Design or ??
- Attachments
-
- CircleLoftPlacement.fcstd
- (7.27 KiB) Downloaded 56 times
Re: Part.Loft - Wrong Vertices Linked?
By the way, I tried "Part Reverse shape" on that central sketch, where the twist came in, when I first tried it, it made no difference.
Are the two different versions of OCC dealing with this differently, as the older OCC (even with the same latest FreeCAD) seemed to work for me.
Are the two different versions of OCC dealing with this differently, as the older OCC (even with the same latest FreeCAD) seemed to work for me.
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Part.Loft - Wrong Vertices Linked?
I try to keep my relationship with OCC on a strictly blackbox basis if at all possible. I'll see if I can find a change log for ...ThruSections, but the change, if it exists, could be anywhere.jmaustpc wrote:Are the two different versions of OCC dealing with this differently, as the older OCC (even with the same latest FreeCAD) seemed to work for me.
A DRAWEXE script that illustrates our issue might help, but I don't really know how to use this to create specific OCC test cases that mimic FC issues.
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Part.Loft - Wrong Vertices Linked?
Yeah, I made an experimental version that allowed each profile to be reversed independently, and could find no combination of reversed/forward that made any difference.jmaustpc wrote:By the way, I tried "Part Reverse shape" on that central sketch, where the twist came in, when I first tried it, it made no difference.
Seems "Reverse" on a wire relates to what's inside/outside the closed curve. It doesn't really refer to the direction of circumnavigation, and this problem seems to be related to the direction of circumnavigation of the profile as viewed in the direction of the loft "path".
More digging required.
wf