Skip to main content

Overview

The GuideNode represents a 2D reference image that can be overlaid in the scene as a guide. This is useful for importing floor plans, elevation drawings, or other 2D reference imagery to use as a basis for creating the building model. Key features:
  • Reference to 2D image asset via URL
  • Position, rotation, and scale transformations
  • Opacity control for overlay visualization

Type Signature

Source: /home/daytona/workspace/source/packages/core/src/schema/nodes/guide.ts

Fields

Inherited from BaseNode

string
required
Unique guide identifier.Format: guide_{randomString}Example: "guide_a1b2c3d4e5f6g7h8"
string
required
Always set to "guide".Default: "guide"
string
Optional name for the guide.Example: "Ground Floor Plan", "North Elevation"
string | null
required
Reference to the parent node’s ID (typically a Level or Building).Example: "level_abc123"Default: null
boolean
Controls guide visibility.Default: true
CameraSchema
Optional camera viewpoint for the guide.
any
Custom metadata for the guide.Default: {}

Guide-Specific Fields

string
required
URL or path to the 2D reference image asset.Example: "https://example.com/plans/floor1.png", "/assets/elevation.jpg"Supported formats typically include: PNG, JPG, JPEG, SVG, or other image formats.
[number, number, number]
required
Position of the guide in 3D space.Format: [x, y, z] in metersDefault: [0, 0, 0]Example: [5, 0, 5] (positioned at ground level, 5m along X and Z)Typically, floor plan guides are positioned at Y=0 (ground level) or at the level elevation.
[number, number, number]
required
Rotation of the guide around X, Y, and Z axes in radians.Format: [rx, ry, rz] in radiansDefault: [0, 0, 0]Example: [-Math.PI / 2, 0, 0] (rotate to lie flat on ground plane)For floor plans, typically rotate -90° around X axis to lay flat.
number
required
Uniform scale factor for the guide image.Default: 1Example: 1.0 (original size), 0.1 (10% size), 10.0 (10x size)Adjust this to match the image to the scene’s coordinate system scale.
number
required
Opacity of the guide visualization (0-100).Default: 50Range: 0 (fully transparent) to 100 (fully opaque)Example: 50 (50% transparent), 30 (faint reference)Lower opacity values are useful for using the guide as a background reference while modeling.

Example

Usage

Creating a Floor Plan Guide

Creating an Elevation Guide

Creating Multiple Floor Plan Guides

Creating a Rotated Site Plan Guide

Creating a High-Opacity Guide for Tracing

Creating a Scaled Architectural Drawing

Common Use Cases

Floor Plan Tracing

Load floor plan images to trace walls and rooms:

Elevation Reference

Use elevation drawings to model facade details:

Site Context

Overlay site survey or aerial imagery:

Positioning Floor Plans

For floor plan guides, use these common settings:

Coordinate System

Guides use 3D world coordinates:
  • X axis: horizontal (left-right)
  • Y axis: vertical (up-down)
  • Z axis: horizontal (front-back)
  • Rotation: Euler angles [rx, ry, rz] in radians
  • Scale: Uniform scaling factor

Supported Formats

While the schema accepts any URL string, common image formats include:
  • PNG (recommended for transparency)
  • JPG/JPEG (for photographs)
  • SVG (for vector drawings)
  • GIF
  • WebP
Check your viewer’s documentation for supported formats.

Tips for Using Guides

  1. Scaling: Measure a known dimension in the image and adjust the scale to match scene units
  2. Opacity: Start with 50% opacity and adjust based on visibility needs
  3. Position: For floor plans, set Y=0 or to the level elevation; for elevations, position away from the building
  4. Rotation: Floor plans typically need -90° X rotation to lie flat
  5. Layers: Use multiple guides with different opacities for different reference layers
  • BaseNode - Inherited base fields
  • ScanNode - 3D point cloud references (similar concept)
  • LevelNode - Typical parent for floor plan guides
  • BuildingNode - Typical parent for elevation guides