Skip to main content

Create Dimensions

Dimensions enhance your 2D & 3D visualizations by giving instant visual feedback of the size of the product.

Syntax

In DynaMaker, a dimension is defined by the 2D coordinates of two points. Then the dimensions must be added to a layout in order to be shown.

const layout = new SKYCAD.Layout()

const startNode = new SKYMATH.Vector2D(0, 0)
const endNode = new SKYMATH.Vector2D(100, 0)
layout.addDimension(startNode, endNode)

Appearance Settings

There are multiple settings to change the appearance of a dimension that can be done at a local level (i.e. only affecting that specific dimension) or at a global level (i.e. affecting all dimensions added to the same layout).

Explore the dimension appearance settings available in the following interactive app with an example of a dimension between two points:

:::

Read more about dimensions to see how to change their appearance.

:::