Plugin Loader
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Plugin Loader
I was wondering if using something like GitPython would make sense here? Therefore the updated database would be GitHub repository and macros, stylesheets, modules... would be "installed" to appropriate (local) user folders (Macro folder, Gui folder, Mod folder) by issuing git clone/git pull requests? Meta data repository could be hosted on GitHub for now and it would be nice if some additional information and maybe to show additional image would be supported directly in Plugin Loader.
I read the discussion:
viewtopic.php?f=21&t=13226
As for supporting "dropbox, website blog/forum entries" as software sources and trying to solve dependencies of installed software with Plugin Loader... To me it sounds like a lot of work but not necessary a lot of additional benefits.
I read the discussion:
viewtopic.php?f=21&t=13226
As for supporting "dropbox, website blog/forum entries" as software sources and trying to solve dependencies of installed software with Plugin Loader... To me it sounds like a lot of work but not necessary a lot of additional benefits.
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Plugin Loader
Some "technical" users will not use git buit only run CAD, so I made a version without the fine git support but of course having a switch that detects an installed git client and uses the power of git pull will improve performance espacially for large addons like the freecad library and cadquery.
I will think about how to add git components as "plugins" too.
I will think about how to add git components as "plugins" too.
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Plugin Loader
I have started a branch https://github.com/microelly2/freecad-p ... /localdirs
which will only work inside UserAppData (~/.FreeCAD on ubuntu)
Next steps:
rework pluginloaderconfig.yaml
automatic macro-menubar generation
which will only work inside UserAppData (~/.FreeCAD on ubuntu)
Next steps:
rework pluginloaderconfig.yaml
automatic macro-menubar generation
Re: Plugin Loader
Sounds good.
Re: Plugin Loader
That is good news.
Need help? Feel free to ask, but please read the guidelines first
Re: Plugin Loader
Hello microelly2,
I have problem with the Plugin Loader.
When I Copy and paste installer.py into the FreeCAD python console window Freecad doesn't work.
download/file.php?mode=view&id=23306
Linux note
I install yaml
I created a directory: /usr/lib/freecad/Mod/plugins/
and
download/file.php?mode=view&id=23305
download/file.php?mode=view&id=23304
How to solved it?
OS: Ubuntu 16.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
I have problem with the Plugin Loader.
When I Copy and paste installer.py into the FreeCAD python console window Freecad doesn't work.
download/file.php?mode=view&id=23306
Linux note
I install yaml
Code: Select all
sudo apt-get install python-yaml
and
Code: Select all
sudo chmod a+rw /usr/lib/freecad/Mod/plugins/
sudo chmod a+rw /usr/lib/freecad/Mod/
download/file.php?mode=view&id=23304
How to solved it?
OS: Ubuntu 16.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
- Attachments
-
- Capture_plugin_loader.png (10.9 KiB) Viewed 3953 times
-
- Capture_usr_lib_freecad_Mod_plugins.png (25.67 KiB) Viewed 3954 times
-
- Capture_usr_lib_freecad_Mod.png (26.91 KiB) Viewed 3954 times
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Plugin Loader
I have changed the installation directory to the users home:
It's now
$HOME/.FreeCAD/Mod/plugins
Move the plugins folder to this and it should work
EDIT: You have to use the localdirs branch:
https://github.com/microelly2/freecad-p ... /localdirs
It's now
$HOME/.FreeCAD/Mod/plugins
Move the plugins folder to this and it should work
EDIT: You have to use the localdirs branch:
https://github.com/microelly2/freecad-p ... /localdirs
Re: Plugin Loader
OK; but a don't have /Mod in
How to restore rights directory /usr/lib/freecad/Mod/plugins and /usr/lib/freecad/Mod/ after the command?
Code: Select all
/home/serviteur/.FreeCAD
How to restore rights directory /usr/lib/freecad/Mod/plugins and /usr/lib/freecad/Mod/ after the command?
Code: Select all
sudo chmod a+rw /usr/lib/freecad/Mod/plugins/
Code: Select all
sudo chmod a+rw /usr/lib/freecad/Mod/
- Attachments
-
- Capture_freecad.png (7.42 KiB) Viewed 3944 times
Re: Plugin Loader
I created /Mod and I work now.
- Attachments
-
- Capture_pluginManager.png (35.4 KiB) Viewed 3936 times
-
- Capture_Mod.png (8.82 KiB) Viewed 3936 times
-
- Posts: 1
- Joined: Mon Apr 10, 2017 8:55 pm
Re: Plugin Loader
Okay, got this fixed now on Ubuntu. Can you please change the documentation on GitHub and the PluginLoader FreeCAD page?
Thanks,
Andor
Thanks,
Andor