05-30-2020, 03:00 AM
(This post was last modified: 05-30-2020, 03:26 AM by dale walton.)
I would prefer the default to be clip all corners as deeply as possible - ie until the clippings leave a single cell or a pair of adjacent cells. If a single corner, then depth would also need to be specified. (clip 2 5 (square 8)) would calculate a line from the center of the 2nd cell of the previous direction and the 5th cell in the subsequent direction and exclude any cell centered on or outside that line.
A (Muster 2) board would be (clip 2 3 (square 6)) (Muster 3) would be (clip 3 5 (square 9)); (Muster 4) would be (clip 4 7 (square 12))
To clip just one corner, one would specify the inbetween direction e.g. NE, ALL would be the default.
Rise-and-run in units of the consecutive axes is preferable to angle expressed in degrees as it relates directly to the grid structure. Like defining crystal faces in crystallography.
I guess it might actually be:
(board (square 12) (clip All 4 7))
A (Muster 2) board would be (clip 2 3 (square 6)) (Muster 3) would be (clip 3 5 (square 9)); (Muster 4) would be (clip 4 7 (square 12))
To clip just one corner, one would specify the inbetween direction e.g. NE, ALL would be the default.
Rise-and-run in units of the consecutive axes is preferable to angle expressed in degrees as it relates directly to the grid structure. Like defining crystal faces in crystallography.
I guess it might actually be:
(board (square 12) (clip All 4 7))