高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】exporting objects as autocad 3d solids
exporting objects as autocad 3d solids
exporting objects as autocad 3d solids
we are developing hvac cad application in vc++ 6. to export our objects (ducts/fittings) to autocad .dwg format we have been using dwgdirect library. however, it exports
them as a set of 3d lines.
at this point we need to export them as solids, and opendwg has very limited support for them (as far as i understand - please correct me if i am wrong). can anyone recommend a software library we can use to export our objects (ducts/fittings) as solids?
dwgdirect can be used to export your objects to dwg as meshes (oddbpolygonmesh or oddbpolyfacemesh) or as acis objects (oddbbody or oddb3dsolid).
acis objects in dwgdirect can be created not only by functions like createsphere(), createbox() etc. but also by suplying acis data stream (sat or sab) - acisin().
sergey slezkin
quote:
originally posted by sergey slezkin
dwgdirect can be used to export your objects to dwg as meshes (oddbpolygonmesh or oddbpolyfacemesh) or as acis objects (oddbbody or oddb3dsolid).
acis objects in dwgdirect can be created not only by functions like createsphere(), createbox() etc. but also by suplying acis data stream (sat or sab) - acisin().
is there a code sample how to supply acis data stream? where can i read more about it?
odwriteex sample contains code creating 3dsolids from sat file.
find "sphere.sat" in dbfiller.cpp
sergey slezkin
|