I have been experimenting a bit more with Additive Loft, and I am having trouble understanding how the tool decides how to loft.
I am using the latest AppImage of FreeCAD 0.19R18403 (Git)
The result I want to achieve looks something like this. Note Sketch001 is at y = 16:
Moving Sketch001 down 2 mm, so y = 14, I get this:
Moving Sketch001 down 1 mm, so y = 13, I get this:
Moving Sketch001 down 1 mm, so y = 12, I get this:
I am having trouble understanding what is going on here.
The attached 'VentManifold 3.FCStd' illustrates the problem.
More questions on expected loft behavior
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!
-
- Posts: 7
- Joined: Wed Oct 09, 2019 9:13 pm
More questions on expected loft behavior
- Attachments
-
- VentManifold 3.FCStd
- (60.5 KiB) Downloaded 21 times
Re: More questions on expected loft behavior
You had already in your other topic the opportunity to learn that such a 90° loft doesn't work; take it!
Furthermore you seem to have mixed inside and outside of one of the sketches. If I swap them and tilt Sketch001 by 1° towards the other I get nice results, even with 10mm, as shown here:
Furthermore you seem to have mixed inside and outside of one of the sketches. If I swap them and tilt Sketch001 by 1° towards the other I get nice results, even with 10mm, as shown here:
- Attachments
-
- VentManifold_cb.FCStd
- (50.63 KiB) Downloaded 19 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 7
- Joined: Wed Oct 09, 2019 9:13 pm
Re: More questions on expected loft behavior
1) In the previous topic we discussed rotation exceeding 90 degrees. I am not exceeding 90 degrees here.
2) I have not mixed inside and outside of the sketches, I have _only_ translated along Y. If in doubt please try using the attached file 'VentManifold 3.FCStd
3) You state here that loft uses the shortest connections. Pure translation along Y do alter the shortest connections and should not give 3 completely different, seemingly non-deterministic, solutions to what basically is the same loft.
4) Users should not have to go through all kinds of workarounds to perform what should be a trivial operation.
Testing this operation on Fusion 360 and Onshape yield deterministic, unsurprising results.
I really like FreeCAD, and I want to see it succeed, but problems like this need to be fixed for this to happen.
2) I have not mixed inside and outside of the sketches, I have _only_ translated along Y. If in doubt please try using the attached file 'VentManifold 3.FCStd
3) You state here that loft uses the shortest connections. Pure translation along Y do alter the shortest connections and should not give 3 completely different, seemingly non-deterministic, solutions to what basically is the same loft.
4) Users should not have to go through all kinds of workarounds to perform what should be a trivial operation.
Testing this operation on Fusion 360 and Onshape yield deterministic, unsurprising results.
I really like FreeCAD, and I want to see it succeed, but problems like this need to be fixed for this to happen.
Re: More questions on expected loft behavior
Part_Loft_Technical_Details
Probably Step2 could explain things.
Probably Step2 could explain things.
Re: More questions on expected loft behavior
Let me quote myself:nikolajsheller wrote: ↑Sat Oct 12, 2019 2:33 pm 1) In the previous topic we discussed rotation exceeding 90 degrees. I am not exceeding 90 degrees here.
Even at y=16mm the loft is not ok. If you hover over the sketches you will see in the status bar that for the vertical sketch the inner edges have higher numbers than the outer sketches. This means that you made the outer slot first and the inner slot later.2) I have not mixed inside and outside of the sketches, I have _only_ translated along Y. If in doubt please try using the attached file 'VentManifold 3.FCStd
With the horizontal sketch it is vice versa: the inner slot has lower edge numbers than the outer. These images show some z-fighting, indicating issues on the surface:
This is just a guess, and as stated above, the loft is broken in all 3 cases.You state here that loft uses the shortest connections. Pure translation along Y do alter the shortest connections and should not give 3 completely different, seemingly non-deterministic, solutions to what basically is the same loft.
Calling a loft "trivial" is open for discussion, but you are perfectly right, that users should not have to use (rather complicated) workarounds for such things.
4) Users should not have to go through all kinds of workarounds to perform what should be a trivial operation.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 7
- Joined: Wed Oct 09, 2019 9:13 pm
Re: More questions on expected loft behavior
Thank you for taking a look at this chrisb
You are right about the inner and outer walls being swapped on Sketch001, my apologies.
Fixing the swapped walls does not change the fact that loft gives at least 3 completely unpredictable, mainly incorrect, outputs. Please see the illustrated outputs in the initial post of this thread.
If the loft cannot give the correct output it should fail and report the problem to the user. Loft should not generate an incorrect loft, when the inputs are correct.
In my case the loft was initially correct, but working with the model the loft failed unexpectedly as some dimensions changed, leaving me unable to diagnose the problem. Bumping in to crashes and behavior like this becomes very frustrating to me as a user, and I want FreeCAD to be a nice tool to use.
I feel this is a bug in FreeCAD that should be addressed.
What are your thoughts on this chrisb?
You are right about the inner and outer walls being swapped on Sketch001, my apologies.
Fixing the swapped walls does not change the fact that loft gives at least 3 completely unpredictable, mainly incorrect, outputs. Please see the illustrated outputs in the initial post of this thread.
If the loft cannot give the correct output it should fail and report the problem to the user. Loft should not generate an incorrect loft, when the inputs are correct.
In my case the loft was initially correct, but working with the model the loft failed unexpectedly as some dimensions changed, leaving me unable to diagnose the problem. Bumping in to crashes and behavior like this becomes very frustrating to me as a user, and I want FreeCAD to be a nice tool to use.
I feel this is a bug in FreeCAD that should be addressed.
What are your thoughts on this chrisb?
-
- Posts: 4
- Joined: Thu Jan 21, 2021 3:46 pm
Re: More questions on expected loft behavior
One thing I discovered by guesswork the other day, was that there's a difference between creating a loft to a sketch on a datum plane that depends on a perpendicular axis, to creating a loft to a sketch on a datum plane that depends on a co-planar axis, where the datum plane is rotated 90 degrees (or more).
To look at, the datum plane looks the same in the 3D viewer, but clearly this affects how loft processing is carried out. I found that for the rotated datum plane, I could go right up to 89.9 degrees and all would be fine, but 90 degrees suddenly the top of one sketch was match with the bottom of the other, and vice-versa.
Hope this helps someone.
To look at, the datum plane looks the same in the 3D viewer, but clearly this affects how loft processing is carried out. I found that for the rotated datum plane, I could go right up to 89.9 degrees and all would be fine, but 90 degrees suddenly the top of one sketch was match with the bottom of the other, and vice-versa.
Hope this helps someone.