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

    [Plugin] triangulateFaces.rb v1.2 20101120

    Scheduled Pinned Locked Moved Plugins
    97 Posts 21 Posters 109.1k Views 21 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 Offline
      TIG Moderator
      last edited by

      @cadfather said:

      Tig,

      is there anyway to split the resulting triangles as well? suppose you wanted to subdivide the mesh even further (perhaps there is a script already..)

      I think there's a subdivide tool somewhere...

      TIG

      1 Reply Last reply Reply Quote 0
      • CadFatherC Offline
        CadFather
        last edited by

        ok (search shows Whaat's SDS)

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

          I'm probably thinking of RickW's simpler free tool - referred to here... http://forums.sketchucation.com/viewtopic.php?p=278060#p278060 and available here http://www.smustard.com/script/Subdivide

          TIG

          1 Reply Last reply Reply Quote 0
          • CadFatherC Offline
            CadFather
            last edited by

            thanks TIG but that will 'smooth' the shape - i'm only thinking of dividing

            i think there is the difficulty of internal (read infernal..) faces being generated

            split.jpg

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

              My Addvertex+ tool http://rhin.crai.archi.fr/rubylibrarydepot/plugin_details.php?id=8
              lets you add a vertex on a face and divides it into triangles with new edges...

              TIG

              1 Reply Last reply Reply Quote 0
              • CadFatherC Offline
                CadFather
                last edited by

                ok TIG, i'll have a look, thanks as always

                1 Reply Last reply Reply Quote 0
                • bac9-flclB Offline
                  bac9-flcl
                  last edited by

                  @tig said:

                  Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=175613#p175613
                  This should now trap any '4-sided' "triangles" made by the 'mesh' process as it forces an intersection of all new entities and adds edges should a "triangle's" vertices > 3...

                  Thanks a lot! I've finally got my models into X-Ray SDK 😍


                  http://img.gameru.net/th/035c3.jpg

                  http://img.gameru.net/th/583ba.jpg


                  http://img.gameru.net/th/7099f.jpg

                  http://img.gameru.net/th/12959.jpg

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

                    Hiya,

                    I downloaded this plugin with the goal of importing my Sketchup models into Unreal Developers Kit (UDK).
                    But even though the faces are triangled ok, when I import my model in UDK most the triangles are really messed up.
                    Like this:

                    http://photos2.pix.ie/E2/45/E2458AAC3155407588F70888B4B391C8-0000316933-0002622418-00800L-6AC7C78B1057411F8E2C7FDD5C50FCC1.jpg

                    I suppose this doesn't indicate any problem with triangulatefaces.rb, but rather UDK.
                    Has anybody else tried to this? Would love some advice. πŸŽ‰

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      Are the normals in the SketchUp model oriented properly?

                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

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

                        Well, all the white faces are pointed out, if that's what you mean.
                        I don't think SU offers many options regarding normals.
                        Do you mean smoothing?

                        I tried again using a more simple model but results are the same.
                        Tried toying around with the 2 options in the Soften Edges window, but got the same results.

                        http://photos3.pix.ie/6F/66/6F66B36E6F514077AF8492334650BE09-0000316933-0002622789-01024L-BA9A361F41C24665A7F2488CC916D358.jpg

                        http://photos3.pix.ie/81/B4/81B4B45B36564B10A0B88215CE4D824E-0000316933-0002622790-01024L-A57B864FEDBF40F0A23B1A8759AAC34F.jpg

                        I'm confident people are able to put SU content into UDK, there's another ruby script exporter someone made called "HardPCM", but it produces the same results for me.
                        So i'm not using that script atm.

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

                          This app seems to be smoothing the coplanar edges - they are not smooth in the SKP.
                          Have you tried switching off its 'preserve smooth groups' options etc?

                          TIG

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

                            nice observation!

                            I turned the quality slider down to 0 and found an option in the drop-down box that gives a better result.
                            Not flawless though.
                            It's one for the UDK forums at any rate.
                            Thanks for the help.

                            favicon

                            (photos2.pix.ie)

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              mustafashredder
                              last edited by

                              @TIG

                              Could you please post a download link to the .rbz file for your script. I cant load .rb file and it wont show up in sketchup when I copy the .rb file to the directory.

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

                                @mustafashredder said:

                                @TIG

                                Could you please post a download link to the .rbz file for your script. I cant load .rb file and it wont show up in sketchup when I copy the .rb file to the directory.
                                This thread is superseded by a new one - linked in the first post.
                                That in turn had the v1.2 .rb - but it is now linked to the RBZ at the PluginStore entry http://sketchucation.com/forums/viewtopic.php?p=175613#p175613

                                Please learn to use the search at the PluginStore page... e.g.
                                http://sketchucation.com/pluginstore?listtype=1%26amp;author=0%26amp;category=0%26amp;search=triangulate%26amp;submit=%3F

                                However, if you are having trouble manually adding a .rb, then loading it you might have inadequate permissions to add files to your Plugins folder... which might also affect the AutoInstall of RBZ content...
                                Fix these in Properties > Security > Edit... giving every entry in the list FULL read/write permissions...

                                TIG

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

                                Advertisement