Rudy Console Error
-
Error: #<NoMethodError: private method
extrude_along_path' called for nil:NilClass>`Does anyone have any idea what this is and how to fix?
Thanks Kurt -
Well, what are you doing when it happens? Why do you have the console open, are you having errors that are causing SketchUp to not work or to bugsplat?
-
@unknownuser said:
Error: #<NoMethodError: private method
extrude_along_path' called for nil:NilClass>`
Does anyone have any idea what this is and how to fix?
Thanks KurtYes and know...
You have a script withextrude_along_path
as a method BUT it's being called willnil
as an argument - either because nothing is selected or the face/path has been deleted ?
What are you doing when you get this message - without knowing that it's useless to speculate further........... -
All I'm doing is right clicking on a component with the console open. not trying to execute the plugin or anything.
-
Having done a thorough grep through my collection of most of the available scripts I find that my very old '
ExtrudeAlongPath.rb
' contains a raw def 'extrude_along_path
' outside of a class or module - the text occurs in no other code. It might be defined inside some 'compiled' code by someone else that then clashes ?
If you have this script and typeextrude_along_path
in the Ruby console what happens ?
If you try and use it without a proper selection you get an error like this:Error; #<NoMethodError; undefined method `edges' for nil;NilClass> C;/Program Files/Google/Google SketchUp 7/Plugins/25-ExtrudeAlongPath.rb;147;in `get_vertices' C;/Program Files/Google/Google SketchUp 7/Plugins/25-ExtrudeAlongPath.rb;228;in `extrude_along_path' C;/Program Files/Google/Google SketchUp 7/Plugins/25-ExtrudeAlongPath.rb;543 C;/Program Files/Google/Google SketchUp 7/Plugins/25-ExtrudeAlongPath.rb;543;in `call'
BUT I can get no error otherwise...
Incidentally, there are much better tools available now - like FAK... -
Everything acts as it should with the plugin. Once I select a path and paste "extrude_along_path" in the Rudy console the menu pulls up with no errors.
-
Think I have it fixed and it had something to do with the plugin moldelfuntion? http://sketchuptips.blogspot.com/2010/06/plugin-model-function.html
Not completely sure about that but I uninstalled it and everything's working good again! -
So to recap...
The plugin 'modelfunction' is the culprit ?
http://modelfunction.com/
Perhaps best avoided UNLESS you anticipate glitches ???
Advertisement