This request aims to stabilize this function. I provide this for any use you feel usefull.
First FreeCAD version
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15007 (Git)
Build type: Release
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: French/France (fr_FR)
The problem is that it does not work as expected as shown in the attached file.
The intention is to make something like this:
But this is not exactly what I wanted, I will explain later.
3 – Now building the object:
Selecting SkectchProfile and clicking the tool in Part design workbench.
I have at this stage to make SkechPath visible.
Then in the task panel 2 times click on Add Edge and click on the edge on the view (the long one first, the curved one after.
The preview look like this what is exactly what I expect at this stage: The flat side outside.
I tried to change corner transition to something else, but FreeCAD entered in an infinite loop, and I add to kill the process, what is really a problem.
I have obtained other behaviors as the one shown at first image, what is not what I want.
The result is somehow unpredictable.
When clicking OK, I have got different results without understanding the conditions and what introduces these ifferences:
- A pipe (not solid)
- A solid
- A solid but the last part (corresponding to Edge 2) removed for the result.
Now the questions and remarks:
- What do I do wrong? (just in case I missed something)
- Should not for each edge add a boolean (reverse) to define in what direction it is to be gone throw, what will help to decide the direction of the normal vector?
- Obviously, the algorithm for rendering the preview is not the same as the algorithm for the final rendering, especially on the positioning. I do not understand what the logic for translating the sketch extruded is. Translating of not this shape has almost no effect. It would be good to clearly identify the point of the shape that will be kept on the path.
- test2 is build on test. I changed the position of SketchProfile and build another pipe. The first pipe has now errors that I cannot identify. Changing the profile to be extruded should change the shape but not induce errors!
I can help you in reproducing the case if needed.
Last edited by plgarcia
on Thu Oct 25, 2018 8:28 pm, edited 3 times in total.