sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Stair Maker

    Scheduled Pinned Locked Moved Plugins
    110 Posts 37 Posters 111.5k Views 37 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.
    • KrisidiousK Offline
      Krisidious
      last edited by

      Thanks for updating this Mitch...

      By: Kristoff Rand
      Home DesignerUnique House Plans

      1 Reply Last reply Reply Quote 0
      • sdmitchS Offline
        sdmitch
        last edited by

        @cboy1980 said:

        @sdmitch said:

        @luhrzeznik said:

        Hi, I'm having a bit of trouble here!

        I used the plugin once and it worked fine. But when I tried to use it again, it doesn't get past the Stair Type. I click my option and the screen just disappear and then nothing. Do you have any idea why that could be happening?

        I assume this happens regardless of which stair option is selected?

        Locate and delete the Stair Maker.txt file and try the plugin again.

        What Units system are you using, 1.00 or 1,00?

        I have the same problem here...
        Try to make a L-shaped stair... but after putting the measurements in the dialog box and clicking ok... nothing happens. The dialog box just dissapears. That's it. No stairs to see.

        Grtz
        cboy

        After clicking OK, you need to pick the model point to locate where the stairs are to originate. You should see a red "+" at the end of the mouse pointer.

        Nothing is worthless, it can always be used as a bad example.

        http://sdmitch.blogspot.com/

        1 Reply Last reply Reply Quote 0
        • C Offline
          cboy1980
          last edited by

          @sdmitch said:

          @cboy1980 said:

          @sdmitch said:

          @luhrzeznik said:

          Hi, I'm having a bit of trouble here!

          I used the plugin once and it worked fine. But when I tried to use it again, it doesn't get past the Stair Type. I click my option and the screen just disappear and then nothing. Do you have any idea why that could be happening?

          I assume this happens regardless of which stair option is selected?

          Locate and delete the Stair Maker.txt file and try the plugin again.

          What Units system are you using, 1.00 or 1,00?

          I have the same problem here...
          Try to make a L-shaped stair... but after putting the measurements in the dialog box and clicking ok... nothing happens. The dialog box just dissapears. That's it. No stairs to see.

          Grtz
          cboy

          After clicking OK, you need to pick the model point to locate where the stairs are to originate. You should see a red "+" at the end of the mouse pointer.

          Hey I still have no stair appearing... not even the red cross at the pointer.
          Even when clicking somewhere it does not happen.

          Grtz.
          cboy

          1 Reply Last reply Reply Quote 0
          • sdmitchS Offline
            sdmitch
            last edited by

            You may need to download a new copy since this plugin was recently modified to be 2014 compliant.

            Otherwise, open the Ruby Console window and execute the plugin to see what if any errors occur.

            Nothing is worthless, it can always be used as a bad example.

            http://sdmitch.blogspot.com/

            1 Reply Last reply Reply Quote 0
            • C Offline
              cboy1980
              last edited by

              @sdmitch said:

              You may need to download a new copy since this plugin was recently modified to be 2014 compliant.

              Otherwise, open the Ruby Console window and execute the plugin to see what if any errors occur.

              I checked with the ruby console...
              It mentioned the 'full acces problem' I tried to follow the steps given in the link by Tig but only got 1 stair then it stopped again. Also when changing the sketchup program to run under administrator, my orbitting with mouse did not work anymore... πŸ˜„ πŸ‘

              seems like I need to research further...

              1 Reply Last reply Reply Quote 0
              • C Offline
                cboy1980
                last edited by

                I still did not manage to get the plug in working...
                When changing my folder options (only read / full acces) sometimes I manage to get 1 stair... but after that it stops...

                ruby output:

                Error: #<ArgumentError: Cannot convert "9.84251968503937" to Length>
                C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in to_l' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in get_defaults'
                C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:77:in reset' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:in initialize'
                C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:in new' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in call'
                C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267
                Error: #<ArgumentError: Cannot convert "9.84251968503937" to Length>
                C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in to_l' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in get_defaults'
                C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:120:in reset' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:in initialize'
                C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:in new' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in call'
                C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267

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

                  I get this when pasting into the Ruby Console [in Model-Units=mm, in v2013 & v2014]:
                  "9.84251968503937".to_l 0.38750077500155
                  So it seems to work as a Ruby method [mm --> "]...
                  Although the level of 'accuracy is somewhat extreme πŸ˜’
                  So something else is adrift with the script itself πŸ˜•

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cboy1980
                    last edited by

                    Hey TIG / sdmitch

                    So when deleting the 'Stair Maker.txt' I'm allways able to make 1 stair.
                    When trying to make another one...
                    same problem as before:

                    Error: #<ArgumentError: Cannot convert "3.76640419947507" to Length>
                    C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in to_l' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in get_defaults'
                    C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:77:in reset' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:in initialize'
                    C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:in `new'
                    C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25

                    same problem different values

                    1 Reply Last reply Reply Quote 0
                    • sdmitchS Offline
                      sdmitch
                      last edited by

                      @cboy1980 said:

                      Hey TIG / sdmitch

                      So when deleting the 'Stair Maker.txt' I'm allways able to make 1 stair.
                      When trying to make another one...
                      same problem as before:

                      Error: #<ArgumentError: Cannot convert "3.76640419947507" to Length>
                      C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in to_l' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in get_defaults'
                      C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:77:in reset' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:in initialize'
                      C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:in `new'
                      C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25

                      same problem different values

                      I have made a few minor changes and have attached the plugin to a Personal Message. Please try it and let me know if there is any difference. Delete Stair Maker.txt file first.

                      Nothing is worthless, it can always be used as a bad example.

                      http://sdmitch.blogspot.com/

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        GudmHr
                        last edited by

                        My Sketchup(2014) is configured to use decimal comma instead of point (the European way). If I make L-stairs/Open, everything works fine repeatedly. But if I make L-stairs/in-situ, some numbers are written to Stair Maker.txt with decimal points and Sketchup doesn't like that, so Stair Maker stops working. If I change those decimal points to decimal commas in Stair Maker.txt and save it, Stair Maker works again. I think this is the issue here: some internally calculated results are written to Stair Maker.txt with points instead of commas.

                        1 Reply Last reply Reply Quote 0
                        • sdmitchS Offline
                          sdmitch
                          last edited by

                          @gudmhr said:

                          My Sketchup(2014) is configured to use decimal comma instead of point (the European way). If I make L-stairs/Open, everything works fine repeatedly. But if I make L-stairs/in-situ, some numbers are written to Stair Maker.txt with decimal points and Sketchup doesn't like that, so Stair Maker stops working. If I change those decimal points to decimal commas in Stair Maker.txt and save it, Stair Maker works again. I think this is the issue here: some internally calculated results are written to Stair Maker.txt with points instead of commas.

                          I know this is a problem for some but I have no way of duplicating it myself. Usually working in whole mm's is at least a partial solution. I will attempt a fix and send it to you by personal message.

                          Nothing is worthless, it can always be used as a bad example.

                          http://sdmitch.blogspot.com/

                          1 Reply Last reply Reply Quote 0
                          • sdmitchS Offline
                            sdmitch
                            last edited by

                            GudmHr, Please check your personal messages for an attempted fix to the "," versus "." problem.

                            Nothing is worthless, it can always be used as a bad example.

                            http://sdmitch.blogspot.com/

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              GudmHr
                              last edited by

                              Thank you, sdmitch.

                              1 Reply Last reply Reply Quote 0
                              • bprzybytkowskiB Offline
                                bprzybytkowski
                                last edited by

                                Hi.

                                I too am having the same problem using Stair Maker as posted above.

                                The error I am getting in Ruby Console:
                                "
                                Error: #<ArgumentError: Cannot convert "12.3031496062992" to Length>
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in to_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in get_defaults'
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:77:in reset' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:68:in initialize'
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25:in new' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in call'
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267
                                Error: #<ArgumentError: Cannot convert "12.3031496062992" to Length>
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in to_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in get_defaults'
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:77:in reset' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:68:in initialize'
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25:in new' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in call'
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267
                                "

                                I'm working in EU comma separated units (e.g. 14,54m).

                                Is there any known solution to that problem?

                                1 Reply Last reply Reply Quote 0
                                • sdmitchS Offline
                                  sdmitch
                                  last edited by

                                  @bprzybytkowski said:

                                  Hi.

                                  I too am having the same problem using Stair Maker as posted above.

                                  The error I am getting in Ruby Console:
                                  "
                                  Error: #<ArgumentError: Cannot convert "12.3031496062992" to Length>
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in to_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in get_defaults'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:77:in reset' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:68:in initialize'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25:in new' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in call'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267
                                  Error: #<ArgumentError: Cannot convert "12.3031496062992" to Length>
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in to_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in get_defaults'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:77:in reset' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:68:in initialize'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25:in new' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in call'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267
                                  "

                                  I'm working in EU comma separated units (e.g. 14,54m).

                                  Is there any known solution to that problem?

                                  I have sent you by PM the version that fixed GudmHr's problem. Hopefully it will do the same for you.

                                  Nothing is worthless, it can always be used as a bad example.

                                  http://sdmitch.blogspot.com/

                                  1 Reply Last reply Reply Quote 0
                                  • bprzybytkowskiB Offline
                                    bprzybytkowski
                                    last edited by

                                    The version you provided me by PM seems to be working without problem - thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • architexA Offline
                                      architex
                                      last edited by

                                      how can i learn to work on this plugin?

                                      i see the parameter window under my sketchup, but the result are blank.

                                      1 Reply Last reply Reply Quote 0
                                      • sdmitchS Offline
                                        sdmitch
                                        last edited by

                                        @unknownuser said:

                                        how can i learn to work on this plugin?

                                        i see the parameter window under my sketchup, but the result are blank.

                                        Maybe this old tutorial will be of some help.

                                        Nothing is worthless, it can always be used as a bad example.

                                        http://sdmitch.blogspot.com/

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          db11
                                          last edited by

                                          How tough is it to add an inside radius variable for the spiral stair generator to allow curved stair creation?

                                          I'm trying to make a 180Β° curved staircase with and inside radius of about 3'.

                                          1 Reply Last reply Reply Quote 0
                                          • sdmitchS Offline
                                            sdmitch
                                            last edited by

                                            @db11 said:

                                            How tough is it to add an inside radius variable for the spiral stair generator to allow curved stair creation?

                                            I'm trying to make a 180Β° curved staircase with and inside radius of about 3'.

                                            Something like this?


                                            Spiral Stair.skp

                                            Nothing is worthless, it can always be used as a bad example.

                                            http://sdmitch.blogspot.com/

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

                                            Advertisement