sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Sine Curve (wave) script?

    Scheduled Pinned Locked Moved Developers' Forum
    24 Posts 6 Posters 4.7k Views 6 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.
    • JClementsJ Offline
      JClements
      last edited by

      Hi Gata.

      I do use the copy along path script and it works nicely. But the trick here is to space (subdivided) equi-distant if you will, along an existing curve. The functions that Fred06 has provided are flexible enough to aid in doing this, plus, re-manipulate/smooth some complex curves.

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        @jclements said:

        Thanks, all!

        Jim, about the code you posted.

        Is that a snippet from a Ruby script and can it be run from the Ruby console window? Or, could a Sine Script be written that asks user for unit of measure, length and amplitude and maybe the number segments?

        John

        John,

        301 Moved Permanently

        favicon

        (www.sketchucation.com)

        Hi

        1 Reply Last reply Reply Quote 0
        • JClementsJ Offline
          JClements
          last edited by

          Thank you, Jim!

          It works beautifully.

          Regards, John

          John | Illustrator | Beaverton, Oregon

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            I have updated the script to make it remember values between calls.

            301 Moved Permanently

            favicon

            (www.sketchucation.com)

            Hi

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

            Advertisement