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 RC5
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
    • CVH (14.05.2018)
  • Private
Attached to Project: QCAD Bugtracker
Opened by Anonymous Submitter - 28.05.2012
Last edited by Andrew - 28.05.2012

FS#609 - Clean up tool

To have a ‘clean up ' tool to:

- eradicate duplicate lines
- eradicate stray points
- remove empty layers
- remove unused blocks

Perhaps with an initial dialog which allows the user to choose what they want to clean up.

Admin
Andrew commented on 28.05.2012 14:46

For duplicate entities, we do have Modify - Detect Duplicates

Anonymous Submitter commented on 28.05.2012 15:02

True - but if I have 3 duplicate lines on top of each other I would need to select and delete them individually. To be clearer - I was thinking of maybe a 'purge' option after the detection of duplicates to automatically delete them for me so by-passing this stage, particularly if I have a large drawing or an imported file!

If I need to laser cut a lot of Architectural shapes for example, the laser cutter would follow all paths 3 times in this instance.

Admin
Andrew commented on 28.05.2012 15:09

This should work also for 3 duplicate lines:

- Modify - Detect Duplicates
- Adjust tolerances in options tool bar if desired
- Click the delete button in the options tool bar to purge the selected duplicates

Anonymous Submitter commented on 28.05.2012 15:31

Oh yes - sorry about that it does work yes. Not looking properly!

Anonymous Submitter commented on 28.05.2012 15:32

Please scrap this feature request then.

Admin
Andrew commented on 28.05.2012 18:06

What is the exact idea behind 'stray points'?

I like the general idea of a 'clean up' tool. I've added some ideas to the original feature request.
Feel free to add to it if you can think of something else that often requires cleaning up.

Anonymous Submitter commented on 28.05.2012 18:22

OK thanks, I`ll have a think about it!
I too like the idea of a dialog window to work this from.

Stray points - well sometimes when working with Architectural students they invariably use all sorts of CAD/Illustration programs and very often when exporting an Adobe Illustrator drawing file to DWG for example and then opening up with QCAD There are stray points,little dots or extra lines - where they come from I don`t know, but I need to delete them (or rather I get them to delete them :)) before we laser cut a job.

Admin
Andrew commented on 28.05.2012 18:31

I understand, thanks for the explanation.

Here's a trick for now on how to delete all entities of a certain type (e.g. all points):
- Select everything in the drawing (Ctrl-A).
- In the property editor (at the top) select the entity type (e.g. 'Point').
- In the property editor, click the plus button beside the layer combo box (this adds a new layer with all entities that are selected and match the type 'Point').
- Type a name for the new layer (e.g. 'temp') and confirm.
- Delete layer 'temp'.

Not straight forward and not intended as the final solution to this problem, but it can be worth it, especially if the drawing is badly organized and there are many such points to delete.

Anonymous Submitter commented on 28.05.2012 19:25

Nice little trick - thanks, this will speed up the clean-up process and to be honest pretty easy to do!
For now this little trick will probably be of use to a lot of people, I think if you have the time it would be worth you sharing this in the 'Tips & Tutorials' section on the forum, if you don`t I definitely will.

CVH commented on 14.05.2018 08:12

-Stray points or usually null-lines.
-Double, triple or multi copies.
Horrible for an engraving path too.

Even QCAD generates the mentioned issues.
- While off-setting (complex) polylines.
- While breaking/trimming/dividing/break-out/... polylines.
- While exploding fonts due to QCAD and due to TTF definition.There are dreadful coded fonts out-there.
- ...

It gets more difficult when double or null-lines are part of a polyline.
In this case 'Detect Duplicates' or 'Detect zero-length' does not detect them.
One has to first explode the polyline to its segments.

I have self-engineered the same work-arround method it seems.
In combination with several temp layers so I keep the discarded entities/exploded segments at hand for re-combining.
If closed loops don't re-close, I can look up the entity or segment near the break and re-enstate it or trim or so.
Usually after 2 irritations with manual improvements the paths are clean.
Somethimes it needs more irritations.
Only my CNC-driver will be the judge of that.
So I have tho check the paths every irritation one by one in the driver preview.

After a while one knows most of the culprits.

Regards

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing