Skip to content

Commit

Permalink
Fix #10
Browse files Browse the repository at this point in the history
Add USB cutout option for Elite-C v4
  • Loading branch information
atulloh committed Jan 20, 2021
1 parent 0c99347 commit 2ad8e97
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 3 deletions.
File renamed without changes.
Binary file added output/case/v2.0/leftCase_elite-c-v4.stl
Binary file not shown.
File renamed without changes.
Binary file added output/case/v2.0/rightCase_elite-c-v4.stl
Binary file not shown.
9 changes: 8 additions & 1 deletion src/config.scad
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,14 @@ PRO_MICRO_SIZE = [17.8, 33];
PRO_MICRO_USB_OVERHANG = 2;

MCU_PCB_OFFSET = 3.5; // socket or header height
MCU_PCB_THICKNESS = 1; // Elite C

// Elite C v3.1
// MCU_PCB_THICKNESS = 1;
// MCU_USB_OFFSET = MCU_PCB_THICKNESS;

// Elite C v4
MCU_PCB_THICKNESS = 1.6;
MCU_USB_OFFSET = 0;

// case

Expand Down
2 changes: 1 addition & 1 deletion src/modules/leftCase.scad
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module leftCase(){
usbCutoutPosition = [
PLATE_BEZEL + 3.5 * 1U,
66,
PCB_UNDERSIDE_CLEARANCE - max(MCU_PCB_OFFSET, USB_C_SIZE.z) + USB_C_SIZE.z / 2],
PCB_UNDERSIDE_CLEARANCE - max(MCU_PCB_OFFSET + MCU_PCB_THICKNESS - MCU_USB_OFFSET, USB_C_SIZE.z) + USB_C_SIZE.z / 2],
trrsCutoutPosition = [
PLATE_BEZEL + 5 * 1U + 0.5,
60,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rightCase.scad
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module rightCase(){
usbCutoutPosition = [
PLATE_BEZEL + 3.5 * 1U,
66,
PCB_UNDERSIDE_CLEARANCE - MCU_PCB_OFFSET - MCU_PCB_THICKNESS - USB_C_SIZE.z / 2],
PCB_UNDERSIDE_CLEARANCE - MCU_PCB_OFFSET - MCU_USB_OFFSET - USB_C_SIZE.z / 2],
trrsCutoutPosition = [
PLATE_BEZEL + 5 * 1U - 1.5,
60,
Expand Down

0 comments on commit 2ad8e97

Please sign in to comment.