Save adjustment to 12mm prism
This commit is contained in:
parent
0b8a243964
commit
cfd90f8ad1
|
@ -11,7 +11,7 @@ EndD = 6.2;
|
||||||
PrismXOffset = -0.426;
|
PrismXOffset = -0.426;
|
||||||
PrismYOffset = 5.5; //for 12mm
|
PrismYOffset = 5.5; //for 12mm
|
||||||
|
|
||||||
PrismX = PrismXOffset + ((PrismSize - 12) / 2) + 0.75;
|
PrismX = PrismXOffset + ((PrismSize - 12) / 2) + 0.65;
|
||||||
PrismY = (Y / 2) - (PrismSize / 2) - (PrismYOffset - ((PrismSize - 12) / 2) - 0.5);
|
PrismY = (Y / 2) - (PrismSize / 2) - (PrismYOffset - ((PrismSize - 12) / 2) - 0.5);
|
||||||
|
|
||||||
OffsetZ = (Z / 2) + (PrismSize - 12) + 0.39 + 2.7;
|
OffsetZ = (Z / 2) + (PrismSize - 12) + 0.39 + 2.7;
|
||||||
|
@ -30,8 +30,8 @@ module bolex_90_degree_prism () {
|
||||||
difference () {
|
difference () {
|
||||||
translate([0, 0, ]) cube([X, Y, Z], center = true);
|
translate([0, 0, ]) cube([X, Y, Z], center = true);
|
||||||
//prism void
|
//prism void
|
||||||
prism([PrismX, PrismY, (PrismSize / 2) - OffsetZ], rot = [90, 0, 0], [1, 1.05, 1]);
|
prism([PrismX, PrismY, (PrismSize / 2) - OffsetZ], rot = [90, 0, 0], [1, 1.06, 1]);
|
||||||
translate([PrismX, PrismY, (PrismSize / 2) - OffsetZ + 12.25]) scale([1, 0.9, 1]) cube([12, 12, 12], center = true);
|
translate([PrismX, PrismY, (PrismSize / 2) - OffsetZ + 12.25]) scale([2, 0.9, 1]) cube([12, 12, 12], center = true);
|
||||||
translate([PrismX - 11, PrismY, (PrismSize / 2) - OffsetZ]) scale([1, 1, 1.5]) cube([12, 12, 12], center = true);
|
translate([PrismX - 11, PrismY, (PrismSize / 2) - OffsetZ]) scale([1, 1, 1.5]) cube([12, 12, 12], center = true);
|
||||||
//remove corner
|
//remove corner
|
||||||
translate([-X / 2, 0, Z / 2]) rotate([0, 45, 0]) cube([2, Y + 1, 2], center = true);
|
translate([-X / 2, 0, Z / 2]) rotate([0, 45, 0]) cube([2, Y + 1, 2], center = true);
|
||||||
|
|
Loading…
Reference in New Issue