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

    [Plugin] Hatchfaces (v1.8 beta) UPDATED 15-Dec-2012

    Scheduled Pinned Locked Moved Plugins
    360 Posts 41 Posters 228.5k Views 41 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.
    • jolranJ Offline
      jolran
      last edited by

      Could you elaborate a little bit more, please? Function πŸ˜„ .

      I have a hunch what you are asking for but I don't think it's doable in Ruby with current API for what I know. I could be wrong.

      BTW. Sorry ALL, for the delay in developping this plugin and releasing updates. Have been very busy with little or no time left for programming. But will be back on track soon.

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

        oh - when faces occupy the same plane, sketchup chooses which will show. In ortho / parallel projection, it will choose one, and when you rotate around it will kind of glitch out and switch between what faces occupy the plane. I found a solution on here to use the glue function to help - but the results were unreliable. I believe draw order control would only be relevant / work in 2d. . I see hatch faces makes actual vector lines, which will always show through on the plane, but if faces use different textures or materials it will present a problem.

        This openGL command may be a start - not sure how it plays out in ruby. - Apparently you can set a depthBuffer, as well.

        The following call will turn off depth testing causing objects to be drawn in the order created. This will in effect cause objects to draw back to front.
        
        glDepthFunc(GL_NEVER);      // Ignore depth values (Z) to cause drawing bottom to top
        
        Be sure you do not call this;
        
        glEnable (GL_DEPTH_TEST);   // Enables Depth Testing
        
        
        
        1 Reply Last reply Reply Quote 0
        • jolranJ Offline
          jolran
          last edited by

          Ah, see what you mean, Z-fighting.
          I plan to have background colors/textures available in combination with edges(vector lines as you call it).

          So, in my code I use the glue-to face-function. Appears to be working pretty ok for me.
          Have you had issues with glue-behavior?

          Can't give you any feedback on Open GL programming. Way over my head, sorry 😞

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

            ya the glue trick was inconsistent for me- every object has be a component right?

            1 Reply Last reply Reply Quote 0
            • TIGT Online
              TIG Moderator
              last edited by

              An Image or an Instance of a Gluing+Cutting Component, when applied directly onto a Face do not "z-flight"...

              TIG

              1 Reply Last reply Reply Quote 0
              • ipsketchpiI Offline
                ipsketchpi
                last edited by

                Hi Jolran

                I am using these plug for a long time, I believe these is something new, I mean these new screen.. is it already available- these new version of these plug?

                /IP

                1 Reply Last reply Reply Quote 0
                • T Offline
                  troypiggo
                  last edited by

                  This plugin looks exactly like something I'm after. I downloaded the 1.6 version from post #1 in this thread, but it only seems to have a very simple crosshatch available and the dialog isn't as well developed as some screenshots I'm seeing in some followup posts. I skimmed through the pages, but did I miss where an updated version with those concrete hatches etc is available?

                  This is not my signature. I type it at the end of every message for quality control.

                  1 Reply Last reply Reply Quote 0
                  • jolranJ Offline
                    jolran
                    last edited by

                    Hi! Sorry for late reply.

                    At the moment there is only crosshatching with edges. ver 1.6.

                    The pictures you have seen is probably screen-grabs from developpment.

                    I just want to assure you I have not abandoned the project. In the future those features will be available, if all goes well.

                    Thanks.

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      emartingr
                      last edited by

                      @jolran said:

                      Hi! Sorry for late reply.

                      At the moment there is only crosshatching with edges. ver 1.6.

                      The pictures you have seen is probably screen-grabs from developpment.

                      I just want to assure you I have not abandoned the project. In the future those features will be available, if all goes well.

                      Thanks.

                      Hello jolran,

                      Great plugin, just what I was looking for. Only one question: Can the menu keep the last input values? (angle, spacing). This would be useful when there are several surfaces to be identically hatched.

                      For the rest I found no bugs. Surfaces with complex geometries, with holes, spirals Etc, hatched fine. Thanks a lot.

                      1 Reply Last reply Reply Quote 0
                      • jolranJ Offline
                        jolran
                        last edited by

                        Hi Emartingr.

                        Can the menu keep the last input values? I'm afraid I can't tell you at the moment 😳

                        (This is a bit embarrassing)I have not done any coding since May and now I feel lost in the world of Ruby, so I'm rehearsing a bit at the moment.
                        Did not expect to forget a language so fast πŸ˜†
                        rookie mistake..

                        Hopefully be back soon. Haven't given up the idea with an update with better dialogs and stuff. Unless someone else has done a similar plugin since I've been gone.

                        1 Reply Last reply Reply Quote 0
                        • jolranJ Offline
                          jolran
                          last edited by

                          In Version 1.7 http://sketchucation.com/forums/viewtopic.php?f=323&t=38637

                          The menu should remember the values during sessions. Although not crosshatching. Crosshatching is calculated as a negative from value 1(Angle).
                          If it seams like a must by request, Remebering 2nd values can of course be done, but I don't think it would be practical.

                          I'm working on the next version with patterns, still lot's to do πŸ˜„
                          I'm doing a comeback in coding, been off for a while..

                          Hope this version will work OK for ya!

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sergey2402
                            last edited by

                            It's great. Thank you so much, Jolran!

                            1 Reply Last reply Reply Quote 0
                            • jolranJ Offline
                              jolran
                              last edited by

                              πŸ˜„

                              Thanks, more coming soon.

                              1 Reply Last reply Reply Quote 0
                              • jolranJ Offline
                                jolran
                                last edited by

                                http://sketchucation.com/forums/viewtopic.php?f=323&t=38637&p=341461#p341461

                                New version added. Please read the help-file in the draw menu(if it's possible πŸ˜„ )

                                It would be nice with feedback if it works on Mac.
                                Some new stuff, but all is in the helpfile. Might do a tutorial later on, just for fun.

                                /Joel

                                1 Reply Last reply Reply Quote 0
                                • jolranJ Offline
                                  jolran
                                  last edited by

                                  Yeiks!! Crosshatching is not working! Will fix that as soon as possible.

                                  edit: Actually it works. But be aware that (until fixed) if you have a negative value in 1st "angle" with crosshatching the crosshatching default value will be negative as well.
                                  So just erase the "-" sign in crosshacthing dialog.

                                  Also some geometry is created if cancelling in the crosshatching-menu.

                                  edited again πŸ˜„ Fixed for next version. Will be added in ver 1.9.

                                  Funny thing, been testing a lot but did miss this obvious thing.
                                  Sorry about that.

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

                                    testing v1.8 on osx 10.8. I'm an osx newb. install went fine (maybe if you named the file .rbz a person could use the in-app installer?)

                                    http://support.google.com/sketchup/bin/answer.py?hl=en&answer=38583

                                    It seems to work great! I really think this project deserves to continue! :stamps foot: I was just looking for insulation pattern tool like yesterday. But I like parallel lines too! It's great you have done some research for the other patterns. Any additional vector tricks instead of images are wonderful. I will use the crosshatch feature too.

                                    1 Reply Last reply Reply Quote 0
                                    • jolranJ Offline
                                      jolran
                                      last edited by

                                      @unknownuser said:

                                      maybe if you named the file .rbz a person could use the in-app installer?)

                                      I'll take a look at it for the next version.

                                      @unknownuser said:

                                      I really think this project deserves to continue!

                                      I'm working on it, mate! I updated the plugin a month ago.

                                      Anyway..
                                      I've ironed out the tiling parts and intersections for Hatchfaces patterns.
                                      But for the moment I'm deep into Javascript.

                                      Went for a "Component window" look and feel. What do ya think?

                                      It will recognize new folders, and new components. So you can just create new folders and save the components(in the pluginfolder) and the thumbnails will be updated.
                                      (I'm looking forward bugtracking that part πŸ˜’ )

                                      It looks like a simple dialog, but there are actually quite a lot of events going on. I'm using some sprites for icons, so we will see how it will work on MAC.
                                      Need to do some adjustements to the css and stuff but nearly there with the dialog..

                                      After that, port the dialog to Hatchfaces and do some more Ruby adjustments and then maybe after that there can be a new betatest.

                                      teaser...


                                      dialog2ndgen.jpg

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

                                        That looks amazing. I think component window is pretty similar on Mac.

                                        My main concern was just to keep some support, not necessarily new features, but that looks very cool.

                                        By the way, if one uses the plugin as a drawing tool, to create a grid for example, is there any way to use that component separate from the face it was created on? I find that deleting the original face does work. Is that allowed? Is there some other way to unglue? If I'm understanding what's happening correctly. Thanks!

                                        1 Reply Last reply Reply Quote 0
                                        • jolranJ Offline
                                          jolran
                                          last edited by

                                          Hi.

                                          If you choose "None" for the background-color the component will not glue, cause it has no faces.

                                          If for some reason you want to unglue the component(when you have background) you can always right click and perform "unglue". That way the component will release the face.

                                          Well hopefully, knock on wood, there will be plenty of new stuff for the next release.

                                          BTW, since youre on MAC, and I'm really curious to know if the icons in the help files are showing up correctly? And the webdialog is working ok. I have no way of testing for Mac. 😞

                                          In case you missed, help files are in the draw menu -> Hatchfaces -> Help.

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

                                            Thanks!

                                            I did see the help files and they are helpful. There are 3 icons at the bottom but I had no idea you could click on them until you said to check the icons...Maybe put them at the top and/or make a note or sign to click on them for more?

                                            I don't know if I can PM yet but I can always test or send screenshots.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 17
                                            • 18
                                            • 2 / 18
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement