algorithmic modeling for Rhino
Hello everyone,
someone could help me out? I need to know how to structure a definition of a recursive generation of reference planes .It's a couple of days that i' m thinking about this, and i'm sticked at the same point.
Relative ref. plane (is not working):
the main idea
1st reference plane: - base point A(x,y,z), define the X-axis , define the Y-axis
- move point A someplace else and name it point B. ('t' traslation vector from point A to point B)
2nd reference plane: - base point B(x,y,z), define the X-axis , define the Y-axis (x-axis , y-axis has different direction than the 1st reference plane)
- move point B someplace else and name it point C ('t' traslation vector from point B to point C)
now repeat this n times...
in synthesis again:
point A
create a ref.plane A,
traslation 't' respect ref.plane A,
create point B
create a ref.plane B,
translation 't' respect ref.plane B,
create point C...
how can i do it? I need some code or can i avoid that?
I'll show you an example that i did to show in a better way what i want to do.
the output using an Absolute ref. plane (is working):
I did a similar thing using the absolute reference plane, in this way the output is less interesting (there is no relative rotation , it's made by a simply subtraction and sum of a repeated pattern of values over the x/y/z axis)
I've attached down here the definition file of these two examples.
Thank you all
Stefano
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by