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

    [Plugin] Perpendicular Face Tools (UPDATED 26-03-09)

    Scheduled Pinned Locked Moved Plugins
    201 Posts 64 Posters 174.4k Views 65 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      @dave r said:

      Chris, I'd love to tell you something like, "I found a loophole in your script." πŸ˜†

      Ha, yeah right. A "loophole" in my script would be more likely to crash your system indefintely than create unexpected awesome geometry πŸ˜„

      Thanks for the explanation. I was wondering how you were getting the scaleing to come out so evenly. The bezier above them makes a lot of sense,

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • takesh hT Offline
        takesh h
        last edited by

        An interesting Ruby, Chris. This can be really handy.
        One wish from me - Is it possible to pick a reference point (a vertice that sticks to the path) when placing profiles onto a path?
        Right now it uses centers (more or less) of faces?

        1 Reply Last reply Reply Quote 0
        • Dave RD Offline
          Dave R
          last edited by

          Chris, I don't mean to be getting off topic but here's sort of a deconstruction of the thing. The horizontal guides intersect the Bezier curve at the nodes or vertices. (Is it proper to call them nodes?) You can see the Bezier drawn on the ground plane, too. I copied that one and used the copy as the "path" for placing the faces with your plugin. All of this runs parallel to the red axis. Which you would glean from the position of the original face shown in green off to the right.

          I did have to scale the faces in the green direction to get the vertical edges to lie on the centerline of the handle.

          Drawer Pull Explained.jpg

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 Reply Last reply Reply Quote 0
          • X Offline
            xrok1
            last edited by

            @unknownuser said:

            Thanks for the explanation. I was wondering how you were getting the scaleing to come out so evenly. The bezier above them makes a lot of sense,

            wouldn't it be awsome if you could get you're script to do that automatically?!! πŸ˜› scale to curves. WOW! how about this; draw to curves (rails) at get the profile to copy and scale at given intervals, say /6 or /12 or whatever. πŸ˜›

            now that would be a great tool!!!!!!!!!!!

            β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

            http://www.Twilightrender.com try it!

            1 Reply Last reply Reply Quote 0
            • X Offline
              xrok1
              last edited by

              @takesh h said:

              An interesting Ruby, Chris. This can be really handy.
              One wish from me - Is it possible to pick a reference point (a vertice that sticks to the path) when placing profiles onto a path?
              Right now it uses centers (more or less) of faces?

              place a constuction point and you should be able to use that.

              β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

              http://www.Twilightrender.com try it!

              1 Reply Last reply Reply Quote 0
              • Chris FullmerC Offline
                Chris Fullmer
                last edited by

                Yeah, it would be very easy to make it recognize a construvtion point as the placement point. So next round:

                Near future:
                Add construction point placement
                Fix rotation keys
                Add multiple flat face support for the custom tool.

                Distant Future:
                Re-write custom face tool to rotate correctly always.

                My Next Life:
                Turn it into a proper sweep tool with multiple deformation methods.

                Lets hope for the best πŸ˜„

                Chris

                And thanks for the detail on that Dave, quite useful. It might be possible to implement that funcitonality. Is that something that is wideuly used enough that it woul be helpful?

                Lately you've been tan, suspicious for the winter.
                All my Plugins I've written

                1 Reply Last reply Reply Quote 0
                • Dave RD Offline
                  Dave R
                  last edited by

                  Chris, if the function was available I think it would be used a lot by certain woodworkers who are using SU for designing their work. I can imagine others would use it as well. I've drawn a number of pieces utilizing the method I used for that handle such as table legs but I've always had to manually place the faces. I always found that the more tedious part of the process.

                  If you could automate the sizing of the faces, it would be very handy. I think working to nodes on the curves would be good.

                  I tend to halve or quarter more complex shapes such as that handle because they're generally a small part of a larger project and I don't want their contribution to the file size to exceed their worth if you know what I mean. I wonder if there would be a way in a dialog box to ask if the shape is half of a symmetric profile and should one edge of the profiles be aligned. Or maybe the scaling could be done such that the faces fit between top and bottom lines and left and right lines. If one of the pair of lines is straight, it could be used as the line of symmetry. Does that make any sense?

                  Not to dump a lot on you but the topper would be to roll the Skin plugin into your script. The process would be place the faces along the path, scale them to fit between the "sweep" curves, explode the face groups, delete the faces leaving the edges, skin between them and smooth the edges. What do you think of that?

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    I've got a few scripts in mind that deal with similar functions. We'll see if I attempt to write it into this one, or create a totally new script. I would definitely like to investigate this area of scripts. They sound like a lot of fun.

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

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

                      A Scaling function between each click of a face along the curve β˜€
                      (with the arrows Right / Left for example Increase / Decrease)

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

                      1 Reply Last reply Reply Quote 0
                      • jeff hammondJ Offline
                        jeff hammond
                        last edited by

                        @unknownuser said:

                        A Scaling function between each click of a face along the curve β˜€
                        (with the arrows Right / Left for example Increase / Decrease)

                        to go even further off topic πŸ˜„ :

                        what if you could scale the faces via some sort of weighing mechanism? (and i'm not sure if 'weighing' is the right term here -- i basically mean that everything isn't scaled equally and the 'pressure' is greatest at a determined point and dissipates as it gets further away ... i can sort of give an idea using the smoove tool but that only works up/down.. if this could somehow work with the scale tool instead, it would open up a lot of options.

                        [flash=425,344:27kpptas]http://www.youtube.com/v/3AwbiNkwG9c&hl=en&fs=1[/flash:27kpptas]

                        dotdotdot

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by

                          Yeah, a soft selection tool (which is essentially what smoove does) would be nice. Its probably not enough, but you can hold down shift with the smoove tool to make it work in other directions than just the blue axis.

                          Chris

                          Lately you've been tan, suspicious for the winter.
                          All my Plugins I've written

                          1 Reply Last reply Reply Quote 0
                          • jeff hammondJ Offline
                            jeff hammond
                            last edited by

                            re: the construction point for placement of the custom profile..

                            would something like this be hard to implement? (via 1001bit's extrude tool)

                            [flash=425,344:avk32lsb]http://www.youtube.com/v/3AQ0bMPJh4Y&hl=en&fs=1[/flash:avk32lsb]

                            dotdotdot

                            1 Reply Last reply Reply Quote 0
                            • Chris FullmerC Offline
                              Chris Fullmer
                              last edited by

                              I like that. I'll have to think about it. It might require some re-writing and re-organizing.

                              And I am really bad at the on-screen display of rubber band lines and crosshairs and lines that light up etc. Maybe once I get those under control, I can implement something more visually friendly. For now, I might just have to include a true construction point recognition.

                              Thanks for the great suggestions,

                              Chris

                              Lately you've been tan, suspicious for the winter.
                              All my Plugins I've written

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

                                @dave
                                @unknownuser said:

                                Between Chris's plugin and the Skin plugin, this was all dead simple and fast work.

                                What is the number of the version of Skin plug you use?

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

                                1 Reply Last reply Reply Quote 0
                                • Dave RD Offline
                                  Dave R
                                  last edited by

                                  @unknownuser said:

                                  @dave
                                  @unknownuser said:

                                  Between Chris's plugin and the Skin plugin, this was all dead simple and fast work.

                                  What is the number of the version of Skin plug you use?

                                  Looks like 2.2.1

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

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

                                    Many thx πŸ˜‰

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

                                    1 Reply Last reply Reply Quote 0
                                    • jeff hammondJ Offline
                                      jeff hammond
                                      last edited by

                                      i think a good branch/byproduct of perpendicular face tools could be perpendicular line.. (and this ruby might already exist? tried searching to no avail)

                                      the only thing it would need to do (that i can think of) is draw a construction line perpendicular to a line that's on a plane.

                                      goal - perp.line at the green dot -- [edit] the greyish background is actually a plane.. the line isn't floating in space.. i should've shown that better.

                                      http://homepage.mac.com/jeffhammond/.Public/scf/p1.jpg

                                      using perpendicular face tool (which is now the easiest way for me to do this)

                                      http://homepage.mac.com/jeffhammond/.Public/scf/p2.jpg

                                      the proposed byproduct

                                      http://homepage.mac.com/jeffhammond/.Public/scf/p3.jpg

                                      this would be one of the cool little rubies that i'd assign a shortcut to..

                                      [EDIT] i said:
                                      "the only thing it would need to do (that i can think of) is draw a construction line perpendicular to a line that's on a plane."

                                      i guess it should also be a little smarter than that and function how perp.face tools does in that if you click on a vertex, the angle will be bisected.

                                      dotdotdot

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        dtrarch
                                        last edited by

                                        Jeff

                                        Just draw a perpendicular line [by inference] to end segment and convert to construction line with xline.rb
                                        http://www.smustard.com/script/Xline

                                        dtr

                                        1 Reply Last reply Reply Quote 0
                                        • jeff hammondJ Offline
                                          jeff hammond
                                          last edited by

                                          @dtrarch said:

                                          Jeff

                                          Just draw a perpendicular line [by inference] to end segment and convert to construction line with xline.rb
                                          http://www.smustard.com/script/Xline

                                          dtr

                                          thanks
                                          but it's not as if i need the construction line, it's just that drawing a perpendicular line via inferencing is hit or miss.. the example i posted should be easy enough but if other lines are around, the inferencing goes haywire.. i usually have to resort to using the protractor.. simple enough but still annoying and the less tiny annoyances i have to deal with, the better my moral is πŸ˜„

                                          [edit] oh, and actually.. i think the perp.face tool might even be better for me anyway.. for one, instead of having an infinite length const. line, i can type my dimension in the vcb with chris' tool. (ie if i need a 10' perp. line, type in 20').. the fact that the perpendicular face is a group makes it real easy to get rid of the reference plane after i'm finished with it..

                                          dotdotdot

                                          1 Reply Last reply Reply Quote 0
                                          • jeff hammondJ Offline
                                            jeff hammond
                                            last edited by

                                            from a different thread but it's about this plugin

                                            @chris fullmer said:

                                            And Jeff, why is your perpendicular face tool icon so tiny? That's kind of weird. It should be the normal size.

                                            it's because the resolution is set to 300 and all the other icons are at 72.. for some reason, SU mac is reading the actual document size instead of the pixel dimensions when displaying the icons in the custom toolbar.. strange
                                            i have it sorted out now but i guess in the future, make sure they're at 72 ?

                                            dotdotdot

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 10 / 11
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement