• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[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.
  • 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
              • T 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
                    • S Offline
                      shri
                      last edited by 28 Oct 2011, 03:42

                      hi TIG. i usually work in millimeters.i also tried it with increasing the
                      segments of the circle but again it did'nt worked.i also tried it with sketchyphics
                      installed and got extruded text over the cylinder but what i need is a coplaner text over
                      the cylinder.
                      here is the attachment of the test model.

                      thanks.
                      shri


                      's super drape test.skp

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

                        It's not the units you use but rather the physical size of the objects that can cause issues.
                        However, the SKP you supplied is a 'proper' size so it should cause those problems.
                        Your lettering faces are 'upside down' but again that shouldn't usually cause issues...
                        Some of your 'drapee' groups are colored by applying a material to the group [e.g. the golden cylinder] i.e. rather than having materials applied to its internal faces, so superdraping 'nil' materialed faces will only add an outline and the group's color will still be seen.
                        Some of your 'drapee' surfaces are 'upside down' although they do have materials applied to both faces [e.g. the green bumpy terrain] when they are superdraped the outlines appear but seem to have not taken the draper's color BUT the re-colored faces are underneath on the faces' fronts ! - reverse the faces in the mesh and redo.
                        There have been issues with 'lettering' containing curved shapes Draping or SuperDraping onto cylindrical forms successfully...
                        I'll investigate and see what I can tweak... πŸ˜•

                        TIG

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

                          Here's v1.7 http://forums.sketchucation.com/viewtopic.php?p=358314#p358314
                          The intersecting method is now much more robust, and several recently reported glitches should now be resolved.

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            smb5823
                            last edited by 28 Oct 2011, 12:48

                            Hi
                            Sketchup 8 PRO seems to crash once Superdrape.rb is added to the Plugins folder. Was the same with V1.6 but earlier versions were fine.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Dave R
                              last edited by 28 Oct 2011, 13:41

                              TIG, that worked perfectly for me. Thank you.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

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

                                1.7 gets stuck calculating for me.

                                WARNING: make_unique is a deprecated methodof Sketchup:Group
                                WARNING: make_unique is a deprecated methodof Sketchup:Group
                                Error: #<NameError: undefined local variable or method nsedges' for #<TIG::Superdrape:0x135cef64>> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/TIG-Superdrape.rb:303:in drape'
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/TIG-Superdrape.rb:296:in each' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/TIG-Superdrape.rb:296:in drape'
                                C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/TIG-Superdrape.rb:121:in `onLButtonDown'

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

                                  Here's v1.8 http://forums.sketchucation.com/viewtopic.php?p=358314#p358314
                                  [I hope] it fixes the daft typo that I made that could occasional trip it up...
                                  The new code should be much faster than before, and [now] more robust...
                                  πŸ˜•
                                  Feedback please...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    wyatt
                                    last edited by 28 Oct 2011, 20:44

                                    Hey Tig. 1.8 works sometimes, sometimes not. When it fails, the plugin appears to draw the physical geometry that intersects with the terrain below, but does not delete the geometry or drape the colors. I assume those actions are normally run in the background, but somehow they're happening in the model. I get this error: Error: #<TypeError: reference to deleted Edge>. If I undo and try it again, it will sometimes work; sometimes I have to explode the draped group and regroup it before it will work.


                                    SuperDrapeFail.skp

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

                                      Here's v1.9 http://forums.sketchucation.com/viewtopic.php?p=358314#p358314
                                      It fixes the 'already erased edge' error that Wyatt found [he's a tough tester... πŸ˜‰ ]
                                      Feedback please πŸ€“

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        Rich O Brien Moderator
                                        last edited by 28 Oct 2011, 23:01

                                        πŸ‘

                                        Download the free D'oh Book for SketchUp

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wyatt
                                          last edited by 28 Oct 2011, 23:57

                                          Thanks, TIG. Unfortunately I had nothing better to do at work today than try to break your plugin. Thanks for updating it!

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

                                          Advertisement