Skip to content

Sketch snapping is not apparent at visible grid intersections despite Snap being enabled #7114

Closed

Description

@NAS4Killer

I am using SolidCraft 0.23.0 on Windows x64 (official portable build).

While drawing a sketch, I can clearly notice snapping at the sketch origin. However, I cannot notice reliable snapping at other visible grid intersections.

The active sketch settings were checked through MCP:

  • snap: true
  • grid: true
  • sketch_3d: false

Related reports: #6285 and #2604.

  1. Create or edit a 2D sketch.
  2. Enable Snap and Sketch Grid in the Sketch Palette.
  3. Activate a sketch drawing tool.
  4. Try placing points at visible grid intersections away from the origin.
  5. Compare this with the clearly noticeable snapping at the sketch origin.

With Snap enabled, I expect clear and predictable snapping to visible grid intersections.

If the intended behavior uses a finer snapping grid than the visible grid, the interface should clearly indicate the actual snap spacing and provide feedback when a point snaps.

Activity

  1. added
    area:sketch
    needs-triage
    on Oct 26, 2026
  2. dudedagger42 commented on Oct 26, 2026

    @dudedagger42
    Collaborator

    Triage by dudedagger42: same report as #6285 (grid-intersection snapping), which is open. Its PR #6747 was closed today without merging: the maintainer wrote that they don't want a coarser sketch grid snap by default. Related request: #2604 (more Snap to Grid settings).

    Reproduced on 0.23.1 (app, Windows): in a new XY sketch at the fit view, point-tool clicks next to (20, 20) and (10, 10) landed at (20.5, 19.5) and (10.5, 10.5), so the snap lattice there is 0.5 mm; a click next to the origin snaps to (0, 0). The engine's sketch.snap finds no grid snap at those points.

    Root cause (likely): the snap step and the grid step use different scales: snap_step in crates/ui-egui/src/canvas.rs divides the view's half height by 40, grid_step in crates/engine/src/view.rs by 10, so the snap lattice is about 4 times finer than the drawn grid. The observed 0.5 mm fits that, but I haven't traced which function the sketch click calls.

  3. added 2 commits that reference this issue on Oct 31, 2026
  4. added
    in progress
    on Oct 31, 2026
  5. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor

    Claimed by @vdirienzo through #9843. The claim lapses after 14 days without pushes.

  6. 9 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sketchin progressneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions