fix(nodes): raise MEP placement HUD pill clear of the cursor

The MEP run/fitting/terminal tools anchored their cursor readout pill at
~+0.35m above the placement point, so with the tall CursorSphere line
(badge at +2.7m) the pill sat right on the cursor and overlapped it,
especially when zoomed in. Editor main (#438) already raised the duct
pill to +1.45m; this long-lived branch predates that merge. Bring every
MEP tool that uses the tall cursor onto the same +1.45m anchor:
duct/pipe/liquid/lineset runs, duct/pipe fittings, and duct-terminal.
hvac-equipment (height-aware anchor) and pipe-trap (no cursor line) are
left as-is — their HUDs already clear the ghost.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Wassim SAMAD
2026-06-26 09:04:33 -04:00
co-authored by Claude Opus 4.8
parent 0fb3604586
commit 1de1923e47
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ const DuctFittingTool = () => {
{/* Rotation HUD — active axis + key hints, pinned above the ghost. */} {/* Rotation HUD — active axis + key hints, pinned above the ghost. */}
<Html <Html
center center
position={[placement.position[0], placement.position[1] + 0.5, placement.position[2]]} position={[placement.position[0], placement.position[1] + 1.45, placement.position[2]]}
style={{ pointerEvents: 'none', userSelect: 'none' }} style={{ pointerEvents: 'none', userSelect: 'none' }}
zIndexRange={[100, 0]} zIndexRange={[100, 0]}
> >
+1 -1
View File
@@ -885,7 +885,7 @@ const DuctSegmentTool = () => {
<group position={cursorPos}> <group position={cursorPos}>
<Html <Html
center center
position={[0, 0.35, 0]} position={[0, 1.45, 0]}
style={{ pointerEvents: 'none', userSelect: 'none' }} style={{ pointerEvents: 'none', userSelect: 'none' }}
zIndexRange={[100, 0]} zIndexRange={[100, 0]}
> >
+1 -1
View File
@@ -413,7 +413,7 @@ const DuctTerminalTool = () => {
</group> </group>
<Html <Html
center center
position={[previewPosition[0], previewPosition[1] + 0.45, previewPosition[2]]} position={[previewPosition[0], previewPosition[1] + 1.45, previewPosition[2]]}
style={{ pointerEvents: 'none', userSelect: 'none' }} style={{ pointerEvents: 'none', userSelect: 'none' }}
zIndexRange={[100, 0]} zIndexRange={[100, 0]}
> >
+1 -1
View File
@@ -335,7 +335,7 @@ const LinesetTool = () => {
<group position={cursorPos}> <group position={cursorPos}>
<Html <Html
center center
position={[0, 0.35, 0]} position={[0, 1.45, 0]}
style={{ pointerEvents: 'none', userSelect: 'none' }} style={{ pointerEvents: 'none', userSelect: 'none' }}
zIndexRange={[100, 0]} zIndexRange={[100, 0]}
> >
+2 -2
View File
@@ -462,7 +462,7 @@ const LiquidLineTool = () => {
<group position={cursorPos}> <group position={cursorPos}>
<Html <Html
center center
position={[0, 0.45, 0]} position={[0, 1.45, 0]}
style={{ pointerEvents: 'none', userSelect: 'none' }} style={{ pointerEvents: 'none', userSelect: 'none' }}
zIndexRange={[100, 0]} zIndexRange={[100, 0]}
> >
@@ -488,7 +488,7 @@ const LiquidLineTool = () => {
<group position={cursorPos}> <group position={cursorPos}>
<Html <Html
center center
position={[0, 0.35, 0]} position={[0, 1.45, 0]}
style={{ pointerEvents: 'none', userSelect: 'none' }} style={{ pointerEvents: 'none', userSelect: 'none' }}
zIndexRange={[100, 0]} zIndexRange={[100, 0]}
> >
+1 -1
View File
@@ -226,7 +226,7 @@ const PipeFittingTool = () => {
{/* Rotation HUD — active axis + key hints, pinned above the ghost. */} {/* Rotation HUD — active axis + key hints, pinned above the ghost. */}
<Html <Html
center center
position={[placement.position[0], placement.position[1] + 0.5, placement.position[2]]} position={[placement.position[0], placement.position[1] + 1.45, placement.position[2]]}
style={{ pointerEvents: 'none', userSelect: 'none' }} style={{ pointerEvents: 'none', userSelect: 'none' }}
zIndexRange={[100, 0]} zIndexRange={[100, 0]}
> >
+1 -1
View File
@@ -622,7 +622,7 @@ const PipeSegmentTool = () => {
<group position={cursorPos}> <group position={cursorPos}>
<Html <Html
center center
position={[0, 0.3, 0]} position={[0, 1.45, 0]}
style={{ pointerEvents: 'none', userSelect: 'none' }} style={{ pointerEvents: 'none', userSelect: 'none' }}
zIndexRange={[100, 0]} zIndexRange={[100, 0]}
> >