diff --git a/apps/editor/components/build-tab.tsx b/apps/editor/components/build-tab.tsx index efd3092f49..f0c9864d42 100644 --- a/apps/editor/components/build-tab.tsx +++ b/apps/editor/components/build-tab.tsx @@ -23,7 +23,7 @@ import { useTerraceDraft, useWallDrawVariant, } from '@pascal-app/editor' -import { useLiquidLineToolOptions } from '@pascal-app/nodes' +import { RoofTypeThumbnail, useLiquidLineToolOptions } from '@pascal-app/nodes' import { useViewer } from '@pascal-app/viewer' import Image from 'next/image' import { useCallback, useEffect, useRef, useState, useSyncExternalStore } from 'react' @@ -268,14 +268,14 @@ export function BuildTab() {
Cross section
+- Height and footprint are controlled by the lean-to extension. Rotate or change the - support style here; resize from the parent lean-to. -
- )} - {!isBraceSupport && !managedByLeanTo && ( - - )} - {!managedByLeanTo && ( -+ Height and footprint are controlled by the lean-to extension. Rotate or change the + support style here; resize from the parent lean-to. +
+ )} + {!isBraceSupport && !managedByLeanTo && ( + + )} + {!managedByLeanTo && (+ Scales multiply the dimensions in Size. A ratio of 0.2 means 20%. +
+ + {shaftProfile === 'straight' && (+ Width and depth scales use Size. Band and neck scales use the base footprint. +
+ + {node.baseStyle !== 'none' && ( ++ Width and depth scales multiply the dimensions in Size. +
+ + {node.capitalStyle !== 'none' && ( +Shaft detail
+ + {hasPanels && ( + <> +Panel shape
+ + > + )} + {renderDetails(shaftFields)}Carving placement
+ + > + )} ++ Choose a material, then click the surface to paint. +
++ Hover or focus to preview; click to apply. Materials are kept. Escape cancels the preview. +
++ Hover or focus a section to highlight its parts. Cutaway affects this inspection only. +
++ Clear cab interior: {(dimensions.width - 0.16).toFixed(2)} ×{' '} + {(dimensions.depth - 0.08).toFixed(2)} × {(dimensions.cabHeight - 0.16).toFixed(2)} m. + Door opening: {dimensions.doorWidth.toFixed(2)} × {dimensions.doorHeight.toFixed(2)} m. +
+ {servedLevels.some((level) => (level.height ?? 2.5) < dimensions.cabHeight + 0.3) && ( ++ The cab needs more headroom than one or more served floors provide. Check the floor + heights. +
+ )} ++ {failures.get(failedId) === 'invalid-geometry' + ? 'Roof geometry is invalid. The previous shape is still shown. Adjust the dimensions or intersections and retry.' + : 'Roof geometry could not be rebuilt. The previous shape is still shown. Adjust the dimensions or intersections and retry.'} +
+