QCAD Bugtracker

  • Status Assigned
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.32.2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 2
    • thhz (15.03.2025)
    • CVH (14.03.2025)
  • Private
Attached to Project: QCAD Bugtracker
Opened by CVH - 14.03.2025
Last edited by CVH - 15.03.2025

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

thhz commented on 15.03.2025 16:12

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing