connecting users of the CorelDRAW family of products
We take every threat seriously. CorelDRAW.com has not been affected by the Heartbleed security bug.

delete duplicate lines coreldraw?

rated by 0 users
This post has 11 Replies | 4 Followers

Share  
Page 1 of 1 (12 items) | RSS

fikri Posted: Fri, Apr 2 2010 13:26

Hello all,

I have problem when I open some dxf format from autocad.

For each line in autocad in coreldraw I have about 10 lines. How to clean drawing?

Please help!

fikri,

Attached is a macro (I believe it was written so graciously by OS)
which will come in very handy. But if your drawing isn't terribly
complicated, I find that the smart fill tool works well too for many of
my dxf situations. I just use the tool, then marquee select the whole
works, deselect my new smart fill and hit delete to get rid of all the
dxf lines.

joan

fikri wrote:
> Hello all,
>
> I have problem when I open some dxf format from autocad.
>
> For each line in autocad in coreldraw I have about 10 lines. How to
> clean drawing?
>
> Please help!
>
>
> ------------------------------------------------------------------------
> http://coreldraw.com/forums/p/19211/83539.aspx#83539
>

Wow, tool works great!

Only problem is when objects are combined (which is in my case) so I must do "break curve appart" for each object. Can You add this function?

 

joan replied on Mon, Apr 5 2010 20:52
Sorry, I know way too little about VBA to alter it. It was made by OS (I
think). Anyway, all you have to do is select all, break apart, run macro
(you don't have to do them one at a time)
joan

fikri wrote:
> Wow, tool works great!
>
> Only problem is when objects are combined (which is in my case) so I
> must do "break curve appart" for each object. Can You add this function?
>
>
>
>
> ------------------------------------------------------------------------
> http://coreldraw.com/forums/p/19211/83652.aspx#83652
>

Yes, but how can I select all objects and then break appart?

The option break appart is disabled if there is any object in selection  without combined objects!

 

joan replied on Wed, Apr 7 2010 18:21
Import a dwg or dxf; keep selected; ungroup all; combine; break apart;
Run RemoveDups; Run NodeClean
Now you will have a clean fillable object
Thanks to OS for this macro

joan

fikri wrote:
> Yes, but how can I select all objects and then break appart?
>
> The option break appart is disabled if there is any object in selection
> without combined objects!
>
>
>
>
> ------------------------------------------------------------------------
> http://coreldraw.com/forums/p/19211/83911.aspx#83911
>
fikri replied on Sun, Apr 11 2010 12:38

Works fine but problem might be phaze COMBINE who join two lines in one... so drawing might be edited.

I'm not sure is it secure?

Top 50 Contributor
ABBOTSFORD, BC CANADA
Male

 

Just be sure to do your experimenting on a copy of your file... so if all goes sideways you can easily start over.

Devil  the 'dd'

comin' atcha from up on the hill in Abbotsford, BC  CANADA

joan replied on Mon, Apr 12 2010 16:25
Sorry, I don't understand your question, maybe someone does?
joan

fikri wrote:
> Works fine but problem might be phaze COMBINE who join two lines in
> one... so drawing might be edited.
>
> I'm not sure is it secure?
>
>
> ------------------------------------------------------------------------
> http://coreldraw.com/forums/p/19211/84304.aspx#84304
>

I draw jig saw puzzles in CorelDRAW and each piece overlaps adjoining pieces on all four sides and are connected at multiple nodes. When sending to the laser for cutting, each side of each piece gets cut twice due to the overlapping lines. I was hoping the RemoveUnderlyingDups and NodeClean macro would help take these overlapping lines and create either individual horizontal and vertical line segments from the connected nodes so the laser would make one continuous cut rather than duplicating all the cuts. However, after running the macros, even on a small portion of the puzzle, I didn't get any results. I combined then broke apart as mentioned and still no joy. The only way I have been able to create separate line segments is to cut apart at the nodes and delete individual line segments... on 1250 pieces, with four sides and all sides overlapping, that's 10,000 separate edits... needless to say, duplicate cutting by the laser is faster.

Ideally, being able to create continuous horizontal and vertical lines based on corner node connections, would be the best. At that point, I could cut a 1250 piece puzzle with just 50 continuous horizontal lines and 100 vertical lines.

Regards,
Dave

Dave, I don't know if this will help but one of the options in this jigsaw puzzle macro automatically removes overlaps

http://www.oberonplace.com/products/jigsaw/index.htm

 

 

Diane Jersey Girl

Thanks Diane,

I had looked over his site earlier and wanted to see if CorelDRAW had any steps to fix existing vectors.

What I ended up doing, was isolating the dozen or so unique puzzle pieces that comprise the puzzle. I took the one piece that seemed to be the one that all the other pieces were built from and broke it into four individual sides. I took one side and used it as the "master" side and built the other three sides. This ensured that the sides were identical when it came time to flip them. I then built the remaining pieces by flipping each puzzle side either in or out.

From there, I am rebuilding the puzzle starting at one corner and adding individual sides either horizontally or vertically. By doing this, I eliminate any overlapping vectors and everything matches up exactly.

I went this route so I could save all the work that was done to date. However, I will be downloading Alex's macro as it will quickly give me more flexibility and randomness than I can get manually.

Thanks for taking the time to reply.

Dave

Page 1 of 1 (12 items) | RSS
© Corel Corporation. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms and Conditions / User Guidelines.