picket_fence
[filename
] [prefix
] [height
] [spacing
] [x0
] [y0
] [z0
] [...] [xn
] [yn
] [zn
] [-r
]
picket_fence creates a geometry file in filename of a picket fence. All parameters for the fence are in mm. If more than two points are specified it will generate a fence with multiple sections connecting the points. Parts of the fence are created starting at the origin. The two backing boards are created in the negative x halfspace. The pickets are created in the positive x halfspace and translated down the y-axis to their proper positions. The entire segment is then rotated and translated to the position specified by the user. To create a box of fence with the pickets on the outside, the points must be specified in a counter-clockwise order. Parts of the model are named according to the format
<prefix><partname><sec_name><[>part_num<].<obj_type>
The <prefix> above is the second argument to the program. The spacing parameter specifies the amound of space (in mm) between pickets. The -r option specifies round fronts for the pickets.
Creates an example fence two meters high and six meters long with fifteen millimeter spaces between the pickets. It will start the fence at the origin and extend it to (100,6000,0).