Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 small changes to make the lib installer-ready #1

Closed
microelly2 opened this issue Apr 22, 2015 · 1 comment

Comments

@microelly2
Copy link
Contributor

commented Apr 22, 2015

I have added it to my plugin installer:

microelly2/freecad-pluginloader@758288b#diff-59364468d8b293a5b109d323ac7f7e40

two things should be changed

configuration can be done with my plugininstaller if you insert this piece of code ...

LIBRARYPATH = "/home/yorik/Sources/FreeCAD-symbols"

automated configuration

s=FreeCAD.ParamGet('User parameter:Plugins/symbollib').GetString('destination')
if s<>'':
LIBRARYPATH = s

  • LIBRARYPATH should be used as local parameter line #118

    m.addDockWidget(QtCore.Qt.RightDockWidgetArea,ExpDockWidget(LIBRARYPATH))

and line #62
def init(self,LIBRARYPATH):

these changes should not restrict the common use ot the symbollib but enable it to be managed by the plugin installer.

@yorikvanhavre

This comment has been minimized.

Copy link
Member

commented Apr 25, 2015

Cool! I just gave you write permission to the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.