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

    [Plugin] Hide Overlapping Geometry (Updated 20150511)

    Scheduled Pinned Locked Moved Plugins
    29 Posts 10 Posters 8.0k Views 10 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.
    • PixeroP Offline
      Pixero
      last edited by

      Thanks for version 2. That seems to work well now. πŸ‘
      Would you please also add a "Show overlapping edges"?
      When for example designing a multi floor facade it would be great to hide the edges to see how the whole facade looks and then it could be useful to turn the edges back on for viewing the different floors.

      1 Reply Last reply Reply Quote 0
      • C Offline
        CAUL
        last edited by

        @pixero said:

        Thanks for version 2. That seems to work well now. πŸ‘
        Would you please also add a "Show overlapping edges"?
        When for example designing a multi floor facade it would be great to hide the edges to see how the whole facade looks and then it could be useful to turn the edges back on for viewing the different floors.

        Maybe the possibility to move the geometry to a specific layer is enough? Then you can turn the visibility of the layer on and off.

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          Yes that would do. πŸ˜„

          1 Reply Last reply Reply Quote 0
          • JQLJ Offline
            JQL
            last edited by

            If you're developing that, could we define the layer's name by tinkering with rb?

            www.casca.pt
            Visit us on facebook!

            1 Reply Last reply Reply Quote 0
            • ntxdaveN Offline
              ntxdave
              last edited by

              Feeling really dumb. I created a box and then duplicated it and drug the corner of one box to the corners of the other box. I tried double clicking one of the boxes and then used the selection box to select both boxes. When I clicked on the Hide Overlapping Geometry, the overlapping geometry was not hidden.

              I tried Dave's approach of flipping one of the boxes (that was the only change), clicked the Hide Overlapping Geometry and it worked as it should.

              Not sure what I did wrong with the first approach.

              1 Reply Last reply Reply Quote 0
              • C Offline
                CAUL
                last edited by

                @jql said:

                If you're developing that, could we define the layer's name by tinkering with rb?

                The current version lets you select an existing layer.

                @ntxdave said:

                Feeling really dumb. I created a box and then duplicated it and drug the corner of one box to the corners of the other box. I tried double clicking one of the boxes and then used the selection box to select both boxes. When I clicked on the Hide Overlapping Geometry, the overlapping geometry was not hidden.

                I'm not sure what you're doing wrong (if anything). Do you have a sample model?

                1 Reply Last reply Reply Quote 0
                • ntxdaveN Offline
                  ntxdave
                  last edited by

                  @caul said:

                  @ntxdave said:

                  Feeling really dumb. I created a box and then duplicated it and drug the corner of one box to the corners of the other box. I tried double clicking one of the boxes and then used the selection box to select both boxes. When I clicked on the Hide Overlapping Geometry, the overlapping geometry was not hidden.

                  I'm not sure what you're doing wrong (if anything). Do you have a sample model?

                  I have attached a VERY simple model that just has two boxes. Flipping one of them works fine. Where I am messing us is with the double click method. When I double click on one, how do I then select the other one so that I can then apply your plugin to the 2 of them. This is making me feel really dumb........


                  Two Boxes.skp

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    CAUL
                    last edited by

                    @ntxdave said:

                    I have attached a VERY simple model that just has two boxes. Flipping one of them works fine. Where I am messing us is with the double click method. When I double click on one, how do I then select the other one so that I can then apply your plugin to the 2 of them. This is making me feel really dumb........

                    You should not enter (double click) any of the components, just select the two components and run the script.

                    1 Reply Last reply Reply Quote 0
                    • ntxdaveN Offline
                      ntxdave
                      last edited by

                      @caul said:

                      @ntxdave said:

                      I have attached a VERY simple model that just has two boxes. Flipping one of them works fine. Where I am messing us is with the double click method. When I double click on one, how do I then select the other one so that I can then apply your plugin to the 2 of them. This is making me feel really dumb........

                      You should not enter (double click) any of the components, just select the two components and run the script.

                      The problem I am having is exactly as Pilou described in this post:

                      @pilou said:

                      Ok! But seems there is a little glitch! πŸ˜‰
                      A simple copy box (Group)
                      [attachment=0:1y0rgddy]<!-- ia0 -->overlap1.gif<!-- ia0 -->[/attachment:1y0rgddy]

                      In another post, @JQL summarized the situation very well:

                      @jql said:

                      @pilou said:

                      YEP! Excellent! πŸ‘
                      What make exactly this double click ?

                      When you create a group and copy it, it is just like any component, and you get duplicate instances of the same definition (duplicate groups behaving like duplicate components).

                      However, if you double-click it, you edit it, and even if you do nothing on it, it is made into a different definition, therefor "unique".

                      What happened is that the plugin hide the face of a group behaving as a component and in doing so it hid the face of both components. If you'd flipped it like Dave suggested, you wouldn't see the problem.

                      However, I am doing something that should be very basic, very wrong. When I double-click one of the boxes it seems to not be becoming unique so I am not sure what I am doing wrong.

                      Good news is that I do get it to work fine if I slect one of the boxes and then right-click and select make unique, it does work for me. So I guess my real question (based on these posts is why does the box not become unique when I double-click it or am I not understanding the instructions correctly?

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

                        @ntxdave said:

                        Good news is that I do get it to work fine if I slect one of the boxes and then right-click and select make unique, it does work for me. So I guess my real question (based on these posts is why does the box not become unique when I double-click it or am I not understanding the instructions correctly?

                        The answer is in your question. πŸ˜‰

                        Your box is a component, not a group. If it were a group, you wouldn't see the Make Unique option in the Context menu. And just opening a component for editing won't make it unique. (That would be counterproductive.)

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • ntxdaveN Offline
                          ntxdave
                          last edited by

                          @dave r said:

                          @ntxdave said:

                          Good news is that I do get it to work fine if I slect one of the boxes and then right-click and select make unique, it does work for me. So I guess my real question (based on these posts is why does the box not become unique when I double-click it or am I not understanding the instructions correctly?

                          The answer is in your question. πŸ˜‰

                          Your box is a component, not a group. If it were a group, you wouldn't see the Make Unique option in the Context menu. And just opening a component for editing won't make it unique. (That would be counterproductive.)

                          See, I told everyone it was a dumb question. I deleted the 2nd box, exploded the first one, and then made it a group. Used the move tool to make the 2nd copy, double-clicked it and you guessed it, it worked.

                          Thanks Dave for pulling my head out of my posterior. πŸ‘

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

                            Not a dumb question. Sometimes it's the little things that make all the difference, though.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

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

                            Advertisement