sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Camera totally lost, ans Zoom Extents doesn't help

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    19 Posts 6 Posters 1.3k Views 6 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.
    • Dave RD Offline
      Dave R
      last edited by

      It looks to me as if you deleted all the geometry in the component while it was open for editing. That'll certainly cause you problems. I guess I'd start over.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • cottyC Offline
        cotty
        last edited by

        @dave r said:

        It looks to me as if you deleted all the geometry in the component while it was open for editing. That'll certainly cause you problems. I guess I'd start over.

        If you edit the piano component and select all entities, there are 826 entities:
        piano_entities.jpg

        If you use the position camera tool, you get this eye height:
        eyeheight.jpg

        πŸ˜•

        my SketchUp gallery

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

          Yeah, I don't know what happened ><

          Don't bother, the piano is the only thing I can rebuild without problem, as I have the measures.

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

            m=Sketchup.active_model #<Sketchup::Model:0x5ae8378> bb=m.bounds #<Geom::BoundingBox:0x88ce15c> bb.min Point3d(-3.06746, 0, -1.1692e+049) bb.max Point3d(53.2677, 9.35361e+049, 12.0827)
            Clearly something nasty is a zillion miles away πŸ˜’
            Those values are astronomical !

            TIG

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

              Ah ha! It is the distant geometry thing.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                At 9.35361e+049 inches
                Something is @
                1,476,264,204,545,454,550,000,000,000,000,000,000,000,000,000 miles
                from the origin !
                OR
                ~25,112,920,5364,175,316,000,000,000,000,000,000 light-years
                which is a LOT more than the diameter of the Milky Way Galaxy @
                ~120,000 light-years
                OR the observable Universe itself @
                ~93,000,000,000 light-years
                πŸ˜’
                However, if you Select All, get the Component and then Explode it etc... then query the Edges in the model [there are only Faces and Edges in it] - for 'small' and 'large' we get this:
                Sketchup.active_model.entities.grep(Sketchup::Edge).each{|e| p e.length.to_mm if e.length < 0.25.mm || e.length > 1500.mm} 0.0639867005970645 0.0639867005970814
                The very tiny edges could cause issues but this suggests that some of them are simply far far away ?
                This code finds just one culprit:
                Sketchup.active_model.entities.grep(Sketchup::Edge).each{|e|p e.bounds.max if e.bounds.max.y > 10.m} Point3d(0.19685, 9.35361e+049, -1e+030)
                So we can delete it thus:
                Sketchup.active_model.entities.grep(Sketchup::Edge).each{|e|e.erase! if e.bounds.max.y > 10.m}
                Then a Zoom-extents works... and all is well again ! 😍
                A v8 of the fixed SKP is attached... πŸ˜„


                Capture.PNG


                Buggy Piano Component.skp

                TIG

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

                  That has to set a record for most distant geometry in SketchUp.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 Reply Last reply Reply Quote 0
                  • BoxB Offline
                    Box
                    last edited by

                    Did you find a talking donkey at far far away.

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

                      Woah, thanks TIG.

                      Next time I'll try not to destroy the space-time continuum πŸ˜„

                      1 Reply Last reply Reply Quote 0
                      • ely862meE Offline
                        ely862me
                        last edited by

                        I believe Tig has just discovered a way to reduce the time of the light-year travel ! πŸ˜„

                        Elisei (sketchupper)


                        Before no life was done on Earth it was THE LIFE ITSELF...GOD
                        Come and See EliseiDesign

                        1 Reply Last reply Reply Quote 0
                        • cottyC Offline
                          cotty
                          last edited by

                          @ely862me said:

                          I believe Tig has just discovered a way to reduce the time of the light-year travel ! πŸ˜„

                          I'm looking forward to the day he implements this technique in his plugins to increase their speed πŸ˜„

                          my SketchUp gallery

                          1 Reply Last reply Reply Quote 0
                          • ely862meE Offline
                            ely862me
                            last edited by

                            @cotty said:

                            @ely862me said:

                            I believe Tig has just discovered a way to reduce the time of the light-year travel ! πŸ˜„

                            I'm looking forward to the day he implements this technique in his plugins to increase their speed πŸ˜„

                            I believe that are not his plugins that are not up to speed, but the universe we use them in .

                            Elisei (sketchupper)


                            Before no life was done on Earth it was THE LIFE ITSELF...GOD
                            Come and See EliseiDesign

                            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