DiscussionsIssue archiveOCCT:Modeling Data

Archived issue #0033188

Modeling Algorithms - Unformatted output of shape dump function

Open CASCADEOCCT:Modeling Datanew1 public note

Search issues

Description

Under some circumstances I get unformatted header of the output of dump function for edge.
There is missed linebreak in selected line in the text below
TShape # 1 : EDGE      01010000 [revision removed]
    +3 -2
    Tolerance : 0.0966172338461475
     same parametrisation of curves
     same range on curves
    - PCurve : 1 on surface 1, range : 0 1
  UV Points : 14.2157603159816, -2.77555756156289e-17 14.4878809394023, 1.87260868805707
    - Curve 3D : 1, range : 0 1
    - Regularity C0   on surfaces : 1, 2
    - Polygon 3D : 1    - PolygonOnTriangulation 1 on triangulation 1
    - PCurve : 2 on surface 2, range : 0 1
  UV Points : -0.272024516958012, -1.11022302462516e-16 -4.23215060855655e-05, 1.9261668769638
    - PolygonOnTriangulation 2 on triangulation 2


Somehow I got the next header:
TShape # 1 : EDGE      01010000 [revision removed]
    +3 -2 
    Tolerance : 0.0966172338461475
     same parametrisation of curves
     same range on curves
    - PCurve : 1 on surface 1, range : 0 1
  UV Points : 14.2157603159816, -2.77555756156289e-17 14.4878809394023, 1.87260868805707
    - Curve 3D : 1, range : 0 1
    - Regularity C0   on surfaces : 1, 2
    - PolygonOnTriangulation 1 on triangulation 1
    - Polygon 3D : 1    - PCurve : 2 on surface 2, range : 0 1
  UV Points : -0.272024516958012, -1.11022302462516e-16 -4.23215060855655e-05, 1.9261668769638

and for a long time I could not understand why I have arrays for two pcurves, but there is only one pcurve in the header.

Steps to reproduce

pload ALL
restore [locate_data Attachment 1 (BREP)] s
vinit
fixshape r s
vdisplay -dispmode 1 r
explode r e
dump r_2

Public activity

1 archived note

Participants are labeled by their role within this record.

01Commenter 1
Attachment 1 (BREP) (79,692 bytes)