![]() |
【转帖】explode versus explodegeometry
explode versus explodegeometry
explode versus explodegeometry coud you explain or give some clear directions about when to use explode() and when to use explodegeometry()... the purpose being to decompose database resident entities into simpler geometry (curves in polylines, polylines in lines, solid3d and regions in 3dfaces or polyface mesh, etc)... explodegeometry() uses entities' worlddraw() metod - it is universal, but it decomposes entity to the basic primitives - lines, arcs. explode() is overloaded in all the entities, and may produce more complicated results. e.g. block insert explodes to the block contents with transform matrix applied. vladimir explode versus explodegeometry quote: explodegeometry() uses entities' worlddraw() metod - it is universal, but it decomposes entity to the basic primitives - lines, arcs. it look like a get the reverse: explode() a region returns a set of lines only explodegeometry() a region returns a set of lines and 3dfaces, which is a more complex and complete production... quote: explode() is overloaded in all the entities, and may produce more complicated results. e.g. block insert explodes to the block contents with transform matrix applied. ok, but this does not tell me if explode() should produce faces or mesh of faces ... could not find in the doc what entitites are generated when explode() or explodegeometry() is applied to an entity. i did not imagine that exploding an insert instanciates the block ! this is fabulously interesting !.. but explained nowhere, unless you try the hard way to explode() and geometryexplode() every kind of db entities... thanks when exploding the region you get its boundary (exploded). when calling explodegeometry, region draws itself, using 'shell' graphics primitive, that is converted to 3dface by explodegeometry code. that's what is said in arx docs about explode results. dd is compatible to arx in this case. acdb3dsolid regions, bodies acdbbody regions, bodies acdb2dpolyline lines, arcs acdb3dpolyline lines acdbarc self acdbcircle self acdbdimension solids, lines, text strings, points acdbellipse self acdbleader self acdbline self acdbray self acdbspline self acdbxline self acdbface self acdbmline lines acdbmtext one text entity for each line acdbpoint self acdbpolyfacemesh acdbface acdbpolygonmesh self acdbregion curves (splines, lines, arcs, circles) acdbshape self acdbsolid self acdbtext self acdbtrace self vladimir |
所有的时间均为北京时间。 现在的时间是 02:23 AM. |