QCAD - 2D CAD System.
Click here for a documentation of the DokuWiki formatting syntax that can be used in reports
Please search for existing tasks (also closed ones) before opening a new task.
Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help > Check for Updates)
FS#763 - Hatching with just one click
Opened by Christian Aigner (caigner) - Monday, 11 February 2013, 18:34 GMT+2
|
DetailsMy task: To hatch an area.
Right now, if I want to fill an area with a hatch pattern, I have to select all the enclosing objects (lines, arcs) and then I can select the hatch tool. That can be under some circumstances a tedious task.
Step 1: Create a rectangle. Just for fun try recreating my second example (see Attachment 2: Hatching2.png) Therefore I would like to suggest a far more simple approach.
Step 1: Select the Hatch Tool. Of course that would mean that the hatch style is already pre-defined and can be changed later, if needed. In this way productivity can be increased by ... [fill in you own estimate] ... times. Example 2 would need only 13 clicks to hatch all the areas (including the hatch tool button). |
A boundary needs to be defined, so - possibly when first selecting the Hatch tool the 'Hatch' dialog window opens with additional options like:
Select points (internal) to create boundary.
Select entities to create boundary.
Then as you say click inside the enclosed area.
@Andrew what do you think?
I assume, it should be possible to select one point inside the area, then travel from this point in any direction until you hit a border (=starting point), then follow the border clockwise, travelling from one boundary object to the next, until you end at your starting point. In this way, the program should be able to find the boundary by itself.
Unfortunately my skills, regarding programming this sort of application, are very limited.
Could that be done?