高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|