stripmesh (line1, point1, line2, point2)

stripmesh (line1, point1, line2, point2) → List of list of coordinates [[[X coor,Y coor,Z coor],[]],[]]

Given two lines defined by their start and end points, as well as station points on these lines, this function meshes the area between these two lines. It returns a list of points representing the four corners of each mesh.

Example:

<br><O N="stripmeshObject1" T="Project" Category="Functions" TransAlignRule="1"><br> <!-- created by ParamML Examples on 8/24/2023 --><br> <P N="line1" V="[[0,0],[15,0]]" /><br> <P N="pts1" V="[0,5,12,15]" /><br> <P N="line2" V="[[0,5],[12,5]]" /><br> <P N="pts2" V="[0,4,8,12]" /><br> <P N="mesh" V="stripmesh(line1,pts1,line2,pts2)" /><br></O><br>

As demonstrated above, line1 is meshed at the stations that are given in pts1 and line2 is meshed at the stations that are given in pts2 then the area between two lines area meshed using these points.

Last updated