load_dxf¶
- sectionproperties.pre.geometry.load_dxf(dxf_filepath: str | Path, spline_delta: float, degrees_per_segment: float) Geometry | CompoundGeometry[source]¶
Import any-old-shape in
.dxfformat for analysis.- Parameters:
- Raises:
ImportError – If
cad_to_shapelyis not installed. To enable dxf features usepip install sectionproperties[dxf].RuntimeError – No polygon objects are found in the file
ValueError – The filepath does not exist
- Returns:
Geometry or CompoundGeometry loaded from
.dxffile- Return type: