In FreeCAD (as well as in IFC) the length of the vector defining an extrusion direction should not be interpreted to affect the geometry of the extruded shape. However, when exporting an extrusion to IFC, the vector length is currently taken into account for the determination of the exported extrusion depth. This results in erroneous export. Moreover, I believe that also the length of the normal vector of Arch components should not affect the shape and neither the export.
- extrusion-direction-scale-s.png (15.7 KiB) Viewed 1477 times
The above images show four walls each, from left to right:
- Arch generated Wall with default normal
- Arch generated Wall with modified (length>1) normal
- Wall from extrusion with default extrusion direction
- Wall from extrusion with modified (length>1) extrusion direction
FreeCAD walls are shown in the top row, IFC exports in the buttom row. Left column is the current state, center column is after I have fixed IFC export, right column after fix of normal vector interpretation. For the latter I am not sure whether there is consensus. Also I only fixed wall and structure, there may be other places to check for. Suggested changes for now on Github:
https://github.com/hlg/FreeCAD/commit/a ... 83a33f0b7f.