As shown in the attached image, we want to draw a regular rectangle based on the line and convert the rectangle to a surface. I want to ask the experts. How would you like to organize your dynamo nodes?
1 Like
Hi @GGG
there is a usefull external node called Curve.SmartOffset by WombatDynamo. You just need to input offset distance. With a negative value it goes to the opposite way.
2 Likes
thank you very much for your sincere reply ^^
2 Likes
I’d go a different direction on this one.
- Read in the curve
- get the curve’s length, divide by how many of my base rectangle I wan to fit, to get the width of my rectangles
- Draw a rectangle of the width calculated in step 1 and length desired, and patch it to a surface.
- Translate the rectangle by 1/2 of the width and length so that it sits on the corner of the origin.
- Pull a number of coordinate systems along the original line using a Coordinate System at Parameter method.
- Transform the rectangle by the coordinate systems.
2 Likes
Hello, here is another possibility
script:
23 Novembre forum anglais.dyn (24.9 KB)
Cordially
christian.stan
1 Like