The Gnomon Design is a graphic object. It consist of 3 arrows, the Red arrow is pointing in the X direction, the Green arrow is pointing in the Y direction, and the Blue arrow is pointing in the Z direction. This can be useful for establishing visually directions in your project model.
The Gnomon can be found in the Project window under BaseLibrary/Designs/Geometry.
Parameter Rules
position: | Position or origin to set the gnomon. |
Example: | var x = 4; |
var y = -2; |
return { origin: p(x, y, 0, this.parent.transform ) }; ; |
size: | This sets the size of the gnomon. |
Example: | 1 ; |
Mixins
GnomonRenderMixin
BaseAssembly
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
---|---|---|---|---|
position |
any |
{ origin: p(0, 0, 0, this.parent.transform ) } |
Position |
Cached |
size |
number |
1 |
Geometry |
Cached |
Project Example:
In your kBridge Examples Projects folder, open the project called ‘Geometry Examples’.
Reference Location:
'world.geometry_examples.shapes.gnomon'
Link: https://knowledgebridge.engineer/projects
Open the Geometry Examples project.
If you look at the Geometry Examples design you will see the Gnomon design. It's a simple design that shows the X,Y,and Z directions.