Didn't find what you're looking for? Submit a
Documentation Request
LogoLogo
AppsContact Support
API
API
  • Welcome to the Paragon API
  • Quickstarts
    • Getting Started with .NET
    • Getting Started with REST
  • Tutorials
    • Create a layout - .NET
  • Concepts
    • API Overview
  • Design API Overview
  • Coordinates
  • Samples
    • .NET Samples
    • Node.js Samples
  • Reference
    • REST
Powered by GitBook
On this page
  • Design Coordinates
  • Layout Coordinates
  • Converting between Design and Layout Space

Coordinates

PreviousDesign API Overview

Last updated 16 days ago

Paragon's API uses two coordinate systems:

  • Design Coordinates

  • Layout Coordinates

Design Coordinates

Design Coordinates are used when dealing with a single truss. The X-axis runs along span of the truss, the Y-axis runs along the height of the truss, and the Z-axis runs along the thickness of the truss. The axes follow the .

Typically the origin is located at the bottom-left corner of the truss at the heel (i.e., excluding the overhang), but this is just a convention and is not enforced. The "back" of the truss is located in the plane Z=0, and the truss extrudes in the positive-Z direction.

The Z dimension is often omitted in Design models, with the assumption that the object is located at Z=0.

The following models (and their children models) are defined in Design Coordinates:

Layout Coordinates

Layout Coordinates are used when dealing with a layout. The X-axis and Y-axis define the plane horizontal to the ground, and the Z-axis corresponds to height, altitude, or elevation. The axes follow the .

There is no significance to the origin in Layout Coordinates, objects in Layout can be defined at any location.

The following models (and their children models) are defined in Layout Coordinates:

Converting between Design and Layout Space

TrussEnvelopes are the main link between Layout and Design. Each TrussEnvelope has a componentDesignGuid property that can reference a Truss GUID. A Truss is defined in Design Coordinates. The TrussEnvelope defines how a Truss is positioned in Layout Space.

For a given TrussEnvelope, the Design Space for the linked Truss has the following definition:

  • The origin is located at TrussEnvelope.backLeftPoint

  • The direction of the X-axis is defined by the direction from TrussEnvelope.leftPoint to TrussEnvelope.rightPoint

  • The direction of the Y-axis is defined by the direction of the Layout Space's Z-axis

  • The direction of the Z-axis is defined by rotating the X-axis a quarter-turn counter-clockwise around the Y-axis

right-hand rule
Truss
AnalogModel
right-hand rule
RoofPlane
RoofContainer
BearingEnvelope
TrussEnvelope