Version 0.59.0

Document Variables

A number of switches and values can be accessed in a global scope as 'document' variables:

Paramater Type Default Value Description
document.name string "My Object" Contains the name of the project. Can be set in order to define a custom name.
document.finalize bool varying Contains an information whether a final construction is requested.
document.expose_opar bool false Command to order that all open parameters are exposed to the UI or a controlling application. For more information see the page about open parameter visibility.
document.gamma float Angular tesselation parameter γ.
document.smin float 0.01 Resolution tesselation parameter smin.
document.render_vis_smooth bool false Command to enable visual smoothing.
document.unit string "mm" Defines a reference length unit. Allowed values are "mu", "mm", "cm", "in", "ft", "m".
document.version string varying Returns the trCAD version.

🗙

Search results for