Overview
TheGuideNode 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
/home/daytona/workspace/source/packages/core/src/schema/nodes/guide.ts
Fields
Inherited from BaseNode
Unique guide identifier.Format:
guide_{randomString}Example: "guide_a1b2c3d4e5f6g7h8"Always set to
"guide".Default: "guide"Optional name for the guide.Example:
"Ground Floor Plan", "North Elevation"Reference to the parent node’s ID (typically a Level or Building).Example:
"level_abc123"Default: nullControls guide visibility.Default:
trueOptional camera viewpoint for the guide.
Custom metadata for the guide.Default:
{}Guide-Specific Fields
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.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.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.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.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
Tips for Using Guides
- Scaling: Measure a known dimension in the image and adjust the scale to match scene units
- Opacity: Start with 50% opacity and adjust based on visibility needs
- Position: For floor plans, set Y=0 or to the level elevation; for elevations, position away from the building
- Rotation: Floor plans typically need -90° X rotation to lie flat
- Layers: Use multiple guides with different opacities for different reference layers
Related
- BaseNode - Inherited base fields
- ScanNode - 3D point cloud references (similar concept)
- LevelNode - Typical parent for floor plan guides
- BuildingNode - Typical parent for elevation guides