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

    [Plugin] Extrude Edges by Rails

    Scheduled Pinned Locked Moved Plugins
    381 Posts 71 Posters 341.6k Views 71 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.
    • jeff hammondJ Offline
      jeff hammond
      last edited by

      @xrok1 said:

      nice. thanks for implementing the single rail option. i will delete edges by edges plugin soon but...

      red is edges by rails result, blue is edges by edges result?? i think blue wins my vote on how things should work.

      as far as i can tell, both methods give the exact same results (3 tests and while one of the surfaces ended up in a strange location, it still matched the other)

      if you're talking about the triangulation then:

      with edgesBYedges, one of the options after running the script is 'triangulate faces?'

      with edgesBYrails, the second option that pops up is 'erase coplaner edges?'.. choose yes and the triangulation lines will go away (as long as they aren't necessary for the surfacing but since the geometry is the same with the two scripts for 1rail1edge, they'll end up identical if you choose yes to erase the coplanar edges)

      that said, maybe there's something i haven't tried that will make the two 1edge1rail methods produce different results..

      dotdotdot

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

        fwiw, coplanar means 'on the same plane'.. basically, draw a square then draw some lines on its surface or intersecting the edges.. those lines are coplanar and you can freely erase them without making the surface disappear.

        dotdotdot

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

          @unknownuser said:

          (3 tests and while one of the surfaces ended up in a strange location, it still matched the other)

          thats what i'm refering to. EbE seems to be where i'd expect EbR seems to be on the wrong side of the rail. there probably is no right or wrong side it just isn't what i expected. maybe you could add a dialog for the one rail method that asks if you want to mirror result.

          PS, now that i asked for another dialog 😆 i feel i should say the dialog are annoying and i think a single window with checkboxes would be much nicer. 😉

          “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
          • TIGT Offline
            TIG Moderator
            last edited by

            This is built with raw UI interface - no web-dialogs so no check-boxes - yet...

            TIG

            1 Reply Last reply Reply Quote 0
            • K Offline
              kostas_designer
              last edited by

              Wow!
              Great improvement! I was missing the 1.1 version and i could'n figure out why it was acting like that!
              Now it rocks!
              Thanks again, Tig


              version 1.1 vs 1.0.jpg

              1 Reply Last reply Reply Quote 0
              • B Offline
                bocomofo
                last edited by

                I cant even imagine how this works...I can only presume that it is withcraft.
                Regardless of that I think it is totally amazing...now just to find a practical use for it in the rather 'boxy' Architecture I'm used to producing!!!

                Wonderful effort TIG!

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

                  @daniel s said:

                  Amazing TIG!!!
                  Thank you!!!
                  How about an option to maintain height?
                  ...
                  Daniel S

                  To do the second option you showed add a horizontal line down the centre of the profile at its topmost point.
                  Make that line divided and weld into a curve [best if it has same number of segments as the path?]
                  Use My tool on one 'half' of the profile and a side rail and the new 'top' rail.
                  Now use My tool again on the other 'half' of the profile and the other side rail and the new 'top' rail.
                  Select both groups and group, edit the new group and select the two groups inside and explode them.
                  You now have the form you desired FlatToppedEEbyRails.pngFlatToppedEEbyRails.skpwith a flat top...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • broomstickB Offline
                    broomstick
                    last edited by

                    Like everyone, I am here to say thanks for this great script... words fail me to describe how awesome this ruby is!

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      ionandre
                      last edited by

                      It's Fantastic!

                      It works also on 3 closed curves.

                      Thank you so much

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

                        @tig said:

                        Make that line divided and weld into a curve [best if it has same number of segments as the path?]

                        I tried to do that but the plugins dosen´t like a line as a rail.
                        Good tip to divide the line and then weld to make it work 😍

                        I also like a lot the option to make it work with closed curves.. looks like a patch tool.
                        patch.jpg
                        patch2.jpg
                        Perhaps in a future we can have a n-sided patch tool inside SketchUp 🎉

                        Thanks again,
                        Daniel S

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

                          Case 1 works if volume has orthogonal segments 😄
                          Case 2 & 3 & 4 yet works! 💚
                          sweep3.jpg

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

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

                            Yes Pilou, I´m showing another possible use of what can you do with this plugin... in this cases works like a patch tool using 3 curves.

                            Daniel S

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

                              Ah yes, sorry 😳

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

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                ionandre
                                last edited by

                                Hey this plugin can also make very good lofts by rails 😮


                                Untitled.png

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

                                  It will 'loft' any two 'rail' curves along a profile 'curve'... That's the idea... 💭

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • I Offline
                                    ionandre
                                    last edited by

                                    Just noticed this:

                                    with a simple straight line(curve) used as profile you can loft 2 closed rail curves directly (poligons) as well, but if use an arc as profile the result is a twisted loft. Why that? 😒


                                    Untitled.png

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

                                      It takes the nearest points of the rails to place / adjust the profile.
                                      Split the square's edge nearest the circle at it's center.
                                      It should then not twist ?

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        ionandre
                                        last edited by

                                        @tig said:

                                        It takes the nearest points of the rails to place / adjust the profile.
                                        Split the square's edge nearest the circle at it's center.
                                        It should then not twist ?

                                        Thank you for the advice, however It seems no possible.
                                        By the way I can ever achieve the good result with the previous method.
                                        Maybe it would be nice an option to set the starting point.
                                        It could work well in conjuction with tool on surface I think.

                                        By the way I think your plugin is quite revolutionary.

                                        thanks again.

                                        Ionandre

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

                                          Sorry, I don't think my last explanation was very clear.

                                          As explained in the Tool's notes... if the Profile touches a Rail then that fixes the Profile's 'snap-point' on that Rail: it is the safest way to fix what's made - otherwise you can be surprised - like this 'twisted' extrusion. 😕
                                          So it if touches both Rails then that fixes the Profile without twists - sorted. 😄

                                          But like in your case - if the Profile doesn't touch Rail-1 then the snap-point for the Profile on Rail-1 is taken as the point nearest to the end of the Profile - unfortunately in your case Rail-1 [the square] has 4 points that are all 'nearest' to the centred Profile's start [this is after the Rail is sub-divided into parts to match the Circle]. Therefore the Tool guesses at the start of Rail-1...

                                          Next, as in your case - if the Profile doesn't touch Rail-2 then the snap-point for the Profile on Rail-2 is taken as that point nearest to the end of the Profile; however, in your case it's a circle so all of its Vertices are equidistant from the Circle's center [the Profile's other end] ! So in this case it takes the snap-point as the one nearest to Rail-2 - and that's the bottom of the circle...

                                          Now the Profile is snapped to that point and a point on Rail-1 - which can be guessed as any of 4 points - giving a 4:1 chance of a twisted extrusion being made...

                                          ☀ Simple fix... the Profile's path is not change if it is relocated... So Move the Profile so that it's end is very near to the bottom Vertex of the Circle-shaped Rail... Pick that, then Pick the Circle-shape as Rail-1 then Pick the Square-shaped Rail... It should make an non-twisted extrusion.

                                          Another way is to Divide the four edges of the Square-Rail into halves [so it then has 8 segments], then Move the Profile so it snaps to the Square's edge's mid-point that is nearest to the bottom of the Circular Rail, and then Weld the Square's 8 segments into a Curve... Run the Tool, Pick the Profile, the Pick Square-Rail, then Pick the Circle-Rail... Again it should make an extrusion that's not twisted...

                                          TIG

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

                                            Tig, would it be possible to make your plugin so one could lasso select the rails, eliminating the need to weld them ahead of time? i ask because it seems the weld script is kind of finicky and sometimes requires some effort to get the desired results.

                                            “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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 19
                                            • 20
                                            • 4 / 20
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement