DXFParser

class compas.files.DXFParser(reader, precision)[source]

Bases: object

Class for parsing data from DXF files.

The parser converts the raw geometric data of the file into corresponding COMPAS geometry objects and data structures.

Parameters
  • reader (DXFReader) – A DXF file reader.

  • precision (str) – COMPAS precision specification for parsing geometric data.

Methods

parse

Parse the the data found by the reader.