几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » DirectDWG
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-05-06, 02:25 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】how to create a piece of spherical surface without using of

how to create a piece of spherical surface without using of
how to create a piece of spherical surface without using of custom objects?
hello,
is it possible to create and write out as dxf/dwg a piece of a spherical surface (given, for example, by radius and two angles) without using of custom objects and proxies? which dxf db-entities can be used for that?
thanks a lot in advance,
paul
last edited by pbr; 25th august 2004 at 07:36 amfff">.
ddt hasn't such functionality yet. but we are planning to implement revolve method of oddbsolid3d in nearest future.
btw : oddbsolid3d::extrude implemented with limitation and will be available with next release.
thank you for the fast answer, alexander.
may be you or anybody else can help me to clarify some important points:
1. from previous discussions i understood that there are odgetorus, odgecylinder, odgesphere, odgecone , ... objects, but there are no appropriate oddb objects in dwgdirect and these objects cannot be written out to dxf/dwg files without using of custom objects.
2. static methods like odgefileio:utfields(odgefiler*, const odgesphere&, const odgelibversion& = odge::glibversion) are not implemented yet.
3. there is no other simple way to create pieces of surfaces mentioned above and write they out to dxf/dwg file.
is all that right?
do you plan to implement such features in the nearest future?
how long will it take?
the answers on these questions are very important for the planning of software development issues in our company, which is sustained member of open design alliance.
thanks,
paul
1. from previous discussions i understood that there are odgetorus, odgecylinder, odgesphere, odgecone , ... objects, but there are no appropriate oddb objects in dwgdirect and these objects cannot be written out to dxf/dwg files without using of custom objects.
odge are geometry classes. you should use oddbsolid3d database object to represent piece of sphere. look at acdbsolid3d object in arx or in autocad help. also, please, read about revolve autocad command. it can help you understand how you can make piece of sphere using database object oddbsolid3d.
3. there is no other simple way to create pieces of surfaces mentioned above and write they out to dxf/dwg file.
you can make .sat file by hands and call oddbsolid3d::acisin(), for example. but this is difficult way.
is all that right?
do you plan to implement such features in the nearest future?
how long will it take?
i will try to implement revolve to next release, but ...
look at acdbsolid3d object in arx or in autocad help. also, please, read about revolve autocad command. it can help you understand how you can make piece of sphere using database object oddbsolid3d.
i didn't find any acdbsolid3d or acdb3dsolid object in the autocad help. if i write out a 3dsolid sphere with autocad, i become 3dsolid object as follows:
...
entities
0
3dsolid
5
144
330
1f
100
acdbentity
8
0
100
acdbmodelergeometry
70
1
1
koo nm n o
1
h j1410(1 nl ^ \vl kqoqm qk mk k7* ^ *8 mi nleoheno mook
1
rn fqfffffffffffffffj:rooh n:rono
1
=0;& {n {m {rn {rn |
1
-:9@)+r:&:r>++-6= {rn {rn {rn {o {l {k |
1
3*2/ {j {rn {i {o |
1
:&:@-:961:2:1+ {rn j 8-6; n l +-6 m k ,*-9 o l >;5 o k 8->; o f /0,+<7:<4 o k ,+03 nqmmkfhfkooilkhiji k 1+03 lo k ;,63 o g 93>+1:,, o h /6'>-:> o k 72>' o i 8-6;>- o j 28-6; loo j *8-6; o j )8-6; o no :1;@96:3;, |
1
):-+:'@+:2/3>+: {rn l o n g |
1
-:9@)+r:&:r>++-6= {rn {rn {rn {m {l {k |
1
,7:33 {h {rn {rn {g {rn {m |
1
-:9@)+r:&:r>++-6= {rn {rn {rn {i {l {k |
1
9><: {f {rn {rn {i {rn {no 90-(>-; ,6183: |
1
92:,7r:&:r>++-6= {rn {nn {rn {g |
1
,/7:-:r,*-9><: {rn o o o nfiqgiinflgfnhnkm n o o o o n 90-(>-;@) v v v v |
1
-:9@)+r:&:r>++-6= {rn {rn {f {g {l {k |
0
endsec
0
...
i am sorry, but i can't get any useful information from it!
may be you can?
search 'create 3d solids' in autocad help, please. revolve is a region rotation around axis.
i didn't find any acdbsolid3d or acdb3dsolid object in the autocad help.
acdb3dsolid is in arx help or look at db3dsolid.h in ddt.
h j1410(1 nl ^ \vl kqoqm qk mk k7* ^ *8 mi nleoheno mook
rn fqfffffffffffffffj:rooh n:rono
=0;& {n {m {rn {rn |
-:9@)+r:&:r>++-6= {rn {rn {rn {o {l {k |
3*2/ {j {rn {i {o |
...
is coded .sat file.
call acisout command in autocad and select sphere to get .sat.
ddt has oddb3dsolid::acisin()\acisout() methods to save to\load from .sat.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】olerance profile surface or profile line yang686526 American standards 0 2009-05-04 10:51 AM
【转帖】profile of surface vs profile of line yang686526 American standards 0 2009-04-29 09:29 PM
【转帖】profile of a surface on a honeycomb composite core yang686526 American standards 0 2009-04-29 09:27 PM
【转帖】asme - where to star yang686526 American standards 0 2009-04-29 07:28 PM
【转帖】blending a sculpted surface yang686526 SolidWorks二次开发 0 2009-04-13 09:17 AM


所有的时间均为北京时间。 现在的时间是 08:58 PM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多