sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] Stair Maker

    已排程 已置頂 已鎖定 已移動 Plugins
    110 貼文 37 Posters 117.0k 瀏覽 37 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • TIGT 離線
      TIG Moderator
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • C 離線
        cboy1980
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • sdmitchS 離線
          sdmitch
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • G 離線
            GudmHr
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • sdmitchS 離線
              sdmitch
              最後由 編輯

              @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 條回覆 最後回覆 回覆 引用 0
              • sdmitchS 離線
                sdmitch
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • G 離線
                  GudmHr
                  最後由 編輯

                  Thank you, sdmitch.

                  1 條回覆 最後回覆 回覆 引用 0
                  • bprzybytkowskiB 離線
                    bprzybytkowski
                    最後由 編輯

                    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 條回覆 最後回覆 回覆 引用 0
                    • sdmitchS 離線
                      sdmitch
                      最後由 編輯

                      @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 條回覆 最後回覆 回覆 引用 0
                      • bprzybytkowskiB 離線
                        bprzybytkowski
                        最後由 編輯

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • architexA 離線
                          architex
                          最後由 編輯

                          how can i learn to work on this plugin?

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

                          1 條回覆 最後回覆 回覆 引用 0
                          • sdmitchS 離線
                            sdmitch
                            最後由 編輯

                            @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 條回覆 最後回覆 回覆 引用 0
                            • D 離線
                              db11
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • sdmitchS 離線
                                sdmitch
                                最後由 編輯

                                @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 條回覆 最後回覆 回覆 引用 0
                                • D 離線
                                  db11
                                  最後由 編輯

                                  @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 條回覆 最後回覆 回覆 引用 0
                                  • atelierpaarA 離線
                                    atelierpaar
                                    最後由 編輯

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • sdmitchS 離線
                                      sdmitch
                                      最後由 編輯

                                      @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 條回覆 最後回覆 回覆 引用 0
                                      • atelierpaarA 離線
                                        atelierpaar
                                        最後由 編輯

                                        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 條回覆 最後回覆 回覆 引用 0
                                        • sdmitchS 離線
                                          sdmitch
                                          最後由 編輯

                                          @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 條回覆 最後回覆 回覆 引用 0
                                          • atelierpaarA 離線
                                            atelierpaar
                                            最後由 編輯

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

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 5 / 6
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement