Bitbybit Docs
    Preparing search index...

    Class SaveDxfDto<T> (Inputs.OCCT)

    A shape, a view and file options for io.saveShapeDxf, which draws the edges the view sees as a DXF drawing, and the edges other faces cover on a hidden layer when asked.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    shape: T

    The shape to draw.

    undefined
    

    The view, as in operations.hiddenLines: the eye sits on the side the normal points to and looks back along it, and the drawing's x runs along the direction.

    undefined
    
    drawHidden?: boolean

    When true, the edges other faces cover are drawn too, on the layer hidden with the HIDDEN line type.

    false
    
    precision?: number

    How far the view may stray from the shape, in model units: the tolerance of the hidden-line removal, and of the polylines that stand in for curves in AC1009.

    0.01
    

    0

    true

    Infinity

    0.001

    The unit the shape is modelled in, written into the file so CAD programs open it at true size; AC1015 only.

    undefined
    

    true

    acadVersion?: dxfAcadVersionEnum

    The DXF version: AC1015 (AutoCAD 2000) keeps every curve exact; AC1009 (R12) writes splines and ellipses as polylines.

    AC1015
    
    fileName?: string

    The name the downloaded file gets.

    shape.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