|
|
We've had a problem loading an ERDC-generated shp file for quite awhile now. The problem occurs somewhere in vtkCMBGeometry2DReader, which is now part of SMTK. I (john T) can provide the input files (cropped_polys.dbf, .prj, .shp, .shx) to anyone interested in working the issue; the basic symptom is that, after maybe 1 minute of processing, a model is created that is empty (no entities). Following is a summary of the processing observed in the vtkCMBGeometry2DReader::RequestData() internal pipeline. I modified the code to write out various vtp files that capture the interim steps.
|
|
|
We've had a problem loading an ERDC-generated shp file for quite awhile now. The problem occurs somewhere in vtkCMBGeometry2DReader, which is now part of SMTK. I (john T) can provide the input files (cropped_polys.dbf, .prj, .shp, .shx) to anyone interested in working the issue; the basic symptom is that, after maybe 1 minute of processing, ModelViewer seg faults after a series of error messages:
|
|
|
|
|
|
```
|
|
|
Generic Warning: In /media/ssd/sim/cmb_core/gitlab/cmb/ThirdParty/SMTK/smtk/bridge/discrete/extension/meshing/cmbFaceMesherInterface.cxx, line 375
|
|
|
Failed to build a face mesh.
|
|
|
```
|
|
|
Following is a summary of the processing observed in the vtkCMBGeometry2DReader::RequestData() internal pipeline. I modified the code to write out various vtp files that capture the interim steps.
|
|
|
|
|
|
These results were obtained from a cmb:master build on 18-Dec-2015. Its SMTK submodule is at commit dc83712 (Fri Dec 11, 2015). The platform is Ubuntu 14.04 (gcc 4.8.4).
|
|
|
|
... | ... | @@ -16,9 +22,24 @@ These results were obtained from a cmb:master build on 18-Dec-2015. Its SMTK sub |
|
|
* "RegionGroupMemberShip" has 636 Int64 values, all set to -1
|
|
|
* "ModelFaceRegionsMap" has 5734 Int64x3 tuples, of various values
|
|
|
|
|
|
5\. One more note: 3 messages were written to the console:
|
|
|
This stage also constructs a vtkTable that is written out to splitLinesContainment.vtk. That table is very short:
|
|
|
# vtk DataFile Version 4.0
|
|
|
vtk output
|
|
|
ASCII
|
|
|
DATASET TABLE
|
|
|
ROW_DATA 3
|
|
|
FIELD FieldData 6
|
|
|
ContainedShellIds 1 3 vtkIdType
|
|
|
465 356 356
|
|
|
ContainedShellCells 1 3 vtkIdType
|
|
|
3934 5039 5099
|
|
|
ContainedShellSense 1 3 int
|
|
|
1 1 1
|
|
|
ContainerShellIds 1 3 vtkIdType
|
|
|
465 356 356
|
|
|
ContainerShellCells 1 3 vtkIdType
|
|
|
3876 2606 828
|
|
|
ContainerShellSense 1 3 int
|
|
|
1 1 1
|
|
|
```
|
|
|
Bad loop 0 (facet 503)
|
|
|
Bad loop 0 (facet 559)
|
|
|
Bad loop 0 (facet 624)
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
|