sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Copy a component along a curve

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    12 Posts 5 Posters 1.1k Views 5 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.
    • E Offline
      Ecuadorian
      last edited by

      favicon

      (www.smustard.com)

      Use the "copy to spacing" option. Make sure the red axis on your component is tangent to the direction of the path. Check out a visual explanation on this amazing thread on the PushPullBar:

      http://www.pushpullbar.com/forums/ruby-scripts/9467-visual-index-ruby-scripts-3.html#post132098

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

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        But it doesn't adjust the component perpendicular to the curve. Is there some other plugin which can do that?

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

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

          @thomthom said:

          But it doesn't adjust the component perpendicular to the curve. Is there some other plugin which can do that?

          I second that request. That would be soooo cool. 😎 I would call it "pathcopy rollercoaster edition". Just imagine what you could do with such a script and architectboy's "skin" ruby.

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

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

            Make the component / Copy along a path (with the red axis), then Edit / Component and rotate it 90° 😉
            Or maybe rotate it before the copy along the path 😄

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

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @unknownuser said:

              Make the component / Copy along a path (with the red axis), then Edit / Component and rotate it 90° 😉
              Or maybe rotate it before the copy along the path 😄

              That won't work. The attached image illustrates the problem. It align two axis, but they remain planar. What I'm looking for is having the components also rotate so the red component axis is parallel to the curve it follows.


              CopyAlongPath.PNG

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

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

                I guess the key is in Vector.flat_angle.rb Check the last post in this thread:
                http://betaforum.sketchup.com/showthread.php?t=71412

                How about sending a PM to Mr. Rick Wilson to see if he can make a "raw" version without the angle flattening? I'd gladly pay for such a script. Of course, the original pathcopy should remain intact, as it is extremely useful for architecture (you want your light posts to remain vertical along the road).

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

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  hm... I did send him a message. Though, that might be interesting to have a look at that file. Maybe I can work out what it's doing and make some changes myself.

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

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

                    @unknownuser said:

                    That won't work.

                    Not so a big deal 😄
                    Rotate first the component
                    Make the copy along path "Planar"
                    Then rotate all 😉


                    rorate.jpg


                    rorate1.jpg

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

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

                      That works only with paths constrained to a plane.

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

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

                        Yes & no 😄


                        ellipse.jpg

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

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

                          @maverick83 said:

                          Is there a smart way to do this domino-like thing?
                          Thanks!!

                          in answer to the question; copy along path


                          Capture.JPG

                          “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 / 1
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement