From 6c991ed356af023fec999c49f8da17b5b4b10e7d Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Mon, 10 Jan 2022 09:40:22 +1100 Subject: [PATCH] Purge obsolete IFC types mappings --- src/blenderbim/blenderbim/bim/schema.py | 3 - .../blenderbim/bim/schema/ifc_types_IFC4.json | 141 ------------------ 2 files changed, 144 deletions(-) delete mode 100644 src/blenderbim/blenderbim/bim/schema/ifc_types_IFC4.json diff --git a/src/blenderbim/blenderbim/bim/schema.py b/src/blenderbim/blenderbim/bim/schema.py index 90ab1ce2e3..7daa9d8c26 100644 --- a/src/blenderbim/blenderbim/bim/schema.py +++ b/src/blenderbim/blenderbim/bim/schema.py @@ -62,9 +62,6 @@ class IfcSchema: setattr(self, product, json.load(f)) self.elements.update(getattr(self, product)) - with open(os.path.join(self.schema_dir, "ifc_types_IFC4.json")) as f: - self.type_map = json.load(f) - def load_classification(self, name, classification_index=None): if name not in self.classifications: if classification_index is not None: diff --git a/src/blenderbim/blenderbim/bim/schema/ifc_types_IFC4.json b/src/blenderbim/blenderbim/bim/schema/ifc_types_IFC4.json deleted file mode 100644 index 9f86b6df69..0000000000 --- a/src/blenderbim/blenderbim/bim/schema/ifc_types_IFC4.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "IfcBSplineCurveForm": "string", - "IfcBSplineSurfaceForm": "string", - "IfcBooleanOperator": "string", - "IfcKnotType": "string", - "IfcNullStyle": "string", - "IfcPreferredSurfaceCurveRepresentation": "string", - "IfcSIPrefix": "string", - "IfcSIUnitName": "string", - "IfcSurfaceSide": "string", - "IfcTextPath": "string", - "IfcTransitionCode": "string", - "IfcTrimmingPreference": "string", - "IfcAbsorbedDoseMeasure": "float", - "IfcAccelerationMeasure": "float", - "IfcAmountOfSubstanceMeasure": "float", - "IfcAngularVelocityMeasure": "float", - "IfcAreaDensityMeasure": "float", - "IfcAreaMeasure": "float", - "IfcBoolean": "bool", - "IfcBoxAlignment": "string", - "IfcCardinalPointReference": "float", - "IfcContextDependentMeasure": "float", - "IfcCountMeasure": "float", - "IfcCurvatureMeasure": "float", - "IfcDate": "string", - "IfcDateTime": "string", - "IfcDayInMonthNumber": "float", - "IfcDayInWeekNumber": "float", - "IfcDescriptiveMeasure": "string", - "IfcDimensionCount": "float", - "IfcDoseEquivalentMeasure": "float", - "IfcDuration": "string", - "IfcDynamicViscosityMeasure": "float", - "IfcElectricCapacitanceMeasure": "float", - "IfcElectricChargeMeasure": "float", - "IfcElectricConductanceMeasure": "float", - "IfcElectricCurrentMeasure": "float", - "IfcElectricResistanceMeasure": "float", - "IfcElectricVoltageMeasure": "float", - "IfcEnergyMeasure": "float", - "IfcFontStyle": "string", - "IfcFontVariant": "string", - "IfcFontWeight": "string", - "IfcForceMeasure": "float", - "IfcFrequencyMeasure": "float", - "IfcGloballyUniqueId": "string", - "IfcHeatFluxDensityMeasure": "float", - "IfcHeatingValueMeasure": "float", - "IfcIdentifier": "string", - "IfcIlluminanceMeasure": "float", - "IfcInductanceMeasure": "float", - "IfcInteger": "integer", - "IfcIntegerCountRateMeasure": "integer", - "IfcIonConcentrationMeasure": "float", - "IfcIsothermalMoistureCapacityMeasure": "float", - "IfcKinematicViscosityMeasure": "float", - "IfcLabel": "string", - "IfcLanguageId": "string", - "IfcLengthMeasure": "float", - "IfcLinearForceMeasure": "float", - "IfcLinearMomentMeasure": "float", - "IfcLinearStiffnessMeasure": "float", - "IfcLinearVelocityMeasure": "float", - "IfcLogical": "bool", - "IfcLuminousFluxMeasure": "float", - "IfcLuminousIntensityDistributionMeasure": "float", - "IfcLuminousIntensityMeasure": "float", - "IfcMagneticFluxDensityMeasure": "float", - "IfcMagneticFluxMeasure": "float", - "IfcMassDensityMeasure": "float", - "IfcMassFlowRateMeasure": "float", - "IfcMassMeasure": "float", - "IfcMassPerLengthMeasure": "float", - "IfcModulusOfElasticityMeasure": "float", - "IfcModulusOfLinearSubgradeReactionMeasure": "float", - "IfcModulusOfRotationalSubgradeReactionMeasure": "float", - "IfcModulusOfSubgradeReactionMeasure": "float", - "IfcMoistureDiffusivityMeasure": "float", - "IfcMolecularWeightMeasure": "float", - "IfcMomentOfInertiaMeasure": "float", - "IfcMonetaryMeasure": "float", - "IfcMonthInYearNumber": "float", - "IfcNonNegativeLengthMeasure": "float", - "IfcNormalisedRatioMeasure": "float", - "IfcNumericMeasure": "float", - "IfcPHMeasure": "float", - "IfcParameterValue": "float", - "IfcPlanarForceMeasure": "float", - "IfcPlaneAngleMeasure": "float", - "IfcPositiveInteger": "integer", - "IfcPositiveLengthMeasure": "float", - "IfcPositivePlaneAngleMeasure": "float", - "IfcPositiveRatioMeasure": "float", - "IfcPowerMeasure": "float", - "IfcPresentableText": "string", - "IfcPressureMeasure": "float", - "IfcRadioActivityMeasure": "float", - "IfcRatioMeasure": "float", - "IfcReal": "float", - "IfcRotationalFrequencyMeasure": "float", - "IfcRotationalMassMeasure": "float", - "IfcRotationalStiffnessMeasure": "float", - "IfcSectionModulusMeasure": "float", - "IfcSectionalAreaIntegralMeasure": "float", - "IfcShearModulusMeasure": "float", - "IfcSolidAngleMeasure": "float", - "IfcSoundPowerLevelMeasure": "float", - "IfcSoundPowerMeasure": "float", - "IfcSoundPressureLevelMeasure": "float", - "IfcSoundPressureMeasure": "float", - "IfcSpecificHeatCapacityMeasure": "float", - "IfcSpecularExponent": "float", - "IfcSpecularRoughness": "float", - "IfcTemperatureGradientMeasure": "float", - "IfcTemperatureRateOfChangeMeasure": "float", - "IfcText": "string", - "IfcTextAlignment": "string", - "IfcTextDecoration": "string", - "IfcTextFontName": "string", - "IfcTextTransformation": "string", - "IfcThermalAdmittanceMeasure": "float", - "IfcThermalConductivityMeasure": "float", - "IfcThermalExpansionCoefficientMeasure": "float", - "IfcThermalResistanceMeasure": "float", - "IfcThermalTransmittanceMeasure": "float", - "IfcThermodynamicTemperatureMeasure": "float", - "IfcTime": "string", - "IfcTimeMeasure": "float", - "IfcTimeStamp": "float", - "IfcTorqueMeasure": "float", - "IfcURIReference": "string", - "IfcVaporPermeabilityMeasure": "float", - "IfcVolumeMeasure": "float", - "IfcVolumetricFlowRateMeasure": "float", - "IfcWarpingConstantMeasure": "float", - "IfcWarpingMomentMeasure": "float", - "aggregateType": "string", - "logical": "string", - "List-IfcCompoundPlaneAngleMeasure": "string" -}