sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Strange error when setting component axes

    Scheduled Pinned Locked Moved Developers' Forum
    8 Posts 2 Posters 195 Views 2 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.
    • daikuD Offline
      daiku
      last edited by

      I'm posting this in the ruby forum, as I suspect this is due to some plugin I have installed. I'm getting the following messages on the ruby console when I am creating a component and attempting to set the component axes (for a component that cuts an opening). I get these 5 lines for each of the first two points I select. Does this look familiar to anyone? Also, the component I create will not cut, so it seems that the operation is failing (silently unless the console is open). CB.

      @unknownuser said:

      Error: #<NoMethodError: undefined method definition' for #<Sketchup::Face:0x953e5d8>> (eval):383:in get_version'
      (eval):420:in get_class_by_version' (eval):574:in onToolStateChanged'
      (eval):383
      Error: #<NoMethodError: undefined method definition' for #<Sketchup::Face:0x953e5d8>> (eval):383:in get_version'
      (eval):420:in get_class_by_version' (eval):574:in onToolStateChanged'
      (eval):383

      Clark Bremer
      http://www.northernlightstimberframing.com

      1 Reply Last reply Reply Quote 0
      • daikuD Offline
        daiku
        last edited by

        Well, maybe I was wrong about it being a ruby script. I completely removed my plugins directory, verified that there are no rubies loaded, and the problem persists. No one is seeing this? You can create components that cut? CB.

        Clark Bremer
        http://www.northernlightstimberframing.com

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

          Your on Vista - make sure you don't have any plugins hiding in your "Compatibility Folder". Navigate to the plugins folder and check the top toolbar for an icon for Compatibility Folders. Click on it and you might find more hidden plugins that are also being loaded into SU. Just selc everything in that folder and cut and paste it all back into your plugins folder. Then once the compatiblity folder is good and empty, try removing all your plugins again.

          Check that and see how it goes,

          Chris

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

          1 Reply Last reply Reply Quote 0
          • daikuD Offline
            daiku
            last edited by

            Thanks for the tip Chris. I did as you suggested - there were some cobwebs in there! I then renamed my plugins folder so that no plugins get loaded. I uninstalled su. I downloaded it again, and reinstalled. Still have the problem! I cannot figure this out!

            Clark Bremer
            http://www.northernlightstimberframing.com

            1 Reply Last reply Reply Quote 0
            • daikuD Offline
              daiku
              last edited by

              Also, what does it mean when it says '(eval)' in the error message? I'm used to seeing the name of the ruby file in that location.

              Clark Bremer
              http://www.northernlightstimberframing.com

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

                And you are entirely unable to set the axis? Or does it still let you set the axis?

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

                1 Reply Last reply Reply Quote 0
                • daikuD Offline
                  daiku
                  last edited by

                  Hi Chris.

                  Well, I verified the error messages on another computer using SU7. I also tried it on SU6, and did not get the error messages. Yes, I'm able to set the axes. I find that I am not able to use the newly created component instance to cut a face, but if I grab a copy from the "in model" list of the component window, and place that on a face it will cut. So I guess part of my problem was not understanding how face-cutting components behave: It seems they only like to cut into the first face you stick them to. Chris, did you try setting the component axes while the ruby console was open? CB.

                  Clark Bremer
                  http://www.northernlightstimberframing.com

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

                    Yeah, I tried it and I also get the errors. I should have tried sooner.

                    There are other tools that send errors to the ruby console too. Oops!

                    So I would say it is woorking as expected.

                    Chris

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

                    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