QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3 RC5
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Stefan - 06.04.2012
Last edited by Andrew - 25.04.2012

FS#538 - add to / remove from hatch

Given a hatch, it would be very useful if one could add another closed polyline to the existing hatch or remove the overlapping area from the existing hatch.

Closed by  Andrew
25.04.2012 08:50
Reason for closing:  Implemented
Stefan commented on 12.04.2012 19:50

Perhaps this feature may be implemented easily by treating a hatch like a polyline, for which "add node" and "delete node" already exist?

Stefan commented on 17.04.2012 07:01

Or even simpler: a tool that converts a hatch into one or more polyline(s).

Admin
Andrew commented on 17.04.2012 07:26

Thanks for the suggestions.

Please note that a polyline in QCAD (DXF/DWG) is defined as a sequence of line segments and arc segments.
A hatch boundary on the other hand may contain line, arc, ellipse arc and spline segments.

Your best option at the moment might be:

  1. Select the hatch
  2. Use the property editor to change the 'Solid' property to 'yes'.
  3. Explode the solid fill: Modify - Explode (X,P) [⇒ See attached fix for Explode.js that ensures that arc segments are not converted into splines]
  4. This leaves you with the boundary elements of the hatch (lines, arcs and possibly splines)
  5. These loose boundary elements can be converted into a polyline if they consist of only lines and arcs: Draw - Polyline - Create from Segments
Stefan commented on 17.04.2012 07:43

that's just perfect for my use case, thank you!

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing