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

    [Plugin] Axo + Iso View v1.2 20101117

    Scheduled Pinned Locked Moved Plugins
    84 Posts 34 Posters 212.8k Views 34 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.
    • pilouP Offline
      pilou
      last edited by

      The more funny is that you have "main" in English but it's another story πŸ’š

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

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

        Looks like it works TIG, thanks.

        When I downloaded it the file was called avo%2Biso.rb It appears to work fine thought, just thought I would let you know.

        1 Reply Last reply Reply Quote 0
        • P Offline
          penumbradesign
          last edited by

          TIG

          This is awesome! Thanks!

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lersince1991
            last edited by

            Hi, this is so helpful! Thanks so much.
            I was just wondering if you would be able to give a more exact figure to the "9.524" figure you've quoted.
            I'm using this to export my architectural drawings in axo to scale. a few more decimals would be fine πŸ˜„ but yeh the more accurate the better. in the last drawing I exported to autocad with this the measurements were nearly there, but 176mm out on just a height of 3500mm (before scaled). on a directly vertical line

            Thanks again!
            Luke

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              @lersince1991 said:

              Hi, this is so helpful! Thanks so much.
              I was just wondering if you would be able to give a more exact figure to the "9.524" figure you've quoted.
              I'm using this to export my architectural drawings in Axo to scale. a few more decimals would be fine πŸ˜„ but the more accurate the better. in the last drawing I exported to AutoCAD with this the measurements were nearly there, but 176mm out on just a height of 3500mm (before scaled). on a directly vertical line
              Thanks again!
              Luke

              Luke...
              Can you try a few options to see what works best - I established the ~9.524 mathematically.
              If your 176mm in 3500mm is correct [and not a result of other factors] then the figure needs to be adjusted not by a few decimal places but either ~9.476104 or ~10.002924 depending which way the error seems to be more or less...

              TIG

              1 Reply Last reply Reply Quote 0
              • L Offline
                Lersince1991
                last edited by

                Sure, thanks for the quick response.

                its the same on every system and model isn't it? no need to change the factor every time, just need to tweak it slightly πŸ˜„

                Heres some data for you based on a cube 3500x3500x3500mm
                (scale factor) = (45 degree line) & (90 degree line)

                9.476104 = 3489.3444 & 3657.4247
                9.5724 = 3489.3444 & 3675.9107
                10.002924 = 3489.3444 & 3860.7576

                Ideal is of course...

                (x) = 3500 & 3500

                Cheers,
                Luke.

                1 Reply Last reply Reply Quote 0
                • L Offline
                  Lersince1991
                  last edited by

                  Got a final figure for you, pretty accurate but will update if I find the need to go more decimal places, for now I dont know how to see the exact figure from autocad.

                  basically the cal is.

                  3500mm (actual height) / 385.9629 (exported height from axo4545) = transform scale

                  Working between autocad and sketchup pro 8
                  should be the same for all though

                  Luke.

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    Lersince1991
                    last edited by

                    sorry forgot to add the actual z scale factor = 9.068229097
                    this produces 3500.0001 in autocad πŸ˜„
                    but the 45 degree angled lines aren't quite there with a dimension of 3489.3444mm instead of 3500. although they are at the correct angles (45 and 315 or... -45)

                    Luke Riggall

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      Lersince1991
                      last edited by

                      and...
                      scale factor for the x and y sides (proportionate) is 1.003053754

                      can anyone confirm both of these?
                      if so could these be made into actions (scripts?) in order to prevent all this decimal typing lol.

                      Good stuff πŸ˜„
                      Luke

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        So can we agree on a final vertical scaling factor, to export the perfect 2D Axo and I think about a script to do it...
                        πŸ˜•

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          Lersince1991
                          last edited by

                          A script would be great.
                          heres the final values, I've done them to a bit more of an accuracy, accurate to more than 1mm for models under 100,000m so yeh pretty solid figures.

                          I would scale all axis to get them accurate,

                          blue (z) axis scale value = 9.068228873
                          red axis scale value = 1.003053768
                          green axis scale value = 1.003054401

                          see what script you can do, typing that in every time gets boring lol

                          Luke

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            Thanks... I'll cogitate over an automation...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by

                              Here's an update - v1.2 http://forums.sketchucation.com/viewtopic.php?p=252273#p252273
                              It now auto scales the whole model to distort it so that 3d axos will look right - using:
                              axo_scale
                              and undoes that scaling with:
                              axo_restore_scale
                              Use these tools with care!

                              TIG

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

                                Great plugin TIG!

                                A few suggestions/requests/bugs from a test I did with 2 cubes:

                                1.If you run axo4545 and then axo_scale - it cuts the top of the cubes. only if you run axo4545 again it works out for some reson...

                                2.Axo_restore_scale gives me the following error :
                                axo_restore_scale
                                Error: #<NameError: (eval):149: undefined local variable or method `axo_restore_scale' for main:Object>
                                (eval):149

                                3.Is it possible to show shadows correctly after you run axo_scale?

                                4.Is it possible to change the axis of alignment? the reason is because I need the shadows to be to the right , at normal usage I just orbit to bring the red axis down , but here I can't of course
                                for now I just do an horizontal flip on photoshop but just wondering if it's possible to setup easily

                                Thanks again for making such a great plugin

                                1 Reply Last reply Reply Quote 0
                                • TIGT Offline
                                  TIG Moderator
                                  last edited by

                                  @gutz said:

                                  Great plugin TIG!

                                  A few suggestions/requests/bugs from a test I did with 2 cubes:

                                  1.If you run axo4545 and then axo_scale - it cuts the top of the cubes. only if you run axo4545 again it works out for some reason...

                                  2.Axo_restore_scale gives me the following error :
                                  axo_restore_scale
                                  Error: #<NameError: (eval):149: undefined local variable or method `axo_restore_scale' for main:Object>
                                  (eval):149

                                  3.Is it possible to show shadows correctly after you run axo_scale?

                                  4.Is it possible to change the axis of alignment? the reason is because I need the shadows to be to the right , at normal usage I just orbit to bring the red axis down , but here I can't of course
                                  for now I just do an horizontal flip on photoshop but just wondering if it's possible to setup easily

                                  Thanks again for making such a great plugin

                                  1. Sound like the notorious 'clipping issue' is your model very big, very small or far away from the origin ?
                                  2. 'axo_restore_scale' should be axo_scale_restore - my typo in the help section 😳
                                  3. The shadows will become distorted by the vertical scaling factor - if you want '45 degree' shadows I suppose we just need to find a long/lat/date/time where the 'scale' objects cast shadows that look as desired ? Set it as a Style that only retains those changes... If you play around with the shadow settings and advise what you'd like to do I can see if it's scriptable...
                                  4. I can't see how to have other axes [easily] - rotating the exported image in PS or Gimp is probably the easiest solution...

                                  TIG

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

                                    @tig said:

                                    @gutz said:

                                    Great plugin TIG!

                                    A few suggestions/requests/bugs from a test I did with 2 cubes:

                                    1.If you run axo4545 and then axo_scale - it cuts the top of the cubes. only if you run axo4545 again it works out for some reason...

                                    2.Axo_restore_scale gives me the following error :
                                    axo_restore_scale
                                    Error: #<NameError: (eval):149: undefined local variable or method `axo_restore_scale' for main:Object>
                                    (eval):149

                                    3.Is it possible to show shadows correctly after you run axo_scale?

                                    4.Is it possible to change the axis of alignment? the reason is because I need the shadows to be to the right , at normal usage I just orbit to bring the red axis down , but here I can't of course
                                    for now I just do an horizontal flip on photoshop but just wondering if it's possible to setup easily

                                    Thanks again for making such a great plugin

                                    1. Sound like the notorious 'clipping issue' is your model very big, very small or far away from the origin ?
                                    2. 'axo_restore_scale' should be axo_scale_restore - my typo in the help section 😳
                                    3. The shadows will become distorted by the vertical scaling factor - if you want '45 degree' shadows I suppose we just need to find a long/lat/date/time where the 'scale' objects cast shadows that look as desired ? Set it as a Style that only retains those changes... If you play around with the shadow settings and advise what you'd like to do I can see if it's scriptable...
                                    4. I can't see how to have other axes [easily] - rotating the exported image in PS or Gimp is probably the easiest solution...

                                    Wow that was fast respone πŸ˜„

                                    1.Ok , It's happening only on rare occasions with v8 ( last time I tried it with v6 ) so it's really minor
                                    2.Working great!
                                    3.How do I set it as a Style? ( I'm new with sketchup so sorry if it's a dumb question , but I couldn't find it also in the help section.. )
                                    4.Will do , Thanks πŸ˜„

                                    I've attached the example i'm working with
                                    The image is flipped horizontally and thats what i need to accomplish eventually ( of course with the z factor correctly )

                                    Thanks again for all the help
                                    Gutz


                                    Axo Test.skp


                                    Untitled.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by

                                      To save your shadow settings use a new Scene tab that retains the shadows as set in your Style.
                                      Make a copy of the Style with those shadows set and nothing else.
                                      Then you should be able to click the Shadows Scene tab and then nothing else changes except the shadows swap to your settings.
                                      You can export a Style and re-import it into another model OR have it set as one of the styles in your normal template, so all new models get that style as one of the available ones...Capture.PNG

                                      TIG

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

                                        Maybe I'm doing something wrong , But it saves the "Shadow settings" ( time , date etc. ) and not the shadow itself
                                        So I'm only getting the direction of the shadow and not the actual shadow from the unscaled model

                                        Thanks

                                        1 Reply Last reply Reply Quote 0
                                        • TIGT Offline
                                          TIG Moderator
                                          last edited by

                                          @gutz said:

                                          Maybe I'm doing something wrong , But it saves the "Shadow settings" ( time , date etc. ) and not the shadow itself
                                          So I'm only getting the direction of the shadow and not the actual shadow from the unscaled model
                                          Thanks

                                          You can only save 'the shadows' as an exported image, the 'shadow-settings' are remembered with the style...

                                          TIG

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

                                            Sorry but I don't understand how to do it
                                            Can you make an example?

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

                                            Advertisement