]> OCCT Git - occt.git/commit
0030024: Data Exchange - STEP, IGES export support of BRep shapes based on tessellate...
authorsnn <snn@opencascade.com>
Mon, 4 Apr 2022 15:08:34 +0000 (18:08 +0300)
committerafokin <afokin@opencascade.com>
Fri, 3 Jun 2022 14:44:17 +0000 (17:44 +0300)
commitcec41bb93d2980247ee6318c3c1620100a3ed6b7
tree583d44dfa153155941440389241625dda9418e96
parente9c43fee293f528cc6e2e4e02c538482d5af3490
0030024: Data Exchange - STEP, IGES export support of BRep shapes based on tessellated geometry

Support of reading and writing tessellated geometry is added for the following STEP entities:
- triangulated face
- complex triangulated face
- tessellated shell
- tessellated solid
- tessellated shape representation

Models without BRep geometry (mesh formats like STL, OBJ and so on) are supported for writing to STEP.

New parameters are added to enable/disable tessellated geometry reading and writing:
- read.step.tessellated (On/Off/OnNoBRep) (On by default)
- write.step.tessellated (On/Off/OnNoBRep) (OnNoBRep by default)

OnNoBRep - tessellation is read/written only for entities for which there is no BRep representation.

Faces with poly triangulation are written in STEP as triangulated face entities with one coordinates list per face.
Only one poly triangulation per face (returned by BRep_Tool::Triangulation) is written to STEP.
128 files changed:
dox/user_guides/step/step.md
src/RWStepAP214/RWStepAP214_GeneralModule.cxx
src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx
src/RWStepVisual/FILES
src/RWStepVisual/RWStepVisual_RWComplexTriangulatedFace.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWComplexTriangulatedFace.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWComplexTriangulatedSurfaceSet.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWComplexTriangulatedSurfaceSet.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWCubicBezierTessellatedEdge.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWCubicBezierTessellatedEdge.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWCubicBezierTriangulatedFace.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWCubicBezierTriangulatedFace.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedConnectingEdge.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedConnectingEdge.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedEdge.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedEdge.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedPointSet.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedPointSet.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentation.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentation.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedShell.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedShell.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedSolid.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedSolid.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedStructuredItem.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedStructuredItem.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedVertex.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedVertex.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedWire.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTessellatedWire.hxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTriangulatedFace.cxx [new file with mode: 0644]
src/RWStepVisual/RWStepVisual_RWTriangulatedFace.hxx [new file with mode: 0644]
src/STEPControl/STEPControl_ActorRead.cxx
src/STEPControl/STEPControl_ActorWrite.cxx
src/STEPControl/STEPControl_Controller.cxx
src/StepAP214/StepAP214_Protocol.cxx
src/StepToTopoDS/FILES
src/StepToTopoDS/StepToTopoDS_Builder.cxx
src/StepToTopoDS/StepToTopoDS_Builder.hxx
src/StepToTopoDS/StepToTopoDS_TranslateFace.cxx
src/StepToTopoDS/StepToTopoDS_TranslateFace.hxx
src/StepToTopoDS/StepToTopoDS_TranslateShell.cxx
src/StepToTopoDS/StepToTopoDS_TranslateShell.hxx
src/StepToTopoDS/StepToTopoDS_TranslateSolid.cxx [new file with mode: 0644]
src/StepToTopoDS/StepToTopoDS_TranslateSolid.hxx [new file with mode: 0644]
src/StepToTopoDS/StepToTopoDS_TranslateSolidError.hxx [new file with mode: 0644]
src/StepVisual/FILES
src/StepVisual/StepVisual_Array1OfTessellatedEdgeOrVertex.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_Array1OfTessellatedStructuredItem.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_ComplexTriangulatedFace.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_ComplexTriangulatedFace.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_ComplexTriangulatedSurfaceSet.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_ComplexTriangulatedSurfaceSet.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_CubicBezierTessellatedEdge.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_CubicBezierTessellatedEdge.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_CubicBezierTriangulatedFace.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_CubicBezierTriangulatedFace.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_EdgeOrCurve.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_EdgeOrCurve.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_FaceOrSurface.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_FaceOrSurface.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_HArray1OfTessellatedEdgeOrVertex.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_HArray1OfTessellatedStructuredItem.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_PathOrCompositeCurve.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_PathOrCompositeCurve.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedConnectingEdge.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedConnectingEdge.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedEdge.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedEdge.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedEdgeOrVertex.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedEdgeOrVertex.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedFace.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedFace.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedPointSet.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedPointSet.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedShapeRepresentation.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedShapeRepresentation.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedShell.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedShell.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedSolid.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedSolid.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedStructuredItem.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedStructuredItem.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedSurfaceSet.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedSurfaceSet.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedVertex.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedVertex.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedWire.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TessellatedWire.hxx [new file with mode: 0644]
src/StepVisual/StepVisual_TriangulatedFace.cxx [new file with mode: 0644]
src/StepVisual/StepVisual_TriangulatedFace.hxx [new file with mode: 0644]
src/TopoDSToStep/FILES
src/TopoDSToStep/TopoDSToStep_Builder.cxx
src/TopoDSToStep/TopoDSToStep_Builder.hxx
src/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.cxx
src/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.hxx
src/TopoDSToStep/TopoDSToStep_MakeFacetedBrep.cxx
src/TopoDSToStep/TopoDSToStep_MakeFacetedBrep.hxx
src/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.cxx
src/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.hxx
src/TopoDSToStep/TopoDSToStep_MakeManifoldSolidBrep.cxx
src/TopoDSToStep/TopoDSToStep_MakeManifoldSolidBrep.hxx
src/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.cxx
src/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.hxx
src/TopoDSToStep/TopoDSToStep_MakeStepFace.cxx
src/TopoDSToStep/TopoDSToStep_MakeTessellatedItem.cxx [new file with mode: 0644]
src/TopoDSToStep/TopoDSToStep_MakeTessellatedItem.hxx [new file with mode: 0644]
tests/de_mesh/grids.list
tests/de_mesh/step_read/A1 [new file with mode: 0644]
tests/de_mesh/step_read/A2 [new file with mode: 0644]
tests/de_mesh/step_read/A3 [new file with mode: 0644]
tests/de_mesh/step_read/B1 [new file with mode: 0644]
tests/de_mesh/step_read/begin [new file with mode: 0644]
tests/de_mesh/step_read/end [new file with mode: 0644]
tests/de_mesh/step_write/A1 [new file with mode: 0644]
tests/de_mesh/step_write/A2 [new file with mode: 0644]
tests/de_mesh/step_write/A3 [new file with mode: 0644]
tests/de_mesh/step_write/A4 [new file with mode: 0644]
tests/de_mesh/step_write/B1 [new file with mode: 0644]
tests/de_mesh/step_write/B2 [new file with mode: 0644]
tests/de_mesh/step_write/C1 [new file with mode: 0644]
tests/de_mesh/step_write/C2 [new file with mode: 0644]
tests/de_mesh/step_write/begin [new file with mode: 0644]
tests/de_mesh/step_write/end [new file with mode: 0644]