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

    Delete lines..

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    10 Posts 5 Posters 589 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.
    • T Offline
      Tinux
      last edited by

      Hello !

      I want to know if a script or something exists to auto delete lines which aren't usefull.. see attachment.
      (the 3d was made in autocad, exported in 3ds model and then imported in sketchup)

      Thanx 😎 .


      test.JPG

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        Hi Tinux, welcome to the SCF.

        There is a cleanup script posted here - it cleans up edges that are not needed.

        http://www.sketchucation.com/forums/scf/viewtopic.php?f=10&t=9011&p=58654#p58654

        Hi

        1 Reply Last reply Reply Quote 0
        • T Offline
          Tinux
          last edited by

          Hi jim,

          I've copied 'cleanup.rb' in my plugins folder, but when SU launch, i've an error message saying that cleanup can't run :

          undefined method `file_loaded?' for main:Object

          1 Reply Last reply Reply Quote 0
          • T Offline
            Tinux
            last edited by

            Oups sorry, it works now πŸ˜›

            thx for ur tut : http://jim.foltz.googlepages.com/ruby_getting_started.htm πŸ˜›

            1 Reply Last reply Reply Quote 0
            • AnssiA Offline
              Anssi
              last edited by

              Note that when importing 3DS files SU does most of this job for you if you check "merge coplanar faces" in the import Options dialog (button in the right bottom portion of the import File dialog box)

              Anssi

              securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

              1 Reply Last reply Reply Quote 0
              • T Offline
                Tinux
                last edited by

                Hello Anssi !

                Thx for the tip too, but it works less well than Jim's script on my project (maybe because i don't really build it well in autocad), but Jim's script correct all of these mistakes πŸ˜›

                1 Reply Last reply Reply Quote 0
                • T Offline
                  Tinux
                  last edited by

                  Hi another question which looks like the first one..

                  Is it possible to do the same thing but for curving surfaces (see attachment) ? : it's easier after to apply textures


                  test2.jpg

                  1 Reply Last reply Reply Quote 0
                  • GaieusG Offline
                    Gaieus
                    last edited by

                    Have a look at deletecoplanaredges.rb in the ruby library depot.

                    It can be used to delete those triangulating lines.
                    Be careful however; it will delete all edges on a divided face if the faces aren't painted differently, so try to avoid using it at an early stage of modeling (drawing house plans for instance).

                    Also, sometimes it deletes other edges > faces,too.

                    You will find it at the bottom of the Edit menu after installation.

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Tinux
                      last edited by

                      Thx Gaieus, it's a quite difficult to use it correctly, i'll train before work on the model πŸ˜›

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        If I know something is curved, and not coplanar, I'll often just use the erase tool and hold down ctrl. That makes it soften and smooth all the edges that you run it over. It is a very fast and effective way to clean up parts by hand.

                        You want to becareful to not smooth too many lines that are coplanar and should just be deleted though. Well, I don't know what would happen, but it seems like that would just add unnecessary geometry I guess.

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

                        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