freecad.workbench_starterkit icon indicating copy to clipboard operation
freecad.workbench_starterkit copied to clipboard

How do you install a workbench once it's created?

Open ToddG opened this issue 5 months ago • 1 comments

The README is not specific w/respect to installing via pip... or in fact, how a developer is supposed to move from creating the workbench to actually installing, developing, and testing it in FC... the critical step is installing into FC..

  1. How do you determine which python FC is using? For example, when I look in the python console, it seems that python is part of the FC executable. If that's the case, then how do we pip install the workbench into this?
Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] on linux
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> # Gui.runCommand('Std_Workbench',10)
>>> # Gui.runCommand('Std_ViewStatusBar',1)
>>> import sys
>>> print(sys.executable)
/media/toddg/data1/repos/forked/freecad-source/build/bin/FreeCAD
  1. Someone mentioned simply softlinking into the Mod directory... I'll try that.

ToddG avatar Aug 26 '24 05:08 ToddG