Addon Manager Redesign 2021
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Addon Manager Redesign 2021
That seems to have fixed the issue of the messages getting hidden behind the main window.
Re: Addon Manager Redesign 2021
Why is AdonManager on top of all windows (even other apps) instead of just FreeCAD?
. .
. .
Code: Select all
OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.20.28090 (Git)
Build type: Release
Branch: master
Hash: 56eab3f08b307eb247989bf96c77e0648a88b1d4
Python 3.8.8, Qt 5.15.2, Coin 4.0.1, OCC 7.5.3
Locale: Bulgarian/Bulgaria (bg_BG)
Installed mods:
* 3DfindIT 1.2.0
* A2plus 0.4.54b
* AirPlaneDesign 0.4.0
* ArchTextures
* Assembly4 0.11.10
* Autoload
* BIM 2021.12.0
* BOLTSFC
* CfdOF 1.11.6
* CubeMenu
* CurvedShapes 1.0.1
* Curves 0.3.0
* CycloidGearBox
* Defeaturing
* Design456
* DesignSPHysics 0.6.1-2201-31-01
* dodo
* DynamicData 2.40.0
* ExplodedAssembly
* ExtMan
* fasteners 0.3.38
* FCGear 1.0.0
* FCPDWorkbench 0.2.0
* FEM_FrontISTR
* frame
* freecad.xray
* FreeCAD_ExtMan
* FreeCAD_mcm_addon
* InvGears 0.1.2
* kicadStepUpMod 10.10.7
* Launcher
* Manipulator
* Mechatronic
* MeshRemodel 1.8919.0
* MnesarcoUtils
* Nikra-DAP
* nurbs
* OpticsWorkbench 1.0.8
* ose-piping
* parts_library
* PlacementTools
* Plot
* Pyramids-and-Polyhedrons
* Reinforcement
* Render 2022.1.0
* Rocket 2.2.2
* SearchBar 1.0.1
* SelectorToolbar
* sheetmetal 0.2.49
* Ship
* Silk
* SlopedPlanesMacro
* StemfieWB
* symbols_library
* ThreadProfile 1.81.0
* toSketch
* workfeature
Re: Addon Manager Redesign 2021
Because as usual attempting to fix one bug led to another -- should be fixed by git commit cb7912db8c2b98d57a7691014d37301fef3b5298.
Re: Addon Manager Redesign 2021
I do this all the time!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Addon Manager Redesign 2021
Hi
is it normal that some macros give the forum page instead of the wiki page as FCInfo ?
and certain blank page as FCInfoGlass
mario
many thanks,
is it normal that some macros give the forum page instead of the wiki page as FCInfo ?
and certain blank page as FCInfoGlass
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.
My macros on Gist.github here complete macros Wiki and forum.
Re: Addon Manager Redesign 2021
Yes, it all depends on the URL provided within the macro: different authors choose different sites.
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Addon Manager Redesign 2021
Does that mean any arbitrary url is accepted? I feel like it would be best to limit to certain domains like freecad.org, freecadweb.org and github/gitlab
Re: Addon Manager Redesign 2021
Yes, arbitrary URLs are accepted. A discussion of limiting that should probably take place in its own topic so it doesn't get lost in here.
Re: Addon Manager Redesign 2021
Hi
how do you make your choice ?
here in ordre the web link in header (choice displayed in AddonManager in big character) :
__Url__ = "https://gist.github.com/mario52a/8d40ab6c018c2bde678f"
__Web__ = "http://forum.freecadweb.org/viewtopic.php?f=10&t=3185"+"https://forum.freecadweb.org/viewtopic.php?f=3&t=6005"
__Wiki__ = "https://www.freecadweb.org/wiki/Macro_FCInfo"
__Gist__ = "https://gist.github.com/mario52a/6afc64081c4eb8be3b93"
__Communication__ = "http://forum.freecadweb.org/viewtopic.php?f=10&t=3185"
normally the __Wiki__ must be the choice to display on AddonManager
___________________________________________
here the header FCInfo_Glass (give blank page)
is there anything that needs to be changed in the macro header or the wiki ?
the "{{Codeextralink" is used ?
here little Ketchup checkup
3DXMLimport (blank)
Airfoil import e scale (forum)
CenterOfMass (forum)
Clone Explicit (FreeCAD page)
CloneConvert (FreeCAD page)
DesignSPHysics (https://github.com/DualSPHysics/DesignS ... /README.md)
Dxf To Shape (blank)
FCCamera (Gist page)
FCCircularText (Forum "Extrude from curved surface of cylinder")
FCCreaLoft (forum page)
FCInfo (forum page)
FCInfoGlass (blank)
Guitar nut (blank)
PartToVRML (forum page)
Spreedsheet2html (blank)
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.28193 (Git)
Build type: Release
Python 3.8.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: C/Default (C)
mario
FCInfo have this header :
Code: Select all
#
__Title__ = "FCInfo"
__Author__ = "Mario52"
__Url__ = "https://gist.github.com/mario52a/8d40ab6c018c2bde678f"
__Version__ = "1.26b"
__Date__ = "2022/02/22" #YYY/MM/DD
__Comment__ = "gives different information about the selected object with the possibility of saving information"
__Web__ = "http://forum.freecadweb.org/viewtopic.php?f=10&t=3185"+"https://forum.freecadweb.org/viewtopic.php?f=3&t=6005"
__Wiki__ = "https://www.freecadweb.org/wiki/Macro_FCInfo"
__Gist__ = "https://gist.github.com/mario52a/6afc64081c4eb8be3b93"
__IconL__ = ""
__IconW__ = ""
__Help__ = "Start the macro select an object and read the info displayed"
__Status__ = "stable"
__Requires__ = "freecad 0.18 and more"
__Communication__ = "http://forum.freecadweb.org/viewtopic.php?f=10&t=3185"
#
here in ordre the web link in header (choice displayed in AddonManager in big character) :
__Url__ = "https://gist.github.com/mario52a/8d40ab6c018c2bde678f"
__Web__ = "http://forum.freecadweb.org/viewtopic.php?f=10&t=3185"+"https://forum.freecadweb.org/viewtopic.php?f=3&t=6005"
__Wiki__ = "https://www.freecadweb.org/wiki/Macro_FCInfo"
__Gist__ = "https://gist.github.com/mario52a/6afc64081c4eb8be3b93"
__Communication__ = "http://forum.freecadweb.org/viewtopic.php?f=10&t=3185"
normally the __Wiki__ must be the choice to display on AddonManager
___________________________________________
here the header FCInfo_Glass (give blank page)
Code: Select all
#
__title__ = "FCInfoGlass"
__author__ = "Mario52"
__url__ = "http://www.freecadweb.org/index-fr.html"
__version__ = "00.04"
__date__ = "25/11/2015"
__Comment__ = "displays various informations on the 3DView"
__Web__ = ""
__Wiki__ = "http://www.freecadweb.org/wiki/index.php?title=Macro_FCInfoGlass"
__Icon__ = "/usr/lib/freecad/Mod/plugins/icons/.png"
__IconW__ = "C:/Users/Mario/AppData/Roaming/FreeCAD/" # with : path = FreeCAD.ConfigGet("UserAppData")
__Help__ = ""
__Status__ = "finished"
__Requires__ = "FreeCAD 0.14.3706"
__Communication__ = "http://www.freecadweb.org/wiki/index.php?title=User:Mario52"
is there anything that needs to be changed in the macro header or the wiki ?
the "{{Codeextralink" is used ?
here little Ketchup checkup
3DXMLimport (blank)
Airfoil import e scale (forum)
CenterOfMass (forum)
Clone Explicit (FreeCAD page)
CloneConvert (FreeCAD page)
DesignSPHysics (https://github.com/DualSPHysics/DesignS ... /README.md)
Dxf To Shape (blank)
FCCamera (Gist page)
FCCircularText (Forum "Extrude from curved surface of cylinder")
FCCreaLoft (forum page)
FCInfo (forum page)
FCInfoGlass (blank)
Guitar nut (blank)
PartToVRML (forum page)
Spreedsheet2html (blank)
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.28193 (Git)
Build type: Release
Python 3.8.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: C/Default (C)
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.
My macros on Gist.github here complete macros Wiki and forum.
Re: Addon Manager Redesign 2021
Right now I just use whatever's set for "web", though I see that some macros don't set that. In those cases I could fallback to the wiki, if that's provided. Or as you suggest, reverse that logic and prefer wiki if it's set, and fall back to web if it's not. I don't feel strongly either way.
The example you show above, with the "+" sign in the web data, is not valid. Those strings must all be plain string literals, the Addon Manager does not actually execute the Python code, it's using a regex to pull whatever's after the equals sign and between quotes.