sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [proto] 2d stencil - real line hatches

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

      Real line hatches was a feature that I was really missing in Sketchup. In between assignments I started working on a plugin. The video is showing the current prototype. It still needs bug fixes, additional features, mac support etc etc.

      edit 2 feb: plugin development stopped for the time being.

      edit 2015-01-05: features added

      • stencil plane detection at every pick
      • custom scaling of patterns
      • custom rotation of patterns
      • inner island detection (for instance: windows in facades)

      1 條回覆 最後回覆 回覆 引用 0
      • JQLJ 離線
        JQL
        最後由 編輯

        Looking very good!

        I'm not sure I'd really use it as I got used to raster hatches by now, but if I had this when starting on sketchup, it would made me jump immediately into sketchup.

        Having this:

        • Vector hatches;
        • Vector symbols;
        • Vector lines.
          Inside Sketchup is IMHO opinion, much better than having them inside Layout.

        My doubts are only related to model/scene organization so we can get proper 2D Layout output and about complexity of model faces that this could handle, even after your above mentioned modifications/re writing and eventual optimizations of the code. I mean it looks really fast when you use it on those simple models, have you tried it on Big ones?

        Those two questions apart, congratulations! Very very impressive!

        www.casca.pt
        Visit us on facebook!

        1 條回覆 最後回覆 回覆 引用 0
        • K 離線
          kaas
          最後由 編輯

          Hi JQL, thanks for your nice reply!

          I changed the original video and added some footage about all the features of the current prototype.

          Concerning your doubts:
          The hatches are grouped per 'material' and again grouped altogether. Normally I have one main group per section. By doing so you can control the visibility in Sketchup and Layout by putting the hatches on a separate layer and separate page.

          You still have to use some common sense of course regarding the amount of detail you want to put into the patterns. Sketchup's Ruby gets slow if you try to create too many entities at one time. Going above 50k to 100k edges to be created at one click tends to take a minute or more. Going even higher could freeze Sketchup so I try to avoid that.

          I'm using it for all my remodeling projects and haven't run into any problems. Thise aren't really big projects but 'BIG' can mean different things. If you can post / pm me a SU file with a sectioncutface and some suggestions about the hatches you would like to see, I could give it a go and post / pm you the result back. That way you can find out yourself if it's something that could make you happy.

          1 條回覆 最後回覆 回覆 引用 0
          • jolranJ 離線
            jolran
            最後由 編輯

            Looking good..

            Are you still using 2dboolean for the intersection part ?

            Looks a bit faster now, although I couldent estimate edgecount by a video.

            1 條回覆 最後回覆 回覆 引用 0
            • JQLJ 離線
              JQL
              最後由 編輯

              It is really good!

              The hatching itself is pretty impressive, but what I really loved about it was the block insertions.

              Do you think this could turn out to become a database for 2D details? That would be something I'd love to have. Would it be easy to have those 2D details created/inserted from and into any model?

              If so, I totally see this as the missing 2D tool for SU.

              I can send you a model with my sectionCutFaces showing this kind of details though they're not shareable.

              www.casca.pt
              Visit us on facebook!

              1 條回覆 最後回覆 回覆 引用 0
              • K 離線
                kaas
                最後由 編輯

                @unknownuser said:

                Do you think this could turn out to become a database for 2D details? That would be something I'd love to have. Would it be easy to have those 2D details created/inserted from and into any model?

                I wonder but for these kind of detail 'blocks' you could also use the native component library functionality or am I mistaken?

                The libraries for the plugin can be filled with whatever 2d patterns you like so it should be possible. Although, after they are inserted from the plugin they loose any internal hierarchy they had (all edges will be put on layer 0, all non-edges will be removed).

                At the moment, adding a new pattern works like this: Just start Sketchup, draw some 2d lines, start the plugin, choose or create a sub-library, pick the '+' sign and add a name for the pattern. Also, add what kind of pattern it should be in default(single stencil, line, 2d array). All the edges in that file will be added to the new pattern file. You have to re-start Sketchup or open a new file to be able to use the new pattern.

                @unknownuser said:

                I can send you a model with my sectionCutFaces showing this kind of details though they're not shareable.

                PM me if you like me to have a look at it. Of course I won't share anything that should remain non-sharable.

                1 條回覆 最後回覆 回覆 引用 0
                • K 離線
                  kaas
                  最後由 編輯

                  Hi Jolran,

                  In earlier versions of the plugin I did manually use your 2dBoolean afterwards because the plugin only did the hatching. In the newer versions, I added code to do the intersections immediately after the copy-ing process so 2dBoolean isn't needed anymore. The workflow got more streamlined by doing so.

                  It's quite fast until you copy/array more than 50k to 100k edges in one go. At that moment Ruby slows down fast.

                  edit: you can see how many copies & edges are generated at each pattern-fill by reading the messages on the status bar (bottom left)

                  edit2: but your 2dBoolean code was better. This one needs extra code to handle 'surfaces with islands' (a wall with a window + brick pattern = bad results at the moment).

                  1 條回覆 最後回覆 回覆 引用 0
                  • jolranJ 離線
                    jolran
                    最後由 編輯

                    @unknownuser said:

                    In earlier versions of the plugin I did manually use your 2dBoolean afterwards because the plugin only did the hatching. In the newer versions, I added code to do the intersections immediately after the copy-ing process so 2dBoolean isn't needed anymore. The workflow got more streamlined by doing so.

                    Ah, I see.

                    Your code seems to be working fine though.

                    I don't get same timings on my computer. 25k is already taking over a minute to intersect. So in my computer in order to achieve a "smooth" workflow as a stamptool I would estimate components shouldn't rise above 10K. ❓
                    50K -100K really sounds a lot. But I'm getting the impression my computer is getting old..

                    Like I said in another topic, it would be interesting to see what kind of response time different workstations get from intersections like this. And using edge-patterns in LO.

                    Although that line patterns would never really become dense(?) and cause a problem, but does indeed look very useful.

                    1 條回覆 最後回覆 回覆 引用 0
                    • J 離線
                      julyyen
                      最後由 編輯

                      Hi and a happy new year,

                      It is possible to offer your plugin as a free download because I look for centuries to find a good insulation hatch, the others seems fine too, please?

                      1 條回覆 最後回覆 回覆 引用 0
                      • K 離線
                        kaas
                        最後由 編輯

                        @julyyen said:

                        ..It is possible to offer your plugin as a free download because I look for centuries to find a good insulation hatch...

                        If you're just looking for the hatch, I attached the skp file.


                        isolatie2.skp

                        1 條回覆 最後回覆 回覆 引用 0
                        • J 離線
                          julyyen
                          最後由 編輯

                          Thank you very much, I don't know how to make a texture from the file and the most important thing is that I want the texture to automatically fit on a surface, when applied.
                          That's the reason why I (and possible, others like me) hope to kindly share this plugin with us maybe in the future, if not, we're out of luck.(even with that nasty 😡 bugs)

                          1 條回覆 最後回覆 回覆 引用 0
                          • K 離線
                            kaas
                            最後由 編輯

                            @julyyen said:

                            ...and the most important thing is that I want the texture to automatically fit on a surface, when applied...

                            the thing is: this is a plugin that doesn't use textures but uses real edges(lines) instead. If you want a solution that uses textures you have to look elsewhere (Skalp for instance)

                            1 條回覆 最後回覆 回覆 引用 0
                            • K 離線
                              kaas
                              最後由 編輯

                              update: added some features. See new video in first post.

                              1 條回覆 最後回覆 回覆 引用 0
                              • KrisidiousK 離線
                                Krisidious
                                最後由 編輯

                                Nice Kaas... I'll be watching.

                                By: Kristoff Rand
                                Home DesignerUnique House Plans

                                1 條回覆 最後回覆 回覆 引用 0
                                • jujuJ 離線
                                  juju
                                  最後由 編輯

                                  Nice going there, a few questions:

                                  • are the hatches editable once applied?
                                  • can one "explode" the hatch/fill to the surface to have it intersect the surface (thinking of quick flagstone, and the like, creation)?

                                  Save the Earth, it's the only planet with chocolate.

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • K 離線
                                    kaas
                                    最後由 編輯

                                    @JuJu:

                                    1. the hatches are just grouped lines / edges. They have no special properties so you can do with them whatever you like.
                                    2. yes, you can explode them and use them as a cookie-cutter to cut a face. Although, if the pattern is very complex, it doesn't always go right and Sketchup needs some re-tracing some of the edges but I did use it to cut and color a mosaic floor for instance (see image).

                                    2dstencil_shapeCutter.jpg

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • JQLJ 離線
                                      JQL
                                      最後由 編輯

                                      This is becoming an almost must have tool! Also looking forward to it

                                      www.casca.pt
                                      Visit us on facebook!

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • P 離線
                                        pibuz
                                        最後由 編輯

                                        Following with interest! Great addon!

                                        WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • F 離線
                                          function
                                          最後由 編輯

                                          looking forward to hatch blasting with this one 👍

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • U 離線
                                            unearthed
                                            最後由 編輯

                                            Hi Kaas, Great plugin, really, really useful - I really hope you're able to make a SU 8 version.

                                            Growplan - People ∩ Plants ∩ Place

                                            windows 7 64b, 4GB RAM, SU 8.0.16846
                                            Gimp, QGIS, Vectorworks 12, Bricscad 11

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

                                            Advertisement