Bitbybit Docs
    Preparing search index...

    Class DxfPathsPartsListDto (Inputs.OCCT)

    Layered DXF parts and file options for io.dxfCreate, which writes them into one DXF file.

    Index

    Constructors

    Properties

    pathsParts: DrawingPartDto[]

    The parts from io.dxfPathsWithLayer, each with its own layer and color.

    undefined
    
    colorFormat?: dxfColorFormatEnum

    How colors are written: aci, the nearest of AutoCAD's 255 indexed colors, or truecolor, the exact color beside that index (AC1015 only).

    aci
    
    acadVersion?: dxfAcadVersionEnum

    The DXF version: AC1015 (AutoCAD 2000) keeps splines and ellipses exact; AC1009 (R12), for old software, writes them as polylines within curveTolerance.

    AC1015
    
    curveTolerance?: number

    The largest distance, in model units, between a curve and the polyline that stands in for it where the version cannot hold the curve exactly.

    0.01
    

    0

    true

    The unit the drawing is in, written into its header so CAD programs open it at true size; AC1015 only. Left out, no unit is stated.

    undefined
    

    true

    fileName?: string

    The name the downloaded file gets.

    bitbybit-dev.dxf
    
    tryDownload?: boolean

    When true, a browser download of the file is started where that is possible; the kernel itself only returns the text.

    true