| 123456789101112131415161718192021222324252627282930 |
- include <../config/all.scad>
- include <ATX.scad>
- module plate_shape() {
- module corner(x, y) {
- translate([x, y]) {
- circle(r = radius);
- }
- }
- module base() {
- move_x = motherboard_size.x / 2 - radius;
- move_y = motherboard_size.y / 2 - radius;
- hull() {
- corner(move_x, move_y);
- corner(-move_x, move_y);
- corner(move_x, -move_y);
- corner(-move_x, -move_y);
- }
- }
- base();
- }
- module plate_object() {
- linear_extrude(height = shape_thickness, center = true) {
- plate_shape();
- }
- }
|