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

    [Plugin] Quadrilateralizer v1.1 20110215

    Scheduled Pinned Locked Moved Plugins
    28 Posts 14 Posters 33.6k Views 14 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.
    • TIGT Online
      TIG Moderator
      last edited by


      TIG (c) 2011
      All Rights Reserved.
      THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
      WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.


      Script: Quadrilateralizer.rb


      Usage:
      Select faces. Note that other entity-types in the selection are ignored.
      Run 'Quadrilateralizer' from the 'Plugins' menu.
      If there are no faces in the selection there is an error-message, it exits.
      If all selected faces are already quads then you are asked if you want to
      split them further: 'Yes' to redivide selected quad faces or No' to abort.
      If the selected faces are not equivalent to 'all connected faces' then you
      are warned: 'Yes' to continue, 'No' to abort. It is recommended that all
      connected faces are processed together [treble-click a face to select all]
      to ensure that all connected faces become quadrilaterals; otherwise later
      processing of these non-quad faces could result in the connected quads
      being made into non-quads, or if all connected faces were selected the
      non-quads would split but the previously made quads will be split again -
      it could get messy - this might be what is required... but usually
      processing all connected at once is the best method.
      All selected faces are now split into quadrilaterals ['quads'].
      Note that any preexisting quads in the selection will also be split
      because splitting any adjacent non-quads will force these existing quads
      into non-quads anyway.
      UV texture mapping etc is kept.
      It is one step undo-able.
      The vertices of these quad faces can be adjusted with the Move tool...


      Donations: By PayPal.com to info @ revitrev.org PayPalButton


      Version:
      1.0 20110214 First Release.
      1.1 20110215 More info and percentage progress reported in Status Bar.


      Put into the Plugins folder and restart Sketchup...

      TIG

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

        OK, first to download so first to thank. I know why Pete asked for it...
        πŸ‘
        Will it move vertices slightly to create quads from non co-planar tris for instance (or does it only subdivide)?

        Gai...

        1 Reply Last reply Reply Quote 0
        • soloS Offline
          solo
          last edited by

          Sweet!! cannot wait to give it a run.

          Thanks a bunch.

          http://www.solos-art.com

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

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

            Some quads are created from tris in a way that they have co-linear edges. This may not be an issue in many apps but SDS2's smooth tool cannot handle these, Pete.

            TIG: still great tool, thanks!

            Gai...

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

              @gaieus said:

              Some quads are created from tris in a way that they have co-linear edges. This may not be an issue in many apps but SDS2's smooth tool cannot handle these, Pete.
              TIG: still great tool, thanks!

              Most quads will not have co-linear sides [although thin slivers of triangles do approach co-linearity] - but those that do you can manually Move a vertex as desired.
              The subdivision can produce unoptimized quads anyway that would benefit from some adjustments to some vertex locations...

              This is only v1.0, I only starting thinking about writing it a couple of hours ago πŸ˜’

              Any feedback or suggestions on improvements welcomed...

              TIG

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

                Thank you very much TIG.

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

                  I can envisage another tool to optimize selected coplanar quads...
                  It tests a faces for their vertices' 'concave-ness'/co-linearity and adjusts the concave/linear vertex location until it is just convex... I suspect this might involve a lot of tail-chasing as one faces concave vertex could be its neighbor's convex vertex πŸ˜’

                  Alternatively if any of the Quadrilateralized faces have co-linear or concave vertices select all and Quadrilateralize them a second time - that should fix them - although the mesh will then be much finer πŸ˜’ BUT there's no such thing as as a free lunch...Capture.PNG

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • CAntonisC Offline
                    CAntonis
                    last edited by

                    Thanks so much TIG!
                    One question though: Is this gonna help exporting a model to other modelers with greater detail, is it just because quad faced geometry is better or both?
                    Downloaded already and I ll be checking for updates!!!!
                    Again THANKS A BOUNCH!

                    1 Reply Last reply Reply Quote 0
                    • Didier BurD Offline
                      Didier Bur
                      last edited by

                      Hi TIG,

                      When translating into french, I came across this (line 82):

                      return nil if UI.messagebox("Quadrilateralizer;\n\nThe Selected Faces are NOT\nALL of the Connected Faces.\nDo you want to Continue ?",MB_YESNO)==7
                      

                      Isn't this message confusing or wrong ?

                      DB

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

                        @didier bur said:

                        Hi TIG,

                        When translating into french, I came across this (line 82):

                        return nil if UI.messagebox("Quadrilateralizer;\n\nThe Selected Faces are NOT\nALL of the Connected Faces.\nDo you want to Continue ?",MB_YESNO)==7
                        

                        Isn't this message confusing or wrong ?

                        The selected-faces are not ALL of the connected-faces.
                        Do you want to continue?
                        πŸ˜•
                        Les choisir-faces ne sont pas tous les relier-faces.
                        Voulez-vous continuer ?

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • Didier BurD Offline
                          Didier Bur
                          last edited by

                          Les faces choisies ne font PAS TOUTES partie des faces connectΓ©es

                          DB

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

                            @didier bur said:

                            Les faces choisies ne font PAS TOUTES partie des faces connectΓ©es

                            I couldn't have put it better myself!
                            Je n'aurais pas pu mieux dire moi-mΓͺme! πŸ˜„

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • KrisidiousK Offline
                              Krisidious
                              last edited by

                              you Rock Tig...

                              By: Kristoff Rand
                              Home DesignerUnique House Plans

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                Ben Ritter
                                last edited by

                                TIG, thank you.

                                1 Reply Last reply Reply Quote 0
                                • EarthMoverE Offline
                                  EarthMover
                                  last edited by

                                  πŸ‘ πŸ‘ Thanks bro!

                                  3D Artist at Clearstory 3D Imaging
                                  Guide Tool at Winning With Sketchup
                                  Content Creator at Skapeup

                                  1 Reply Last reply Reply Quote 0
                                  • Rich O BrienR Offline
                                    Rich O Brien Moderator
                                    last edited by

                                    Thanks TIG....any chance of a progress bar?

                                    Download the free D'oh Book for SketchUp πŸ“–

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

                                      Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=309120#p309120
                                      More info and percentage progress now reported in the Status Bar.

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • Rich O BrienR Offline
                                        Rich O Brien Moderator
                                        last edited by

                                        That was quick 😲

                                        Download the free D'oh Book for SketchUp πŸ“–

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

                                          Sorry it took so long I was at the corner-shop buying some milk when you posted 😲 πŸ˜‰

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • Rich O BrienR Offline
                                            Rich O Brien Moderator
                                            last edited by

                                            Now that you're around and idle, how about this πŸ˜‰

                                            Download the free D'oh Book for SketchUp πŸ“–

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

                                            Advertisement