]> OCCT Git - occt.git/commit
For some STEP files we fail for geometric tolerances to read the "geometric_tolerance... CR384
authordkulikov <dkulikov@opencascade.com>
Mon, 14 Jul 2025 16:00:16 +0000 (17:00 +0100)
committerdkulikov <dkulikov@opencascade.com>
Mon, 14 Jul 2025 17:46:27 +0000 (18:46 +0100)
commite4acd164edad6f7bd9ac858dfaf4aed7c046a90d
tree479216509b897f2eb688586c4fdf028eaab83fd0
parent06f6a5afeca6b58c390b203f95e69be8c34b72aa
For some STEP files we fail for geometric tolerances to read the "geometric_tolerance.magnitude"

StepDimTol_GeometricTolerance and related classes can now process both
StepBasic_MeasureWithUnit and StepRepr_ReprItemAndMeasureWithUnit.
Unit tests for changed methods are added.
103 files changed:
src/DataExchange/TKDESTEP/GTests/FILES.cmake
src/DataExchange/TKDESTEP/GTests/StepTransientReplacements_Test.cxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx
src/DataExchange/TKDESTEP/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWAngularityTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCircularRunoutTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCoaxialityTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWConcentricityTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWCylindricityTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWFlatnessTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRef.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMaxTol.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeoTolAndGeoTolWthMod.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWGeometricToleranceWithModifiers.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWLineProfileTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWModifiedGeometricTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWParallelismTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPerpendicularityTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWPositionTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWRoundnessTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWStraightnessTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSurfaceProfileTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWSymmetryTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWTotalRunoutTolerance.cxx
src/DataExchange/TKDESTEP/RWStepDimTol/RWStepDimTol_RWUnequallyDisposedGeometricTolerance.cxx
src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWMakeFromUsageOption.cxx
src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWParallelOffset.cxx
src/DataExchange/TKDESTEP/RWStepRepr/RWStepRepr_RWQuantifiedAssemblyComponentUsage.cxx
src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWMeasureQualification.cxx
src/DataExchange/TKDESTEP/RWStepShape/RWStepShape_RWToleranceValue.cxx
src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Reader.cxx
src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx
src/DataExchange/TKDESTEP/STEPControl/STEPControl_Reader.cxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnit.cxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnit.hxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.hxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.hxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.hxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.hxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.hxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cxx
src/DataExchange/TKDESTEP/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRef.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRef.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMaxTol.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMaxTol.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMaxTol.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMod.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeoTolAndGeoTolWthMod.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricTolerance.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricTolerance.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDatumReference.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDatumReference.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedAreaUnit.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedAreaUnit.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedUnit.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithDefinedUnit.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithMaximumTolerance.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithMaximumTolerance.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithModifiers.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_GeometricToleranceWithModifiers.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ModifiedGeometricTolerance.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_ModifiedGeometricTolerance.hxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_UnequallyDisposedGeometricTolerance.cxx
src/DataExchange/TKDESTEP/StepDimTol/StepDimTol_UnequallyDisposedGeometricTolerance.hxx
src/DataExchange/TKDESTEP/StepRepr/StepRepr_MakeFromUsageOption.cxx
src/DataExchange/TKDESTEP/StepRepr/StepRepr_MakeFromUsageOption.hxx
src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParallelOffset.cxx
src/DataExchange/TKDESTEP/StepRepr/StepRepr_ParallelOffset.hxx
src/DataExchange/TKDESTEP/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cxx
src/DataExchange/TKDESTEP/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.hxx
src/DataExchange/TKDESTEP/StepShape/StepShape_MeasureQualification.cxx
src/DataExchange/TKDESTEP/StepShape/StepShape_MeasureQualification.hxx
src/DataExchange/TKDESTEP/StepToGeom/StepToGeom.cxx
tests/bugs/step/bug_gh384 [new file with mode: 0644]