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.
    • 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
                            • S Offline
                              StamatisPsarras
                              last edited by

                              Hi m8 very nice plugin! Do you know (or anyone else πŸ˜›) how i can me an isometric view facing a section cut? Before your plugin we could only have front/bacl/left/right/top I am asking if there is a way to make "perpedicular to section cut" or something like that...

                              ty for your help and efford to create this plug in πŸ˜„

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

                                ok my bad...I just realised (after some years! 😳 ) that it is already supported by right clicking on a section cut and selecting "align view"

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

                                  Thanks!

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

                                    I have managed to install the Axo plugin detailed in your comment below, but am looking to alter the viewing angle on the view so I get more of a front view of the buildings... but still with Axo4545 properties. At the moment you see too much of the roof, its near top view on.

                                    Is there anyway you know of to alter this? Or do you know anywhere I might be able to find this out?

                                    1 Reply Last reply Reply Quote 0
                                    • V Offline
                                      vlung88
                                      last edited by

                                      oh yeah...

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

                                        Hey TIG,

                                        I've done many many many exports with this doing architecture at uni, also loads of other people use it because of me too. I was wondering if it would be possible to make some buttons for it I can put on my toolbar which would be very useful!?

                                        Thanks again πŸ˜„
                                        Luke

                                        http://www.lukeriggall.co.uk

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

                                          @lersince1991 said:

                                          Hey TIG,

                                          I've done many many many exports with this doing architecture at uni, also loads of other people use it because of me too. I was wondering if it would be possible to make some buttons for it I can put on my toolbar which would be very useful!?

                                          Thanks again πŸ˜„
                                          Luke

                                          http://www.lukeriggall.co.uk
                                          Making a toolbar is relatively straightforward.
                                          Write a separate .rb file that has an initial 'require' to this tool's .rb file.
                                          Define a toolbar.
                                          Define a 'command' referring to a tool - this already seen in the console code that runs it...
                                          A 'command' can also have tooltips, status_bar_text, buttons assigned to it etc [make the button's PNG icons in a subfolder [AxoIsoPNGs?] and you path to those].
                                          Now add the 'command' to the new toolbar.
                                          Repeat as needed...
                                          As well as making buttons for the various view changers you might want to have ones for the scale/restore options...
                                          When your file auto-loads as Sketchup starts up it will make the toolbar...
                                          Here's a start...
                                          ` require 'axo+iso.rb'

                                          toolbar=UI::Toolbar.new("Axo+Iso")
                                          toolbar.restore if new_toolbar.get_last_state==TB_VISIBLE

                                          cmd1=UI::Command.new("axo3060"){axo3060()}
                                          png1="AxoIsoPNGs/axo3060.png"
                                          if File.exist?(png1)
                                          cmd1.small_icon=png1
                                          cmd1.large_icon=png1
                                          toolbar.add_item(cmd1)
                                          end
                                          ###`
                                          Repeat for each command, changing the text/png/command-name etc to suit...
                                          Get it working with one command, and then copy the working code down, edit and retest till all functions have working buttons...

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            roks
                                            last edited by

                                            Is this plugin available for Mac?

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

                                            Advertisement