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.
    • 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
          • G Offline
            Gutz
            last edited by

            Sorry for the bump
            But I still can't figure out how to get this to work with shadows correctly shown..

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

              @gutz said:

              Sorry for the bump
              But I still can't figure out how to get this to work with shadows correctly shown..

              I don't know how to get the shadows to look right either... that's up to you by adjusting location, north, date time etc.
              Once you have that save a scene with the only thing fixed as the shadows [as explained].
              Then later you can use that tab to reset shadows to those values again...

              TIG

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

                I think we are not on the same page here , Lets make it a simple question :
                Is it possible to show the model ( even just exporting an image it doesn't matter) with axo_scale , but with shadows shown correctly as if it wasn't scaled?

                If so , can you please make an example?

                Thanks in advance

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

                  @gutz said:

                  I think we are not on the same page here , Lets make it a simple question :
                  Is it possible to show the model ( even just exporting an image it doesn't matter) with axo_scale , but with shadows shown correctly as if it wasn't scaled?
                  If so, can you please make an example?
                  Thanks in advance

                  No.
                  Shadows come from the geometry, if you've scaled it the shadows won't be the same.
                  You could make the axo, export an image with shadows then.
                  Switch off shadows.
                  Now Scale the axo and re-export an image.
                  Use an image editor like Gimp to overlay the scaled image over the [now incorrect] shadows???
                  I fail to see how how the 'wrong shadows' will look right on the scaled skp's image.
                  Can you explain why you need to do this?
                  If you want shadows then shading the scaled version will look right... IF you set the location/date/time appropriately...

                  TIG

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

                    Thanks for the answer , I'll deal with that

                    Its for school ( uni. ) assignment ( 1st year architecture ) , will be pretty hard to explain hehe.. πŸ˜„
                    But thanks again πŸ˜„

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      krit.ja
                      last edited by

                      I need to produce axon45/45 drawings of the Casa Bianchi.
                      But it doesn't work. I typed axo4545 and it said

                      Error: #<NameError: undefined local variable or method `axo4545' for main:Object>
                      (eval)

                      I have both 7Pro and 8pro licensed on mac and pc
                      Please help..

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

                        @krit.ja said:

                        I need to produce axon45/45 drawings of the Casa Bianchi.
                        But it doesn't work. I typed axo4545 and it said
                        Error: #<NameError: undefined local variable or method `axo4545' for main:Object>
                        (eval)
                        I have both 7Pro and 8pro licensed on mac and pc
                        Please help..

                        The version shouldn't be an issue.
                        Have you definitely got a file called ' axo+iso.rb' in the ../Plugins/ folder ?

                        To see where your ../Plugins/ folder is copy paste this line into the Ruby Console + <enter>

                        Sketchup.find_support_file('Plugins')

                        That is the correct folder...

                        You should be able to type in the Ruby Console any of these commands...

                        axo3060 which sets the camera to a 30/60 axonometric view and zooms extents
                        axo6030 which sets the camera to a 60/30 axonometric view and zooms extents
                        axo4545 which sets the camera to a 45/45 axonometric view and zooms extents
                        iso3030 which sets the camera to a 30/60 isometric view and zooms extents

                        The current view changes to the axo/iso format desired and model-extents
                        are zoomed, now zoom in/out and pan BUT DON'T orbit - that would loose the
                        axo/iso-ness; then save that view to a Scene-tab.

                        If you have a 3d axo it needs 'distorting' so that it prints or exports as an image and looks correct.
                        The whole model needs scaling - particularly in the Z axis.
                        There are two tools to do this for you.
                        Use with care and remember to undo the temporary scaling to continue modeling.
                        After setting an axo view type in the Ruby Console + <enter>:

                        axo_scale

                        to scale the whole model, so it is distorted but looks correct.

                        axo_scale_restore

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          krit.ja
                          last edited by

                          Thank you for your fast response!

                          the Sketchup.find_support_file('Plugins') works and it said

                          Sketchup.find_support_file('Plugins')
                          /Users/ja/Library/Application Support/Google SketchUp 7/SketchUp/Plugins

                          But it still say the same when I type axo4545...

                          Anyway, I copy my model and paste it in your example.skp and use the saved scene
                          and then scale it blue/red/green as suggested in

                          @lersince1991 said:

                          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

                          and it works!
                          the scale is super correct when I export .pdf to adjust lineweight in Illustrator.
                          So, Thank you very much TIG and Luke for including the example file and amazing info! πŸ‘ πŸ‘

                          1 Reply Last reply Reply Quote 0
                          • I Offline
                            ivreich
                            last edited by

                            Hi TIG

                            I can't get the axo_scale command to work for me. My sketchup just bug splats after i hit enter. I'm using Sketchup pro 7.1....

                            any ideas what might be going wrong?

                            Cheers

                            Joel

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

                              Any error messages in the Ruby Console ?
                              It should work in all versions of Sketchup... πŸ˜•
                              How complex is your model ?
                              Are you in the model's active_entities rather than inside an 'edit' context ??
                              Puzzling............

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                ivreich
                                last edited by

                                @tig said:

                                Any error messages in the Ruby Console ?
                                It should work in all versions of Sketchup... πŸ˜•
                                How complex is your model ?
                                Are you in the model's active_entities rather than inside an 'edit' context ??
                                Puzzling............

                                No error message. just instant bug splat.

                                The model isn't complex, just a box.

                                Joel

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

                                  @ivreich said:

                                  @tig said:

                                  Any error messages in the Ruby Console ?
                                  It should work in all versions of Sketchup... πŸ˜•
                                  How complex is your model ?
                                  Are you in the model's active_entities rather than inside an 'edit' context ??
                                  Puzzling............

                                  No error message. just instant bug splat.

                                  The model isn't complex, just a box.

                                  Joel

                                  Can you post your problem SKP... πŸ˜•

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    troyhome
                                    last edited by

                                    This is absolutely brilliant!! thanks for this!!

                                    IOviz.com
                                    SU Pro 2024 PC

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

                                      Hello TIG,

                                      found the script late last year. It's really great - thanks! I've been using it occasionally, and it worked fine until last night - the axo_scale command suddenly went rogue. Everything works fine until i type that command, and then nothing else works - I can't change the axo views, I can't use axo_scale_restore. and if I try to restore the scale by using ctrl-z, sketchup will encounter a bug splat. As long as i don't use that scale command, switching between views work fine.

                                      So what I've been doing is save file -> get axo view -> export image -> let it crash -> reopen saved file to continue modeling, but as you can imagine it's not exactly efficient. I'm just wondering if you have any ideas why this happens or have encountered this problem before?

                                      I'm using Version 8.0.3117 if that makes any difference.

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

                                        Unknown problem πŸ˜•
                                        Is there anything weird about your model if you zoom extents etc ?
                                        Is it a long way off the origin ?
                                        Have you run Model > Statistics > Fix... etc ?
                                        πŸ˜’

                                        TIG

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

                                          To answer your questions...

                                          1. nothing weird 😎
                                          2. no...
                                          3. Yes...

                                          The only thing I can think of is that it's really huge... (its a model of a city)

                                          Anyway, some updates... in the exact same skp model, it sometimes work and it sometimes doesn't. I've tried to discover what is it that makes it work and what makes it not work, but so far it just seems completely random. There must be something though...

                                          anyway all it really does is to make me save more often which is a good thing i guess πŸ˜„

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

                                            nice and useful script!

                                            hire me@ http://www.publied.it !

                                            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