I’ve been working on a new feature that @Onetchou requested… being able to select whether to add a point on a curve with a length from the start or end point. This will eliminate the formula gymnastics of having to subtract the length from the curve length to place the Point the distance of “Length” from the end point.
After resolving a slight glitch I should have the feature fully working with the Point - On Curve, Point - On Spline, and Point - On Arc.
You’ll be able to select the Direction - forward or backward from a dropdown box:
The xml schema will now contain a “direction” attribute of either “forward” or “backward”.
Oh… BTW… I had to create a new Property plugin anyways for the Direction. I thought there was a generic combobox property. Nope. So I had to make one up for the direction combobox. Oh well.
Resolved the minor glitch I was having placing the point at the proper place when the backward option was selected. The routine that gets the length of a curve, spline, or arc returns a value in pixels, and not the pattern units. Therefore the point was always being placed at the last point minus 1mm. The Point On tools always expect to have a length > 0 - therefore the tools set the length at a minimum of 1mm even if the formula value is 0. It was a simple matter of converting the pixel length to unit length, and Voila!