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.
    • 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
                        • D Offline
                          db11
                          last edited by

                          @sdmitch said:

                          @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?

                          Exactly like that.

                          It will be a single stringer (u-channel) open tread stair. I figured I could generate a follow-me path for the stringer chord pretty easily by simply joining the bottom centre points of the treads.

                          1 Reply Last reply Reply Quote 0
                          • atelierpaarA Offline
                            atelierpaar
                            last edited by

                            Hi there,
                            after installing "StairMaker" the plugin shows up under "plugins"
                            The Dialog box asks for "normal, spiral....." etc
                            That was it, nothing else happens.
                            Sorry - what has to be done next ?
                            Thanks for your comments
                            Uli

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

                              @atelierpaar said:

                              Hi there,
                              after installing "StairMaker" the plugin shows up under "plugins"
                              The Dialog box asks for "normal, spiral....." etc
                              That was it, nothing else happens.
                              Sorry - what has to be done next ?
                              Thanks for your comments
                              Uli

                              This is what you should see
                              stair maker.gif

                              If not, open the Ruby Console window(Windows>Ruby Console) and try the plugin again to see if there are any error messages.

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

                              http://sdmitch.blogspot.com/

                              1 Reply Last reply Reply Quote 0
                              • atelierpaarA Offline
                                atelierpaar
                                last edited by

                                thanks for your quick response
                                Here is what i get from the Ruby Console

                                Error: #<ArgumentError: Cannot convert "7.65748031496063" to Length>
                                C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:267:in to_l' C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:267:in get_defaults'
                                C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:77:in reset' C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Hello Maker.rb:68:in initialize'
                                C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:25:in new' C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:25:in block in <top (required)>'
                                SketchUp:1:in `call'

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

                                  @atelierpaar said:

                                  thanks for your quick response
                                  Here is what i get from the Ruby Console

                                  Error: #<ArgumentError: Cannot convert "7.65748031496063" to Length>
                                  C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:267:in to_l' C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:267:in get_defaults'
                                  C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:77:in reset' C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Hello Maker.rb:68:in initialize'
                                  C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:25:in new' C:/Users/Architekt/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Stair Maker.rb:25:in block in <top (required)>'
                                  SketchUp:1:in `call'

                                  Do you use ',' instead of '.' between number and fractional part?

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

                                  http://sdmitch.blogspot.com/

                                  1 Reply Last reply Reply Quote 0
                                  • atelierpaarA Offline
                                    atelierpaar
                                    last edited by

                                    Well, I dont get to type in any value.
                                    the plugin quits right after the first Dialog box

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

                                      @atelierpaar said:

                                      Well, I dont get to type in any value.
                                      the plugin quits right after the first Dialog box

                                      That doesn't answer my question. If you could enter a number say 1234 mm as meters, would it be 1.234 or 1,234?

                                      p.s.

                                      Please check messages.

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

                                      http://sdmitch.blogspot.com/

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        filipebonito
                                        last edited by

                                        hello,

                                        i have the same problem, when i open the plugin, i see the dialogue to chose the stair type, but after that get no options...

                                        i use "," in numbers, lile "12,50"

                                        here is the ruby console:

                                        "Error: #<ArgumentError: Cannot convert "4.921259842519685" to Length>
                                        C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Stair Maker.rb:267:in to_l' C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Stair Maker.rb:267:in get_defaults'
                                        C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Stair Maker.rb:77:in reset' C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Stair Maker.rb:68:in initialize'
                                        C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Stair Maker.rb:25:in new' C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Stair Maker.rb:25:in block in <top (required)>'
                                        SketchUp:1:in `call'"

                                        what can i do?
                                        thanks
                                        filipe bonito

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

                                          I have sent by Personal Message a version that should work 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
                                          • R Offline
                                            rabas
                                            last edited by

                                            Could i have , please, the comma version?

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

                                            Advertisement