Skip to content

Releases: Botrops1/ConstraintsLens

Constraint Lens v1.5.0

28 May 19:50

Choose a tag to compare

v1.5.0 (current)

GUI improvements: auto-filter, section select-all, scrollable strips, ✕ clear button, profile area, auto-zoom toggle.

Canvas click → auto-filter (#22)

Selecting a single entity on the canvas now immediately sets the filter bar to that entity's label, narrowing the constraint list to every row that involves it. Multi-entity selections leave the filter unchanged. Click ✕ or clear the field to restore the full list.

Always-visible ✕ clear button (#23)

A small button sits permanently to the left of the filter input. It clears the filter instantly without having to select the text field first. The redundant native browser cancel button (hidden by -webkit-appearance) is suppressed.

Scrollable "Selected:" strip, capped at 3 rows (#25)

The entity chip strip above the filter bar now scrolls after 3 chip rows (max-height: 68 px) instead of expanding the palette arbitrarily. The scroll track uses the same thin Fusion-style scrollbar as the main list.

Scrollable "Properties of selected" footer, capped at 3 rows (#24)

The selection-info footer at the bottom scrolls after 3 entity rows (max-height: 76 px) and also uses the thin scrollbar style.

Section select-all checkboxes (#26)

Each of the Geometric Constraints, Dimensions, and Patterns and figures section headers now has a checkbox on the left. Clicking it selects all deletable rows in that section; clicking again deselects them. The checkbox shows an indeterminate state (−) when only some rows in the section are checked.

Profile area in footer (#27)

Selecting a sketch Profile (closed loop) in the footer section now shows its computed Area (in the active document units). Previously the footer showed a bare "Profile" label with no properties.

Auto-zoom toggle labeled (#29)

The ⌕ auto-zoom toggle button in the "Selected:" header now reads ⌕ Zoom for clarity. Active state uses a filled accent background so the on/off state is unambiguous at a glance.


v1.3.2

Bug fix: docked palette could not be resized beyond 700 px tall.

The v1.2.2 resize-affordance fix called setMaximumSize(420, 700), which
re-armed Fusion's Qt dock-widget resize handle as intended but also
imposed a hard 420×700 size cap. The palette opens at 420×600, so users
could only grow it by 100 px before the drag became a no-op. The fix
calls setMaximumSize(420, 700) to arm the handle, then immediately
calls setMaximumSize(0, 0) to clear the cap — (0, 0) is documented
as "no restriction" and removes the limit once the handle is already armed.


v1.3.1

Auto-zoom to selection — opt-in ⌕ toggle.

  • Added an auto-zoom toggle (⌕) in the "Selected:" section header. When on, every canvas selection repositions the camera to frame the selected entity (bounding-box fit, 1.5× padding, 0.5 cm min / 50 cm max). Works for single and multi-entity selections; skips silently on any API error.
  • Toggle state is persisted in localStorage and restored on palette reopen.
  • Default off — the camera is never moved unless the user explicitly enables this feature.

v1.3.0

Automatic canvas → palette lookup; "Show underconstrained" chips.

  • Find button removed. Canvas-to-palette lookup is now automatic: selecting anything on the canvas instantly highlights matching rows (blue left border), auto-scrolls to the first match, and shows entity chips in the new "Selected:" header strip above the filter bar. Powered by activeSelectionChanged (push-based, no polling, no button click).
  • "Selected:" section appears above the filter bar when entities are selected; hides itself when nothing is selected. Entity chips in this strip are clickable — clicking sets the filter and selects the entity on the canvas.
  • "Show underconstraint elements" now surfaces results as clickable entity chips labelled "Underconstrained:" in the same strip, instead of a plain text toast. A 750 ms suppression window prevents the text command's own selection side-effect from overwriting the labelled push.
  • Layout restructured: entity readout above the filter bar; a "Properties of selected:" section header added above the existing selection-info footer.

v1.1.0

25 May 08:36

Choose a tag to compare

What's new since v1.0.0
Dock / float toggle (#3)

  • Palette defaults to floating (freely resizable). Click ⊞ in the title bar to dock to the right column; click ⊟ to undock. Preference persists across Fusion restarts (settings.json).

Light / dark theme (#5)

  • Click ☀ / 🌙 in the title bar to switch themes. Preference persists in localStorage and survives palette cloure and Fusion restart. Constraint and dimension icons switch between dark-mode (white glyphs) and light-mode variants.

"Show underconstrained" fix (#4)

  • No longer reports an error on fully-constrained sketches.

UX polish

  • Underconstrained / Find results shown as clickable entity chips below the filter bar. Easy to click for fast filter.
  • Toggles moved to the name bar; toolbar reserved for action buttons.
  • Thin Fusion-style scrollbar.

v1.0.0

22 May 20:41

Choose a tag to compare

v1.0.0 (current)

Full v1 feature set — all 21 backlog items complete.

This release completes the v1 Polish Backlog. Every feature that was deferred from the MVP is now shipped.

New in v1.0

Interaction improvements

  • Double-click any dimension row to open Fusion's native dimension editor directly from the palette. All 12 dimension types are supported via SketchEditDimensionCmdDef.
  • Double-click an Offset Curves dimension to open the Offset Curves edit dialog.
  • Double-click a Circular or Rectangular Pattern row to open the pattern edit dialog.
  • Click the constraint icon glyph (left side of each row) to select the constraint object itself — the separate ⌖ "Select constraint" button has been removed.
  • Click any entity chip to simultaneously filter the list to that entity AND select it on the canvas.
  • Inline dimension editing via pencil icon (hover to reveal) — type a new expression, press Enter to commit or Escape to cancel.
  • Inline pattern editing — Circular patterns expose Count and Total Angle fields; Rectangular patterns expose Count and Spacing for each direction.

Canvas ↔ palette navigation

  • Find button — select any sketch entity on the canvas, click Find, and every palette row referencing that entity is highlighted (blue left border) and scrolled into view. Works for both geometry and dimension rows.
  • Entity readout strip — shows the canvas label of the selected entity ("Selected: Line 3") below the filter bar when Find is active.

List and filtering

  • Filter bar matches entity chip labels in addition to row labels and types — type "Line 3" to find every constraint that involves Line 3.
  • Collapsible sections — click any section header to collapse or expand it. State is preserved across data refreshes.
  • "Patterns and figures" section — Circular Pattern, Rectangular Pattern, and Polygon constraints are grouped here, separate from geometric constraints.

Visual polish

  • Native Fusion icons for all constraint and dimension types, copied from Fusion's own resource folders at startup. Dark-theme variants (*-dark.png) are used so glyphs appear white on the dark palette, matching the Fusion UI.
  • 24×24 px icons — consistent size across all rows.
  • Sketch name on its own top row — sketch name and constrained state displayed separately from the toolbar buttons.
  • Invisible entity chips — geometry that Fusion has hidden (e.g. Offset spline control curves) is shown dimmed with a dashed border and a "hidden" badge. The constraint row still appears and can be deleted.

Bulk operations

  • Bulk delete — check multiple rows, click "Delete N", confirm, and all selected constraints are deleted in one operation. Includes a Ctrl+Z note in the confirm dialog.

Discoverability

  • Button relocated to Sketch → Constraints panel (visible during sketch editing), matching where users naturally look for constraint tools.
  • "Show Underconstrained" button renamed to "Show underconstraint elements" for clarity.

ConstraintLens v0.1.5

21 May 21:21
0d4fb29

Choose a tag to compare

First working release. Lists all sketch constraints and dimensions in a docked palette with click-to-select, delete, and constraint-status banner.
What's included:

  • 21 geometric constraint types with entity chips
  • All sketch dimension types with parameter expressions
  • Implicit coincident endpoint joins (reconstructed pseudo-rows)
  • Token-based viewport selection (click row → geometry highlights)
  • SketchOffsetCurvesDimension selection working (multi-strategy match for Fusion January 2026 build quirk)
  • Auto-refresh on every sketch command
    Install: extract and copy ConstraintLens/ into your Fusion AddIns directory. See README for details.
    Requires: Fusion 360 January 2026 or later.