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

    Select Visible geometry

    Scheduled Pinned Locked Moved Developers' Forum
    5 Posts 2 Posters 651 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.
    • Al HartA Offline
      Al Hart
      last edited by

      OK - here is Al again, trying to see if someone has already written something before we try to write it.

      A client asks:

      @unknownuser said:

      Is there a way for sketch-up to only process what is visible

      I explained:

      @unknownuser said:

      We don't have anything like that yet.

      We have avoided it, because sometimes "invisible" items are included in reflections or shadows, lighting, or might add indirect, lighting.

      Also, by "invisible", we would mean - not visible on the screen in wire frame mode - we would not mean "behind a wall", behind glass, in a recessed ceiling, etc."

      Still, it might be a nice feature. Does anyone have a ruby which selects or identifies visible, (top level), geometry only that he could use to select "visible" items, (and then use our "process selected items only" features?

      Al Hart

      http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
      IRender nXt from Render Plus

      1 Reply Last reply Reply Quote 0
      • honoluludesktopH Offline
        honoluludesktop
        last edited by

        Al, There is a snippet developed and posted here by Chris F. that scans the SketchUp window one pixel at a time, and identifies the face at that location. Not 100% accurate, but perhaps you can start with that?

        1 Reply Last reply Reply Quote 0
        • Al HartA Offline
          Al Hart
          last edited by

          Ah I wish I had that elusive link to Chris's script or the thread that mentions it.

          I tried searching for "one pixel" and for "invisible" but I didn't find it.

          http://t1.gstatic.com/images?q=tbn;ANd9GcS57HjLrDqZ7AmiY5ko_2gH_1nNUBPodM-IGmtCOXfIZqPVlUOktg

          Al Hart

          http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
          IRender nXt from Render Plus

          1 Reply Last reply Reply Quote 0
          • Al HartA Offline
            Al Hart
            last edited by

            @honoluludesktop said:

            Al, There is a snippet developed and posted here by Chris F. that scans the SketchUp window one pixel at a time, and identifies the face at that location. Not 100% accurate, but perhaps you can start with that?

            Thanks for the idea. This is probably what the client really wanted - only those faces which we actually visible on the screen.

            I was looking for the opposite - the components or other geometry whose bounding box contains, or intersects the screen.

            Both might be handy

            Al Hart

            http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
            IRender nXt from Render Plus

            1 Reply Last reply Reply Quote 0
            • honoluludesktopH Offline
              honoluludesktop
              last edited by

              If locating the faces is sufficient, you can start with my code here. Just noticed that there is a link to Chris's post too.

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

              Advertisement