Addon Workbenches

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
K0DPW
Posts: 27
Joined: Mon Aug 24, 2015 8:04 pm
Location: USA

Addon Workbenches

Post by K0DPW »

Running FreeCAD in portable environment (from USB drive).

Every time I install the Sheetmetal workbench, it remains for the session.

But after ejecting the USB drive, and then starting another FreeCAD session a day or more later, the Sheetmetal workbench is missing, and I have to re-install it again, ie, the installation is not permanent.
Universal definition of truth applicable to ALL disciplines:

"Truth Does Not Contradict Itself"
mario52
Veteran
Posts: 4692
Joined: Wed May 16, 2012 2:13 pm

Re: Addon Workbenches

Post by mario52 »

Hi

tray install manually

i make on Kubuntu USB key bootable and i create one directory in the key and i install my macro (macro not workBench)

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
K0DPW
Posts: 27
Joined: Mon Aug 24, 2015 8:04 pm
Location: USA

Re: Addon Workbenches

Post by K0DPW »

Hi - thanks for responding !!!

I was running 0.19.1, now have upgraded to 0.19.2, and problem seems to be fixed.

I can dismount USB drive, then re-mount and start FreeCAD, and sheetmetal workbench remains in my installation.

Haven't tried macros yet.
Universal definition of truth applicable to ALL disciplines:

"Truth Does Not Contradict Itself"
K0DPW
Posts: 27
Joined: Mon Aug 24, 2015 8:04 pm
Location: USA

Re: Addon Workbenches

Post by K0DPW »

Well, I spoke too soon.

Yesterday the Sheetmetal workbench did remain installed over a dismount-remount of the USB drive I'm running the portable version from,

however, today it is gone and requires re-installation.

Apparently, it got lost in a computer reboot, even though this is the portable version of FreeCAD.
Universal definition of truth applicable to ALL disciplines:

"Truth Does Not Contradict Itself"
mario52
Veteran
Posts: 4692
Joined: Wed May 16, 2012 2:13 pm

Re: Addon Workbenches

Post by mario52 »

Hi

tray install manuelly the addon and configure commandd line

Running modules, macros and scripts

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
adrianinsaval
Veteran
Posts: 5551
Joined: Thu Apr 05, 2018 5:15 pm

Re: Addon Workbenches

Post by adrianinsaval »

What OS are you running? paste your freecad info please. When you go into the directory were addons are installed is the addon folder removed? It sound like something else is messing with your files and deleting them or something like that
mario52
Veteran
Posts: 4692
Joined: Wed May 16, 2012 2:13 pm

Re: Addon Workbenches

Post by mario52 »

Hi

here one batch work perfectly

i copy the complete (uncompressed) weekly-builds in USB key and renamme the directory in FreeCAD

create on file batch (example "FreeCAD.bat") in the USB key

copy this code:

Code: Select all

set CURRENTDIR=%cd%
set FREECAD_USER_DATA=%CURRENTDIR%FreeCAD\
start %cd%FreeCAD\bin\FreeCAD.exe -u %FREECAD_USER_DATA%user.cfg -s %FREECAD_USER_DATA%system.cfg
after use FreeCAD the system.cfg and the user.cfg are saved in : xx:\FreeCAD directory

the macros and the workBenche are saved in : xx:\FreeCAD\FreeCAD > Macro, Mod

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.25943 (Git)
Build type: Release
Branch: master
Hash: a65464b722a846bd2999aa2fecdff1132b15b297
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: French/Mars (fr_MA)


(i complete the example in the wiki https://wiki.freecadweb.org/Start_up_an ... USB_medium)

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply