Skip to content

Commit 647ecc6

Browse files
committed
attachment cover with optional cover number text.
1 parent e52a58d commit 647ecc6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/Mounting/AttachmentCover.scad

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include <../../variables.scad>
22
use <../../lib/Round-Anything/polyround.scad>
33
use <../../lib/utils.scad>
44

5-
module AttachmentCover(height=2) {
5+
module AttachmentCover(height = MainCase_gps_antenna_lid_thickness, cover_number=false) {
66
difference(){
77
hull(){
88
translate([0,0,0]) linear_extrude(epsilon) polygon(polyRound([
@@ -35,6 +35,9 @@ module AttachmentCover(height=2) {
3535
}
3636
}
3737
}
38+
if (cover_number!=false) {
39+
#translate([MountAttachment_width/2+4.5,-8,MainCase_gps_antenna_lid_thickness])rotate([0,0,90])linear_extrude(2*layer_height)text(cover_number,font="open sans", size=10,center=true);
40+
}
3841
}
3942

40-
translate([-MountAttachment_width/4-6,0,0])AttachmentCover();
43+
translate([-MountAttachment_width/4-6,0,0])AttachmentCover(cover_number=COVER_NUMBER);

0 commit comments

Comments
 (0)