乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 95|回复: 1

[综合讨论] interfacing .dxf with opengl

[复制链接]

1

主题

1

帖子

0

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-7 22:46:10 | 显示全部楼层 |阅读模式
Hello,
 
I am new to the AutoCAD topic and hopefully thus have picked the correct forum. I need to understand how 3d models are stored in the dxf. file format. Besides, my main concern is, I want to visualize AutoCAD data from a .dxf file in opengl.
 
Since I have no idea about the AutoCAD side of this  - I'm an experienced programmer though - I'd like to know in what way to approach this problem best.
 
Is there any way to achieve this by extracting the necessary data? Or via another file format?
 
I know there are file converters for .dxf data I just don't know how reliable/efficient they are.
 
Any start on this helps!
回复

使用道具 举报

18

主题

434

帖子

422

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
94
发表于 2022-7-8 00:41:20 | 显示全部楼层
Welcome in the forum!
 
In a new drawing put a point and save the document in DXF format. Open it with Notepad and see what it contains. Now draw a line and repeat as above. (the end of the file is more relevant).
When you get tired, go to the AutoDesk home page and read about the DXF codes.
As a side note: it is simple to describe the points, lines, polylines and even surfaces. But I would stay apart from solids.
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-5 04:35 , Processed in 0.345155 second(s), 56 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表