include include use /* [Layout Values] */ /* Layout Format (each key): [ [ // Location Data [x_location, y_location], key_size, [rotation, rotation_x, rotation_y], ], [ // Borders top_border, bottom_border, left_border, right_border ], extra_data // Extra data (depending on component type) [ // Trim (optional booleans) top_border, bottom_border, left_border, right_border ], ] */ // Keyswitch Layout // (extra_data = rotate_column) base_switch_layout = []; // MCU Position(s) base_mcu_layout = []; // TRRS Position(s) base_trrs_layout = []; // Stabilizer layout // (extra_data = [key_size, left_offset, right_offset, switch_offset=0]) // (see stabilizer_spacing.scad for presets) base_stab_layout = []; // Via layout // (extra_data = [via_width, via_length]) base_via_layout = []; // Plate Layout (if different than PCB) // (extra_data = component_type) base_plate_layout = []; // Standoff layout // (extra_data = [standoff_integration_override, standoff_attachment_override]) base_standoff_layout = []; module additional_plate_cutouts() { // Initialize module so it doesn't break square(0); // Dummy geometry to fix preview bug } module additional_case_cavities() { square(0); // Dummy geometry to fix preview bug } // Whether to only use base_plate_layout to generate the plate footprint use_plate_layout_only = false; // Whether to flip the layout (useful for split boards) invert_layout_flag = false; // Whether the layout is staggered-row or staggered-column layout_type = "column"; // [column, row] // Tenting // Angle around y-axis (i.e. typing angle) tent_angle_y = 0; // Angle around x-axis tent_angle_x = 0; // Point around which keyboard is tented tent_point = [0, 0, 0];