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

      Hi garry

      I'm still getting the 'extra' <body''> tag, with 'feet' templates, which prevents the load...
      other templates are fine...

      You most likely don't see two tags as WebKit always makes tags for any missing or malformed ones.

      It doesn't remove the malformed ones, so if they contain js or html control chars, the page will fail to varying degrees...

      I cleared my SU cache but sometimes that needs to be done with a restart... will try later

      john

      learn from the mistakes of others, you may not live long enough to make them all yourself...

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

        Walt,

        It appears there can be many different problems that can cause an http error code 0. In the majority of cases it has to do with configuration. Essentially - the host is unreachable. Some google searches suggest that it is a firewall issue.

        Try going to your browser and enter this
        cabmaker32.com/stairmaker_service.php

        If you can reach the service from the browser you should get back
        {"code":-11,"text":"invalid format","token":240583372}

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

          @mwm5053 said:

          Still having problems here. I installed 1.0.7 and changed username and password in default txt, on 1st click getting "http error" and clicking again getting "can not reach web server"

          oh.. right. that's a different issue (the whole connecting to a website prior to using a ruby.. I mean, what is someone supposed to do if they're not online while drawing??)

          the fix I was talking about had to do with model units

          dotdotdot

          1 Reply Last reply Reply Quote 0
          • M Offline
            mwm5053
            last edited by

            @ Garry yes I get {"code":-11,"text":"invalid format","token":240583372}

            In Safari

            2011 iMac
            SU 2015 Pro, 2017 Make
            V2 Twilight
            macOS Sierra 10.12.5

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

              Jeff have you tried with template of feet?

              My plan is to connect to web while in trial. Once a user is licensed then connecting to web site will no longer be necessary.

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

                John - can you send me a file with the extra tags and the malformed ones.

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

                  @Walt
                  what do you get if you paste this in 'Ruby Console'

                   status = Sketchup.is_online
                  

                  @Garry I PM'd them the other day?

                  john

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mwm5053
                    last edited by

                    @Driven


                    Screen Shot 2014-02-09 at 1.27.08 PM.png

                    2011 iMac
                    SU 2015 Pro, 2017 Make
                    V2 Twilight
                    macOS Sierra 10.12.5

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

                      @garry k said:

                      Jeff have you tried with template of feet?

                      yeah.. and i encountered another error with it (using the 2013 template Engineering - Feet

                      i keeping getting the error 'Tread bullnose must be at least 1/2 of tread thickness'.
                      the settings i'm using while getting that error are:
                      Tread Thickness: 0.125' (or 1.5")
                      Tread Bullnose: 0.083' (or 1")

                      so the error message isn't corresponding to my settings (if i'm properly understanding the message and settings)

                      @unknownuser said:

                      My plan is to connect to web while in trial. Once a user is licensed then connecting to web site will no longer be necessary.

                      oh.. i see. that sounds good

                      dotdotdot

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

                        Jeff - both the top and bottom of the tread get bullnosed. So you can't bullnose the top with a 1" radius and the bottom with a 1" radius.

                        In this case the maximum bullnose for a 1.5" tread is 0.75".

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

                          Walt - all I can think of doing is pulling out the http code and putting it into a very simple rb script ( not scrambled ).

                          What user ID are you using? If it isn't the default "User" "test" then I will see what my logs show at the web site. We'll see if we made it that far.

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

                            John - I looked at my PM messages - I have only received 1 since I put up version 1.0.7 08 Feb 2014, 08:39( which had the feet fix ).

                            Your last message had to do with the beta version 2014.

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              mwm5053
                              last edited by

                              @ Garry username is mwm5053. I have been able to Login to website with no problems still getting 101 error after clicking ok web dialogue pops up but clicking ok for default values nothing happens heres a screenshot.


                              Screen Shot 2014-02-10 at 9.11.06 AM.png

                              2011 iMac
                              SU 2015 Pro, 2017 Make
                              V2 Twilight
                              macOS Sierra 10.12.5

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

                                Walt - If you look at the title of the web dialog it is saying "http error 0". Sorry about the confusion. I thought that it would be good to show the web dialog whether you have an error or not? I could change the back ground color from wheat to red or something like that.

                                The other thing to note is that you may need more accuracy than 1/2" precision to properly draw a stair case. I'm not exactly sure how sketchup handles smaller values than precision.

                                If you let the defaults.txt file to "User" and "test" and connected then you should see "Testing - temporary status granted"

                                If you edited defaults.txt file to "mwm5053" and put in the emailed password then you should see "You have 30 days left in trial"

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mwm5053
                                  last edited by

                                  I changed defaults txt back to user / test and precision to 1/64 still get screenshot error


                                  Screen Shot 2014-02-10 at 9.46.37 AM.png

                                  2011 iMac
                                  SU 2015 Pro, 2017 Make
                                  V2 Twilight
                                  macOS Sierra 10.12.5

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

                                    Walt - I went to my web site and took a look. There isn't a single http attempt for user "mwm5053".

                                    I also looked at all of my registered users and there isn't a user "mwm5053" in that file.

                                    You need to go to my web site - CabMaker32.com and click logon and register. You will then receive an email with your password. You can also send me a private message with your email address. I can also look in my user file and see if that email address has been registered under perhaps a different user.

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      mwm5053
                                      last edited by

                                      Now thats really weird


                                      Screen Shot 2014-02-10 at 10.09.18 AM.png


                                      Screen Shot 2014-02-10 at 10.09.51 AM.png

                                      2011 iMac
                                      SU 2015 Pro, 2017 Make
                                      V2 Twilight
                                      macOS Sierra 10.12.5

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

                                        @garry k said:

                                        Jeff - both the top and bottom of the tread get bullnosed. So you can't bullnose the top with a 1" radius and the bottom with a 1" radius.

                                        In this case the maximum bullnose for a 1.5" tread is 0.75".

                                        that's what i thought.. you may want to consider changing the wording of the error message then:

                                        'Tread bullnose must be at least 1/2 of tread thickness'

                                        to something along the lines of:
                                        max bullnose is 1/2 tread thickness.

                                        dotdotdot

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

                                          @Garry
                                          it's working in 'feet' Template now...
                                          the cache reset took a couple of goes...

                                          added some info so you can see what I get my end...

                                          Ruby version is _____________ 1.8.5 Sketchup version is __________ 13.0.4811 Sketchup version path is __________ /Applications/SketchUp 2013/SketchUp.app Sketchup process pid is __________ 86823 @modPath is __________ unsaved stair time 0.922734 stair time 0.922350

                                          <html><head>
                                          <meta http-equiv="MSThemeCompatible" content="Yes">
                                          <style type="text/css">
                                          
                                            * { padding; 0; margin; 0; }
                                            body { background-color; #F9EBD1}
                                            fieldset { float; left; background-color; #F9EBD1; border-color; black; margin; 3px;}
                                          
                                            fieldset p {display; table-row;
                                          			  font-family; Arial, Helvetica, sans-serif;
                                          			  font-size; 90%; color; black; height; 27px;}
                                          
                                            fieldset input,
                                            fieldset select,
                                            fieldset label {display; table-cell; margin; 2px; width; 120px;}
                                          
                                            fieldset label {text-align; right;}
                                          
                                            fieldset input,
                                            fieldset select {margin-left; 10px; background-color; wheat;}
                                          </style>
                                          </head>
                                          
                                          <body>
                                          <form>
                                          
                                              <fieldset>
                                                  <p><label>Inside Stringer;</label><select id="inside_stringer"><option>Housed</option><option>Sawtooth</option><option>None</option></select></p>
                                                  <p><label>Options;</label><select id="inside_option"><option>Has Heel</option><option>Has Foot</option><option>Both</option><option>None</option></select></p>
                                                  <p><label>Thickness;</label><input type="text" id="inside_thickness"></p>
                                                  <p><label>Width;</label><input type="text" id="inside_width"></p>
                                                  <p><label>Rail Options;</label><select id="inside_rail"><option>Guard Rail</option><option>Wall Rail</option><option>None</option></select></p>
                                              </fieldset>
                                          
                                              <fieldset>
                                                  <p><label title="Set to none for a spiral where spindles are used to tie the treads togethers">Outside
                                                      Stringer;</label><select id="outside_stringer"><option>Housed</option><option>Sawtooth</option><option>None</option></select></p>
                                                  <p><label>Options;</label><select id="outside_option"><option>Has Heel</option><option>Has Foot</option><option>Both</option><option>None</option></select></p>
                                                  <p><label>Thickness;</label><input type="text" id="outside_thickness"></p>
                                                  <p><label>Width;</label><input type="text" id="outside_width"></p>
                                                  <p><label>Rail Options;</label><select id="outside_rail"><option>Guard Rail</option><option>Wall Rail</option><option>None</option></select></p>
                                              </fieldset>
                                          
                                              <fieldset>
                                                  <p><label>Stair Direction;</label><select id="direction"><option>Clockwise</option><option>Anti Clockwise</option></select></p>
                                                  <p><label>Stair Width;</label><input type="text" id="stair_width"></p>
                                                  <p><label title="Set to 0 and StairMaker will calculate based on degrees and Average Run">Radius;</label><input type="text" id="radius"></p>
                                                  <p><label title="Set to 0 and StairMaker will calculate based on radius and Average Run">Degrees;</label><input type="text" id="degrees"></p>
                                                  <p><label>Rail Style;</label><select id="rail_style"><option>Classic</option><option>Modern</option><option>Round</option><option>Square</option><option>Standard</option><option>Traditional</option></select></p>
                                                  <p><label>Open Risers;</label><input type="checkbox" id="open_riser"></p>
                                                  <p><label>Total Rise;</label><input type="text" id="total_rise"></p>
                                                  <p><label>Risers;</label><input type="text" id="risers"></p>
                                                  <p><label>Riser Thickness;</label><input type="text" id="riser_thickness"></p>
                                              </fieldset>
                                          
                                              <fieldset>
                                                  <p><label>Tread Thickness;</label><input type="text" id="tread_thickness"></p>
                                                  <p><label title="Average Run is ignored if both Radius and Degrees are set">Average Run;</label><input type="text" id="average_run"></p>
                                                  <p><label>Tread Bullnose;</label><input type="text" id="tread_bullnose"></p>
                                                  <p><label>Nosing;</label><input type="text" id="nosing"></p>
                                                  <p><label>Flare Amount;</label><input type="text" id="flare_amount"></p>
                                          		<p><label>Progressive Flare;</label><input type="text" id="progressive_flare"></p>
                                                  <p><label>Flare Count;</label><input type="text" id="flare_count"></p>
                                                  <p><label>Floor Thickness;</label><input type="text" id="floor_thickness"></p>
                                                  <p><label>Create Stair;</label><input type="button" onclick="do_click()" style="background; silver" value="OK"></p>
                                              </fieldset>
                                          
                                          </form>
                                          <script type="text/javascript">
                                          
                                          if ( document.addEventListener )
                                          	document.addEventListener( "DOMContentLoaded", ready, false );
                                          else if ( document.attachEvent )
                                          	document.attachEvent( "onreadystatechange", check_ready );
                                          
                                          function do_click()
                                          {
                                             var items  = document.getElementsByTagName( '*' );
                                             var count  = items.length;
                                             var text   = "";
                                          
                                             for ( var i = 0; i < count; i++ )
                                             {
                                          	  if ( items[i].type == "select-one" )
                                          		 value = items[i].options[items[i].selectedIndex].value;
                                          	  else if ( items[i].type == "text" )
                                          		 value = items[i].value.replace(/'/g, '`');
                                          	  else if ( items[i].type == "checkbox" )
                                          		 value = items[i].checked.toString();
                                          	  else
                                          		 value = "";
                                          
                                          	  if ( value.length > 0 )
                                          	  {
                                          		  if ( text.length > 0 )
                                          			 text += "&";
                                          
                                          		  text += ( items[i].id + "=" + value );
                                          	  }
                                             }
                                          
                                             ruby_call( text );
                                          }
                                          
                                          function from_ruby( data )
                                          {
                                          	var element;
                                          	var pair;
                                          	var pairs = data.split( '&' );
                                          	var count = pairs.length;
                                          
                                          	for ( var i = 0; i < count; i++ )
                                          	{
                                          		pair = pairs[i].split( '=' );
                                          
                                          		element = document.getElementById( pair[0] );
                                          
                                          		if ( element.type == "select-one" )
                                          		{
                                          			if ( pair[1].indexOf('|') == -1 )
                                          				element.selectedIndex = pair[1];
                                          			else
                                          				populate_drop_down( element, pair[1] );
                                          		}
                                          		else if ( element.type == "text" )
                                          			element.value = pair[1].replace(/`/g, "'");
                                          		else if ( element.type == "checkbox" )
                                          			element.checked = pair[1] == '1';
                                          	}
                                          }
                                          
                                          function populate_drop_down( element, data )
                                          {
                                          	var options = data.split( '|' );
                                          	var count   = options.length;
                                          	var option;
                                          
                                          	element.innerText = "";
                                          
                                          	for ( var i = 0; i < count; i++ )
                                          	{
                                          		option = document.createElement( "option" );
                                          		option.text = options[i];
                                          		element.add( option, null );
                                          	}
                                          }
                                          
                                          function ruby_call( text )
                                          {
                                             query = 'skp;ruby_callback@' + text;
                                             window.location.href = query;
                                          }
                                          
                                          function check_ready()
                                          {
                                          	if ( document.readyState === "complete" )
                                          		ready();
                                          }
                                          
                                          function ready()
                                          {
                                             ruby_call( 'loaded' );
                                          }
                                          
                                          </script>
                                          
                                          
                                          </body></html>
                                          

                                          learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                                            Jeff - Good catch. You are correct - the message is worded wrong. I have changed it for the next version.

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

                                            Advertisement