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

Copy Array Along Path tool...have a look.

Scheduled Pinned Locked Moved Developers' Forum
46 Posts 15 Posters 118.0k Views 15 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.
  • R Offline
    RickW
    last edited by 2 Nov 2009, 17:36

    @tig said:

    This along awaited update of RickW's tool CopyAlongPath - to rotate as it copies... I'm do some other stuff that will involve an algorithm that could be applied to this - but don't hold your breath...

    2D rotation works for components, but 3D rotation has yet to be implemented.

    RickW
    [www.smustard.com](http://www.smustard.com)

    1 Reply Last reply Reply Quote 0
    • E Offline
      Ecuadorian
      last edited by 2 Nov 2009, 18:30

      This will make a nice commercial script, Rick. 😎

      -Miguel Lescano
      Subscribe to my house plans YouTube channel! (30K+ subs)

      1 Reply Last reply Reply Quote 0
      • J Offline
        JClements
        last edited by 2 Nov 2009, 20:18

        Jeff, I use perpendicular to path as well to do what you showed in your first posting, but it can be a tedious process.

        If it could be automated AND combined with scale along a path from one object to a rescaled-copy of itself, it would sure be helpful in producing things such as reduced elbows.

        Lets hope ...

        John | Illustrator | Beaverton, Oregon

        1 Reply Last reply Reply Quote 0
        • S Offline
          simon le bon
          last edited by 5 Nov 2009, 22:59

          @tig said:

          This along awaited update of RickW's tool CopyAlongPath - to rotate as it copies... I'm do some other stuff that will involve an algorithm that could be applied to this - but don't hold your breath...

          "This along awaited update of RickW's tool CopyAlongPath" Yes indeed dear Rick, we agree with TIG. We need it! (we want it πŸ˜‰ )

          this is my try:


          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray001th.jpg

          3d_grid.rb


          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray002th.jpg

          Weld v.3.000 by Rick Wilson


          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray003th.jpg

          BezierSpline v1.21 by fredo


          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray004th.jpg

          Perpendicular Face Tools by Chris Fullmer

          @jclements said:

          If it could be automated AND combined with scale along a path from one object to a rescaled-copy of itself, it would sure be helpful in producing things such as reduced elbows.

          Lets hope ...


          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray005th.jpg

          2 Faces + Path ver. 1.4. by Kirill

          @click draw said:

          I'd like to experiment with changing or replacing the component with another. I think this will come in very useful for creating rope, chain, spine type shapes, etc....


          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray006th.jpg


          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray007th.jpg

          Components onto Faces v1.0 by Chris Fullmer


          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray008th.jpg

          As Jean lemire always say: "just ideas" πŸ˜„
          simon.

          1 Reply Last reply Reply Quote 0
          • S Offline
            simon le bon
            last edited by 7 Nov 2009, 23:37

            Tweaking the process:


            http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray009th.jpg


            http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray010th.jpg


            http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray011th.jpg


            http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray012th.jpg

            *s

            1 Reply Last reply Reply Quote 0
            • X Offline
              xrok1
              last edited by 8 Nov 2009, 04:05

              love that chain! i'd like to see it rendered with a glass material. πŸ˜‰

              β€œ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
              • S Offline
                simon le bon
                last edited by 8 Nov 2009, 09:56

                Hi Rocky

                Please take it and make it at your convenience πŸ˜‰
                (click the pic for Skp)

                http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/th_CopyArray013th.jpg
                ../sim

                1 Reply Last reply Reply Quote 0
                • S Offline
                  simon le bon
                  last edited by 10 Nov 2009, 22:57

                  Playing with the process..
                  (easy and fast)


                  http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray014th.jpg


                  http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray015th-1.jpg

                  (two components made with the same 60Β° rotated)
                  *s

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Bob James
                    last edited by 10 Nov 2009, 23:41

                    @simon le bon said:

                    (easy and fast)

                    Is your "easy and fast" the same eight-step process in your previous post or have you come up with a real "easy and fast"?

                    i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pav_3j
                      last edited by 10 Nov 2009, 23:44

                      simon you are a master of getting the best results using methods most don't think of!

                      i'm still a little confused by the process, but i'll get there!

                      pav

                      Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pav_3j
                        last edited by 11 Nov 2009, 02:37

                        ah i get it now simon, thank you very much for the written explaination.

                        i think one thing you may have missed out (as i understand it) is that the amount of steps you have to take with the 2 faces and a path tool, must equal the amount you have segmented the curve by, or the faces will not end up on the end point of each line.
                        correct?

                        thank you again.

                        pav

                        Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          Click Draw
                          last edited by 11 Nov 2009, 05:06

                          Very clever Simon....I'll be trying this for sure!

                          Thanks,

                          Jeff

                          PS: I wonder if it would be possible to have a ruby called "Replace segment with Component"...nah....I doubt that could be written πŸ˜‰

                          Have I mentioned how much of a laugh I get out of some of the Signatures on here!

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            Chris Fullmer
                            last edited by 11 Nov 2009, 06:09

                            Was TIG working on something that would replace a single line with a component and use the line scale and orientation to determine the scale and orientation of the component? Something about that sounds familiar...

                            Chris

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

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              Click Draw
                              last edited by 11 Nov 2009, 06:26

                              I sure hope someone is working on something like that. That would be an awesome ruby. What you could model and the time saved would be great! My eyes will be glued to this thread...
                              Cheers....

                              Have I mentioned how much of a laugh I get out of some of the Signatures on here!

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                simon le bon
                                last edited by 11 Nov 2009, 11:18

                                Hi Bob and Pav,

                                I'm confused because in following my own idea I was sure to have described the process in its simplicity!! Your two comments tell enough I was wrong.

                                I am going to try to explain better , "pardon pour mon anglais".

                                I)My main idea is that we need to prepare the curve we intend to be the path along which we want to copy our elements. Because what we need is a curve made of
                                -a)an exact number of segments
                                or
                                -b)a curve divided by segments of a precise length.

                                1)If we make our "path" using arc tool or/and line tool or/and bezier spline we need to make it first a "clean curve". This is made by the help of "Weld".

                                2)Once this is accomplish, we are going to convert this curve as a well wanted segmented polyline. this is made with underknown features which go with "BezierSpline" . When you select the curve, you can choose by right-clic context menu πŸ˜† Convert to: Polyline Divider (if you wish to divide your curve by segments of exact length) or Polyline Segmentor (if you want to divide this curve by a specific number of equals segments.)

                                II)My second idea is to use "2Faces + Path" plugin in an unusual way. This plug is first intending to drive a transformation from a face to another one. My idea is to use it with no transformation! the first and the last face are the same! So this face is going to be dispatched in one clic all along the path in between the segments.
                                Re: to simplify the process I use "Perpendicular Face tools" to put in place with a clic those first and last faces, but we can do without it. (in particular when we want to use a complex face)

                                III)My third idea is to use "Components onto Faces" to replace those faces by the component I want. One more time in just a clic and, as the faces remain selected, I can delete them with one push on "Del" .
                                Re: if I want to dispatch various components like in the case of my chain, I copy the same number of the path+faces and I delete by hand the faces I don't want to follow the component. And I assemble them at the end.
                                Re: the main tip is to play foxy with "modify axes" inside components.

                                In summary:

                                1)drawing the curve
                                2)make it clean (weld)
                                3)make it a divided polyline (BezierSpline: Polyline Divider or Segmentor)
                                4)put the first an last face (Perpendicular face tools)
                                5)put a face at each segment intersection (2Faces + Path)
                                6)replace faces by components.

                                (I have some others ideas to develop the process, I shall tell latter πŸ˜‰ )

                                simon.

                                1 Reply Last reply Reply Quote 0
                                • R Online
                                  Rich O Brien Moderator
                                  last edited by 11 Nov 2009, 12:04

                                  @chris fullmer said:

                                  Was TIG working on something that would replace a single line with a component and use the line scale and orientation to determine the scale and orientation of the component? Something about that sounds familiar...

                                  Chris

                                  Hi Chris,

                                  This "Replace with Component" idea is extremely exciting. Do you think Fredo's 'GhostComp' could hold some clues on implementing this? I know zero about Ruby Scripting but use Fredo's alot to help keep things running smoothly.

                                  I realise it needs a component to create various versions of that component and hide the original. But could this be reversed to reference a component from a simple line?

                                  Download the free D'oh Book for SketchUp πŸ“–

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pilou
                                    last edited by 11 Nov 2009, 12:28

                                    @unknownuser said:

                                    a ruby called "Replace segment with Component"

                                    If your segment is a component you don't need a ruby πŸ˜‰
                                    I believe exist a ruby that transform a selection of elements in Components πŸ˜‰
                                    So select your elements (here segments)
                                    transform them in components
                                    Replace your component by any other component you want
                                    Et voila 😎

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

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      simon le bon
                                      last edited by 11 Nov 2009, 14:21

                                      some few more details of explanation:

                                      When I need
                                      @unknownuser said:

                                      -b)a curve divided by segments of a precise length.
                                      . For I have to dispatch elements with a definite length along the path, it is going to remain an under sized segment from "Polyline Division". I delete this extra one before go further.

                                      When I use "Perpendicular Face Tools" to put a face at each end of the curve, those faces are grouped. I ungroupe them in order to make them as available faces with "2Faces + Path".

                                      (
                                      @pav_3j said:

                                      ah i get it now simon, thank you very much for the written explaination.
                                      pav
                                      thank you pav)

                                      @pav_3j said:

                                      i think one thing you may have missed out (as i understand it) is that the amount of steps you have to take with the 2 faces and a path tool, must equal the amount you have segmented the curve by, or the faces will not end up on the end point of each line.
                                      correct?

                                      "2Faces + Path" dispatch automatically the faces at each intersection in one pass. This is the very good point!!
                                      It dispatches exactly (n+1) faces: a face at each intersection + a face at two endpoints of the curve.

                                      So we have to delete the two previous faces we have put to initialize "2Faces + Path" process.

                                      important remark: "Perpendicular Face Tools" and "2Faces + Path" doing the same, are dispatching the faces oriented at the mid angle between each two segments, and in a perpendicular angle for end lines..

                                      another very interesting feature is the ability of this plug to dispatch faces as they are aligned to path or not aligned to path. I will show in another post how it can be interesting to mix invariant oriented elements with elements following the path like in a barrier, a suspension bridge...

                                      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray016th.jpg


                                      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/CopyArray017th.jpg

                                      (
                                      @click draw said:

                                      Very clever Simon....I'll be trying this for sure!
                                      thank you man! πŸ˜‰ )

                                      @click draw said:

                                      PS: I wonder if it would be possible to have a ruby called "Replace segment with Component"...nah....I doubt that could be written πŸ˜‰

                                      @chris fullmer said:

                                      Was TIG working on something that would replace a single line with a component and use the line scale and orientation to determine the scale and orientation of the component?

                                      In this case I think that orienting a face is an easiest way than orienting a line !?

                                      *simon

                                      1 Reply Last reply Reply Quote 0
                                      • thomthomT Offline
                                        thomthom
                                        last edited by 11 Nov 2009, 14:25

                                        Should try that with Remus' catenary curve...

                                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                        List of my plugins and link to the CookieWare fund

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          Bob James
                                          last edited by 11 Nov 2009, 18:53

                                          Thank you Simon: I can really understand the process now.

                                          However, you and I have a different definition of "fast and easy". πŸ˜†

                                          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

                                          Advertisement