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

    [Plugin] Super Drape

    已排程 已置頂 已鎖定 已移動 Plugins
    192 貼文 54 Posters 349.7k 瀏覽 54 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • TIGT 離線
      TIG Moderator
      最後由 編輯

      SuperDrapeExample.PNGCopyright 2011-2014, TIG (c)
      Permission to use, copy, modify, and distribute this software for any
      purpose, and currently without fee, is hereby granted, provided that
      this text and the above copyright (c) notice appear in all copies.
      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.

      Name: TIG-Superdrape.rb

      When initially installed this tool is an 'inactive' Extension;
      you must 'activate' it the once by checking:
      Preferences > Extensions > Super Drape
      [Note: it can be 'deactivated' later by unchecking its Extension and
      then restarting Sketchup]

      Usage:
      Menu > 'Tools' > 'Super Drape'
      OR
      Menu > View > Toolbar > 'Super Drape' [initially deactivated]

      This tool drapes one group onto another group - much like the
      Sandbox Drape tool [BUT much more consistently] AND it also copies
      materials from with the 1st group to the 2nd group.
      Activate the tool.
      You are prompted to select the group to drape, and then the 2nd group to
      drape onto.
      It is one step undoable.

      Tips:
      The draped group must be above the 2nd group, but placing it very far above
      it might result in some inaccuracies.
      The two groups should consist of one set of faces, oriented 'up'.
      The lowest face is the draped group will supply the materials if there are
      'layers' of faces that overlap.
      The highest face will receive the drape if there are 'layers' of faces that
      overlap; to be on the safe side it's recommended you use single 'layers'
      of non-overlapping faces in the groups.
      Any face < ~1mm will probably be ignored when materials are assigned.
      Faces may be angled from the horizontal in both groups - inside a group
      or even a group itself.
      Any textured materials in the draped group will have their UVs correctly
      transposed in the materials used in the 2nd group, but they might be
      foreshortened unexpectedly if a draped group face slopes significantly
      more than the equivalent face in the 2nd group.
      Any processed groups with more than one instance will be made unique first.

      Donations: PayPal.com to info @ revitrev.org PayPalButton ###
      Version:
      1.0 20111004 First issue.
      1.1 20111005 Face 'pairing' more robust. Only uppermost face gets draped.
      1.2 20111006 Trapped 'group.material'. Robust Intersecting/overlap-trimming.
      1.3 20111006 Group.copy now recast to avoid rogue scripts messing it up.
      Multi-level faces in the draped group are now allowed.
      1.4 20111008 1st group temporarily moved nearer to 2nd to minimize errors.
      Original is unaffected by group.material >> default faces.
      1.5 20111010 Adjusted to minimize missed facets etc.
      1.6 20111021 Intersecting of meshes improved etc.
      1.7 20111028 More robust intersecting method.
      1.8 20111028 Typo in code fixed!
      1.9 20111028 Already erased edge error trapped.
      2.0 20111103 More robust intersecting methods accelerated.
      3.0 20111204 Made into an Extension with own loader etc.
      3.1 20111204 Glitch with toolbar button/icons resolved.
      3.2 20140405 Relaunched for v2014.

      Get the latest version fro the SketchUcation PluginStore...http://sketchucation.com/pluginstore?pln=SuperDrape

      TIG

      1 條回覆 最後回覆 回覆 引用 0
      • thomthomT 離線
        thomthom
        最後由 編輯

        Excellent TIG! 👍 👍

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

        1 條回覆 最後回覆 回覆 引用 0
        • Rich O BrienR 離線
          Rich O Brien Moderator
          最後由 編輯

          Top tool 👍

          Thanks TIG

          Download the free D'oh Book for SketchUp 📖

          1 條回覆 最後回覆 回覆 引用 0
          • thomthomT 離線
            thomthom
            最後由 編輯

            nahnahnahnahnahnaaah - SuperDraaaaape!

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

            1 條回覆 最後回覆 回覆 引用 0
            • Dave RD 離線
              Dave R
              最後由 編輯

              Bug splats for me. I tried it with the surface from that 231 model I posted yesterday and a simple circle drawn above it. I'll post a model as soon as I can.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 條回覆 最後回覆 回覆 引用 0
              • W 離線
                wyatt
                最後由 編輯

                This is how the Sandbox tool should have worked from the very beginning. Awesome work! 👍

                The Tigtools folder in the zip file is empty. Is it supposed to contain the toolbar icons, or do they still need to be designed?

                1 條回覆 最後回覆 回覆 引用 0
                • kenK 離線
                  ken
                  最後由 編輯

                  Whoa! Am I the only one without a icon image.

                  Ken

                  Fight like your the third monkey on Noah's Ark gangway.

                  1 條回覆 最後回覆 回覆 引用 0
                  • Rich O BrienR 離線
                    Rich O Brien Moderator
                    最後由 編輯

                    Nope

                    Download the free D'oh Book for SketchUp 📖

                    1 條回覆 最後回覆 回覆 引用 0
                    • TIGT 離線
                      TIG Moderator
                      最後由 編輯

                      I'm having a bad day - that bottle of Chianti has a lot to answer for 😮
                      I have updated the missing PNG files so if the 20 or so of you would like to reinstall from the updated zip file it should work... 😳
                      http://forums.sketchucation.com/viewtopic.php?p=358314#p358314

                      TIG

                      1 條回覆 最後回覆 回覆 引用 0
                      • TIGT 離線
                        TIG Moderator
                        最後由 編輯

                        @dave r said:

                        Bug splats for me. I tried it with the surface from that 231 model I posted yesterday and a simple circle drawn above it. I'll post a model as soon as I can.
                        What size is it? - it might be a scaling problem?? 😕

                        TIG

                        1 條回覆 最後回覆 回覆 引用 0
                        • Dave RD 離線
                          Dave R
                          最後由 編輯

                          I don't think it should be a scaling issue. I've recreated it and post it here. I only tried to drape the circle onto the surface below.


                          231.skp

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 條回覆 最後回覆 回覆 引用 0
                          • TIGT 離線
                            TIG Moderator
                            最後由 編輯

                            @dave r said:

                            I don't think it should be a scaling issue. I've recreated it and post it here. I only tried to drape the circle onto the surface below.
                            I too get the Bugsplat - weird - there seems nothing untoward at all - I'm investigating...

                            TIG

                            1 條回覆 最後回覆 回覆 引用 0
                            • Dave RD 離線
                              Dave R
                              最後由 編輯

                              Thank you.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 條回覆 最後回覆 回覆 引用 0
                              • TIGT 離線
                                TIG Moderator
                                最後由 編輯

                                Something weird about your mesh - how was it made ?
                                There are two missing diagonals to the side - when I added those it seemed better ?
                                I also used cut/paste_in_place on the mesh, which seemed to jolt it into submission.
                                It then SuperDraped OK but the material cloning was poor so I scaled up x10 with no improvement in the materials.
                                The 231 SuperDrapes readily onto a flat surface so I still have some investigating to uncover the issues...
                                I trialed it during today with various forms of draper/drapee groups without incident or loss of materials - thrust you to break it [thanks 😉 ]Capture.PNG 😕

                                TIG

                                1 條回覆 最後回覆 回覆 引用 0
                                • Dave RD 離線
                                  Dave R
                                  最後由 編輯

                                  Curious. I drew the curves by putting arcs on the sides of a large box. Then I used Fredo's "Skinning of Shapes" tool to create the skin. I saw there were a few diagonals that weren't drawn in but I figured since the surface skinned over alright, they weren't needed.

                                  Fix it and I'll break it again. 😄

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • utilerU 離線
                                    utiler
                                    最後由 編輯

                                    Awesome, TIG!!!!!!!!

                                    purpose/expression/purpose/....

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • bazB 離線
                                      baz
                                      最後由 編輯

                                      Brilliant, thanks Tig.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • Bob JamesB 離線
                                        Bob James
                                        最後由 編輯

                                        Thanks, TIG: Works great. On an object the text or texture is copied on the top and on the bottom (almost)!


                                        Capture2.PNG


                                        Capture.PNG

                                        i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • TIGT 離線
                                          TIG Moderator
                                          最後由 編輯

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

                                          TIG

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • srxS 離線
                                            srx
                                            最後由 編輯

                                            Thanks TIG.

                                            www.saurus.rs

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 1 / 10
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement