Skip to content

FreeCAD 1.1 loads addons from versioned user dir (v1-1/Mod); workbench installed to FreeCAD/Mod is silently ignored #9

Description

@mattkanwisher

Environment

  • FreeCAD 1.1.1, macOS 15, freecad-mcp @ de4fed2

Bug

FreeCAD 1.1 reads user modules from the versioned data dir:

~/Library/Application Support/FreeCAD/v1-1/Mod/      # 1.1 actually loads this
~/Library/Application Support/FreeCAD/Mod/           # installed here -> silently ignored

Installing AICopilot into the unversioned Mod (which the setup flow targets, and which is the correct path for FreeCAD 1.0) produces no error — FreeCAD simply never loads the workbench, the AI socket never appears, and the MCP bridge reports "FreeCAD socket not available" with no hint why.

Suggested fix

Have the installer query the real path (FreeCAD.getUserAppDataDir() via freecadcmd -c) or install into both locations; at minimum document the v1-1 path for FreeCAD 1.1 users. A log line from the bridge listing the expected Mod dir would also make this diagnosable.

(Same underlying convention on Windows/Linux: %APPDATA%\FreeCAD\v1-1\Mod, ~/.local/share/FreeCAD/v1-1/Mod.)

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions