This PR adds the functionality to define with 2 angles the padding direction.
Here are 2 screencasts to see the feature in action:


For now I only added this to the padding feature. If you find this feature useful, I will add it to pocket as well.
Sure, but step by step.
How would that work? I mean I start with a new file, create a sketch and want to pad it with 30° incline. There are no edges yet. I would then first have to create a datum line. Then the step is not large to make directly a loft.
IMO, the compromise would be to use an expression. I think most of the time people will just enter a fix number and don't need/want to use an edge. Now if someone has an edge he can use an expression by using the direction vector of the underlying geometry:uwestoehr wrote: ↑Sun Aug 09, 2020 5:34 pmHow would that work? I mean I start with a new file, create a sketch and want to pad it with 30° incline. There are no edges yet. I would then first have to create a datum line. Then the step is not large to make directly a loft.
I think we have to find a compromise. I choose angles because in my real-life documents drafts/tapers are defined by angles, so I can directly use this info without any further actions.
Being forced to select an edge or axis as direction slows down the workflow for the applications I have while it might speed it up for others.
Code: Select all
DatumLine.Shape.Curve.Direction.y
But Part does not support these angles, it has a completely different way of defining pad direction. This change looks more like a step away. It is different. Likely useful. But Part and PartDesign diverge even further.
That turned out to be a no go, depending on the placement of your sketch. Thanks to Travis' tests I realized this. I mean one can pad from everywhere and then the angle is not yet clear.