FS#2653 - Preference page for Explode (XP): Spline tolerance vs Spline segments
Andrew,
Observed by a user.
It is:
A) Or approximated by a Polyline with tangentially connected Arcs within some tolerance.
B) Or interpolated by a Polyline with Line segments depending a given number of segments.
Opting for B by the checkbox keeps the preference for A enabled.
In Explode.js these preferences are twice used in an OR clause:
- Explode Spline shapes
- Explode Spline shapes from TTF text
Both as polylines ‘with arc-segments’ (bulging) OR as polylines with line-segments.
It would be more appropriate to also toggle the enabled state of:
widgets["SplineTolerance"].enabled = !state; widgets["SplineTolerance_Label"].enabled = !state;
And set the enabled states on init:
widgets["SplineTolerance"].enabled = !widgets["SplinesToLineSegments"].checked; widgets["SplineTolerance_Label"].enabled = !widgets["SplinesToLineSegments"].checked;
The issue was a vast amount of line segments (14344) from an explosion.
The user was not aware of the OR clause.
It would also be beneficial if users would be aware that the default preference of 64 segments means: 64 Lines per Bézier Segment times (degree + 1)
The number of Bézier Segments depends on the original Spline.
- Equal to number of points when closed
- Number of Fit-Points - 1 (degree=3)
- Or number of Control-Points - degree
Regards,
CVH
This is important for me, I was not aware of this fact until yesterday
CVH made me aware that it is as arcs within a tolerance OR as many short line segments.