Grasshopper

algorithmic modeling for Rhino

Hey everybody,

Im trying to generate lines perpendicular/normal to the edges of a mesh, starting from the mid point of this edge.

I was wondering around the forums on how to create perpendicular lines and none of the definition proposed has suited my needs.

Here is my mesh and my gh def wip.

Thanks in advance for the insight.

Shynn

Views: 1018

Attachments:

Replies to This Discussion

Check attached. Best.

Attachments:

Hey, thank you very much. Excuse my lack of knowledge, but I need the lines to be perpendicular vertically and I couldnt manage to come up with a way to change it.

Btw, what do the colors mean? Maybe they are random?


Thanks again
Shynn

Don't tell me this is what you want.

Attachments:

Perfect! That was it. Thank you for taking the time!

Shynn

PD: The last Polyline generation was not needed but you gave me a whole new idea :)

Sorry to bother, but would you care to explain why the "evaluate curve" component + reparameterize creates mid points?

I understand the reparameterize makes your x to y values be 0 to 1. Not sure what the eval curve does, nor why making your curves from 0 to 1 creates points, and in this case, mid points....

Thanks, Shynn

As you said, "Reparameterize" means reset your curve or surface domain fr 0 to 1.

It's not X to Y value. It's some sort of local coordinate system.

So, input parameter "t"=0.5 means your midpoint.

You can also use "evalute length" or "point on curve".

Aah! I didnt notice the t=0.5. I understand now. Thank you!

Dear Marcus.

Thank you for your point out and kind description.

But I want you to know something.

As you can see, Shynn's mesh edges are all degree 1 lines, so "evalute length" and "evalute curve" output results are the same.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service