Help with creating GrassHopper Algorithm

Hi there,

for a task i have to try make an repeated sequence of the parts that ive attached to this post, Im new to grasshopper so im not really aware of its limitations, i was wondering considering all parts are place relative to the little L line is it possible to create a rule in grasshopper that can repeat these parts on its own (without me having to constantly use the orient3pt tool) and if so is it also possible to put in rules like do not intersect and stop after 300 components.

all part

grasshoppperalgorithm.3dm (5.3 MB)