dump in Draw

Hello,

We would like to know if it is possible by using the function DUMP to recuperate the shapes which compose the compound in order to use them after (as it is possible with the function explode).

What do information such as +2 +3 +4 given by using DUMP mean ?

Thanx

Hello!

No, it is not possible to use DUMP to recuperate shapes, because DUMP gives you an information in convinient format and it is not the real dump of BREP file (I mean "not real" in terms that it is not a dump of file string by string, but dump of information about shape in human-readable form).

About information stored in DUMP:

+2 +3 +4 dedicated to entities, where the "number" is the number of described entity, and "sign" is the orientation of the shape. "+" means FORWARD, "-" means REVERSED, "i" means INTERNAL, "e" means EXTERNAL. For example:

Draw[13]> dump b1_1

*********** Dump of b1_1 ************* Shape : 10, REVERSED

>>> Here you can see the orientatation
>>> of dumped shape (and number of its sub-shapes)

Dump of 10 TShapes

-----------------

Flags : Free, Modified, Checked, Orientable, Closed, Infinite, Convex

TShape # 1 : FACE 0111000 0xe4401828

+2

Tolerance : 1e-07

- Surface : 1

>>> Here you can see that face (number # 1)
>>> contains wire (number #2) with orientation
>>> FORWARD (sign is equal to "plus").
>>> Also you can see all the values of flags
>>> for this face: 0111000 (translation of each
>>> flag you can see above (String "Flags :
>>> Free, modified, .....). By the right side
>>> of flags you can see the address of TShape
>>> entity.
>>> Below you can see shape tolerance and number
>>> of underlying geometry (here : surface with
>>> number #1 , you can find description of this
>>> surface in sub-sivision "Surfaces").

TShape # 2 : WIRE 0101000 0xe4401568

-8 -6 +4 +3

>>> Here you can see that wire contains
>>> four edges : #8 (ori = REVERSED),
>>> #6 (ori = REVERSED), #4 (ori = FORWARD),
>>> #3 (ori = FORWARD).

TShape # 3 : EDGE 0101000 0xe4402028

-5 +9

Tolerance : 1e-07

same parametrisation of curves

same range on curves

- Curve 3D : 4, range : 0 1

- PCurve : 7 on surface 1, range : 0 1 UV Points : 0, 0 0, -1

- PCurve : 8 on surface 5, range : 0 1 UV Points : 0, 0 0, 1

>>> About edges: you can find information
>>> about : 1) its 3DCurve (number in
>>> sub-division "Curves 3D") and its
>>> parametric range; 2) All of edge PCurves
>>> (edge representations in parametric space
>>> for each surface edge belongs to) and its
>>> parametric ranges and UV points for the
>>> starting and ending points of this PCurves;
>>> And you can see that this contains two
>>> vertices : -5 and +9;

TShape # 4 : EDGE 0101000 0xe4401eb0

-7 +5

Tolerance : 1e-07

same parametrisation of curves

same range on curves

- Curve 3D : 3, range : 0 1

- PCurve : 5 on surface 1, range : 0 1 UV Points : 0, -1 1, -1

- PCurve : 6 on surface 4, range : 0 1 UV Points : 0, 0 1, 0

.................. and so on;

Best regards,

Maxim ZVEREV.