ConstructCraft Docs Download free

Interface reorganization: ribbon, contextual tab, panels

The user asked (2026-11-25) for “um estudo completo de UI, a usabilidade é muito espartana, os botões estão espalhados e misturados”. The study was made on main at 54239e16, with examples/casa_simples.ccad open at 1600 × 950 in Portuguese, and published as a page for the user. This file keeps its findings and the plan. Phase 1 is being implemented first.

The window’s skeleton is right (quick access toolbar, ribbon, options bar, browser and properties docked at the sides, view tabs, status bar). What is wrong is how the commands are spread over it.

Findings

Principles

  1. One home per command in the ribbon tabs (QAT, context menu and palette may repeat).
  2. Fixed tabs create; a contextual tab edits what is selected.
  3. Modify keeps the generic verbs only.
  4. What does not apply is hidden; what cannot run yet is grey.
  5. Three button sizes: large (main commands of a group), medium (icon and label on one line, secondary commands), small icon-only (universal glyph families only).
  6. A group’s settings open from a launcher (↘) on its caption.
  7. A narrow ribbon compacts (large → medium → group menu) before scrolling.

Target layout

Tab order: File · Architecture · Structure · MEP · Massing & Site · Annotate · View · Insert · Manage · Plugins · Modify (Modify | with a selection).

Tab Groups Change
File Backstage (phase 3): New, Open, Recent, Save, Save As, Export ▸, Close, Preferences, About, Updates Only home of exports
Architecture Build: Wall, Door, Window, Niche, Curtain Grid, Component · Floors & roofs: Floor, Ceiling, Roof, Shaft · Circulation · Room · Model: Sweep · Datum: Grid, Align Grid Ends Select and the component make/edit/load/library buttons leave (to Insert); Align Grid Ends goes contextual in phase 2
Structure System: segmented Concrete/Steel/Timber · Structure · Framing · Connections · Foundation · Reinforcement · Analytical · Documentation (medium labelled buttons) Profiles → Manage; Grid, Align Grid Ends, Select leave; Floor stays (structural slab, accepted exception)
MEP Plumbing (↘ Pipe Catalog) · Electrical · Communications · Lightning · Systems (+ Sizing) · Documentation (medium) Pipe Catalog button → Manage (launcher in phase 3); Select leaves
Massing & Site Massing · Site: Topography, Pad, Site Location Site Location from Manage
Annotate Dimension · Detail (↘ Line Styles) · Text · Level marks · Tags (↘ Tag Types) Create Detail Component → Insert; Add Leader → contextual (phase 2); Select leaves
View Create · Documentation: Legend, Drafting View, Schedule, Sheet · Graphics: V/G, Filters, Templates, Sun, Render · Hide/Isolate · Windows Browser Organization → Manage; New Title Block → Insert; Zoom Fit leaves (view bar, ZE)
Insert Import · Library: Load Component, Component Library, New Component, Edit Component, New Detail Component, New Title Block Exports leave
Manage Project: Info, Units, Levels, Materials, Fill Patterns, Profiles, Pipe Catalog · Browser: Organization · Phasing · Design Options · Macros · Plugins Site Location → Massing & Site; View Templates and Filters stay in View only
Modify Selection · Clipboard · Modify · Measure · Geometry (join, paint) · Group · Phasing; category groups move to the contextual tab in phase 2 41 → ~28 buttons after phase 2

Contextual tab and context menu (phase 2)

A single source, UiCommand::contextual(category) -> &[UiCommand], feeds both the contextual tab’s highlighted groups and the canvas context menu:

Selection Contextual commands
Walls Flip, Attach Top, Detach Top, Edit Wall Profile, Reset Wall Profile; wall reinforcement, wall framing
Roofs Edit Boundary, Join Roof, Unjoin Roof
Floors, ceilings, slabs Edit Boundary, add opening, slab reinforcement
Columns, beams Typical Rebar, Connection ▾
Grids Align Grid Ends
Sweep Edit Profile
Component Edit Component
Text Add Leader
Sheet (active view) Edit Title Block
Several categories Filter selection

With a selection the Modify tab is titled “Modify | Walls” and activated (a preference turns this off); clearing the selection returns to the tab shown before. The right-click menu on an element: Cancel, Repeat last, Select All Instances ▸, Create Similar, Edit Type…, the contextual commands, Hide in View ▸, Isolate ▸, Override Graphics…, Delete. On empty canvas: Cancel, Repeat last, Zoom to Fit, View Properties, Visibility/Graphics.

Phases

  1. Tidy up (ribbon.rs, i18n, snapshots, docs): remove the P3 repeats and Select from four tabs; exports out of Insert; new tab order; Site Location to Massing & Site; medium labelled buttons for the stacks of Structure, MEP, View and Architecture; a real segmented control for the structural material; ellipsis and tooltip on property labels; no Delete button in the properties panel; update docs/interface*.md and the snapshots.
  2. Contextual tab and right-click menu (largest gain), with ui_tests.rs checks (a wall shows Flip; a grid does not show Attach Top).
  3. Backstage File, customizable QAT, compacting ribbon, group launchers.
  4. Selection: model before datum in Drawing2D::hits_at, a “Tab: next (2 of 3)” hint, stronger pre-highlight, Filter selection from the status bar, search in properties.

Engine commands do not change in any phase; only where the interface shows them. Scripts, MCP and ccad are unaffected.

Status

Measuring

Five CAD/BIM users before and after each phase, timing these tasks and counting hovers needed to identify a button: attach a wall top to the roof; align grid ends; create the Ground floor framing plan; export IFC; change a detail line’s style; hide every door in a view. Goal: no task needs a hover to identify a button, and no edit is reached through a tab other than Modify.