← All bug reports

FS#538add to / remove from hatch

Type
Feature Request
Status
Closed
Resolution
Implemented
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3 RC5
Operating system
All
Reported
2012-04-06 by stefan
Closed
2012-04-25 by andrew

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.

Comments (4)

stefan 2012-04-12

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

stefan 2012-04-17

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

andrew 2012-04-17

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 2012-04-17

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