$fn=30; // Dimensions for 2.4GHz bowtie antenna H = 30.6; W=45.9; // Constants for thickness, etc. base_h=1; ant_h = 2; thickness = 1; gap=4; module bowtie(W,H,gap,thickness){ translate([-gap/2,0,0])linear_extrude(height=thickness) polygon(points=[[-W,H/2], [-W,-H/2], [0,0]]); translate([gap/2,0,0])linear_extrude(height=thickness) polygon(points=[[0,0], [W,-H/2], [W,H/2]]); } module base(W, H, base_h, gap, thickness){ difference(){ union(){ cube([2*W+gap, H, base_h], center=true); translate([-3, 15,base_h]) cube([6, 12, 2], center=true); } union(){ translate([-2,-W/4-gap,0]) cube([4, W/2, base_h], center=true); translate([-3, 15,base_h]) cube([2, 12, 2], center=true); } } } /*** Models to export for dual material print ***/ // Conductive // Bowtie antenna to be printed with Electrifi conductive 3D printer filament. translate([0,0,1]) bowtie(W,H,gap,thickness); // PLA // Substrate with slots for attaching switch. To be printed with normal PLA. base(W, H+11, 2, gap, thickness);