From 2a5685a7d0b6d074076a849adadd8f8881397748 Mon Sep 17 00:00:00 2001 From: Ryan Schultz Date: Sun, 14 Jun 2026 15:14:56 -0500 Subject: [PATCH] Show drag arrows on all parametric dimensions, not just ForcePerpendicularToFace DimensionLinePositionWidget was gated behind ForcePerpendicularToFace in both the gizmo poll and the regenerate_dimension LinePosition application. The coupling was unnecessary: _get_line_offset_direction already derives the offset axis from cross(world_Z, dim_direction) as its primary path, requiring the face normal only as a vertical-dimension fallback. Remove the ForcePerpendicularToFace guard from both sites so any anchor-based dimension shows the drag arrows and responds to LinePosition. --- src/bonsai/bonsai/bim/module/drawing/gizmos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/module/drawing/gizmos.py b/src/bonsai/bonsai/bim/module/drawing/gizmos.py index 6b6414c0fb..d80afdb8b8 100644 --- a/src/bonsai/bonsai/bim/module/drawing/gizmos.py +++ b/src/bonsai/bonsai/bim/module/drawing/gizmos.py @@ -2803,7 +2803,7 @@ class DimensionLinePositionWidget(types.GizmoGroup): if _ue.get_predefined_type(element) not in cls._DIM_TYPES: return False pset = _ue.get_pset(element, "BBIM_Dimension") - return bool(pset and pset.get("Anchors") and pset.get("ForcePerpendicularToFace")) + return bool(pset and pset.get("Anchors")) # ------------------------------------------------------------------ # Helpers