Skip to main content

read_dxf

Function read_dxf 

Source
pub fn read_dxf(text: &str) -> OgeomResult<DxfDrawing>
Expand description

Read the polylines out of an ASCII DXF.

POLYLINE and LWPOLYLINE become polylines, a closed one ending on its first point again; LINE becomes a polyline of two points. A polyline’s bulges are read as straight chords here: the typed reader, read_dxf_entities, keeps them and every curve besides. Hidden curves are those on the HIDDEN layer or drawn in a dashed or hidden linetype.

§Errors

As read_dxf_entities.