liquidbuddha / CosmicGeometryToolkit

visual effects toolkit for Autodesk Maya, enabling fast creation of animated toroidal evolutionary wavefronts, phi-spirals, phi-vortex, flower of life patters, vector equilibrium, geometric primitives, and more.
Creative Commons Zero v1.0 Universal
35 stars 8 forks source link

Failed to start toolkit from Maya menu after install #8

Open bootsch opened 6 years ago

bootsch commented 6 years ago

Thank you for releasing this really cool tool set. Just got pointed to it and now attempting to run it in Maya 2018. After following the install instructions and tweaking a bit I have the menu appearing with both.

screen shot 2018-08-24 at 13 28 11

Both give me an error

minikit: // Error: showWindow $miniKitWindow; // // Error: "/Users/bootsch/Library/Preferences/Autodesk/maya/scripts/lbsToolkit/miniToolkit/miniKit.mel" line 304.26: "$miniKitWindow" is an undeclared variable. // // Warning: string $phiCurveInfo = ($phiCurveInfo + "\;"); // // Warning: "/Users/bootsch/Library/Preferences/Autodesk/maya/scripts/lbsToolkit/miniToolkit/miniKit.mel" line 801.47 : Redeclaration of variable "$phiCurveInfo" shadows previous declaration at line 772. Previous value will be overwritten by explicit initializer. //

fullkit // Error: showWindow $lbs_scriptWin; // // Error: "/Users/bootsch/Library/Preferences/Autodesk/maya/scripts/lbsToolkit/lbs_Custom_Tools_UI_LOCAL.mel" line 327.27: "$lbs_scriptWin" is an undeclared variable. //

If you have any quick answers, great, in the mean time I will dive into the code and see what I can fix.

Main purpose to post this issue is to let you know I really like the toolkit :-) Will keep you posted on progress

bootsch commented 6 years ago

In both the Full and Minikit the variable name differs on creation and showing of the window

For the full kit https://github.com/liquidbuddha/CosmicGeometryToolkit/blob/1988d2fca220745879aaff8bbbcd5ae8f4fb8c17/intallfiles_FullKit/lbs_Custom_Tools_UI_LOCAL.mel#L127

https://github.com/liquidbuddha/CosmicGeometryToolkit/blob/1988d2fca220745879aaff8bbbcd5ae8f4fb8c17/intallfiles_FullKit/lbs_Custom_Tools_UI_LOCAL.mel#L327

After I changed the var at creation to '$lbs_scriptWin' I got it working, happiness

For the minikit https://github.com/liquidbuddha/CosmicGeometryToolkit/blob/1988d2fca220745879aaff8bbbcd5ae8f4fb8c17/miniToolkit/miniKit.mel#L3

https://github.com/liquidbuddha/CosmicGeometryToolkit/blob/1988d2fca220745879aaff8bbbcd5ae8f4fb8c17/miniToolkit/miniKit.mel#L304

Again, on creation changed to '$miniKitWindow' and it works