FreeCAD Desktop Companion
Install the EnmeshDesktop directory in FreeCAD’s user Mod directory. Start the browser desktop with ENMESH_DESKTOP_EXCHANGE set to a private shared directory and pass EnmeshDesktop/start.FCMacro once as the FreeCAD startup argument. The Enmesh service and this desktop use the same directory. The desktop account can read and write edit files. Keep the browser desktop behind its existing identity gateway.
Enmesh creates a session directory containing source.FCStd and request.json. The companion opens the model in the desktop. Save the model in FreeCAD. The companion puts a separate editable file in incoming. When Enmesh accepts the file, the desktop reports that it saved a new revision. If Enmesh reports an error, save the working model again.
The companion loads only sessions from the configured directory. Use one desktop account for one Enmesh maker. Each desktop save remains in the private working directory. The companion removes known display records from its exchange copy so Enmesh can inspect the model.