sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Rudy Console Error

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    8 Posts 3 Posters 262 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • HumpmetwiceH Offline
      Humpmetwice
      last edited by

      Error: #<NoMethodError: private methodextrude_along_path' called for nil:NilClass>`

      Does anyone have any idea what this is and how to fix?
      Thanks Kurt

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        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?

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          @unknownuser said:

          Error: #<NoMethodError: private methodextrude_along_path' called for nil:NilClass>`
          Does anyone have any idea what this is and how to fix?
          Thanks Kurt

          Yes and know...
          You have a script with extrude_along_path as a method BUT it's being called will nil 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...........

          TIG

          1 Reply Last reply Reply Quote 0
          • HumpmetwiceH Offline
            Humpmetwice
            last edited by

            All I'm doing is right clicking on a component with the console open. not trying to execute the plugin or anything.

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              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 type extrude_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... πŸ€“

              TIG

              1 Reply Last reply Reply Quote 0
              • HumpmetwiceH Offline
                Humpmetwice
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • HumpmetwiceH Offline
                  Humpmetwice
                  last edited by

                  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!

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    So to recap...
                    The plugin 'modelfunction' is the culprit ?
                    http://modelfunction.com/
                    Perhaps best avoided UNLESS you anticipate glitches ???

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement