Results 1 to 1 of 1

Thread: Rhino script question

  1. #1
    Registered sdantonio's Avatar
    Join Date
    Nov 2005
    Location
    USA
    Posts
    915
    Downloads
    0
    Uploads
    0

    Rhino script question

    Hi all,

    I hope this will be pretty simple.

    1. OK, lets say I have a curve that is constrained to the x-y plane

    2. The curve is well behaved acording to the definition of a well behaved curve in calculus in relation to the y-axis (the cure in the diagram fits that discription)

    3. I can write a script to increment up the y-axis, that is just a trivial loop. in pedocode this would be

    x=y=z=0
    for i=1 to 10
    x=0
    y=i
    z=0
    next x

    4. lets say I want to find the distance from the y axis to the curve at each point y=1, 2, 3,..., 10

    because the curve is wavy, that distance will change with each step up the y axis.

    Any ideas?

    Thank you
    Steven
    Attached Thumbnails Attached Thumbnails Rhino script question-curve.bmp  


Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.