cadquery:vtk
Examples of the cadquery:vtk
directive.
Development Status
- Development Status:
2 - Pre-Alpha
This directive is experimental.
cadquery:vtk
is based on the docutils “figure” directive having similar features and syntax:
The model may be captioned.
Notes may be added below the code block.
Models may be referenced by name: color example.
The model source code is defined in either a code-block
or
literalinclude
, meaning:
All options for
code-block
orliteralinclude
may be used such ascode-block:linenos
andcode-block:emphasize-lines
.Model source code blocks may be referenced by name: CadQuery source code for a rectangular plate.
Tip
View the reStructuredText source of this page by following the View page source link in the header.
Simple rectangular plate
Assembly
Sketch
Source from file
Content variations
Options
Default color
The color option defines the default color of VTK.js render.