• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th 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.
  • J Offline
    jarynzlesa
    last edited by 13 Oct 2011, 10:19

    super tool πŸ‘ thx

    http://www.vizualizaceschodiste.mypage.cz/

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

      Marleus

      It's one of those problems compounding...
      First the letters' faces are upside down and only have back-materials - so reversing them gives a better chance of it working and getting a good material exchange [I used my FixReverseFaceMaterials tool to reverse them and flip the materials].
      Next there are lots of tiny edges in the groups - I scaled everything up x10.
      The letters are also at a strange angle in 3d - I flattened them.
      The letters aren't placed over the sofa in plan - Top view + perspective OFF and relocated it so wholly over the sofa's seat surface!
      I then did the SuperDrape and it crashed πŸ˜’
      I then did a standard Drape... and it crashed - so no worse off there then !
      I then edited the letters-group and did a ExtrudeEdgesByVectorToObject, keeping the vector constrained to vertical [blue] and passing through the seat... it made an extrusion up to the seat's surface [which is much like SuperDrape does...]; I then erased the vertical edges/faces to leave the original letters and the outlines draped over the seat; selected all of the outlines and Edit>Cut; close the group edit and edit the sofa group, Edit>PasteInPlace to add the outlines - they don't all 'cut' into the surface so Select All and Intersect with Selection to force it - even then some things like the circle in the O-centers doesn't cut properly - to fix that select an edge and use a AddFaceToEdge tool...
      Move the letters-group vertically down so it's nearer the sofa surface and there is less likelihood of errors in reading the materials.
      Then use my earlier 'Drape Materials' tool on the selected faces of the letter-outlines now on the sofa.
      They should all transfer - a couple of small triangles etc didn't - with Hidden Geometry on, sample the sofa material and paint it onto those to fix - see image...
      There are just some combinations of things that fail to drape and you managed to have all of them in one test 😲Capture.PNG

      TIG

      1 Reply Last reply Reply Quote 0
      • M Offline
        marleus
        last edited by 13 Oct 2011, 10:31

        Thx Tig... 😲
        I think I got it now LOL

        I'll try on an other model ....

        Markus Sillander
        Vantaa, Finland
        I'm on FormFonts now
        http://www.formfonts.com

        1 Reply Last reply Reply Quote 0
        • M Offline
          marleus
          last edited by 13 Oct 2011, 11:17

          Nice......

          Rendered with Simlab Composer 2.4

          Thanks Tig πŸ˜„

          Markus Sillander
          Vantaa, Finland
          I'm on FormFonts now
          http://www.formfonts.com

          1 Reply Last reply Reply Quote 0
          • A Offline
            AcesHigh
            last edited by 20 Oct 2011, 17:19

            what exactly is happening?

            http://img853.imageshack.us/img853/3874/superdrape.jpg

            it worked only if I first used the standart drape tool from Sketchup, and then used the Super Drape over it.

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

              Try it again with Hidden Geometry ON - or post the example SKP...

              TIG

              1 Reply Last reply Reply Quote 0
              • A Offline
                AcesHigh
                last edited by 20 Oct 2011, 20:37

                tried with Hidden Geometry On, but problem persisted.

                I am attaching the file below...


                teste.rar

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

                  Looked at it and I agree it's flaky...
                  I can't see what the issue is immediately.
                  I'll investigate πŸ˜•

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AcesHigh
                    last edited by 20 Oct 2011, 22:16

                    well, it worked when first using normal DRAPE and then using SuperDrape. Cant you add the code from normal DRAPE to your plugin to perform the first operation, then your plugin only does the second operation (material transfer)???

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 20 Oct 2011, 22:41

                      My 'SuperDrape' does a [supposedly better] version of 'Drape' before adding the materials...
                      Clearly in your case it isn't πŸ˜’

                      TIG

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

                        Here's v1.6 http://forums.sketchucation.com/viewtopic.php?p=358314#p358314
                        It has improved methods for ensuring full intersection of the forms... as a result of AcesHigh's feedback issue with a draped road that was longer than the mesh below it failing to form proper edges...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          Luigi987
                          last edited by 22 Oct 2011, 16:16

                          Been trying this for a bit, works great in most cases, but when I tried to drape a road to a smooved group, this happened...

                          http://puu.sh/7oge

                          I'm using the latest revision as of 22/10.

                          Thanks~! :3

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

                            Can you post the SKP so that I can test it πŸ˜•

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • L Offline
                              Luigi987
                              last edited by 22 Oct 2011, 18:13

                              @tig said:

                              Can you post the SKP so that I can test it πŸ˜•

                              Right, here it is:

                              test.skp

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

                                The faces are all backwards. [see enhanced rear-face material 'blue']Capture.PNG
                                I reversed them all.Capture1.PNG
                                The SuperDrape was weird.Capture2.PNG
                                I checked the size of the model for very small or very large dimensions.
                                The mesh is 10s of thousands of feet across!
                                I scaled the model to a more realistic size and re-SuperDraped, this time it's fine...Capture3.PNG

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • L Offline
                                  Luigi987
                                  last edited by 22 Oct 2011, 22:54

                                  Alright, that fixed it for me too, thanks~!

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    shri
                                    last edited by 25 Oct 2011, 05:05

                                    great plugin indeed.thanks a lot for sharing.
                                    but.when i tried with text it did'nt worked.then
                                    i exploded the text and make it group again and super draped it worked
                                    on sphere it worked.and in case of cylinder the text didn't make plane.

                                    please help..


                                    super drape

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by 25 Oct 2011, 06:54

                                      Shri, can you share the test model?
                                      What is the scale of the objects? Are they very small by any chance?

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

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

                                        Very small and very large objects do sometimes have issues.
                                        Please share the problem SKP so that I can check it out...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          tulacong
                                          last edited by 26 Oct 2011, 10:00

                                          oh yehh 😍 thank you

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

                                          Advertisement