• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] Super Drape

Scheduled Pinned Locked Moved Plugins
192 Posts 54 Posters 349.6k Views
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
    TIG Moderator
    last edited by 5 Oct 2011, 08:25

    I'm looking at trapping faces that are looking away from the draped group...
    Meanwhile some careful erasing should fix it ?

    TIG

    1 Reply Last reply Reply Quote 0
    • S Offline
      srx
      last edited by 5 Oct 2011, 09:49

      Thanks TIG.

      www.saurus.rs

      1 Reply Last reply Reply Quote 0
      • B Offline
        blajnov
        last edited by 5 Oct 2011, 10:27

        Thanks TIG.
        In kirill2008, there is a similar plug-in on your, "Lss_Tool_Bar"


        02.05.jpg

        1 Reply Last reply Reply Quote 0
        • B Offline
          Ben Ritter
          last edited by 5 Oct 2011, 10:38

          TIG, thank you very much.

          1 Reply Last reply Reply Quote 0
          • S Offline
            seven.sides
            last edited by 5 Oct 2011, 10:58

            Thanks TIG, this will be very usefull.

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 5 Oct 2011, 12:25

              Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=358314#p358314 β˜€

              Face 'pairing' of materials between the groups is now more robust, consistent and very unlikely to fail.
              Only topmost faces now usually gets draped onto - if you have overlapping faces in the groups the drape should not now 'punch through' onto lower faces, unless the faces are with ~5mm of each other vertically - still it's best to have single-skin meshes to super-drape...

              The splat/error reported by Dave_R is now avoided by recoding... BUT it doesn't fix his mesh itself, which had two quad-faces that appeared coplanar but caused splats because when the mesh was intersecting with other entities they made the result unstable - after erasing those two faces they would no reface with 'find_faces', but adding a diagonal fixes the issue as they two triangles are just on the cusp of the difference between a viable quad and two triangular faces that are not coplanar. I await for Dave to re-break this version πŸ˜•

              TIG

              1 Reply Last reply Reply Quote 0
              • C Offline
                charly2008
                last edited by 5 Oct 2011, 13:35

                Hi TIG,

                I've tried it with no success. I do not know if that's my fault. See Picture below.

                Charly


                2011-10-05_145910.jpg


                Untitled.skp

                He who makes no mistakes, makes nothing

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 5 Oct 2011, 13:52

                  Charly πŸ˜’

                  I can't get any error messages, BUT I don't get a good result either!
                  BUT if I explode each group in turn and immediately regroup the highlighted entities... and then use SuperDrape with them it works just fine πŸ˜•
                  I suspect that there's some duplicate/tiny faces or similar 'errors' is the group[s] that cause issues - but the explode+regroup fixes them...
                  I'll see what I can come up with - in the meanwhile use the explode+regroup trick and it seems fine again...Capture.PNG

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    charly2008
                    last edited by 5 Oct 2011, 14:24

                    Thanks for the tip. Your plugin has a great potential as always.


                    2011-10-05_170820.jpg

                    He who makes no mistakes, makes nothing

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MALAISE
                      last edited by 5 Oct 2011, 15:48

                      Simply, thanks πŸ˜„

                      MALAISE

                      La Connaissance n'a de valeur que partagΓ©e

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        wolfy
                        last edited by 5 Oct 2011, 16:34

                        VERY COOL! Thanks TIG this will come in extremely handy. β˜€

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          numbthumb
                          last edited by 5 Oct 2011, 16:49

                          Where would we be without all this stuff... thanks!

                          Comfortably numb...

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            Dave R
                            last edited by 5 Oct 2011, 17:15

                            Thanks TIG.

                            So the splats occurred because those two quad faces barely qualified as quads? It sounds like SU let Fredo's skinning tool make quad faces but wouldn't let your tool work. Sounds like a double standard to me. πŸ˜„

                            I'll give it a try as soon as I can and let you know how it goes.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              charly2008
                              last edited by 5 Oct 2011, 17:20

                              As always with new tools, I need to experiment with.


                              2011-10-05_173422.jpg


                              2011-10-05_174624.jpg


                              2011-10-05_182406.jpg


                              2011-10-05_191215.jpg

                              He who makes no mistakes, makes nothing

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 5 Oct 2011, 18:23

                                Charly

                                Glad you're enjoying it πŸ˜„

                                One of the issues [but not all] about your original problem was that you applied the material to the draped group and not the faces with in it...
                                I plan to spot this in the next version and ask what you want to do...
                                Also your sphere had a convoluted transformation - removed after the explode+regroup... I looking at ways of trapping/sorting this too... πŸ˜’

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 6 Oct 2011, 14:37

                                  Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=358314#p358314 β˜€

                                  Following Charly's feedback it now spots if you have a material applied to the draped group and that there are some faces inside the group without a material [they will appear to have the group's material, even when they are actually in the default-material] - you can then choose Yes|No to use that group.material for any draped faces that would otherwise have the default-material.
                                  The intersecting is even more robust.
                                  All underlying faces inside the same group should now be unaffected by the draping [i.e. any faces below the draped-on topmost faces].
                                  Draped faces that partially overlap the edges of the draped-on group's faces are now neatly trimmed to them.
                                  Groups with convoluted transformations [rotated in 3d, scaled etc] should no longer cause issues with the draping.

                                  Feedback please...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    wyatt
                                    last edited by 6 Oct 2011, 15:52

                                    TIG, this version doesn't work for me. It calculates forever.

                                    Error: #<NoMethodError: undefined method entities' for nil:NilClass> C:/PROGRA~2/Google/GOOGLE~1/Plugins/TIG-Superdrape.rb:152:in drape'
                                    C:/PROGRA~2/Google/GOOGLE~1/Plugins/TIG-Superdrape.rb:114:in `onLButtonDown'

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 6 Oct 2011, 17:16

                                      I suspect you have SketchyPhysics or DrivingDimensions [or something similar] installed that cause a problem with copying groups [the use of the standard-method 'group.copy' was added in this version] - I had forgotten that these 'rogue-tools' still need fixing by their authors... 😲 πŸ˜’
                                      I am making some other minor tweaks anyway... so I will try and get rid of the 'group.copy' code to avoid the issue at the same time...
                                      Watch this space... πŸ˜„

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 6 Oct 2011, 17:32

                                        Here's v1.3 http://forums.sketchucation.com/viewtopic.php?p=358314#p358314 β˜€
                                        The new group.copy code introduced in v1.2 is now recast to avoid clashes with rogue-scripts that might mess it up.
                                        Multi-level/overlapping faces in the draped-group are now allowed [previously only one level was draped].
                                        πŸ˜„

                                        The earlier v1.2 changes were...
                                        Following Charly's feedback it now spots if you have a material applied to the draped group and that there are some faces inside the group without a material [they will appear to have the group's material, even when they are actually in the default-material] - you can then choose Yes|No to use that group.material for any draped faces that would otherwise have the default-material.
                                        The intersecting is even more robust.
                                        All underlying faces inside the same group should now be unaffected by the draping [i.e. any faces below the draped-on topmost faces].
                                        Draped faces that partially overlap the edges of the draped-on group's faces are now neatly trimmed to them.
                                        Groups with convoluted transformations [rotated in 3d, scaled etc] should no longer cause issues with the draping.

                                        Feedback please...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wyatt
                                          last edited by 6 Oct 2011, 18:43

                                          I do have Sketchy Physics, and 1.3 works now. Thank you.

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

                                          Advertisement