Grasshopper

generative modeling for Rhino

# PLANE NORMAL OF A CURVE

HOW CAN I CREATE A PERPENDICULAR PLANE ON A 2D CURVE (NOT A STRAIGHT LINE) FOR A GIVEN POINT?

PLS NOTE THAT MY CURVE IS COMPOSED OF NUMEROUS POINTS. IN ORDER TO BE PRECISE, IT HAS A DEGREE HIGHER THAN 2.

THNX

Views: 674

### Replies to This Discussion

Use the 'perp frame' component and the points as parameters for the frame locations (t input).

thanks for your help chriss but i have a different issue here.

well first of all my curve is a dome like curve.

it is composed of a couple of thousands of points.

it is such a function, Z=An*x^a+ blah blah blah.. and 2<a<11

the x and z values do not have regular intervals. (the curve is not regularly segmented)

therefore i must find the plane for an instantaneous x,z value.

can you help me for that one?

thnx

Not sure I understand exactly what you are asking - did you try using the 'curve cp' component to find the location t parameter for the perp frames with irregular intervals

if I understood your way well;

your gh definition divides the curve equal segments. and creates a point at the junction of each segment. then at those points are the origin of the normal planes, right?

however i want a normal plane of the curve for an arbitrary coordinate. for example where x=5,y=0,z=15 (i assume this point is on my Gz=x curve) is satisfied, I want to create a normal plane with respect to curve. and this point is not PARTICULARLY MATCHING YOUR SEGMENT POINT.

If Im wrong with my first claim about your gh definition plz correct me.

Thnx again

as i said before use the CURVE CP COMPONENT to do the same thing for arbitrarily located points on a curve

• View All