Good question, I will add the sorting to the sweep dialog with another PR this evening.
TheMarkster wrote: .
Here is a PR that add this: https://github.com/FreeCAD/FreeCAD/pull/3874
I am sorry to have this brought up. I wasn't aware that the sections are just taken as they occur along the path. This can come very handy when adding an additional section in the middle. Until now I always have rearranged the sections.
That's what I have observed. However, I'm looking at it just as a user, perhaps some initiated developer can judge better, if there are cases where the order matters, from looking at the code.
the sections are taken in the order you selected it in the model tree. Therefore you can select the order of sections as you want.Sketches.sort(key=name)
Thanks. I know that one can change the sketch order. I am looking for an example in which one can see the difference of a changed sketch order. If you could create such an example with your macro, could you please attach the resulting FC file here?