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

    [REQ] Edge 2 Groove

    Scheduled Pinned Locked Moved Plugins
    68 Posts 11 Posters 5.2k 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.
    • EarthMoverE Offline
      EarthMover
      last edited by

      Works great on the example I provided which are created via "curves" where some of the edges are supporting non planar faces. 👍 However, it curiously fails on edges which support planar or perpendicular surfaces. Also fails on the shape I provided when the bottom is added to make it solid.

      Thanks for the work so far. I wonder can the tool be further tweaked to work on a variety of different situations where grooves would be needed? (i.e. single face grooves, grooves to define cabinet drawers, grooves for concrete building facades, etc.) Thus being more useful for a variety of different users. Also, can the width and depth be defined separately?

      Thanks again Sam for solving the first part of the riddle. What was the logic you ended up using for the code? I tried to decipher it, but it's a little over my head.

      3D Artist at Clearstory 3D Imaging
      Guide Tool at Winning With Sketchup
      Content Creator at Skapeup

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        @unknownuser said:

        this only works if the selected edges are all coplanar; 'skewed' grooves will not work.

        Have you an example of that ?

        I will try the new SAM plug 😄

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

        1 Reply Last reply Reply Quote 0
        • charly2008C Offline
          charly2008
          last edited by

          Hi,

          I have tested the groove tool. The results are unusual. I do not know why.

          Charly


          2012-05-01_172327.jpg


          2012-05-01_172653.jpg


          2012-05-01_173710.jpg


          2012-05-01_173818.jpg

          He who makes no mistakes, makes nothing

          1 Reply Last reply Reply Quote 0
          • sdmitchS Offline
            sdmitch
            last edited by

            Using the Edge 2 Groove model supplied, I have been able to create a plugin for this unique situation.

            [flash=800,600:14uqb6r8]http://www.youtube.com/v/JvROg-dN2YA[/flash:14uqb6r8]

            Nothing is worthless, it can always be used as a bad example.

            http://sdmitch.blogspot.com/

            1 Reply Last reply Reply Quote 0
            • sdmitchS Offline
              sdmitch
              last edited by

              Charly, Please see my last post. I knew it was a mistake to post the alpha version because people always think that, no matter what bazaar situation they can create, the plugin should be able to handle it.

              Nothing is worthless, it can always be used as a bad example.

              http://sdmitch.blogspot.com/

              1 Reply Last reply Reply Quote 0
              • sdmitchS Offline
                sdmitch
                last edited by

                Yes I'm sure much more can be done but, as I stated in the post, the plugin attached was developed and tested on that one example alone.

                I just looked at it as a sidewalk, with at flat top and curved sides. I examined each edge to see if it was between coplanar faces, normals parallel, to indicate it was on top and calculated the boundary points of the three faces that I could pushpull to create the top and side grooves. In addition to the normals parallel, I need to require the the normal.z is pointing up or down. This will allow sides to be straight as well.

                Adding grooves to a four sided column poses the additional problem of trying to determine "which" way is up".

                Nothing is worthless, it can always be used as a bad example.

                http://sdmitch.blogspot.com/

                1 Reply Last reply Reply Quote 0
                • EarthMoverE Offline
                  EarthMover
                  last edited by

                  @sdmitch said:

                  Adding grooves to a four sided column poses the additional problem of trying to determine "which" way is up".

                  This makes sense. Thanks for posting the Alpha version. It is a very promising start. I definitely understand it was adapted to a specific situation. Hopefully it will continue to evolve into a more universal solution! 😄 Thanks again.

                  3D Artist at Clearstory 3D Imaging
                  Guide Tool at Winning With Sketchup
                  Content Creator at Skapeup

                  1 Reply Last reply Reply Quote 0
                  • sdmitchS Offline
                    sdmitch
                    last edited by

                    @earthmover said:

                    single face grooves, grooves to define cabinet drawers, grooves for concrete building facades.

                    Please provide an example of each.

                    Nothing is worthless, it can always be used as a bad example.

                    http://sdmitch.blogspot.com/

                    1 Reply Last reply Reply Quote 0
                    • pilouP Offline
                      pilou
                      last edited by

                      @ Charly : for the moment you must don't take solides volumes, only open surfaces as the first example shown 😄

                      rainure1.jpg

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 Reply Last reply Reply Quote 0
                      • EarthMoverE Offline
                        EarthMover
                        last edited by

                        I certainly will Sam. I have a bunch of billable work to finish up with at them moment, but will get you some test models as soon as I'm done. Unless someone else has time.

                        C'mon people.....get your grooooove on! 😄

                        3D Artist at Clearstory 3D Imaging
                        Guide Tool at Winning With Sketchup
                        Content Creator at Skapeup

                        1 Reply Last reply Reply Quote 0
                        • mitcorbM Offline
                          mitcorb
                          last edited by

                          @sdmitch:
                          Regarding the column and up/down question, could you relate the action to a centroidal axis about which the grooving happens? Just throwing out ideas. It might work for any linear form. Define the line, series of segments, curve as the axis, precursor to the process?
                          Vaguely related to Lines2Tubes or Tube Along Path.

                          I take the slow, deliberate approach in my aimless wandering.

                          1 Reply Last reply Reply Quote 0
                          • sdmitchS Offline
                            sdmitch
                            last edited by

                            mit, That is a certainly a possibility and using followme instead of pushpull. The problem will always be sorting out which edges should be followed unless the paths are selected one at a time.

                            Nothing is worthless, it can always be used as a bad example.

                            http://sdmitch.blogspot.com/

                            1 Reply Last reply Reply Quote 0
                            • pbacotP Offline
                              pbacot
                              last edited by

                              uploading a cabinet example. Grooves are very small. Thanks! P

                              (I for one have NO billable time today 😞 )


                              cabinet with grooves.skp

                              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                              1 Reply Last reply Reply Quote 0
                              • mitcorbM Offline
                                mitcorb
                                last edited by

                                Hi, sdmitch:
                                I didn't necessarily mean you would use a followme function. More like the centroidal path being continuous through the core of the linear construction, but used as a reference axis at the interfaces of the units from which a groove offset is determined for each brick, tile, stone, whatever, and then some kind of process that shrinks the offset. Alternatively a Dynamic Component is developed with abilities to skew faces, tegularize, or rebate edges?

                                I take the slow, deliberate approach in my aimless wandering.

                                1 Reply Last reply Reply Quote 0
                                • EarthMoverE Offline
                                  EarthMover
                                  last edited by

                                  Hey Sam, here are a bunch of different groove scenarios, which all fail with the current plugin, some causing crashes. Thanks again.


                                  Groove Maker Scenerios.skp

                                  3D Artist at Clearstory 3D Imaging
                                  Guide Tool at Winning With Sketchup
                                  Content Creator at Skapeup

                                  1 Reply Last reply Reply Quote 0
                                  • sdmitchS Offline
                                    sdmitch
                                    last edited by

                                    I'm not surprised that the plugin fails and/or splats on these examples. It is going to be very tough if not impossible to come up with a general solution.

                                    Nothing is worthless, it can always be used as a bad example.

                                    http://sdmitch.blogspot.com/

                                    1 Reply Last reply Reply Quote 0
                                    • EarthMoverE Offline
                                      EarthMover
                                      last edited by

                                      I suspected as much. A general solution would spend more time inspecting than processing I suppose. Grooves on a single (non-extruded) face should be quite simple, but I imagine the code would vary from solving the edges that turn corners. Edges that support co-planar faces and turn corners is a different procedure than those that turn corners and support non-planar. Also edges that form a "C" as opposed to closed loop would be processed different as well. Could there possibly be a prompt to help the script identify the situation before the process runs? It appears there is an overwhelming desire and need for the (universal) script, across many different industries, but I certainly understand the nature of edges in sketchup and the inability to identify them as they have no "normals" like faces do. I'm however, still hopeful for a solution.

                                      3D Artist at Clearstory 3D Imaging
                                      Guide Tool at Winning With Sketchup
                                      Content Creator at Skapeup

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

                                      Advertisement