• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Troubles Exporting 2D Images

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
4 Posts 2 Posters 174 Views 2 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
    dereknunez
    last edited by 2 Nov 2010, 17:23

    I am trying to export some 2D images. Some are exporting with solid gray bars across the image. Any ideas? I am attaching a couple of images as an example. The first image has 5,568 edges and 2,377 faces. The second, which doesn't show any gray bars has 2,288 edges and 712 faces. Is the number of faces and edges causing the problem? The first images is from a 3D dwg import from Revit. The last was a model made entirely in SketchUp. I am doing this on a MacBook with integrated graphics card. Any help would be greatly appreciated. Thanks.


    5,568 edges 2,377 faces


    2,288 edges 712 faces

    1 Reply Last reply Reply Quote 0
    • D Offline
      dereknunez
      last edited by 2 Nov 2010, 18:03

      Of course, as soon as I post on this I figure out what is the problem. I tried to recall if I had done anything recently to affect the model. I then remembered that I had "Geo-located" the model from within Sketchup. Could this be the problem???? Well, I decided to open up a previous version of the Sketchup model before I did this. Here is the result without the "geo-location". This is the original export from Revit, 4 buildings, interior and exterior elements, all 117,567 faces. And it exported fine. So it must have been due to geo-location and having Sketchup import the location image from Google Earth. Anyone else experienced this? Any way to remedy?


      260,529 edges 117,567 faces

      1 Reply Last reply Reply Quote 0
      • J Offline
        jeff hammond
        last edited by 2 Nov 2010, 18:34

        it's actually being caused by changing the camera's aspect ratio (more likely than not, from a rendering exporter)..

        which renderer are you using? (asking because some of them have their own reset camera feature.. otherwise, there's a snippet of ruby code i'll dig up which will fix it)

        dotdotdot

        1 Reply Last reply Reply Quote 0
        • J Offline
          jeff hammond
          last edited by 2 Nov 2010, 18:44

          here's the code:

          Sketchup.active_model.active_view.camera.aspect_ratio=0.0
          

          copy/past that into the ruby console (Window -> Ruby Console) and press return..
          try exporting again..

          dotdotdot

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

          Advertisement