I have some DWG files that I need to clean-up to send to CNC machine. The DWG files have mixed closed polylines and open lines overlapping the polylines.
I need to clean this files (to send to CNC machine) and for this reason I need to find and delete all the open lines and polylines from the drawing but I find quite time consuming to find, select and delete all the open lines.
It is there a function or something to quickly select all the open lines and polylines because I can't find any tool to do this for me? Thank you.
Find open lines and polylines.
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
- Junior Member
- Posts: 12
- Joined: Sat Jun 19, 2010 6:23 pm
Re: Find open lines and polylines.
Hi,
Example:
1 = open polyline
2 = a solution ....
3 = also a solution .... but which one is correct?
To prepare a drawing for a cnc I work with:
Detect duplicates - delete,
Detect Zero Lengths - delete,
Trim,
Trim both (!)
Hatch (I abuse this tool!) - this tool will indicate an open contour with a circle - if I see where I terminate the tool and fix the problem.
Property Editor / adjust
Closed = no
to
Closed = yes
I would say: Yes and no. There are a couple tools to make your life easier but there is not THAT tool what can fully automatically take over this task. The Problem is that no tool can say what is the right way and what not ...artisanicview wrote:It is there a function or something to quickly select all the open lines and polylines because I can't find any tool to do this for me? Thank you.
Example:
1 = open polyline
2 = a solution ....
3 = also a solution .... but which one is correct?
To prepare a drawing for a cnc I work with:
Detect duplicates - delete,
Detect Zero Lengths - delete,
Trim,
Trim both (!)
Hatch (I abuse this tool!) - this tool will indicate an open contour with a circle - if I see where I terminate the tool and fix the problem.
Property Editor / adjust
Closed = no
to
Closed = yes
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Find open lines and polylines.
I'm assuming you are using the latest version of QCAD.
I'd proceed as follows:
1. Convert all 'loose' entities (single lines, arcs) into polylines and connect them if possible:
- Select > Select All
- Draw > Polyline > Create from Selected Entities
-> All loose lines and arcs are now polylines, some of them open, others closed.
2. Make sure all geometrically closed polylines (start point at same location as end point) are converted into logically closed polylines:
- Select > Select All
- Draw > Polyline > Logically close Polylines
-> All closed polylines are now logically closed (marked as being closed)
3. Delete all open polylines:
- View > Selection Filter - Entity type: Polyline
- Property: Closed
- Comparison: = (is)
- Value: false
- Click button at the left to select all open polylines
- Edit > Delete
If this does not solve your problem, please attach your drawing file or at least a screenshot to indicate what you are trying to do.
I'd proceed as follows:
1. Convert all 'loose' entities (single lines, arcs) into polylines and connect them if possible:
- Select > Select All
- Draw > Polyline > Create from Selected Entities
-> All loose lines and arcs are now polylines, some of them open, others closed.
2. Make sure all geometrically closed polylines (start point at same location as end point) are converted into logically closed polylines:
- Select > Select All
- Draw > Polyline > Logically close Polylines
-> All closed polylines are now logically closed (marked as being closed)
3. Delete all open polylines:
- View > Selection Filter - Entity type: Polyline
- Property: Closed
- Comparison: = (is)
- Value: false
- Click button at the left to select all open polylines
- Edit > Delete
If this does not solve your problem, please attach your drawing file or at least a screenshot to indicate what you are trying to do.