[Plugin] 3D Parametric Shapes - makes placeable components
-
I made the three simple changes which I suggested earlier... and it works without errors.
You are getting yourself into a tangle...
Once you put a sub-module named within your all-encompassing 'JWM' module, then its name can be the same as similar names used in others' code...
The nesting separates them...
Calling them by your path JWM::... will avoid any that are poorly written by others and are 'global'...So be consistent use 'JWM::Shapes', OR if you must 'JWM::JWMshapes' etc consistently...
Use Notepad++ with all affected files open and fine replace in all so they are internally consistent...
Perhaps draw out on a sheet of A4 the nested relationships of these modules/classes.
The full path I changed to works... -
Once again, TIG, thank you for cleaning up my muddle, and for explaining what's gone on.
I will make the changes on my original copy here too, and go back to just called the sub-modules by the same name as the SU Shapes ones - simply Shapes.
Have you updated the Plugin Store rbz file, or do I still need to fix the files here then upload them? And would it now be better to delete the attached file in the first post, and replace that by a link to the Plugin Store?
Must stop now for a while - will resume later tonight.
-
@johnwmcc said:
Once again, TIG, thank you for cleaning up my muddle, and for explaining what's gone on.
I will make the changes on my original copy here too, and go back to just called the sub-modules by the same name as the SU Shapes ones - simply Shapes.
Have you updated the Plugin Store rbz file, or do I still need to fix the files here then upload them? And would it now be better to delete the attached file in the first post, and replace that by a link to the Plugin Store?
Must stop now for a while - will resume later tonight.
Please update your own files / RBZ in the PluginStore.
But please remember to click on Publish afterwards
I would recommend that you just have the one RBZ in the PluginStore, and add a link to its entry inside 'download' tags.
Put that in the very first post: when I update a plugin I usually also add it into that announcement post - a one-click direct-link means that the reader doesn't have to find it again, either in the first-post or by looking within the PluginStore itself...
The proper linking URL is http://sketchucation.com/pluginstore?pln=jwm_shapes -
Plugin store updated to v2.5.3, and first post in this thread now links to it.
Downloaded and tested it here in SU2015.
-
@johnwmcc said:
Plugin store updated to v2.5.3, and first post in this thread now links to it.
Downloaded and tested it here in SU2015.
Works... Thanks!!!
-
@johnwmcc said:
Jo Ann - have you ever had another version of Shapes installed, whether from the SketchUcation Plugin store, or SketchUp or Trimble Extension Warehouse? There may still be a conflict, if so.
Please go to your AppData/Roaming/Sketchup/SU 2014/Sketchup/Plugins folder, and delete any existing file(s) called shapes.rb or su_shapes.rb, jwm_shapes.rb or jwm_shapes_loader.rb; and delete any existing folder(s) with the name su_shapes or jwm_shapes (including all that folder's contents).
Then reinstall the current version (v2.5 at time of writing) of the plugin from the Plugin Store here.
If that doesn't work, I'm stumped.
Best wishes, and I hope this works.
John McC
Hi John -- I just updated your 3D Parametric Shapes script, and after restarting SketchUp, it works!!!!! Yeah!!!!!. -- Jo Ann
-
Hi John--
I get the following error message when I open SketchUp 2014; can you fix this? Thanks! Jo Ann
-
@tig said:
I can't get it to do that !
What's the start of the error message say ?Hi TIG,
Doesn't matter... I just downloaded (updated) John's 3D Parametric Shapes script and it works!
Thanks,
Jo Ann -
Glad you got it going again with little trouble.
-
Great thanks, johnwmcc, for this plugin! Did you consider designing a toolbar for it? I'm sure for many users it became one of the very basic tools in SU. Having it accessible on top of the screen would be nice
-
@einstein said:
Great thanks, johnwmcc, for this plugin!
Thanks for your appreciate comment.
@einstein said:
Did you consider designing a toolbar for it? I'm sure for many users it became one of the very basic tools in SU. Having it accessible on top of the screen would be nice
Not sure I know how to do that, but will consider it when I have time (probably not for at least weeks) - I have several other higher priority projects on the go at the moment, leaving me little time to update this one.
Advertisement