• Login
sketchucation logo sketchucation
  • Login
🔌 Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

Fixing Camera Aspect Ratio

Scheduled Pinned Locked Moved Developers' Forum
9 Posts 5 Posters 538 Views 5 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
    Dave R
    last edited by 2 Apr 2009, 18:09

    I was looking at a model I did awhile back and notice it has the gray bars on the sides showing the camera aspect ratio. I thought there was a snippet of code to put in the console to correct that but I searched and couldn't find it. Could someone point me to it? Was there an actual plugin written to correct restore the camera's aspect ratio to the size of the window?

    Etaoin Shrdlu

    %

    (THERE'S NO PLACE LIKE)

    G28 X0.0 Y0.0 Z0.0

    M30

    %

    1 Reply Last reply Reply Quote 0
    • R Offline
      remus
      last edited by 2 Apr 2009, 18:26

      Camera.aspect_ratio=0.0 should do it.

      edit: maybe not, i'll wait for someone who knows what theyre talking about.

      http://remusrendering.wordpress.com/

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 2 Apr 2009, 20:40

        Sketchup.active_model.active_view.camera.aspect_ratio = 0

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 2 Apr 2009, 20:45

          You can also use my V-Ray Toys plugin to set the aspect ratio. http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=15491&p=11972

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • R Offline
            RickW
            last edited by 3 Apr 2009, 20:37

            Or try FixAspectRatio

            RickW
            [www.smustard.com](http://www.smustard.com)

            1 Reply Last reply Reply Quote 0
            • C Offline
              Chris Fullmer
              last edited by 3 Apr 2009, 20:48

              How would you get those grey bars w.o film and stage or through ruby?

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • R Offline
                remus
                last edited by 3 Apr 2009, 21:12

                You can change the aspect ration with skindigo and thomthoms plugin, so i imagine theres a few more plugins out there that change the aspect ratio.

                http://remusrendering.wordpress.com/

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Chris Fullmer
                  last edited by 3 Apr 2009, 21:20

                  I see, thanks.

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Dave R
                    last edited by 4 Apr 2009, 00:45

                    I think I got them with Skindigo.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

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

                    Advertisement