How can I convert Cad data to G code with programming?

How can I convert Cad data to G code with programming?

Anonymous
Not applicable
6,423 Views
7 Replies
Message 1 of 8

How can I convert Cad data to G code with programming?

Anonymous
Not applicable

Is there a package or library to convert AutoCAD data into G code?

 

Any programming language is appreciated.

 

Thank you for your help.

0 Likes
6,424 Views
7 Replies
Replies (7)
Message 2 of 8

oscardosanjos
Enthusiast
Enthusiast

Hi,

There is a software called ABViewer that can do that, but you have to pay the licence for it:

 

https://br.cadsofttools.com/products/abviewer/

 

 If you need a library for developers with G-code generation feature, please write to info@cadsofttools.com or fill in the form below. They provide examples in the following languages: C#, Delphi, C++Builder, Visual Basic, Visual C++, ASP.NET and VB.NET.

0 Likes
Message 3 of 8

doaiena
Collaborator
Collaborator

AutoCAD data on it's own means nothing. Is it a list of points and/or paths you want to export, or a list of entities from which you want to get data? Post some sample data on what you want to convert to G-code.

0 Likes
Message 4 of 8

Anonymous
Not applicable
0 Likes
Message 5 of 8

SanjoyNath
Advocate
Advocate

Fantastic question indeed,

 

Autocads c# plugin is very good to read entity geometry .Lisp can also save all these data in predefined text files formats

We can save data of cad in dxf and read the dxf data with c# or vb then extracting these line (or other entity information) to get geometry and GCODE is also text file

Then converting these geometry data with this if you have your custom cnc systems

https://github.com/grbl/grbl

 

 

Otherwise this is good

 

https://github.com/vlachoudis/bCNC

Sanjoy Nath
BIM Manager And Digital Lead (Structures Online)
BOOST, AR , VR ,EPM,IFC API,PDF API , CAD API ,Revit API , Advance Steel API
Founder of Geometrifying Trigonometry(C)
0 Likes
Message 6 of 8

Anonymous
Not applicable

Generate CNC Code Using AutoCAD and AutoLISP

https://www.youtube.com/watch?v=qhBDklmCAvY&t=14s

Message 7 of 8

Anonymous
Not applicable

So sorry. The old link has been disabled, this is the new link

Generate CNC Code Using AutoCAD and AutoLISP
https://youtu.be/5Za-M6ZG-5w
https://www.youtube.com/watch?v=5Za-M6ZG-5w&feature=youtu.be

0 Likes
Message 8 of 8

SHIBNEMCH
Explorer
Explorer

Pls give the lisp drive link

0 Likes