Browse Source

- IFC: update entity list, modify the script to take the new folder structure into account.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1047 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 14 years ago
parent
commit
a84eead533
2 changed files with 69 additions and 163 deletions
  1. 67 162
      scripts/IFCImporter/entitylist.txt
  2. 2 1
      scripts/IFCImporter/genentitylist.sh

+ 67 - 162
scripts/IFCImporter/entitylist.txt

@@ -8,190 +8,95 @@
 # code generator. Also, the names of all used entities need to be present 
 # in the source code for this to work.
 
-IfcCartesianTransformationOperator3DnonUniform
-IfcFeatureElementSubtraction
-IfcRelVoidsElement
-IfcOpeningElement
-# IfcRelFillsElement
-IfcPolygonalBoundedHalfSpace
-IfcPlane
-IfcHalfSpaceSolid
+IfcAnnotation
+IfcArbitraryClosedProfileDef
+IfcArbitraryOpenProfileDef
 IfcAxis1Placement
-IfcMeasureWithUnit
-IfcConversionBasedUnit
-IfcRevolvedAreaSolid
-IfcCircleHollowProfileDef
-IfcRepresentationMap
-IfcProductRepresentation
-IfcUnitAssignment
-IfcClosedShell
-IfcDoor
-IfcProject
-IfcRepresentationItem
 IfcAxis2Placement
-IfcProduct
-IfcProject
-IfcSIUnit
-IfcColourRgb
-IfcColourOrFactor
-IfcColourRgb
-IfcCartesianPoint
-IfcDirection
-IfcAxis2Placement3D
 IfcAxis2Placement2D
-IfcAxis2Placement
 IfcAxis2Placement3D
-IfcAxis2Placement2D
-IfcRepresentationContext
-IfcGeometricRepresentationContext
+IfcBooleanClippingResult
+IfcBooleanResult
+IfcBoundedCurve
+IfcBoundingBox
+IfcBSplineCurve
+IfcBuilding
+IfcCartesianPoint
 IfcCartesianTransformationOperator
 IfcCartesianTransformationOperator3D
-IfcPolyLoop
-IfcCartesianPoint
+IfcCartesianTransformationOperator3DnonUniform
+IfcCircle
+IfcCircleHollowProfileDef
+IfcCircleProfileDef
+IfcClosedShell
+IfcColourOrFactor
+IfcColourRgb
+IfcCompositeCurve
+IfcCompositeCurveSegment
+IfcConic
 IfcConnectedFaceSet
+IfcConversionBasedUnit
+IfcCurve
+IfcDirection
+IfcDoor
+IfcEllipse
+IfcExtrudedAreaSolid
 IfcFace
+IfcFaceBasedSurfaceModel
 IfcFaceBound
-IfcPolyLoop
-IfcPolyline
-IfcCartesianPoint
-IfcArbitraryClosedProfileDef
-IfcPolyline
-IfcArbitraryOpenProfileDef
-IfcPolyline
-IfcParameterizedProfileDef
-IfcRectangleProfileDef
-IfcExtrudedAreaSolid
-IfcArbitraryClosedProfileDef
-IfcArbitraryOpenProfileDef
-IfcParameterizedProfileDef
-IfcSweptAreaSolid
-IfcExtrudedAreaSolid
-IfcBooleanResult
-IfcBooleanClippingResult
-IfcBooleanResult
-IfcSweptAreaSolid
-IfcRepresentationItem
-IfcStyledItem
-IfcPresentationStyleAssignment
-IfcPresentationStyleSelect
-IfcSurfaceStyle
-IfcSurfaceStyleElementSelect
-IfcSurfaceStyleShading
-IfcSurfaceStyleRendering
-IfcSurfaceStyleWithTextures
-IfcTopologicalRepresentationItem
-IfcConnectedFaceSet
-IfcGeometricRepresentationItem
-IfcShellBasedSurfaceModel
-IfcShell
-IfcConnectedFaceSet
-IfcSweptAreaSolid
-IfcManifoldSolidBrep
-IfcBooleanResult
-IfcRepresentationItem
-IfcTopologicalRepresentationItem
+IfcFaceOuterBound
+IfcFeatureElementSubtraction
+IfcGeometricRepresentationContext
 IfcGeometricRepresentationItem
-IfcObjectPlacement
+IfcHalfSpaceSolid
+IfcLine
 IfcLocalPlacement
+IfcManifoldSolidBrep
 IfcMappedItem
-IfcRepresentation
-IfcRepresentationItem
-IfcProduct
-IfcSpace
-IfcRepresentation
-IfcRepresentationItem
-IfcMappedItem
-IfcProduct
-IfcRelContainedInSpatialStructure
-IfcProduct
-IfcRelAggregates
-IfcObjectDefinition
-IfcProduct
-IfcSpatialStructureElement
-IfcRelAggregates
+IfcMeasureWithUnit
+IfcNamedUnit
 IfcObjectDefinition
-IfcProject
-IfcRepresentationItem
-IfcAxis2Placement
+IfcObjectPlacement
+IfcOpeningElement
+IfcParameterizedProfileDef
+IfcPlane
+IfcPolygonalBoundedHalfSpace
+IfcPolyline
+IfcPolyLoop
+IfcPresentationStyleAssignment
+IfcPresentationStyleSelect
 IfcProduct
+IfcProductRepresentation
+IfcProfileDef
 IfcProject
-IfcSIUnit
-IfcColourRgb
-IfcColourOrFactor
-IfcColourRgb
-IfcCartesianPoint
-IfcDirection
-IfcAxis2Placement3D
-IfcAxis2Placement2D
-IfcAxis2Placement
-IfcAxis2Placement3D
-IfcAxis2Placement2D
-IfcRepresentationContext
-IfcGeometricRepresentationContext
-IfcCartesianTransformationOperator
-IfcCartesianTransformationOperator3D
-IfcPolyLoop
-IfcCartesianPoint
-IfcConnectedFaceSet
-IfcFace
-IfcFaceBound
-IfcPolyLoop
-IfcPolyline
-IfcCartesianPoint
-IfcArbitraryClosedProfileDef
-IfcPolyline
-IfcArbitraryOpenProfileDef
-IfcPolyline
-IfcParameterizedProfileDef
 IfcRectangleProfileDef
-IfcExtrudedAreaSolid
-IfcArbitraryClosedProfileDef
-IfcArbitraryOpenProfileDef
-IfcParameterizedProfileDef
-IfcSweptAreaSolid
-IfcExtrudedAreaSolid
-IfcBooleanResult
-IfcBooleanClippingResult
-IfcBooleanResult
-IfcSweptAreaSolid
+IfcRelAggregates
+IfcRelContainedInSpatialStructure
+IfcRelFillsElement
+IfcRelVoidsElement
+IfcRepresentation
+IfcRepresentationContext
 IfcRepresentationItem
+IfcRepresentationMap
+IfcRevolvedAreaSolid
+IfcShell
+IfcShellBasedSurfaceModel
+IfcSite
+IfcSIUnit
+IfcSomething
+IfcSpace
+IfcSpatialStructureElement
+IfcSpatialStructureElements
 IfcStyledItem
-IfcPresentationStyleAssignment
-IfcPresentationStyleSelect
 IfcSurfaceStyle
 IfcSurfaceStyleElementSelect
-IfcSurfaceStyleShading
 IfcSurfaceStyleRendering
+IfcSurfaceStyleShading
 IfcSurfaceStyleWithTextures
-IfcTopologicalRepresentationItem
-IfcConnectedFaceSet
-IfcGeometricRepresentationItem
-IfcShellBasedSurfaceModel
-IfcShell
-IfcConnectedFaceSet
 IfcSweptAreaSolid
-IfcManifoldSolidBrep
-IfcBooleanResult
-IfcRepresentationItem
 IfcTopologicalRepresentationItem
-IfcGeometricRepresentationItem
-IfcObjectPlacement
-IfcLocalPlacement
-IfcMappedItem
-IfcRepresentation
-IfcRepresentationItem
-IfcProduct
-IfcSpace
-IfcRepresentation
-IfcRepresentationItem
-IfcMappedItem
-IfcProduct
-IfcRelContainedInSpatialStructure
-IfcProduct
-IfcRelAggregates
-IfcObjectDefinition
-IfcProduct
-IfcSpatialStructureElement
-IfcRelAggregates
-IfcObjectDefinition
+IfcTrimmedCurve
+IfcUnit
+IfcUnitAssignment
+IfcVector
 

+ 2 - 1
scripts/IFCImporter/genentitylist.sh

@@ -1,2 +1,3 @@
 #!/bin/sh
-grep -E 'IFC::Ifc([A-Z][a-z]*)+' -o ../../code/IFCLoader.cpp | uniq | sed s/IFC::// > output.txt
+cd ../../code
+grep -E 'Ifc([A-Z][a-z]*)+' -o IFCLoader.cpp IFCGeometry.cpp IFCCurve.cpp IFCProfile.cpp IFCMaterial.cpp | uniq | sed s/.*:// > ../scripts/IFCImporter/output.txt