Forgot password?

Create an account!

Scripts

« back

surface slope gradient

Description Example image: surface slope gradient

RhinoScript Tool by Hanno

Draws a gradient of a surface's slope (i.e. angle to XY plane).
The gradient consists of single coloured lines, so it can be saved and exported in any format.
This is useful to display the slope of single curved surfaces used for walkways etc. in architectural models.

Version

Version 1.1 (Jul 02, 2008)


Changes since previous version:

fixed a bug that caused some maximum slopes to not be displayed

« older versions

Requirements

Libraries: Array Library (version 1.3) by Hanno

Code

You need to be logged in to view the source code.

Download

You need to be logged in to download the script.

Comments
  • 5. Hanno (Apr 20, 2010 21.24):

    Voila, added a picture

  • 4. pressgreen (Apr 05, 2010 06.02):

    is there examples of how these thing work or what it looks like afterwords?

  • 3. pugabear (Feb 27, 2009 09.28):

    Hanno, I sent you an email (the post address). I hope you got it; I bascially have a question regarding planes that have a slight twiest in either the U or v direction...for some reason my numbers are coming out wrong. The contour command is what I'm using to double check the work. Thanks, JJ

  • 2. Hanno (Feb 25, 2009 19.13):

    Hi!
    I don't know what number you mean exactly, but in line 74 the text dot with the angle is drawn. To output percentage etc. you would have to convert the angle (peak_ang) into the particular value.

    And to use the array library you simply have to run it. But it does not do anything on its own; it just provides you some functions to use in other scripts (like this one).
    If you need it often, you can even put the library in the "scripts to run when rhino starts" (in the preferences).

    Greetings

    Hanno

  • 1. pugabear (Feb 24, 2009 13.11):

    Hanno, great script! I'm new to this, and was curious if there is a way to output gradient as well as well as percentage...essentially the tangent of the number. That would be great. Also, when I use the array library, what else do I need to to with it? I mean, do I just run it? Thanks man, JJ

  • +++ Jul 02, 2008 00.14: surface slope gradient version 1.1 published +++

  • +++ Jun 02, 2008 16.09: surface slope gradient version 1 published +++