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

    Edges: Remove any Material assigned to an edge?

    Scheduled Pinned Locked Moved Plugins
    20 Posts 5 Posters 2.4k 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.
    • JClementsJ Offline
      JClements
      last edited by

      @tig said:

      So the correct usage is, if you want to process hidden/smoothed edges, first use View > Hidden Geometry > ON, then those edges can be in the selection selected.
      ...

      That is exactly what I was hoping for.

      Hope hope your wife is feeling better.

      John | Illustrator | Beaverton, Oregon

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

        It would be possible to remove material from un-preselected 'hidden' edges [it already does that to any hidden edges inside preselected 'containers']
        It first needs to assemble a list of all faces associated with the preselected edges, then it has to look at those edges and if any are hidden/smoothed etc and they have a material it is also removed - such hidden edges could be reported separately ?
        So do you want it to do this ?
        Do you want it to be optional - i.e. a Y/N dialog asks if any hidden edges might be processed ?
        It could ask this in select geometry AND select containers...
        I'll prepare a version for this...

        TIG

        1 Reply Last reply Reply Quote 0
        • JClementsJ Offline
          JClements
          last edited by

          Sure, a Yes/No would be fine. I hadn't considered that there would be away to do that.

          John | Illustrator | Beaverton, Oregon

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

            Try this attached version.
            If your selected edges support faces which have some non-preselected hidden/smoothed edges, OR the preselected surface[s] have hidden/smoothed edges, which also have materials, then you are prompted to process them.
            The closing Report dialog also lists how many of the processed edges were 'hidden/smoothed and non-preselected'...


            TIG-RemoveEdgeMaterial.rb

            TIG

            1 Reply Last reply Reply Quote 0
            • JClementsJ Offline
              JClements
              last edited by

              Nice job.

              Seems to work well.

              Thanks, again.

              John | Illustrator | Beaverton, Oregon

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                Can you put a little image for show what is a "material assigned to an edge" ?

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • JClementsJ Offline
                  JClements
                  last edited by

                  Palou:
                  Download and install TIG's latest .rb file.

                  Open the attached skp file

                  View Scene 1 which has View Hidden Edges turned OFF and then Scene 2 which has View Hidden Geometry turned ON and notice that smoothed edges of the cylinder are colored red.
                  edge colors.JPG

                  While on Scene 1, select all the geometry, go the the Edit menu, TIG's plugin should be listed near the bottom of the menu, click on it and follow the instructions (Choose Yes to process hidden edges).

                  Now go to Scene 2, and notice that the smoothed edges which were not visible in Scene 1 have been recolored to the Default edge color as well as all the other edges.

                  TEST su2015.skp

                  John | Illustrator | Beaverton, Oregon

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    Thx very educative! 😎

                    Remove edge material.jpg

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • jujuJ Offline
                      juju
                      last edited by

                      How often does everyone experience this problem where edges have materials applied?

                      Save the Earth, it's the only planet with chocolate.

                      1 Reply Last reply Reply Quote 0
                      • JClementsJ Offline
                        JClements
                        last edited by

                        I've noticed, mostly from models from the 3D warehouse or from folks new to SU, that there seems to have been unintended edge-coloring. Normally, I wouldn't have noticed, except when doing more "artzy" modeling or when emphasizing functional elements in the model such as process equipment and I turn on Edge Style > Color by Material.

                        I know that I have often been in a hurry, triple-clicked surfaces or done a Select All and applied a material to edges mistakenly.

                        So the script is handy for reviewing a model and doing a quick cleanup.

                        John | Illustrator | Beaverton, Oregon

                        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