Creating Berms

Using the similar logic when creating the conic geometries, the following script will explore the creation of berms, based on the trigonometric logic of the hypotenuse's relationship to the angles created by the height (affected by an attractor point).

setting a point as an attractor and a curve to define the spine of the berm

based on the material's angle, it will generate a specific angle that is in relation to the height of the berm at each interval, defined by the attractor point

creating a volume out of the three points of the berm and lofting between each section