LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AutoCad to G-Code conversion vi?

I am currently designing and programming a user interface for a CNC machine
that cuts panels and rails with arches for cabinets. I need to be able to
take an AutoCad drawing file of the part to be cut and convert it to tool
cutting path data. Has anyone developed a vi for this operation? If so,
you can reply to my email address. Just take out the obvious part (NOSPAM).

Thanks for any information.

-Mike
0 Kudos
Message 1 of 9
(7,553 Views)
Hi Mike,
I haven't looked a t this for a while, but I visited this issue a few
years back and seem to recall that there was C code and DLLs available (free
and $$$ versions) with a modest amount of searching on the web. These would
convert AutoCAD to CNC. Getting one of these andputting wrapper VIs around
the DLL calls would probably be a faster way to go than coding VIs up from
scratch.
Cheers,
Mike Ashe

"Mike" wrote in message
news:v25q2khiqnp90f@corp.supernews.com...
> I am currently designing and programming a user interface for a CNC
machine
> that cuts panels and rails with arches for cabinets. I need to be able to
> take an AutoCad drawing file of the part to be cut and convert it to tool
> cutting path data. Has
anyone developed a vi for this operation? If so,
> you can reply to my email address. Just take out the obvious part
(NOSPAM).
>
> Thanks for any information.
>
> -Mike
>
>
0 Kudos
Message 2 of 9
(7,552 Views)
AutoCAD did sell a software library called ObjectDBX giving programmers access to the DWG format. If you have more money to spend than time to program, you may want to look at that.
If you're programming from scratch, DXF may be the easier way to go. It's in ASCII so you can read the file in any editor or word processor. An easy way to get started is to use AutoCAD to create a very simple drawing, e.g. a square with corners at known locations, generate a DXF file, read that DXF file and look for the coordinates of the squares corners. Each corner is a VERTEX in DXF. Than add a circle to your drawing and look for that. The drawings for the pieces you want to CNC will be much more complicated, but it's best to start with simple examples.
Another benefit of using D
XF is that it is a published format. DWG is a proprietary format and AutoCAD could theoretically change it with the release of a new version of AutoCAD. Then you're back to trying to crack the DWG code again. If you use Google to search for DXF format specification, you'll find a wealth of material.
Message 3 of 9
(7,552 Views)

I actually have develoed this app it was my final project from my speciality in mechatronics, are you still interested? if you are send me a private message 

0 Kudos
Message 4 of 9
(4,638 Views)

This thread is 10 years old and two of the people who posted have not been on the Forums since 2003.

 

This is a topic which pops up occasionally, so if you have code you are willing to share, you should start a new thread where you describe the capabilities and limitions of your code.

 

Lynn

0 Kudos
Message 5 of 9
(4,628 Views)

sorry i did not realize about that i thought it was from 2013, thanks for de advice 

0 Kudos
Message 6 of 9
(4,624 Views)

Hey ing.miguel.sanchez,

I'm really interested in your conversion vi!

I need such a vi to build something like a 3D-Printer which I want to control with LabVIEW.

There are some small tools to convert from CAD to g-Code but I prefer a LabVIEW solution!

 

Can you help me with this Problem?

Do you want to share your code?

 

Regards

Splinder

0 Kudos
Message 7 of 9
(4,546 Views)

i need this technology sir .....

0 Kudos
Message 8 of 9
(4,346 Views)

Hi

 

Im interessted in the source code

 

thanks daniel

0 Kudos
Message 9 of 9
(3,963 Views)