--- layout: posts title: Api - IOpenJsCadOptions Interface ---

OpenJsCad export options.

Hierarchy

Index

Properties

Optional accuracy

accuracy: number

Optional exemplar of number of decimal places.

Optional extrusion

extrusion: number

Optional depth of 3D extrusion.

Optional facetSize

facetSize: number

Optional size of curve facets.

Optional functionName

functionName: string

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

Optional modelMap

Optional options applied to specific first-child models by model id.

Optional pointMatchingDistance

pointMatchingDistance: number

Max distance to consider two points as the same.

Optional removeFromOriginal

removeFromOriginal: boolean

Flag to remove looped paths from the original model.

Optional units

units: string

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

Generated using TypeDoc