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

    Curved Staircases

    Scheduled Pinned Locked Moved Woodworking
    171 Posts 19 Posters 33.1k Views 19 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.
    • G Offline
      Garry K
      last edited by

      I've added a couple more stair configurations to StairMaker. An Open Riser choice and a Rail Style.

      The input box is getting pretty tall and there are more options to come. Once the input box gets to big I will have to either split it up into 2 or more input boxes or I can go with a web dialog box where I have way more control.

      Here is a the tall StairMaker input box and also a web dialog box. The web dialog box is my preferred way of doing things but there are advantages to each.

      web dialog box:

      1. It is easy to organize the inputs into various sections
      2. You can have check boxes and radio boxes
      3. Unfortunately there isn't an easy way to allow a mix of inputs - some metric and some imperial.
      4. At this stage I would only support decimal inputs for only metric or only imperial. No fractions

      Sketchup input box

      1. A lot less coding using the built in input box.
      2. You can mix inputs by using mm or "
      3. you can use fractions for imperial
      4. At some point the input box will become too large and will have to be broken into several inputs.

      What do you guys think? Do you like the web dialog or the built in Sketchup Input Box?
      I'd love to have a vote on this - but I don't know how to set that up.


      Built in Sketchup imput box


      Web dialog input box

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        A little video will be very appetizing! ☀

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

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

          I think the Sketchup input would do, just make drop downs of each category off the main screen Treads, Stringers, Railings, etc. 😄

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

            I have considered that as a possible solution; however, it would be beneficial to have all the configurations on one form - thus the web dialog.

            I have now built the parsing and conversion routines and have found a bug in Sketchup's conversion routines. This also affects Sketchup's input box when inputing fractional inches such as '2 1/2"' and using a model setup in millimeters.

            http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=55722

            I have a fix that works with the web dialog box.

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

              I've got the web dialog working with the Stair Maker. I have also solved a few of the cons of using it. Since I needed a web dialog anyway - this seems like the best route.

              You can use fractional inputs and you can use mixed inputs. Furthermore, I may be able to leave the web dialog box up while the stair is drawing. The advantage of this is you would be able to make changes and have the stair redraw itself ( remove the existing one and create a new one ) each time you click 'OK' providing that web dialog box hasn't closed. Once the web dialog box is closed then we could move on to a second curved stair without messing with the first one.

              Another advantage is that I can fairly easily add in an expression evaluator. I am use to this feature in various CAD systems. For instance - you can type in 1000 - 27.3 for width and it would replace what you type with 972.7

              The built in Sketchup input box has limitations that aren't there with a dialog box. It would be very easy to add in additional pages that could be used to store user defaults.


              completed web_dialog

              1 Reply Last reply Reply Quote 0
              • charly2008C Offline
                charly2008
                last edited by

                web dialog box

                👍 👍 👍 😄 😄 😄 😄

                He who makes no mistakes, makes nothing

                1 Reply Last reply Reply Quote 0
                • KrisidiousK Offline
                  Krisidious
                  last edited by

                  I like the side by side too... the length was a little much.

                  By: Kristoff Rand
                  Home DesignerUnique House Plans

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

                    Thanks guys. Another neat thing about the web dialog is I can add a bit of mouse over help on some of the prompts and or input fields.

                    For instance a few of the prompts that need help are:

                    'Radius'
                    'Set to 0 and StairMaker will calculate based on degrees and Average Run'

                    'Degrees'
                    'Set to 0 and StairMaker will calculate based on degrees and Average Run'

                    'Average Run'
                    'Average Run is ignored if both Radius and Degrees are set'

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

                      I have a StairMaker plugin that is ready to go. This is version 1.0.3.
                      You may go to my web site CabMaker32.com, register and download the plugin.

                      The plugin is a zip file - unzip it to your plugins folder. There should be 1 file added to the plugins folder GKWare_StairMaker_Ext.rb and a folder called GKWare.

                      Please edit file GKWare/StairMaker/defaults.txt.
                      You will need to put in your userid and password that you received via the register process.

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

                        Pilou Here is the video that you requested.

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

                          I am interested in finding individuals who would like to test this plugin.

                          Specifically I'd like to know if it even works with Mac.
                          Is anyone experiencing any problems with the plugin.

                          Does anyone have any suggestions?

                          1 Reply Last reply Reply Quote 0
                          • KrisidiousK Offline
                            Krisidious
                            last edited by

                            I'm on PC but no issues here.

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

                            1 Reply Last reply Reply Quote 0
                            • pbacotP Offline
                              pbacot
                              last edited by

                              I'll give it a run (Mac). Let's see, where can it be DL'd?

                              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                @Garry K
                                Many thanks for the video! 👍

                                You must put it also on the first post! 🤓

                                Ps I just seen that you had another one page 2 😄

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • jeff hammondJ Offline
                                  jeff hammond
                                  last edited by

                                  @pbacot said:

                                  I'll give it a run (Mac). Let's see, where can it be DL'd?

                                  it's at his site: http://cabmaker32.com
                                  you have to register which is an easy process without demanding too much info etc..
                                  it's a little weird in that once you download the plugin, you have to find a .txt file within the folders then edit your cabmaker32 user name & password into it.


                                  @GarryK- i'm trying this out on mac.
                                  i've dowloaded/installed the plugin and entered my login details in the .txt file..
                                  upon launching sketchup, there are no load errors and i get the toolbars as well as the Curved Stairs entry(s) in the plugin menu.

                                  upon clicking on an icon in the toolbar, i get this message:

                                  Screen Shot 2014-02-01 at 9.18.43 PM.png

                                  i'm online while attempting to use it.

                                  dotdotdot

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    otb designworks
                                    last edited by

                                    Garry, your Kung Fu is good! Can't believe I managed to miss this thread.

                                    Thanks for the inspiring journey through your process.

                                    Just seeing that I should be running this through my mac to see how it works. Will let you know...

                                    Cheers, Chuck

                                    OTB Designworks is on Youtube

                                    6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

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

                                      Jeff,

                                      Thanks - I see that you downloaded it. I have no idea why you couldn't reach the web site.

                                      Perhaps try from your browser ( I know it won't work ) but you should still see a message if you can reach the web site.

                                      favicon

                                      (cabmaker32.com)

                                      If you can reach you should get a JSON response saying invalid format.

                                      I'm puzzled. I am getting the same thing now. First a "http Error" and the second time I click the button it says "Cannot reach web service"

                                      I will try to dig in and see what is going on.

                                      OK - when I tried running it my defaults.txt file was pointing to my local test web site.
                                      I switched over to cabmaker32.com and it works - even when I am logged on to the sit.

                                      Garry

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

                                        I'll have to get back into this in the morning - I've been up 20 hrs straight and can't think.

                                        I am putting out both errors - obviously I should have said a bit more with the messages.

                                        
                                        if ( xmlHttp.readyState == 4 )
                                        {
                                        if ( xmlHttp.status == 200 )
                                        	ruby_call( xmlHttp.responseText );
                                        else
                                        	ruby_call( 'error' );
                                        }
                                        
                                        

                                        In the ruby_call I pass back the JSON message and then decode it.
                                        If it doesn't come back then a hash object doesn't get created.

                                        Then this bit of code gets hit.

                                        
                                        if ( ! defined?( @@hash_obj ) )
                                        	UI.messagebox( "Cannot reach web service" );
                                        	return;
                                        end
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • jeff hammondJ Offline
                                          jeff hammond
                                          last edited by

                                          @garry k said:

                                          Jeff,

                                          Thanks - I see that you downloaded it. I have no idea why you couldn't reach the web site.

                                          Perhaps try from your browser ( I know it won't work ) but you should still see a message if you can reach the web site.

                                          favicon

                                          (cabmaker32.com)

                                          If you can reach you should get a JSON response saying invalid format.

                                          from my browser with that link i get:
                                          {"code":-11,"text":"invalid format","token":240583372}

                                          @unknownuser said:

                                          I'm puzzled. I am getting the same thing now. First a "http Error" and the second time I click the button it says "Cannot reach web service"

                                          I will try to dig in and see what is going on.

                                          OK - when I tried running it my defaults.txt file was pointing to my local test web site.
                                          I switched over to cabmaker32.com and it works - even when I am logged on to the sit.

                                          i've done the following to the defaults.txt file


                                          user information

                                          userid=Jeff Hammond
                                          password=(my 12digit PW)
                                          host=http://cabmaker32.com/

                                          default non length values for input box

                                          debug_level=0
                                          direction=Anti Clockwise
                                          inside_option=None
                                          outside_option=None
                                          inside_stringer=Sawtooth
                                          etcetc..


                                          i assume that's correct, right?

                                          i tried logging out of your site and i still get the same error message when using Stair Maker.. i can click on the Extrude Handrail icon and i get the message about needing a curve selected.. so i select a curve then click the icon and i get an error:

                                          [EDIT] oops.. ruby error removed[/edit]

                                          i won't be able to troubleshoot too much tonight but i'll try some things in the morning if you leave instructions.

                                          dotdotdot

                                          1 Reply Last reply Reply Quote 0
                                          • jeff hammondJ Offline
                                            jeff hammond
                                            last edited by

                                            @garry k said:

                                            I'll have to get back into this in the morning - I've been up 20 hrs straight and can't think.

                                            😆
                                            get some rest!

                                            dotdotdot

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

                                            Advertisement