# HG changeset patch # User Paul Boddie # Date 1412703756 -7200 # Node ID a2795ba78bdbfa5b672a1059bda4a064e392e2f0 # Parent 7f0bd49f19127b0fe03fda9574bdf9734d23a4c1 Fixed front PCB support positioning and made the floor depths more accurate. diff -r 7f0bd49f1912 -r a2795ba78bdb cartridge.scad --- a/cartridge.scad Tue Oct 07 19:13:16 2014 +0200 +++ b/cartridge.scad Tue Oct 07 19:42:36 2014 +0200 @@ -231,7 +231,7 @@ pcb_back_support_height = height - int_connector_height - top - bottom; pcb_front_support_width = 1.2; - pcb_front_support_depth = front_depth; + pcb_front_support_depth = int_front_depth; pcb_front_support_height = pcb_back_support_height; /* @@ -264,7 +264,7 @@ pcb_lug_cross_height = 1.4; pcb_front_lug_depth = pcb_back_support_bump_depth + - pcb_front_support_depth - front; + pcb_front_support_depth; pcb_front_lug_inner_radius = pcb_lug_outer_radius; pcb_front_lug_outer_radius = pow( pow(pcb_lug_cross_width / 2, 2) + @@ -394,7 +394,7 @@ /* Floor of cartridge. */ - cube_at(width, front_depth, bottom, + cube_at(width, int_front_depth, bottom, 0, -1, 1, 0, 0, -height / 2 + int_connector_height); @@ -424,18 +424,16 @@ cube_at(pcb_front_support_width, pcb_front_support_depth, pcb_front_support_height, - 1, -1, 1, - -edge_connector_cutout_back_width / 2 + - pcb_support_margin, + -1, -1, 1, + -pcb_support_offset_from_centre, 0, -height / 2 + bottom + int_connector_height); cube_at(pcb_front_support_width, pcb_front_support_depth, pcb_front_support_height, - -1, -1, 1, - edge_connector_cutout_back_width / 2 - - pcb_support_margin, + 1, -1, 1, + pcb_support_offset_from_centre, 0, -height / 2 + bottom + int_connector_height); @@ -569,7 +567,7 @@ /* Floor of cartridge. */ - cube_at(width, back_depth, bottom, + cube_at(width, int_back_depth, bottom, 0, 1, 1, 0, 0, -height / 2 + int_connector_height);