- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
>> I have access to AutoCad. But is it really necessary?
You can't access geometry within a DWG-file without software that can open this file.
A DWG-file is not an open source format and so the number of libraries which can read that format is really limited. Using AutoCAD is the most appropriate way.
>> Can you explain this detail?
Nothing much to explain, open the file you need to convert to a machine language. Use API to get the objects in modelspace of the DWG and convert each geometry type to your NC codes.
>> The project for now should be just simple 2D-Polylines and text,
Text could be tricky as AutoCAD (without additional development) does not have access to the contours of a true-type font. But Polylines (take care: AutoCAD knows 3 types of Polylines, and one polylinetype knows a additional settings like "curved" and "splined", you can test this with AutoCAD command _PEDIT)
- alfred -
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------
(not an Autodesk consultant)