Place cuboid on 3d lines for every 10m

Greeting,

I would like to Place cuboid on 3d lines for every 10m. line A is the main line and B can be used as a reference. Line A and B are from CSV files. The points from cuboid match the points on the lines and repeat every 10 meters.

The script for importing CSV and create 3D line.

Thank you for the help.

Try the Curve.PointsAtChordLengthFromPoint node, the points will define a line, use the direction to define a coordinate system at the origin of the line, then create the solid using the coordinate system and the width, length, height

Thank you very much @Mike.Buttery It’s exactly what I want.

One question, when I test a simple adaptive family on a simple Excel, there is a error on dynamo. I just use 3 adaptive points and 3 points from Excel. Do you know how to modify it to make it work?

The dynamo script:

Points from CSV

Adaptive family simple sweep.rfa (456 KB)

The adaptive family is attached.

I have test 2 adaptive points and it works