You can embed Vulcan in a Workshop module by using the Vulcan widget. The widget provides the same 3D viewport and tools as the standalone application. Its inputs, outputs, and interface can also connect to Workshop variables so that Vulcan can interact with other widgets in the module.
Embedding Vulcan in a Workshop module takes three steps: add the widget, choose a CAD object, and configure the widget.
In the Workshop section where you want Vulcan to appear, select the + icon or + Add widget to open the widget menu, then search for and select the Vulcan widget.
Vulcan needs at least one CAD object to render. A CAD object is an Ontology object with a property carrying the cad_media_reference type class. For the complete schema, refer to CAD object.
Under Input > Models, add a model and set Model objects to a Workshop object set that contains the CAD object. Vulcan loads the first object in the set. To render multiple models, add a separate model entry for each object set.
The Vulcan widget configuration is organized into the following sections.
The Input section controls the Ontology data and scenario that the widget uses:
Transforms accepts a list of structs with the following fields:
| Field | Required | Type | Description |
|---|---|---|---|
id | Yes | String | The part instance or assembly ID to transform. |
transform | Yes | Array of numbers | Exactly 16 finite numbers representing a 4×4 transformation matrix in column-major order. |
The matrix values must use the order [m11, m21, m31, m41, m12, m22, m32, m42, m13, m23, m33, m43, m14, m24, m34, m44]. Vulcan ignores entries with a missing ID or an invalid matrix.
Part coloring accepts a list of structs with the following fields:
| Field | Required | Type | Description |
|---|---|---|---|
partInstanceIds | Yes | Array of strings | One or more part instance or assembly IDs to style. |
color | No | String | A CSS color value, such as #0055ff or rgb(0, 85, 255). |
opacity | No | Number | Base opacity, from 0 for transparent to 1 for opaque. |
selectedOpacity | No | Number | Opacity while selected or highlighted, using the same 0 to 1 scale. |
Each struct must define at least one of color, opacity, or selectedOpacity to affect the model. If the Scene Coloring tool also assigns a color, the scene coloring value takes precedence while the configured opacity values remain in effect.
Camera target, position, and zoom bindings work in both directions. The Interaction section connects the following camera and scene interaction state to Workshop variables:
Color fields accept CSS color values. The Styling section controls the default scene appearance with the following settings:
All options are on by default. The Interface section controls which interface elements are available:
By default, Vulcan uses Complete mode, an Orthographic camera, and Orbit controls. Mode switching and part information are on; auto-rotate is off. The Scene section controls how Vulcan presents and navigates the model with the following settings:
The Tools section lets you hide functionality that the module does not need. All settings are on by default. Turn off a setting to remove that tool's controls from the embedded widget. Each tool is described in detail on the Tools page.
| Setting | Functionality |
|---|---|
| Enable annotation tool | Annotation creation on model parts. |
| Enable mesh styling tool | Appearance controls for individual meshes. |
| Enable measurement tool | Distance measurements between model points. |
| Enable section view tool | Model cross-sections using section planes. |
| Enable transform tool | Repositioning of parts and assemblies. |
| Enable scene coloring tool | Property- or function-based coloring of parts. |
The Actions section specifies which Ontology actions save user-created content. Use Annotation action, Measurement action, and Section plane action to select the action for each content type.
If you do not configure an action, Vulcan discovers actions that have the required parameter type classes and lets the user choose from the matches. Configuring an action limits saving to that action and can provide defaults or user input fields for additional action parameters. Vulcan supplies the tool-specific values listed in Action types.
When at least one output is configured, users can choose which measurement to send to Workshop from the Measurement tool. The Output section sends a selected measurement to Workshop variables through the following settings:
12.30 mm. If the model has no recognized unit, the output uses units.