--- layout: posts title: Api - IJscadScriptOptions Interface ---

Jscad Script export options.

Hierarchy

Index

Properties

Optional accuracy

accuracy: number

Optional exemplar of number of decimal places.

Optional byLayers

byLayers: boolean

Flag to separate chains by layers.

Optional extrude

extrude: number

Optional depth of 3D extrusion.

Optional functionName

functionName: string

Optional override of function name, default is "main".

Optional indent

indent: number

Optional number of spaces to indent.

Optional layerOptions

layerOptions: object

SVG options per layer.

Type declaration

Optional maxArcFacet

maxArcFacet: number

The maximum length between points on an arc or circle.

Optional pointMatchingDistance

pointMatchingDistance: number

Max distance to consider two points as the same.

Optional statusCallback

statusCallback: IStatusCallback

Optional callback to get status during the export.

Optional units

units: string

Optional unit system to embed in exported file, if the export format allows alternate unit systems.

Optional z

z: number

Optional depth of 3D extrusion.

Generated using TypeDoc