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

    Web dialog on a Mac

    Scheduled Pinned Locked Moved Developers' Forum
    69 Posts 9 Posters 7.3k Views 9 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 use decimal millimeters with 3 decimals of precision or greater
      I have tested with decimal inches with 3 decimals of precision or greater
      I have also tested with fractional inches at 1/64" precision.

      But I haven't tested using all the different choices.
      The defaults.txt file supports mm and decimal inches for defaults.
      Sketchup should convert these values to the appropriate units.

      There is a sketchup bug that will have trouble with fractions in inches.
      This problem also exists with the built in inputbox.

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

        Also - Stair Maker doesn't support unit switching after you have used it in the session. However it should honor switching units prior to running the stair maker.

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

          @garry k said:

          Also - Stair Maker doesn't support unit switching after you have used it in the session. However it should honor switching units prior to running the stair maker.

          all i know is this.

          i open a fresh model with Beginning Template - Feet and Inches
          stairMaker doesn't work

          i open a fresh model with Beginning Template - Meters
          stairMaker does work

          dotdotdot

          1 Reply Last reply Reply Quote 0
          • S Offline
            slbaumgartner
            last edited by

            @jeff hammond said:

            @garry k said:

            Also - Stair Maker doesn't support unit switching after you have used it in the session. However it should honor switching units prior to running the stair maker.

            all i know is this.

            i open a fresh model with Beginning Template - Feet and Inches
            stairMaker doesn't work

            i open a fresh model with Beginning Template - Meters
            stairMaker does work

            Confirm that feet+inches does not work, mm does, meters does, fractional inches does. However, after returning to fractional inches from the others without restarting Sketchup, parts of the staircase don't get drawn (is that what you meant by "doesn't support after you have used it in the session"?):

            Screen Shot 2014-02-07 at 12.16.23 PM.png

            Screen Shot 2014-02-07 at 12.16.40 PM.png

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

              I think @Jeff has found the issue... [ 10 points to you, good sir ]

              Engineering Feet Template
              2014-02-07 05.23.33 pm.png

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

              1 Reply Last reply Reply Quote 0
              • S Offline
                slbaumgartner
                last edited by

                This raises an interesting question: does feet&inches also fail on Windows? In other words, is this really a Mac issue at all, or did we just get unlucky (or, if you are trying to eliminate bugs, lucky)?

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

                  @driven said:

                  I think @Jeff has found the issue... [ 10 points to you, good sir ]

                  lucky find based around me thinking steve was british.. as in- what could be different on their computers compared to mine? units! 😆

                  dotdotdot

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

                    Thanks guys

                    I have now tested with Decimal Feet, Engineering Feet and Architectural Feet.
                    All of the 3 models that are feet create an error.

                    All the rest of the models work.
                    This holds true for SU 7, SU 8 and 2013 for Windows.

                    The error is a bit misleading as it appears as a script error on line 1 char 416
                    The interesting part is that the html script doesn't have that many characters on line 1

                    This may be where I pass in a big string, and need to parse it. If that is the case then the defaults.txt file has a value that does not translate over to feet.

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

                      @garry k said:

                      The error is a bit misleading as it appears as a script error on line 1 char 416
                      The interesting part is that the html script doesn't have that many characters on line 1.

                      I thought .rbs files where a single line?

                      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

                        this is a redirect from source to html.
                        When you view source - the html looks properly formatted.

                        It appears to be a script error for the web dialog.

                        Regardless - I'll work on narrowing it down.

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

                          @Steve found the problem, days ago, but we didn't know what it was...

                          with the Eng Feet template the [ " ] designator is attached to the body tag in 'view source' and I get a js error

                          if I close the dlg, switch to metric [still same session ] I get no errors in the js and the body tag is normal...

                          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

                            This issue has been resolved. I am now substituting single quote ' for back tick ` and then back again. This allows us to see the single quote in the web dialog controls.

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

                            Advertisement