reorganize old files, and update readme with banner image

This commit is contained in:
zhao
2023-01-08 19:00:04 -05:00
parent 407090507d
commit 43c2aceba5
12 changed files with 6 additions and 11293 deletions

12
helper/math.scad Normal file
View File

@ -0,0 +1,12 @@
/* Example usage:
for (i=mirror4XY(midpoint=[0,0,0], offsetX=90, offsetY=90)) {
translate(v=i)
something();
}
*/
function mirror4XY(midpoint, offsetX, offsetY) =
[[midpoint[0]+offsetX, midpoint[1]+offsetY, midpoint[2]],
[midpoint[0]-offsetX, midpoint[1]+offsetY, midpoint[2]],
[midpoint[0]-offsetX, midpoint[1]-offsetY, midpoint[2]],
[midpoint[0]+offsetX, midpoint[1]-offsetY, midpoint[2]]];