• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Polyreducer 0.1

Scheduled Pinned Locked Moved Plugins
61 Posts 45 Posters 129.8k Views 45 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.
  • W Offline
    Whaat
    last edited by Whaat 17 May 2008, 03:29

    Update 2019-07-26: Hey there! Polyreducer is a really old and slow plugin! It has a lot of major limitations. If you are looking for a new, fast and incredibly powerful polygon reduction extension for SketchUp, you should check out Skimpat https://skimp4sketchup.com . Skimp can also import and simplify fbx, obj, stl, among other file formats.

    Below is the original post from 2008.


    Hi all,

    I want to release this script so I can get on to other things. It's not perfect but it works pretty well. I don't know if I will work on this script any more. Anyone is free to take over where I left off.

    If anyone is interested, I have also attached the reference material for the algorithm that the plugin is based on. (Thanks to Stan Melax for the article)

    Usage:

    1. Select the faces that you want to perform the reduction on.
    2. Right click and select 'Polyreduce' from the context menu.
    3. Input the percentage reduction. For example, select 20 to reduce the number of vertices by 20%.
    4. A recommended workflow is to perform several reductions using a smaller percentage (50% or less). Then, use the 'undo' and 'redo' commands to cycle through the reduction operations to choose the level of detail you are most satisfied with.

    Issues:

    1. It is highly recommended not to use this plugin on faces that have free edges. It will likely not work as expected.
    2. The plugin must triangulate all faces that are connected to the selected faces prior to performing the reduction.
    3. The plugin is quite slow and may cause SketchUp to hang. It is usuallly successful in completing the reduction if given enough time.
    4. Material assignment is maintained but UVs (texture position) are not.

    hebe2.jpg


    Polyreduction Alogrithm.pdf


    polyreduce.rb

    SketchUp Plugins for Professionals

    1 Reply Last reply Reply Quote 0
    • B Offline
      boofredlay
      last edited by 17 May 2008, 04:10

      Thanks Dale. This should prove very useful indeed.
      I just got your Subdivide and Smooth tonight... starting to play.

      http://www.coroflot.com/boofredlay

      1 Reply Last reply Reply Quote 0
      • L Offline
        lewiswadsworth
        last edited by 17 May 2008, 05:03

        Thank you, Dale.

        I had an interesting conversation with John Bacus and several other Google people about your recent scripts at the AIA convention today (or rather yesterday). I'll summarize sometime tomorrow (its 1:30 AM, and I've been grading assignments for the past few hours) in your subdivide and smooth thread, because that was the item that dominated our talk.

        col sporcar si trova

        1 Reply Last reply Reply Quote 0
        • R Offline
          remus
          last edited by 17 May 2008, 06:38

          Cheers whaat, another useful plugin to add to the arsenal.

          (perhaps i should setup a shortcut key for saying that ^ , it seems to be a recurring thing ๐Ÿ˜› )

          http://remusrendering.wordpress.com/

          1 Reply Last reply Reply Quote 0
          • W Offline
            watkins
            last edited by 17 May 2008, 06:56

            Dear Dale,

            I too would like to add my thanks for a very useful script.

            I have been playing around with a new bathroom design (for myself), and so I will try your script on some of the high poly models of basins and toilets I have found on the web.

            Kind regards,
            Bob

            1 Reply Last reply Reply Quote 0
            • P Offline
              pichuneke
              last edited by 17 May 2008, 09:12

              ๐Ÿ˜ฎ

              You could have earned some money! You know it. If you had developed the rb a bit more, you could have done a new plugin like subsmooth rb...

              Thanks a lot. I don't have enough words.

              Forgive my spanglish...

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jon
                last edited by 17 May 2008, 09:28

                Thanks so much, Dale. Very useful. ๐Ÿ˜„
                And thanks again for making it free. ๐Ÿ˜„ ๐Ÿ˜„


                chairs.jpg

                Jon
                KT Team member

                1 Reply Last reply Reply Quote 0
                • S Offline
                  solo
                  last edited by 17 May 2008, 09:47

                  Dang! another excellent addition.


                  http://img296.imageshack.us/img296/3735/blenderlm6.jpg

                  Thanks mate.

                  We gonna have to start naming this software 'Whaats-up' soon.

                  http://www.solos-art.com

                  If you see a toilet in your dreams do not use it.

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    ilay7k
                    last edited by 17 May 2008, 10:02

                    Thank you!

                    Pete, you need assembly sketchup - whaat edition ๐Ÿ˜„... don't forget other talented ruby-writers of our community ๐Ÿ˜‰...

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      juju
                      last edited by 17 May 2008, 10:36

                      Sweet man, thanks!

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

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kwistenbiebel
                        last edited by 17 May 2008, 10:43

                        Thank you Whaat.
                        A great contribution again to the SU community!
                        ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Mike Lucey
                          last edited by 17 May 2008, 10:51

                          Thanks Dale,

                          Again a most generous ccontribution that is truly appreciated by the Community.

                          Mike

                          PS: Will you be at 3DBC, I'd like to buy you a drink!

                          Support us so we can support you! Upgrade to Premium Membership!

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            johnsenior1973
                            last edited by 17 May 2008, 11:00

                            I've only done some quick tests, but so far I'm struggling to find any reason for this plugin. Following on from Solo, I pulled a model of Bender from the 3DW. I tried a poly reduction of 30% on it, it messed up the model slightly and actually increased the file size from 1500 kb to 1639 kb.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              remus
                              last edited by 17 May 2008, 11:31

                              File size isnt really very important unless your creating absolutely monstorous files. What does matter however is face count. You can have a 100mb file open easily if its got 50,000 faces, but if its got more than 200,000 faces your in for a hard time.

                              So basically face count is more important than file size pretty much all the time.

                              http://remusrendering.wordpress.com/

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                ilay7k
                                last edited by 17 May 2008, 12:04

                                ehhh...can you(Whaat) add real-time trigger as at standard smoothing tool?

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  ely862me
                                  last edited by 17 May 2008, 12:11

                                  i don t know how this should woork but for me it doesn t
                                  first i create a shape and when i clicked polyreduce it cuted half of the polys
                                  then i take a hood of a car and i clicked polyreduce and it start counting something and doing nothing it says like that : colapsed (i wait until)2 milion from 98 edges

                                  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
                                  • R Offline
                                    remus
                                    last edited by 17 May 2008, 14:53

                                    No need to boast coen ๐Ÿ˜›

                                    http://remusrendering.wordpress.com/

                                    1 Reply Last reply Reply Quote 0
                                    • W Offline
                                      Whaat
                                      last edited by 17 May 2008, 15:21

                                      @solo said:

                                      We gonna have to start naming this software 'Whaats-up' soon.

                                      ๐Ÿ˜† ๐Ÿ˜†

                                      SketchUp Plugins for Professionals

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        human
                                        last edited by 17 May 2008, 16:08

                                        Wow, nice plugin. ๐Ÿ‘ compliments Subdivide and Smooth perfectly. Strange thing is...
                                        Say i create a sphere. i right click and choose polyreduce. and it works, but i cant select all the faces with one click. now there are lots of faces that make up the poly-reduced sphere. ๐Ÿ˜ž Hmmmmmm...

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          Whaat
                                          last edited by 17 May 2008, 17:10

                                          @human said:

                                          but i cant select all the faces with one click. now there are lots of faces that make up the poly-reduced sphere. ๐Ÿ˜ž Hmmmmmm...

                                          What do you mean by 'can't select all the faces with one click' ๐Ÿ˜•

                                          Maybe you can post a screenshot of the reduced sphere??

                                          SketchUp Plugins for Professionals

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

                                          Advertisement