sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [proto] 2d stencil - real line hatches

    Scheduled Pinned Locked Moved Plugins
    27 Posts 11 Posters 8.5k Views 11 Watching
    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.
    • K Offline
      kaas
      last edited by 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 Reply Last reply Reply Quote 0
      • JQLJ Offline
        JQL
        last edited by

        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 Reply Last reply Reply Quote 0
        • K Offline
          kaas
          last edited by

          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 Reply Last reply Reply Quote 0
          • jolranJ Offline
            jolran
            last edited by

            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 Reply Last reply Reply Quote 0
            • JQLJ Offline
              JQL
              last edited by

              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 Reply Last reply Reply Quote 0
              • K Offline
                kaas
                last edited by

                @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 Reply Last reply Reply Quote 0
                • K Offline
                  kaas
                  last edited by

                  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 Reply Last reply Reply Quote 0
                  • jolranJ Offline
                    jolran
                    last edited by

                    @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 Reply Last reply Reply Quote 0
                    • J Offline
                      julyyen
                      last edited by

                      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 Reply Last reply Reply Quote 0
                      • K Offline
                        kaas
                        last edited by

                        @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 Reply Last reply Reply Quote 0
                        • J Offline
                          julyyen
                          last edited by

                          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 Reply Last reply Reply Quote 0
                          • K Offline
                            kaas
                            last edited by

                            @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 Reply Last reply Reply Quote 0
                            • K Offline
                              kaas
                              last edited by

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

                              1 Reply Last reply Reply Quote 0
                              • KrisidiousK Offline
                                Krisidious
                                last edited by

                                Nice Kaas... I'll be watching.

                                By: Kristoff Rand
                                Home DesignerUnique House Plans

                                1 Reply Last reply Reply Quote 0
                                • jujuJ Offline
                                  juju
                                  last edited by

                                  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 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kaas
                                    last edited by

                                    @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 Reply Last reply Reply Quote 0
                                    • JQLJ Offline
                                      JQL
                                      last edited by

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

                                      www.casca.pt
                                      Visit us on facebook!

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        pibuz
                                        last edited by

                                        Following with interest! Great addon!

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

                                        1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          function
                                          last edited by

                                          looking forward to hatch blasting with this one πŸ‘

                                          1 Reply Last reply Reply Quote 0
                                          • U Offline
                                            unearthed
                                            last edited by

                                            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 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement