Skip to content

Modeling: unexpected result #3203

Open
Open

Description

@jackomalo

Expected behavior

When importing a STEP (.step/.stp) file into SolidCraft, I expect to be able to move the entire imported component interactively using the Move/Copy tool (M).

The XYZ translation arrows should highlight when hovering over them with the mouse, and I should be able to click and drag them to reposition the imported STEP model.

This should work the same way as moving native SolidCraft geometry.

Actual behavior

Imported STEP components cannot be moved interactively using the XYZ arrows in the Move/Copy tool.

  • The Move/Copy dialog opens correctly.
  • The XYZ translation arrows and rotation handles are visible.
  • Hovering over the arrows does not highlight them.
  • Clicking and dragging the arrows does not move the imported model.
  • Entering numerical values into the X, Y, or Z distance fields works correctly and moves the model.
  • Native SolidCraft geometry can be moved using the mouse without problems.

This happens with every STEP file I have tested, not just one particular model.

The STEP files are imported as components, and I have verified that the correct top-level component is selected.

The components are not grounded.

What looks wrong

The movement gizmo is displayed correctly, but its interactive handles appear not to detect mouse hover or dragging when the selected object is an imported STEP component.

The geometry itself is movable, since numerical translation works.

Reproduction

  1. Start SolidCraft on Windows.
  2. Create a new empty design.
  3. Import any STEP (.step/.stp) file.
  4. Select the top-level imported STEP component in the Browser.
  5. Right-click and select Move/Copy, or press M.
  6. Hover the mouse over one of the XYZ translation arrows.
  7. Attempt to click and drag an arrow.

Result: The arrows do not highlight or respond to mouse dragging.

Additional test:

  1. Keep the Move/Copy dialog open.
  2. Enter 30 mm into the X distance field.
  3. Confirm the value.

Result: The imported STEP component moves correctly.

I also reproduced the mouse-drag problem with a STEP file imported into an otherwise empty design.

Additional observations

  • Normal SolidCraft geometry responds correctly to mouse dragging.
  • Mouse navigation and camera rotation work normally.
  • Multiple different STEP files show the same behavior.
  • Selecting the top-level imported component does not resolve the issue.
  • The problem is reproducible without other components in the design.
  • It does not appear to be caused by grounding.

Settings and selection

Selected items (including occurrence paths):

[
    Body {
        name: "Open CASCADE STEP translator 8.0 1.1",
    },
    Body {
        name: "Open CASCADE STEP translator 8.0 1.2",
    },
    Body {
        name: "Open CASCADE STEP translator 8.0 1.4",
    },
]

Environment

SolidCraft 0.16.2 (5de48e9, built 2026-10-19)
OS: windows x86_64
Renderer: GPU, GeForce GT 620/PCIe/SSE2 (Gl, Other)
Window: custom title bar
Design: mydesign (2 features, 30 bodies)

Revision: 9

Camera: Camera {
    target: Vec3 {
        x: 7.5912264864230945,
        y: 6.818011164469343,
        z: -1.853403546368809,
    },
    yaw: -1.3293981633974483,
    pitch: 0.19147970867038738,
    roll: 0.0,
    distance: 215.7806533214983,
    fov: 0.0,
    up: Z,
}

Visual context

The screenshot shows an imported STEP component selected with the Move/Copy dialog open.

The XYZ movement gizmo is visible, but its arrows do not respond to mouse hover or dragging.

Numerical translation through the Move/Copy dialog works correctly.

Window: 1701×1040 logical points; 1.00 physical pixels/point.

Summary

The issue appears specific to mouse interaction with the Move/Copy gizmo on imported STEP components.

It is reproducible across multiple STEP files, including in a new empty design, while native SolidCraft models work correctly.

This may be a hit-testing or selection-handling issue affecting imported components.

Image

Activity

  1. added
    bug
    needs-triage
    in progress
    on Oct 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    Claimed by @phanoob through #3228. The claim lapses after 14 days without pushes.

  3. github-actions commented on Oct 29, 2026

    @github-actions
    Contributor

    No draft PR showed up within 72 h, so this one is free again. Anyone can /claim it.

  4. removed
    in progress
    on Oct 29, 2026
  5. phanoob commented on Oct 29, 2026

    @phanoob
    Contributor

    This looks fixed on main by #3015 (merged for #3014), which draws the occurrence triad in the viewport. In #3228 I wrote a harness test that drags the X arrow of Move/Copy on an imported occurrence and checks that the occurrence moves, not the camera. It passes against main's code as it is, so I closed that PR. Can this be closed as completed, or is there still a case that doesn't move for you?

    🤖 Generated with Claude Code

  6. added
    in progress
    on Nov 8, 2026
  7. github-actions commented on Nov 8, 2026

    @github-actions
    Contributor

    Claimed by @bherbruck through #13557. The claim lapses after 14 days without pushes.

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

Metadata

Metadata

Assignees

Labels

bugin progressneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions