sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    Curve Based Upon Varying Given Heights

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    17 Posts 10 Posters 609 Views
    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.
    • T Offline
      thebreadking
      last edited by

      Hi all,
      This seems like it'll only need a quick response, but we'll see. I'm looking to create a curved line, floating in space, that slopes to varying Z-heights along its path, dependent on the heights I prescribe. I guess the easiest way to describe it is that I'm trying to create a single-line path that would look sort of like a roller coaster.

      How I have it set up so far: I've drawn a series of flat curves (height of 0) around my project site. At the end points of each curve I have created a vertical line up to a specified height. In my head I can weld these curves together to create a path, and then initiate a plugin that would allow me to select the flat curved path and the vertical lines, which would result in the ascending and descending curved line I mentioned above.

      It seems like a very easy request, I just don't know of the proper plugin to create it. Any ideas?

      For a little background, I plan on using this floating curved line to create a sloping camera path from which I'll use SU Animate to generate scenes from for a walkthrough video.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • honoluludesktopH Offline
        honoluludesktop
        last edited by

        Not sure what you are asking, but the following was built by first locating the vertical line, changing the model axis, adding the rectangular face, and finally drawing the arc. You can later remove the face (while retaining the curved line), and return the axis to its original position and orientation.Temp02.png

        1 Reply Last reply Reply Quote 0
        • T Offline
          thebreadking
          last edited by

          I guess it would have been smarter and easier just to post an image of what I'm trying to achieve, please see attachment.

          Screen shot 2011-02-24 at 3.02.19 PM.png

          The blue line indicates the flat curvilinear path (z-value of 0). Each of the black lines are along the vertical axis and have an endpoint of varying heights. I'm looking for a plugin that would allow me to select the flat curvilinear path, then select the vertical lines, and the plugin's outcome would be a new curvilinear path that follows that of the existing flat curves, but ascends and descends based upon the height of the endpoint of the vertical lines. Essentially turning that flat curvilinear path into one with varying elevations. Hopefully that makes more sense.

          Does such a plugin exist? Thanks again.

          1 Reply Last reply Reply Quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            Could you share this file? I am not promising anything just thinking. 😒

            Gai...

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

              It seems you would want to specify xyz values for key points such as the transition point for sequential curves and key points for the curves' "attitudes",that is, maybe the xyz value of the midpoint of each curve. Obviously, you might also need to specify the xyz of the centerpoints of all the radii.
              After all this precise input, you will probably still have to do some proportional/"eyeball" reshaping.
              But then, maybe somebody already worked all of this out--in Sketchup--but I don't know that.

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

              1 Reply Last reply Reply Quote 0
              • T Offline
                thebreadking
                last edited by

                @gaieus said:

                Could you share this file? I am not promising anything just thinking. 😒

                You'll find it attached. I have no problem doing it the difficult way (with all of the precise input as mitcorb mentioned), but I've had such success with finding the appropriate plugin for difficult tasks I was hoping there would be one for something like this.

                If there isn't, I may end up using Curve Shearing for each individual segment and see how that goes. Its not automatic, but its the easiest thing I can think of for the time being.


                Curvilinear Path Example

                1 Reply Last reply Reply Quote 0
                • honoluludesktopH Offline
                  honoluludesktop
                  last edited by

                  As outlined previously:Temp00.png

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gulcanocali
                    last edited by

                    Hi thebreadking,

                    I believe Tgi3D SU Amorph has a very nice and easy solution to your problem. Please see the video below. I created the video in one shot, it is unedited, so a bit long (still only 3 mins 12 secs though).

                    Please note that you would not be able to do this easily with the free Training Edition as your curves exceed the limit of the max. number of vertices allowed in the free version. I have not tried it myself but you should be able to work around that by limiting the number of vertices in each curve to less than 10 and working with more curves.

                    [flash=480,390:1jivq7s2]http://www.youtube.com/v/XqHsDoiuYPY?fs=1&hl=en_US[/flash:1jivq7s2]

                    Gulcan Ocali
                    Product Manager
                    http://www.Tgi3D.com

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wyatt
                      last edited by

                      You could use Extrude Edges by Edges and Tools on Surface. First group all the vertical lines and weld the path into a single curve. The highest desired elevation appears to be at the start of the path; copy that vertical line to the end point. Group these lines. Extrude edges by edges using this group and the flat animation path you've drawn. Now use Line on Surface to connect the vertical points you've drawn. When the degree of curvature between the two points nears or is greater than 18 0degrees, you'll need to calculate the midpoint elevation and draw to that intermediate point before continuing on. The process isn't automated, but I think it will be easier than manually figuring all of the centerpoint elevations. Hopefully this makes sense; I can post something if it doesn't.

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

                        This is interesting as I was trying to explain to my son how Greek stone masons were able to perfectly replicate the entasis from one column to the next without having paper plans of computer files. At Didyma a stone was found with many varying length lines spaced every inch over the face of the stone. Nobody was sure what it meant until some one took those lines and spaced them the same distance apart as the length of the stone drums that make up a temple column. It turned out that the lines were the actual width measurement of the columns but the height of the drums on the stone were compressed from several feet to an an inch or two. The teams of workmen would all go to the same stone to reset their compasses as they worked ther way up the column. As a result not only were the columns practically seamless, butthey all matched to the thousanth of an inch even though hundred of workment were working the columns independently.

                        http://www.azcreative.com

                        1 Reply Last reply Reply Quote 0
                        • honoluludesktopH Offline
                          honoluludesktop
                          last edited by

                          Didyma, what part of Arizona is that?-)

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

                            It is west of Honolulu. Turkey. I thin the measure rock was in a tunnel and archeologists missed the significance of thelines for years because of poor lighting. One day grazing light from the tunnel mouth hot the wall just right and researches had one of those aha! moments.
                            Didyma, Turkey.

                            http://www.azcreative.com

                            1 Reply Last reply Reply Quote 0
                            • honoluludesktopH Offline
                              honoluludesktop
                              last edited by

                              I knew it sounded familiar. I think my dad's friend Barry, took me there when I was a child:-)

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

                                Does this work? The red is the path through the Z-values given. With more Z-values, the path would be smoother in its elevation changes.
                                Curvilinear Path Example.png.jpg


                                Curvilinear Path Example1.skp

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

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

                                  The path defined is simply the midline. If this is for a roller coaster, you'd need a ribbon.
                                  And the paths for the edges will need to vary to compensate for centripetal effects.

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

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

                                    If you separate out the vertical lines and the curves by grouping the lines you can use the Move tool to adjust the ends of the curved parts to the tops of each line... They simply snap to them...Capture.PNG

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      mac1
                                      last edited by

                                      Your elevation ticks are way under sampled. There are many curves that can fit the data( plan view) you have presented. If you want just a picture then what Dave has shown is great but if its use is for some real world application then you will have to establish some criteria on the spacing of you elevation samples and usually based on some type of rms error etc. 😞

                                      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