Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Importing DXF Files for 2D


StoneyNH
 Share

Recommended Posts

When I import DXF files to use as Geometry I get them as DWG's so I have to cleanup all the unnecessary lines etc to use them.I use the QM Drafting feature which gets rid of a lot of the garbage I don't need.My parts have lotsa tapped & drilled holes so Im spending a lot of time deleting the crosshairs in the center of the holes.Is there a faster/easier way to get rid of all those lines?

Link to comment
Share on other sites

Sometimes it's easier to pick what you don't want, then "reverse selection." Used in conjunction with Alt+E to hide entities, windowing and QM, you can do some pretty elaborate selecting very quickly.

 

For example, maybe you can window all of the holes, including the crosshairs, then Alt+E. Now you can do one of two options...

1. QM all lines and delete

2. QM all arcs, reverse selection, and delete

Then Alt+E will display everything back on the screen again.

 

Say you window the holes, then Alt+E and you end up with a few entities on the screen that you didn't want. Select the few entities that you don't want, reverse selection, Alt+E, then Alt+E again. You now have only what you want selected.

Link to comment
Share on other sites

OK that all sounds good but Im clueless how to do it.I know how to window things.So I can window the holes,then hit ALT + E.That I can do.When I use the QM Drafting,its an icon on the right of my screen,I hit the icon & then the delete that looks like a pencil.How do I differentiate that icon to do lines and/or arcs?

Link to comment
Share on other sites

There are QM icons for each individual entity type (lines, arcs, splines, drafting, surfaces, solids, etc). You may have to setup the toolbar for it.

 

Image attached is my toolbar...

 

Hovering over any icon will tell you what it is.

 

 

 

******EDIT********

 

Go to Settings-Customize and chose General Selection from the Category dropdown. The individual QM options are in there. Drag the ones you want into a new or existing toolbar, save your toolbar state and you're all set.

post-2305-0-46762900-1408470216_thumb.png

Link to comment
Share on other sites

When I import DXF files to use as Geometry I get them as DWG's so I have to cleanup all the unnecessary lines etc to use them.I use the QM Drafting feature which gets rid of a lot of the garbage I don't need.My parts have lotsa tapped & drilled holes so Im spending a lot of time deleting the crosshairs in the center of the holes.Is there a faster/easier way to get rid of all those lines?

 

Do you have a sample file I can take a look at? 

Link to comment
Share on other sites

Not sure if this is of any help but I wrote a quick and dirty NETHook that allows you to set a line length, level number and level color and moves all lines that meet the line length to a new level named crosshair (see image).  I have attached the NETHook (X8) and C# project for those interested.

 

Edit: Added X7 NETHook (64-bit)

post-4901-0-87994100-1408555108_thumb.png

X8_x64CrossHairRemoval.zip

VSProject_CrossHairRemoval.zip

X7_x64CrossHairRemoval.zip

Edited by Mick from CNC Software Inc.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...