in my ifc file these values are wrong ...
Code: Select all
#73=IFCDIRECTION((0.,-5.33066907387547E-16,-1.));
#74=IFCEXTRUDEDAREASOLID(#69,#72,#73,0.2);
it would work with
Code: Select all
#73=IFCDIRECTION((0.,-5.33066907387547E-16,1.));
#74=IFCEXTRUDEDAREASOLID(#69,#72,#73,10.2);
but they might not be correct, because may be the placement is wrong and thus the direction would be correct. But the length is wrong for sure.
if you add here print you will see the wrong values printed. The culiprit is somewhere in the lines above ...
https://github.com/FreeCAD/FreeCAD/blob ... C.py#L1984
Code: Select all
shapes.append(shape)
solidType = "SweptSolid"
shapetype = "extrusion"
print(edir)
print(shape)
Code: Select all
17:05:15 Exporting an IFC2X3 file...
17:05:15 1 : IfcBuildingElementProxy ( no shape ) : BuildingPart
17:05:15 ArchSketchObject add-on module is not installed yet
17:05:15 ArchSketchObject add-on module is not installed yet
17:05:15 2 : IfcWall ( extrusion ) : Wall__GF
17:05:15 #73=IfcDirection((0.,-5.33066907387547E-16,-1.))
17:05:15 #74=IfcExtrudedAreaSolid(#69,#72,#73,0.2)
17:05:15 subtracting extrusion : Extru__Roof-Subtration
17:05:15 ArchSketchObject add-on module is not installed yet
17:05:15 ArchSketchObject add-on module is not installed yet
17:05:15 3 : IfcWall ( extrusion ) : Wall__GF001
17:05:15 #122=IfcDirection((1.36992628631457E-17,-2.20446049250313E-17,-1.))
17:05:15 #123=IfcExtrudedAreaSolid(#117,#121,#122,9.84)
17:05:15 subtracting extrusion : Extru__Roof-Subtration001
17:05:15 No site found. Adding default site
17:05:15 No building found. Adding default building
17:05:15 No floor found. Adding default floor
17:05:15 writing C:/Users/BHA/Downloads/Test_ ArchWall_ To_ IFC_ 10_ Subtraction - Part Extrusion_ bug_ 01_ Full Parametricd_03.ifc ...
17:05:15 ArchSketchObject add-on module is not installed yet
17:05:15 ArchSketchObject add-on module is not installed yet
17:05:15 ArchSketchObject add-on module is not installed yet
17:05:15 ArchSketchObject add-on module is not installed yet
17:05:15 Compression ratio: 21 %