There are the three main 3D Model Features for the saVRee 3D Viewer:
Here is an example model you can reference throughout this documentation:
3. Variations
Each of these features needs to be configured on the 3D model itself. To enable these features each part of the model will need to be named according to saVRee's naming convention.
Each feature has a required naming convention to follow. All three features can be enabled on one model, or just one or two.
This feature is activated by naming a 3D part using the convention format (name:options:).
The text within the 'name' section will appear in the Show/Hide menu.
These features are activated by the letters 'C' for cross-section or 'F' for full view, which are added to the options section of the part name format.
Part names that have the letter 'F' in the options section:
For objects that should appear ONLY in Full View.
Examples
Blue Cubes:FV13:
Blue Cubes:FV13:.001
Label:F:
Part names that have the letter 'C' in the options section:
For objects that should appear ONLY in Cross-Section View.
Examples
Blue Cubes:CV13:.003
Green Cubes:CV13:.003
Label:C:
Part names with neither the letter 'F' nor the letter 'C' in the options section:
For objects that should ALWAYS be shown; i.e. appear in BOTH the Full View and Cross-Section View.
These are also referred to as common parts.
Example
Ring:
In the third section about model Variations, we will use a 3D model of some Cubes & Pyramids as the example. The model has three variations (previously called configurations) that we want to switch between.
It also has the Show/Hide Parts & Cross-Section View features that were covered in Sections 1 and 2.
Here are the components of each Variation:
Variation | Full View Objects | Cross-Section Objects | Common Objects |
Cubes | Blue Cubes:FV13: Blue Cubes:FV13:.001 Blue Cubes:FV13:.002 Green Cubes:FV13: Green Cubes:FV13:.001 Green Cubes:FV13:.002 Red Cubes:FV13: Red Cubes:FV13:.001 Red Cubes:FV13:.002 Label:V1: Label:F: | Blue Cubes:CV13:.003 Blue Cubes:CV13:.004 Blue Cubes:CV13:.005 Green Cubes:CV13:.003 Green Cubes:CV13:.004 Green Cubes:CV13:.005 Red Cubes:CV13:.003 Red Cubes:CV13:.004 Red Cubes:CV13:.005 Label:V1: Label:C: | Ring |
Pyramids | Blue Pyramids:FV23:.002 Blue Pyramids:FV23:.004 Green Pyramids:FV23:.001 Green Pyramids:FV23:.003 Label:V2: Label:F: | Blue Pyramids:CV23:.005 Blue Pyramids:CV23:.007 Green Pyramids:CV23:.006 Green Pyramids:CV23:.008 Label:V2: Label:C: | Ring |
All Shapes | Blue Cubes:FV13: Blue Cubes:FV13:.001 Blue Cubes:FV13:.002 Green Cubes:FV13: Green Cubes:FV13:.001 Green Cubes:FV13:.002 Red Cubes:FV13: Red Cubes:FV13:.001 Red Cubes:FV13:.002 Blue Pyramids:FV23:.002 Blue Pyramids:FV23:.004 Green Pyramids:FV23:.001 Green Pyramids:FV23:.003 Label:V3: Label:F: | Blue Cubes:CV13:.003 Blue Cubes:CV13:.004 Blue Cubes:CV13:.005 Green Cubes:CV13:.003 Green Cubes:CV13:.004 Green Cubes:CV13:.005 Red Cubes:CV13:.003 Red Cubes:CV13:.004 Red Cubes:CV13:.005 Blue Pyramids:CV23:.005 Blue Pyramids:CV23:.007 Green Pyramids:CV23:.006 Green Pyramids:CV23:.008 Label:V3: Label:C: | Ring |
Cubes = 1
Pyramids = 2
All Shapes = 3
To do that, we need to use dummy objects (aka ghost cubes or dummy cubes).
We add these three cubes in the 3D scene and give each of them a name that follow the following convention:
For our example:
Cubes:D1:
Pyramids:D2:
All Shapes:D3: