(extrusion: ifcopenshell.entity_instance)
| 154 | return |
| 155 | |
| 156 | def get_x_angle(extrusion: ifcopenshell.entity_instance) -> float: |
| 157 | x, y, z = extrusion.ExtrudedDirection.DirectionRatios |
| 158 | x_angle = Vector((0, 1)).angle_signed(Vector((y, z))) |
| 159 | return x_angle |
| 160 | |
| 161 | si_conversion = ifcopenshell.util.unit.calculate_unit_scale(tool.Ifc.get()) |
| 162 | if not AuthoringData.is_loaded: |
no outgoing calls
no test coverage detected