原创 import eagle boards in mechanical CAD drawings

2013-2-20 20:14 1268 16 17 分类: PCB 文集: Eagle

 

Usually you use eagle to design your printed circuit boards (PCBs) only in 2 dimensions (when not considering the layers as 3rd layer). This gives you some headaches for narrow space designs like in small cases.

The common solution until now is to export your board with eagleUp and assemble it with a case in Sketchup. This also gives you some drawbacks. The most important to me was that the Sketchup files are mesh based like the data used for 3D printing usually, but for further use in CAD systems this is not really usable. You also will not be able to get a STEP model that you can give to your costumers out of this data.

Another solution is to use eagle3D, which gives you photorealistic renders of your boards. This images (or even videos) are really good for marketing brochures, but this way makes it impossible for you to play with your 3D models to estimate how much space is left in your case.

The solution I found was to write a macro for FreeCAD that interprets the XML Data that Eagle 6 uses to save your board (the .brd file). This means that my script reads the outline of the pcb and extrudes it with the thickness you specified in eagle. The XML file also contains the names of your parts, which you can map to 3D CAD Models (STEP Models) of them. The last step is to assemble the parts and the board. For more information on how to use it see my github repository.

The only drawback of the freecad solution is that somehow the colors of STEP models get lost – at this time I expect it to be a freecad problem that might be fixed in the future.

The result looks amazing:

Freecad Rendering of Eagle BRD File

Freecad Rendering of Eagle BRD File of I2SEs PLC-REL-M

Thanks to my boss Carsten Ziermann, who allowed me to make changes on the script in my time at work as well as to use the screenshot above.

PARTNER CONTENT

文章评论1条评论)

登录后参与讨论

用户1057926 2013-2-22 09:36

good
相关推荐阅读
yueleilei2004_790049340 2016-04-10 21:16
A 3D Gerber Viewer that Gets “Between the Layers”
ZofzPCB is a FREE 3D Gerber viewer that shows you more than just how your board is going to loo...
yueleilei2004_790049340 2015-12-17 10:00
物料编码方式
不同的企业可根据不同的编码方式的特点来选择适合自己企业的编码方式。 流水码: 如果公司物料种类较多,品种复杂,建议采用“流水号”进行编码,并可通过“零件类型”对流水号编码进行分类。为了便于...
yueleilei2004_790049340 2015-12-17 09:57
物料编码规则
物料编码规则应遵循以下原则: 唯一性:同一种物料只能对应一个编码,同一编码只能代表一个物料,绝不能出现一个物料多个编码,或多个物料一个编码的情况。 可使用性:编码的长度应在6-20之...
yueleilei2004_790049340 2015-06-04 16:48
皮之不存,毛将焉附?详谈PCB业的发展
印制电路板PCB( Printed Circuit Board)是重要的电子部件,也是是电子元器件的支撑体和电子元器件电气连接的载体。本文通过PCB主要地区发展情况分析、市场发展趋势、国内外市场对...
EE直播间
更多
我要评论
1
16
关闭 站长推荐上一条 /3 下一条