Circle Intersect Plugin error after installing
-
I have attempted to install, SLBaumgartner: Circle Intersect v1.0.0 and get the following error.
Any help would be appreciated.
Error Loading File C:/Users/KEdwards/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SB_circle_intersect/SB_intersect_circles.rb
Error: #<TypeError: no implicit conversion of nil into String>
C:/Users/KEdwards/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SB_circle_intersect/SB_intersect_circles.rb:443:insmall_icon=' C:/Users/KEdwards/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SB_circle_intersect/SB_intersect_circles.rb:443:in
module:CircleIntersect'
C:/Users/KEdwards/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SB_circle_intersect/SB_intersect_circles.rb:35:in<module:SLBPlugins>' C:/Users/KEdwards/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SB_circle_intersect/SB_intersect_circles.rb:34:in
<top (required)>'
C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:inrequire' C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in
load'
C:/Users/KEdwards/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SB_circle_intersect.rb:15:inregister_extension' C:/Users/KEdwards/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SB_circle_intersect.rb:15:in
module:SLBPlugins'
C:/Users/KEdwards/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SB_circle_intersect.rb:5:in `<top (required)>'Thanks in advance
Ken
-
The RB code uses this somewhat outdated code [depending on OS/SUpVersion]:
ICON_FILE = Sketchup.find_support_file("circle_intersect_cursor.png", "Plugins/SB_circle_intersect")
To find its icon file for its CURSOR...
It also has similar code to find the images needed for its Toolbar button...This means that the tool only loads properly if it is installed in your default Plugins folder.
However, the path given in the error-message suggests that is indeed where it is installed, so perhaps the installation was not done properly ?
How did you install this RBZ ?
If you use the native tool - Window > Preferences > Extension > Install Extension... button - and select the RBZ, then everything should be exacted and put where it's needed - i.e. most of the files go in its ../Plugins/sb_circle_intersect subfolder...
If you install from within SketchUp using the SketchUcation Toolset's 'ExtensionStore³' dialog to 'AutoInstall' an Extension, this is similar, except the step for the manual download of the RBZ is skipped.In addition to the ../Plugins/SB_circle_intersect.rb 'loader' file...
Its ../Plugins/SB_circle_intersect subfolder should contain 9 files.1 .rb [from the error-message we know that is in there and that it loads, because it then tries to use some - probably missing - image file and fails]
3 .png [used by <=v2015 - i.e. YOU need them]
2 .svg [used by >=v2016 PC - but you have v2015]
2 .pdf [used by >=v2016 MAC - but you have v2015 PC]
1 .hash [needed for full >=v2016 compatibility - but you have v2015]If some of these files are missing the code will not load properly...
Try reinstalling and restart SketchUp, then try the tool...
-
SB_intersect_circles.rb lines 443 and 444: "circle_intersect_16.png" and "circle_intersect_24.png" resp., but files in Plugin are named "circle_intersect_24.png" and "circle_intersect_32.png". If I correct source or renam .png files, SU loads w/o error msg, but there is no circle intersect cursor (blank square).
Advertisement