mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Add parameterized profile test files and script to generate them
This commit is contained in:
+14
-1
@@ -206,6 +206,19 @@ TestFile("acad2010_objects.ifc")
|
||||
# Various half space configuration to test cutting tolerances
|
||||
TestFile("ifcopenshell_halfspaces.ifc")
|
||||
|
||||
# Several parameterized profile extrusions generated by one
|
||||
# of the examples from the IfcOpenShell repository
|
||||
TestFile("IfcCShapeProfileDef.ifc")
|
||||
TestFile("IfcCircleProfileDef.ifc")
|
||||
TestFile("IfcEllipseProfileDef.ifc")
|
||||
TestFile("IfcIShapeProfileDef.ifc")
|
||||
TestFile("IfcLShapeProfileDef.ifc")
|
||||
TestFile("IfcRectangleProfileDef.ifc")
|
||||
TestFile("IfcTShapeProfileDef.ifc")
|
||||
TestFile("IfcTrapeziumProfileDef.ifc")
|
||||
TestFile("IfcUShapeProfileDef.ifc")
|
||||
TestFile("IfcZShapeProfileDef.ifc")
|
||||
|
||||
for test in test_cases:
|
||||
succes = test()
|
||||
if not succes:
|
||||
@@ -217,4 +230,4 @@ if len(failed):
|
||||
print (test)
|
||||
else:
|
||||
print("[Notice] All cases succeeded")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user