Add ons manager - development and bugs topic
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Add ons manager - development and bugs topic
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: Add ons manager - development and bugs topic
Yorik, https://stackoverflow.com/a/38780917 shows how to use progress in gitpython, i bet it can be adapted to the GUI. I'm trying to use it in the Headless script https://forum.freecadweb.org/viewtopic. ... 91#p343291
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: Add ons manager - development and bugs topic
Python console command completion, is it possible to do when FreeCAD GUI is active?
I'll ask the question another way:How do I import python packages in to the AppImage ?
BTW, i'm able to run external python modules in the Appimage if I tell FreeCAD.AppImage -c which drops me in to python console.
Example:
I'll ask the question another way:How do I import python packages in to the AppImage ?
BTW, i'm able to run external python modules in the Appimage if I tell FreeCAD.AppImage -c which drops me in to python console.
Example:
Code: Select all
$ ./FreeCAD_0.19-18644-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage -c -M /usr/lib/python3.7/site-packages
/tmp/.mount_FreeCAdTvwWa
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> import readline
>>> import fancycompleter
>>> fancycompleter.interact(persist_history=True)
>>> import FreeCAD
>>> FreeCAD.<TAB press>
Console Placement __doc__ activeDocument getActiveTransaction getLogLevel open
ActiveDocument EndingAdd Qt __loader__ addDocumentObserver getDependentObjects getResourceDir openDocument
Axis EndingGet Rotation __name__ addExportType getDocument getUserAppDataDir removeDocumentObserver
Base GuiUp Units __package__ addImportType getExportType getUserMacroDir saveParameter
BoundBox Logger Vector __path__ checkAbort getHelpDir isRestoring setActiveDocument
ConfigDump Material Version __spec__ checkLinkDepth getHomePath listDocuments setActiveTransaction
ConfigGet Matrix __ModDirs__ __unit_test__ closeActiveTransaction getImportType loadFile setLogLevel
ConfigSet ParamGet __cmake__ _importFromFreeCAD closeDocument getLinksTo newDocument
>>> FreeCAD.
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: Add ons manager - development and bugs topic
This is not really supported. But I guess appending to sys.path is equivalent to -M option.
Trying to import readline or fancycompleter is crashing freecad-gui in my case. i guess this is somehow connflicting with the internal autocomplete mechanism.
Re: Add ons manager - development and bugs topic
Does the AppImage support internal autocomplete ?
FYI, pdbpp redraws the screen..so it wouldn't be necessarily compatible with running in freecad-gui
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: Add ons manager - development and bugs topic
Re: Add ons manager - development and bugs topic
How could we integrate tab completion as well ?
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: Add ons manager - development and bugs topic
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: Add ons manager - development and bugs topic
Hello,
I want to do some works on Addon Manager.
Present and near future work
Image take time to load or never load (thank you urllib and github). It is worst behind my corporate proxy.
It is ankward to not know when a picture will be loaded and sometimes it never come
And I never managed to see a thumbnail for video in the A2plus description ( even if it seems to be a broken picture )
So I may work on the parser to make appear a beautiful description quickly
I already have tried alternative strategie like mardown download -> convert to html (markdown module or github API) -> browse in QWebEngineView()
We obtain a beatifull webview and can view youtube video and surf on the web trought link... it is fast like chrome! but maybe a bit dangerous...
Ask
I want to do some works on Addon Manager.
Present and near future work
- I just pull-request a proxy improvement because I was painfully blocked behind a proxy at work (NTLM support is not scheduled until someone ask).
- Now I plan to continue to devellop the Headless script of Kunda1.
- Description display of workbench (and maybe macro).
Image take time to load or never load (thank you urllib and github). It is worst behind my corporate proxy.
It is ankward to not know when a picture will be loaded and sometimes it never come
And I never managed to see a thumbnail for video in the A2plus description ( even if it seems to be a broken picture )
Code: Select all
[![A2plus - Gripper assembly](https://i9.ytimg.com/vi/QMxcQ5tssWk/mq3.jpg?sqp=CIGWo_AF&rs=AOn4CLDXtUiVBWVImLrsddeNpxLEa3M3tw)]( https://youtu.be/QMxcQ5tssWk)
I already have tried alternative strategie like mardown download -> convert to html (markdown module or github API) -> browse in QWebEngineView()
We obtain a beatifull webview and can view youtube video and surf on the web trought link... it is fast like chrome! but maybe a bit dangerous...
Ask
- I must try to keep py2 compatibilty to ease the work of the guys who try to maintain py2 version (until next year at least)?
- It is possible to switch from urllib to requests? I know you don't like to add module+dependancies but it is recomended and coder friendly (ssl, proxy, utf8...)
- Is a cached local version of descriptions a good idea. Like a local database compared to web version when Addon Manager is loaded to not have to wait for the description (image!) to load... And word research throught database (or local file + word database) is easy...
- Maco description seems a bit light. I would like to add their icon somewhere.
- By the way, have you any will/idea/request for this module?