Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Dimensions

Index

Constructors

constructor

Methods

angularDimension

  • Creates angular dimension - a measurement arc between two direction vectors with extension lines and text label. The dimension shows the angle between the directions and can be styled with DimensionStyleDto.

    example

    Dimensions.angularDimension({ name: "Angle", centerPoint: [0, 0, 0], direction1: [1, 0, 0], direction2: [0, 1, 0], radius: 2 });

    group

    dimensions

    shortname

    angular dimension

    drawable

    true

    Parameters

    Returns AngularDimensionEntity

    Create angular dimension

diametralDimension

  • Creates diametral dimension - a measurement line spanning full diameter of circular features. Shows '⌀' prefix with optional center mark and arrows at both ends.

    example

    Dimensions.diametralDimension({ centerPoint: [0, 0, 0], direction: [1, 0, 0], diameter: 4 });

    group

    dimensions

    shortname

    diametral dimension

    drawable

    true

    Parameters

    Returns DiametralDimensionEntity

    Create diametral dimension

dimensionStyle

  • Create dimension style - used to style dimension lines, arrows, and text in 3D space. You can customize line colors, thickness, text size, arrow size, and background colors.

    group

    style

    shortname

    dimension style

    drawable

    false

    Parameters

    Returns DimensionStyleDto

    Create dimension style

linearDimension

  • Creates linear dimension - a measurement line between two points with extension lines and text label. The dimension shows the distance between the points and can be styled with DimensionStyleDto.

    example

    Dimensions.linearDimension({ name: "Length", startPoint: [0, 0, 0], endPoint: [5, 0, 0], direction: [0, 1, 0] });

    group

    dimensions

    shortname

    linear dimension

    drawable

    true

    Parameters

    Returns LinearDimensionEntity

    Create linear dimension

ordinateDimension

  • Creates ordinate dimension - shows X, Y, or Z coordinate from a reference point with leader line. Useful for coordinate annotations and datum referencing in technical drawings.

    example

    Dimensions.ordinateDimension({ measurementPoint: [5, 3, 2], referencePoint: [0, 0, 0], axis: "X" });

    group

    dimensions

    shortname

    ordinate dimension

    drawable

    true

    Parameters

    Returns OrdinateDimensionEntity

    Create ordinate dimension

radialDimension

  • Creates radial dimension - a measurement line from center to perimeter showing radius or diameter. Shows 'R' prefix for radius or '⌀' prefix for diameter with optional center mark.

    example

    Dimensions.radialDimension({ centerPoint: [0, 0, 0], radiusPoint: [2, 0, 0], showDiameter: false });

    group

    dimensions

    shortname

    radial dimension

    drawable

    true

    Parameters

    Returns RadialDimensionEntity

    Create radial dimension

Generated using TypeDoc