mgear-dev / mgear_dist

mGear v.3.x.x distribution repository
http://www.mgear-framework.com/
MIT License
184 stars 53 forks source link

Easy installer #56

Closed miquelcampos closed 3 years ago

miquelcampos commented 4 years ago

create a drag and drop script to install mGear in the user folder

miquelcampos commented 3 years ago

Hello @JaschaW

Just let you know that I have added your installer to mGear dist. I have to review it for Mac and Linux. :)

Thanks!

JaschaW commented 3 years ago

Hey @miquelcampos

Thank you for letting me know! If there are any adjustments needed, please feel to let me know :)

At the time of writing, it was done in pymel. I didn't think of using PySide2 - might be better for future?

I did manage to test it on Linux, just not on Mac.

Anyways, happy to hear it is being integrated! :)

miquelcampos commented 3 years ago

@JaschaW I think is not needed to update to pyside

and thanks for confirming that Linux is working. :D

btw: is not needed to unload the plugins on Linux?

JaschaW commented 3 years ago

Thanks @miquelcampos

Not sure I am following about the unload plugins Linux part?

miquelcampos commented 3 years ago

@JaschaW is about this part image

Now only unload and loads the .mll extension for windows. Since I don't use to work on linux or OSX I am not sure if that is needed for the other operative systems :P

JaschaW commented 3 years ago

@miquelcampos I am also pretty new to the Linux operating system. I do see what you mean though as each OS has their respective extension names. Doing a super quick test, removing those extensions (.mll) and just having "mgear_solvers" still works.

JaschaW commented 3 years ago

Maya Docs: https://help.autodesk.com/view/MAYAUL/2020/ENU/index.html?guid=__CommandsPython_index_html

When the plug-in is loaded, the name used in Maya's internal plug-in registry for the plug-in information will be the file name with the extension removed. For example, if you load the plug-in "newNode.mll" the name used in the Maya's registry will be "newNode". This value as well as that value with either a ".so", ".mll" or ".bundle" extension can be used as valid arguments to either the unloadPlugin or pluginInfo commands.

miquelcampos commented 3 years ago

@JaschaW oh! hahaha! I didn't know. thanks for teaching me :D

So I guess I can close this ticket. I will re-open if it fails when I test OSX

JaschaW commented 3 years ago

@miquelcampos this is news to me as well! We both learnt something here today :) Thanks for bringing it up!