1
0

TinySpHEAR_H2N_common.scad 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101
  1. //
  2. // Spherical Harmonics Ear Project (*SpHEAR)
  3. //
  4. // TinySpHEAR, First Order (B-format) Ambisonics Microphone
  5. // Common files for H2N add-on array
  6. //
  7. // Copyright 2016-2017, Fernando Lopez-Lezcano, All Rights Reserved
  8. // nando@ccrma.stanford.edu
  9. //
  10. // This program is free software: you can redistribute it and/or modify
  11. // it under the terms of the GNU General Public License as published by
  12. // the Free Software Foundation, either version 3 of the License, or
  13. // (at your option) any later version.
  14. //
  15. // This program is distributed in the hope that it will be useful,
  16. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. // GNU General Public License for more details.
  19. //
  20. // You should have received a copy of the GNU General Public License
  21. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  22. //
  23. // 3d Models released under the Creative Commons license as follows:
  24. // Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
  25. // http://creativecommons.org/licenses/by-nc-sa/4.0/
  26. include <SpHEAR_common.scad>;
  27. include <SpHEAR_windscreen.scad>;
  28. include <TinySpHEAR_common.scad>;
  29. include <TinySpHEAR_mount_pcb.scad>;
  30. // http://dkprojects.net/openscad-threads/
  31. // used for the threads of the mini-xlm connectors
  32. include <threads.scad>;
  33. // outline of H2N front
  34. // include<h2n/H2N_front_outline.scad>;
  35. // outline of H2N top
  36. // include<h2n/H2N_top_up_outline.scad>;
  37. facets = 128;
  38. // dimensions of the EM200 electret microphone capsule (measured 14.59 max)
  39. capsule_radius = 14.6 / 2;
  40. capsule_height = 4.75;
  41. mic_radius = 11;
  42. // dimensions of the EM182 electret microphone capsule (measured 10mm)
  43. //capsule_radius = 10.0 / 2;
  44. //capsule_height = 4.5;
  45. //mic_radius = 9.2;
  46. // adjust the depth of slots in mount
  47. mic_to_mount_fit = -0.4;
  48. // make triangular legs have the height of the capsule
  49. connect = 1;
  50. leg_thick = capsule_height;
  51. // dimensions of H2R recorder
  52. // width and depth at middle of ring
  53. h2n_width = 62.00;
  54. h2n_depth = 42.66;
  55. h2n_width_up = 57.0;
  56. // h2n_column_height = 40;
  57. // h2n_column_height = 25.3;
  58. h2n_column_height = 23.2;
  59. transition_height = 30;
  60. // measured = 11.50, should be 13.1 -> ratio =
  61. h2n_side_band = 1.5;
  62. h2n_side_band_w = 13.4;
  63. // h2n_width_m: tried taking out 0.5mm from the original measurement of 63.0, but
  64. // it is too much and the "Menu" button stops working, 0.25mm seems fine
  65. h2n_width_m = 63.0 - 0.25;
  66. h2n_depth_m = 36.4;
  67. h2n_band_height = 6.0;
  68. // base band width
  69. h2n_band_wall = 1.6;
  70. // wall for the stalk
  71. h2n_stalk_wall = 1.0;
  72. // walls for the columns
  73. h2n_col_wall = 2 * wall;
  74. // tilt for the columnds
  75. h2n_col_tilt = 4.0;
  76. // radius of mount stalk
  77. h2n_mount_radius = mount_radius;
  78. // fit for connector from column to bridge
  79. h2n_mount_fit = 0.04;
  80. // bridge dimensions
  81. h2n_bridge_base_height = 7.0;
  82. h2n_bridge_stalk_height = 45.0;
  83. // bridge base dimensions
  84. h2n_bridge_circle = 24.00;
  85. h2n_bridge_band_w = 13.25;
  86. h2n_bridge_band_h = 3.30; // 26.5 - h2n_column_height;
  87. // we need to make the dial cover slightly elliptical
  88. h2n_bridge_circle_max = 26.5;
  89. h2n_bridge_circle_ratio = h2n_bridge_circle_max / h2n_bridge_circle;
  90. // mini-xlr connector parameters
  91. h2n_xlr_thread_diam = 10.0;
  92. h2n_xlr_thread_pitch = 0.75;
  93. h2n_xlr_thread_height = 6.0;
  94. h2n_xlr_thread_depth = 0.614 * h2n_xlr_thread_pitch;
  95. h2n_xlr_height = 30;
  96. h2n_xlr_shoulder = 1.25;
  97. h2n_xlr_stalk_height = 40.0;
  98. module tube(or, ir, h) {
  99. difference() {
  100. cylinder(r = or, h = h, $fn = facets);
  101. cylinder(r = ir, h = h, $fn = facets);
  102. }
  103. }
  104. // main support ring
  105. module h2n_ring(width, depth, radius, height, tilt, slot_w, slot_d, band_wall, wall, col_rad, col_wall) {
  106. // main support ring
  107. difference() {
  108. conical_rounded_box(height, width / 2 + band_wall, depth / 2 + band_wall, radius - thin_mint, band_wall, height * tan(tilt));
  109. for (m = [0, 1]) mirror([m, 0, 0]) {
  110. translate([-(width / 2 + col_rad - col_wall), 0, 0]) {
  111. tilted_cylinder(col_rad, height, height * tan(tilt));
  112. }
  113. }
  114. }
  115. // inner band
  116. difference() {
  117. conical_rounded_box(height, width / 2 + wall - h2n_side_band, depth / 2 + wall, radius - thin_mint, wall, height * tan(tilt));
  118. for (m = [0, 1]) mirror([m, 0, 0]) {
  119. // cut slots on the sides
  120. translate([-width / 2 - wall / 2, -h2n_side_band_w / 2, 0]) {
  121. cube([width / 2, h2n_side_band_w, height + thin_mint]);
  122. }
  123. }
  124. }
  125. // add TinySpHEAR "branding"
  126. translate([0, -(h2n_depth_m / 2 + band_wall), h2n_band_height / 2]) scale(0.5) {
  127. rotate([90 - h2n_col_tilt, 0, 0]) {
  128. linear_extrude(height = 0.2, center = "true") {
  129. text("TinySpHEAR", size = 8.0, spacing = 1.1, halign = "center", valign = "center", font = "Liberation Sans");
  130. }
  131. }
  132. }
  133. }
  134. // side columns
  135. module tilted_cylinder(radius, height, offset) {
  136. hull() {
  137. cylinder(r = radius, h = thin_mint, $fn = facets);
  138. translate([offset, 0, height]) {
  139. cylinder(r = radius, h = thin_mint, $fn = facets);
  140. }
  141. }
  142. }
  143. module tilted_rounded_box(height, width, depth, radius, wall, offset) {
  144. difference() {
  145. hull() {
  146. rounded_block(thin_mint, width, depth, radius);
  147. translate([offset, 0, height]) {
  148. rounded_block(thin_mint, width, depth, radius);
  149. }
  150. }
  151. hull() {
  152. rounded_block_relative(thin_mint, width, depth, radius, -wall);
  153. translate([offset, 0, height]) {
  154. rounded_block_relative(thin_mint, width, depth, radius, -wall);
  155. }
  156. }
  157. }
  158. }
  159. module conical_rounded_box(height, width, depth, radius, wall, inset) {
  160. difference() {
  161. hull() {
  162. rounded_block(thin_mint, width, depth, radius);
  163. translate([0, 0, height]) {
  164. rounded_block_relative(thin_mint, width, depth, radius, -inset);
  165. }
  166. }
  167. hull() {
  168. rounded_block_relative(thin_mint, width, depth, radius, -wall);
  169. translate([0, 0, height]) {
  170. rounded_block_relative(thin_mint, width, depth, radius, -(wall + inset));
  171. }
  172. }
  173. }
  174. }
  175. module tilted_cube(width, depth, height, offset) {
  176. hull() {
  177. cube([width, depth, thin_mint]);
  178. translate([offset, 0, height]) {
  179. cube([width, depth, thin_mint]);
  180. }
  181. }
  182. }
  183. module tilted_half_rounded_box(height, width, depth, radius, wall, offset, e = 0.1) {
  184. difference() {
  185. tilted_rounded_box(height, width, depth, radius, wall, offset);
  186. translate([0, -(depth + e), 0]) {
  187. tilted_cube(width + e, (depth + e) * 2, height, offset);
  188. }
  189. }
  190. }
  191. module half_rounded_box(height, width, depth, radius, wall, e = 0.1) {
  192. difference() {
  193. rounded_box(height, width , depth, radius, wall);
  194. translate([0, -(depth + e), 0]) {
  195. cube([width + e, 2 * (depth + e), height]);
  196. }
  197. }
  198. }
  199. module h2n_column_core(height, ring_height, tilt, transition, radius, col_wall, wall, offset) {
  200. hull() {
  201. // angled column
  202. difference() {
  203. tilted_cylinder(radius + col_wall + offset, height, height * tan(tilt));
  204. translate([0, -(radius + col_wall + offset), 0]) {
  205. tilted_cube((radius + col_wall) * 2, (radius + col_wall) * 2, height, height * tan(tilt));
  206. }
  207. }
  208. // side sleeves
  209. // we should derive the geometry for the aligment magic below...
  210. side_fit = 0.5;
  211. translate([(radius + col_wall) / 2 + 2 * wall - side_fit, 0, 0]) {
  212. difference() {
  213. tilted_half_rounded_box(height, 3.8 + offset, h2n_side_band_w / 2 + wall + offset * 1.1,
  214. 2.0, wall, height * tan(tilt));
  215. translate([col_wall / 2 + wall - radius * 3 / 2 - side_fit, 0, 0]) {
  216. tilted_cylinder(radius, height, height * tan(tilt));
  217. }
  218. }
  219. }
  220. }
  221. }
  222. module h2n_column(height, ring_height, tilt, transition, radius, col_wall, wall) {
  223. // side tubes for cables
  224. difference() {
  225. h2n_column_core(height, ring_height, tilt, transition, radius, col_wall, wall, 0);
  226. // hollow out the cylinder
  227. tilted_cylinder(radius, height, height * tan(tilt));
  228. // this fine adjustment determines how much the side walls "hug" the H2N
  229. width_fit = 0.2;
  230. translate([radius + 2 * wall - width_fit, 0, 0]) {
  231. tilted_half_rounded_box(height + thin_mint, 3.8, h2n_side_band_w / 2, 1.5, 4 * wall, height * tan(tilt));
  232. }
  233. // trim side of tubes with a vertical plane
  234. translate([-(radius * 2 + col_wall) + col_wall / 2, -(radius + col_wall), 0]) {
  235. cube([col_wall * 2, (radius + col_wall) * 2, 30]);
  236. }
  237. }
  238. // add a thicker wall at the bottom of the side trim
  239. difference() {
  240. translate([-(radius), -(radius + col_wall), 0]) {
  241. cube([wall, (radius + col_wall) * 2, height]);
  242. }
  243. difference() {
  244. tilted_cylinder(radius * 4, height, height * tan(tilt));
  245. tilted_cylinder(radius + col_wall, height, height * tan(tilt));
  246. }
  247. }
  248. // connector to bridge
  249. translate([height * tan(tilt), 0, height]) {
  250. connector_height = 5.0;
  251. difference() {
  252. union() {
  253. difference() {
  254. union() {
  255. cylinder(r = radius + wall - h2n_mount_fit, h = connector_height, $fn = facets);
  256. h2n_column_core(h2n_bridge_band_h, ring_height, 0, transition, radius, col_wall, wall, -(wall + h2n_mount_fit));
  257. }
  258. cylinder(r = radius, h = connector_height, $fn = facets);
  259. translate([1.5, -(radius + wall) * 2, 0]) {
  260. cube([radius + wall, (radius + wall) * 4, connector_height]);
  261. }
  262. }
  263. // add anchor for retaining screw
  264. difference() {
  265. translate([-radius, 0, radius]) {
  266. sphere(r = radius * 2/3, $fn = facets);
  267. }
  268. // and clip out the rest of the sphere
  269. difference() {
  270. cylinder(r = 2 * radius + wall, h = height);
  271. cylinder(r = radius + wall - h2n_mount_fit, h = height);
  272. }
  273. translate([0, 0, connector_height]) {
  274. cylinder(r = radius + wall, h = connector_height);
  275. }
  276. }
  277. }
  278. // make hole for screw
  279. // Number 0 Size, 1/4" Long = thread diameter: 1.6mm, head diameter: 2.75
  280. translate([-(radius + 2 * wall), 0, radius]) {
  281. rotate([0, 90, 0]) {
  282. cylinder(r = 0.7, h = radius + wall, $fn = facets);
  283. }
  284. }
  285. }
  286. }
  287. }
  288. module h2n_columns(width, height, ring_height, tilt, transition, radius, col_wall, wall) {
  289. for (m = [0, 1]) mirror([m, 0, 0]) {
  290. translate([-(width / 2 + col_wall - wall / 2), 0, 0]) {
  291. h2n_column(height, ring_height, tilt, transition, radius, col_wall, wall);
  292. }
  293. }
  294. }
  295. // old version of columns
  296. module h2n_columns_old(width, height, ring_height, tilt, transition, radius, col_wall, wall) {
  297. // side tubes for cables
  298. slot_height = 25.0;
  299. for (m = [0, 1]) mirror([m, 0, 0]) {
  300. translate([-(width / 2 + radius - col_wall), 0, 0]) {
  301. difference() {
  302. // angled column
  303. tilted_cylinder(radius + col_wall, height, height * tan(tilt));
  304. tilted_cylinder(radius, height, height * tan(tilt));
  305. // slots in the columns for cables
  306. translate([radius - col_wall - ring_height * tan(tilt), - radius * 2, -ring_height]) {
  307. rotate([0, tilt, 0]) {
  308. cube([5.0, radius * 4, slot_height]);
  309. translate([radius + col_wall, radius - col_wall, slot_height]) {
  310. rotate([0, 90, 90]) {
  311. cylinder(r = radius + col_wall, h = 15.0, $fn = facets);
  312. }
  313. }
  314. }
  315. }
  316. // trim side of tubes with a vertical plane
  317. translate([-(radius * 2 + col_wall) + col_wall / 2, -(radius + col_wall), 0]) {
  318. cube([col_wall * 2, (radius + col_wall) * 2, 30]);
  319. }
  320. }
  321. // add a thicker wall at the bottom of the side trim
  322. difference() {
  323. translate([-(radius), -(radius + col_wall), 0]) {
  324. cube([wall, (radius + col_wall) * 2, height]);
  325. }
  326. difference() {
  327. tilted_cylinder(radius * 4, height, height * tan(tilt));
  328. tilted_cylinder(radius + col_wall, height, height * tan(tilt));
  329. }
  330. }
  331. }
  332. // connector to bridge
  333. translate([-(width / 2 + radius - col_wall - height * tan(tilt)), 0, height]) {
  334. connector_height = 5.0;
  335. difference() {
  336. tube(radius + wall - h2n_mount_fit, radius, connector_height);
  337. translate([0, -(radius + wall), connector_height / 2]) {
  338. cube([radius + wall, (radius + wall) * 2, connector_height / 2]);
  339. }
  340. }
  341. }
  342. // side sleeves
  343. sleeve_height = slot_height;
  344. // XXX sleeve_height = slot_height - mount_radius - col_wall;
  345. for (m = [0, 1]) mirror([m, 0, 0]) {
  346. // we should derive the geometry for the aligment magic below...
  347. side_fit = 1.05;
  348. translate([-(width / 2 - (radius + col_wall) / 2 + wall - side_fit), 0, 0]) {
  349. difference() {
  350. tilted_half_rounded_box(sleeve_height, 3.8, h2n_side_band_w / 2 + wall, 2.0, wall, sleeve_height * tan(tilt));
  351. translate([col_wall / 2 + wall - radius * 3 / 2 - side_fit, 0, 0]) {
  352. tilted_cylinder(radius, height, height * tan(tilt));
  353. }
  354. }
  355. }
  356. }
  357. }
  358. }
  359. // bridge that connects to capsule array
  360. module semi_cylinder(r, h, e = thin_mint) {
  361. difference() {
  362. cylinder(h, r, r, $fn = facets);
  363. translate ([-r*2, -r, 0])
  364. cube([2*(r+e), 2*(r+e), h]);
  365. }
  366. }
  367. module quarter_sphere(r, e = thin_mint) {
  368. difference() {
  369. sphere(r, $fn = facets);
  370. translate([-(r+e), -(r+e), -(r+e)])
  371. cube([2*(r+e), 2*(r+e), r+e]);
  372. translate([-(r+e), -(r+e), -e])
  373. cube([r, 2*(r+e), (r+e)]);
  374. }
  375. }
  376. module cylcube(width, depth, height, wall) {
  377. difference() {
  378. semi_cylinder(r = depth, h = height);
  379. semi_cylinder(r = depth - wall, h = height);
  380. }
  381. translate([-(width + depth / 2), -depth, 0]) {
  382. difference() {
  383. cube([(width + depth / 2), depth * 2, height]);
  384. translate([0, wall, 0]) {
  385. cube([(width + depth), (depth - wall) * 2, height]);
  386. }
  387. }
  388. }
  389. }
  390. // old version of the bridge
  391. module h2n_bridge_old(width, base_height, stalk_height, radius, col_wall, wall) {
  392. // capsule array mount with the right orientation (left front top = #1)
  393. rotate([0, 0, -90]) translate([0, 0, base_height + stalk_height]) {
  394. tetra_capsule_array_mount([-45, 135]);
  395. }
  396. // stalk
  397. translate([0, 0, base_height]) {
  398. difference() {
  399. tube(radius + wall, radius, stalk_height);
  400. // remove stalk segment that is inside the bridge
  401. translate([width / 2, 0, -1.0]) {
  402. rotate([0, -90, 0]) {
  403. semi_cylinder(r = radius + col_wall, h = width);
  404. }
  405. }
  406. }
  407. // add marker for "back of microphone" orientation
  408. rotate([0, 0, 0]) {
  409. translate([0, radius + wall - wall * 2 / 3, stalk_height - radius]) {
  410. difference() {
  411. sphere(r = radius / 3, $fn = 32);
  412. translate([0, -radius + radius / 2, 0]) {
  413. cube([radius, radius, radius], center = true);
  414. }
  415. }
  416. }
  417. }
  418. }
  419. // top of bridge
  420. translate([width / 2, 0, base_height]) {
  421. rotate([0, -90, 0]) {
  422. difference() {
  423. // curvy ceiling
  424. semi_cylinder(r = radius + col_wall, h = width);
  425. semi_cylinder(r = radius + col_wall - wall, h = width);
  426. // make a hole for the cables
  427. translate([0, 0, width / 2]) {
  428. rotate([0, 90, 0]) {
  429. cylinder(r = radius, h = 10, $fn = facets);
  430. }
  431. }
  432. }
  433. }
  434. }
  435. // caps at ends
  436. for (m = [0, 1]) mirror([m, 0, 0]) {
  437. translate([width / 2, 0, base_height]) {
  438. difference() {
  439. quarter_sphere(r = radius + col_wall);
  440. quarter_sphere(r = radius + col_wall - wall);
  441. }
  442. }
  443. }
  444. // base of bridge
  445. translate([0, 0, 0]) {
  446. for (m = [0, 1]) mirror([m, 0, 0]) {
  447. translate([width / 2, 0, 0]) {
  448. cylcube(width / 2, radius + col_wall, base_height, wall);
  449. }
  450. }
  451. }
  452. // reinforcement beams at the base
  453. translate([-col_wall / 2, -(radius + wall), 0]) {
  454. cube([col_wall, (radius + wall) * 2, col_wall]);
  455. }
  456. for (m = [0, 1]) mirror([m, 0, 0]) {
  457. translate([-width / 2 + radius + wall, -(radius + wall), 0]) {
  458. cube([col_wall, (radius + wall) * 2, col_wall]);
  459. }
  460. }
  461. }
  462. // base plate for upper band cover
  463. module h2n_center_cover_no_ws(width, base_height, radius, wall, offset) {
  464. bot_step = h2n_bridge_band_h;
  465. difference() {
  466. union() {
  467. for (m = [0, 1]) mirror([m, 0, 0]) {
  468. // core of bridge
  469. translate([width/2, -thin_mint / 2, 0]) {
  470. cylcube(width / 2 + offset, radius + offset + 2 * wall, bot_step, wall);
  471. }
  472. // we should derive the geometry for the aligment magic below...
  473. side_fit = 1.05;
  474. corner_radius = 2.0;
  475. tilted_half_rounded_box(bot_step, width / 2 + offset - wall / 2, h2n_side_band_w / 2 + offset + wall,
  476. corner_radius, wall, 0);
  477. }
  478. }
  479. // clear the inside
  480. // outer frame
  481. rounded_block(bot_step + thin_mint, width / 2 + offset - 1.5 * wall, h2n_side_band_w / 2 + offset, 2);
  482. // inner frame
  483. translate([-(width + offset) / 2, -(radius + wall + offset), 0]) {
  484. cube([width + offset, (radius + wall + offset) * 2, bot_step + thin_mint]);
  485. }
  486. }
  487. }
  488. module h2n_center_cover(width, base_height, radius, wall, offset) {
  489. bot_step = h2n_bridge_band_h;
  490. difference() {
  491. union() {
  492. for (m = [0, 1]) mirror([m, 0, 0]) {
  493. // core of bridge
  494. translate([width/2, -thin_mint / 2, 0]) {
  495. cylcube(width / 2 + offset, radius + offset + 2 * wall, bot_step, wall);
  496. }
  497. // we should derive the geometry for the aligment magic below...
  498. side_fit = 1.05;
  499. corner_radius = 2.0;
  500. tilted_half_rounded_box(bot_step, width / 2 + offset - wall / 2, h2n_side_band_w / 2 + offset + wall,
  501. corner_radius, wall, 0);
  502. }
  503. }
  504. // clear the inside
  505. // outer frame
  506. rounded_block(bot_step + thin_mint, width / 2 + offset - 1.5 * wall, h2n_side_band_w / 2 + offset, 2);
  507. // inner frame
  508. translate([-(width + offset) / 2, -(radius + wall + offset), 0]) {
  509. cube([width + offset, (radius + wall + offset) * 2, bot_step + thin_mint]);
  510. }
  511. }
  512. }
  513. // base plate for upper center dial cover
  514. module h2n_center_dial_cover(radius, wall, offset) {
  515. scale([h2n_bridge_circle_ratio, 1, 1]) {
  516. tube(radius + wall + offset, radius + offset, h2n_bridge_band_h);
  517. }
  518. }
  519. // the core of the bridge, a solid offset-able version
  520. module h2n_bridge_core_no_ws(width, base_height, radius, col_wall, wall, offset) {
  521. hull() {
  522. // top of bridge
  523. translate([width / 2, 0, base_height]) {
  524. rotate([0, -90, 0]) {
  525. // curvy ceiling
  526. semi_cylinder(r = radius + offset + col_wall, h = width + offset);
  527. }
  528. }
  529. // spherical caps at ends
  530. for (m = [0, 1]) mirror([m, 0, 0]) {
  531. translate([width / 2, 0, base_height]) {
  532. quarter_sphere(r = radius + offset + col_wall);
  533. }
  534. }
  535. // bottom plate
  536. h2n_center_cover(width, base_height, radius, wall, offset);
  537. }
  538. // add cover for center dial
  539. hull() {
  540. cylinder(r = mount_radius + offset, h = base_height + radius, $fn = facets);
  541. h2n_center_dial_cover(h2n_bridge_circle / 2, wall, offset);
  542. }
  543. }
  544. module h2n_bridge_core(width, base_height, radius, col_wall, wall, thread_radius, thread_height, offset) {
  545. pedestal = 0.5;
  546. difference() {
  547. hull() {
  548. // top of bridge
  549. translate([width / 2, 0, base_height]) {
  550. rotate([0, -90, 0]) {
  551. // curvy ceiling
  552. semi_cylinder(r = radius + offset + col_wall, h = width + offset);
  553. }
  554. }
  555. // spherical caps at ends
  556. for (m = [0, 1]) mirror([m, 0, 0]) {
  557. translate([width / 2, 0, base_height]) {
  558. quarter_sphere(r = radius + offset + col_wall);
  559. }
  560. }
  561. // bottom plate
  562. h2n_center_cover(width, base_height, radius, wall, offset);
  563. // cover for center dial
  564. h2n_center_dial_cover(h2n_bridge_circle / 2, wall, offset);
  565. // base of windscreen mounting thread
  566. if (thread_radius > 0) {
  567. translate([0, 0, base_height + radius + col_wall + offset]) {
  568. cylinder(r = thread_radius + windscreen_thread_depth + offset, h = wall, $fn = facets);
  569. }
  570. }
  571. }
  572. // make hole for cables
  573. translate([0, 0, base_height + radius + col_wall]) {
  574. cylinder(r = thread_radius - windscreen_thread_depth - wall, h = wall + thin_mint, $fn = facets);
  575. }
  576. }
  577. if (thread_radius > 0 && offset == 0) {
  578. // pedestal for thread
  579. translate([0, 0, base_height + radius + col_wall + offset + pedestal]) {
  580. difference() {
  581. cylinder(r = thread_radius + windscreen_thread_depth + offset, h = wall, $fn = facets);
  582. cylinder(r = thread_radius - windscreen_thread_depth - wall, h = wall, $fn = facets);
  583. }
  584. }
  585. // thread
  586. translate([0, 0, base_height + radius + col_wall + wall + pedestal]) {
  587. difference() {
  588. metric_thread(diameter = thread_radius * 2, pitch = windscreen_thread_pitch,
  589. length = thread_height, angle = windscreen_thread_angle, internal = false);
  590. cylinder(r = thread_radius - wall - windscreen_thread_depth, h = thread_height + thin_mint, $fn = facets);
  591. }
  592. }
  593. }
  594. }
  595. // the bridge that holds the capsule array
  596. module h2n_bridge_no_ws(width, base_height, stalk_height, radius, col_wall, stalk_wall, wall) {
  597. // capsule array mount with the right orientation (left front top = #1)0
  598. rotate([0, 0, -90]) translate([0, 0, base_height + stalk_height]) {
  599. tetra_capsule_array_mount([-45, 135], mount_radius, stalk_wall);
  600. }
  601. difference() {
  602. union() {
  603. h2n_bridge_core(width, base_height, radius, col_wall, wall, 0);
  604. // stalk
  605. translate([0, 0, base_height]) {
  606. difference() {
  607. tube(radius + stalk_wall, radius, stalk_height);
  608. // remove stalk segment that is inside the bridge
  609. translate([width / 2, 0, -1.0]) {
  610. rotate([0, -90, 0]) {
  611. semi_cylinder(r = radius + stalk_wall, h = width);
  612. }
  613. }
  614. }
  615. // add marker for "back of microphone" orientation
  616. rotate([0, 0, 0]) {
  617. translate([0, radius + stalk_wall - stalk_wall * 2 / 3, stalk_height - (radius + stalk_wall)]) {
  618. difference() {
  619. sphere(r = (radius + stalk_wall) / 3, $fn = 64);
  620. translate([0, -(radius + stalk_wall) + (radius + stalk_wall) / 2, 0]) {
  621. cube([radius + stalk_wall, radius + stalk_wall, radius + stalk_wall], center = true);
  622. }
  623. }
  624. }
  625. }
  626. }
  627. // small supports for the screws that attach to the columns
  628. // Number 0 Size, 1/4" Long = thread diameter: 1.6mm, head diameter: 2.75
  629. for (m = [0, 1]) mirror([m, 0, 0]) {
  630. translate([-(width / 2 + radius + 2 * wall), 0, radius]) {
  631. rotate([0, 90, 0]) {
  632. cylinder(r = 1.5, h = 2 * wall, $fn = facets);
  633. }
  634. }
  635. }
  636. }
  637. h2n_bridge_core(width, base_height, radius, col_wall, wall, -wall);
  638. // make a hole in the bridge for the cables
  639. cylinder(r = radius, h = base_height + radius + 2 * wall, $fn = facets);
  640. // cut a window for the XY and MS leds
  641. translate([0, h2n_bridge_circle_max, 0]) {
  642. rotate([90, 0, 0]) cylinder(r = 2.0, h = h2n_bridge_circle_max * 2, $fn = facets);
  643. }
  644. // Number 0 Size, 1/4" Long = thread diameter: 1.6mm, head diameter: 2.75
  645. translate([-(width + 3 * radius + 2 * wall) / 2, 0, radius]) {
  646. rotate([0, 90, 0]) {
  647. cylinder(r = (1.6 + 0.1)/2, h = width + 4 * radius, $fn = facets);
  648. }
  649. }
  650. }
  651. }
  652. // bridge with thread for windscreen mount
  653. module h2n_bridge(width, base_height, stalk_height, radius, col_wall, stalk_wall, wall, thread_radius, thread_height) {
  654. difference() {
  655. union() {
  656. h2n_bridge_core(width, base_height, radius, col_wall, wall, thread_radius, thread_height, 0);
  657. // small supports for the screws that attach to the columns
  658. // Number 0 Size, 1/4" Long = thread diameter: 1.6mm, head diameter: 2.75
  659. for (m = [0, 1]) mirror([m, 0, 0]) {
  660. translate([-(width / 2 + radius + 2 * wall), 0, radius]) {
  661. rotate([0, 90, 0]) {
  662. cylinder(r = 1.5, h = 2 * wall, $fn = facets);
  663. }
  664. }
  665. }
  666. }
  667. h2n_bridge_core(width, base_height, radius, col_wall, wall, thread_radius, thread_height, -wall);
  668. // cut a window for the XY and MS leds
  669. translate([0, h2n_bridge_circle_max, 0]) {
  670. rotate([90, 0, 0]) cylinder(r = 2.0, h = h2n_bridge_circle_max * 2, $fn = facets);
  671. }
  672. // Number 0 Size, 1/4" Long = thread diameter: 1.6mm, head diameter: 2.75
  673. translate([-(width + 3 * radius + 2 * wall) / 2, 0, radius]) {
  674. rotate([0, 90, 0]) {
  675. cylinder(r = (1.6 + 0.1)/2, h = width + 4 * radius, $fn = facets);
  676. }
  677. }
  678. }
  679. }
  680. // a bridge with detachable stalk and capsule array (attaches with an 8 pin mini-xlr connector)
  681. module h2n_mini_xlr_thread(diam, pitch, height) {
  682. metric_thread(diameter = diam, pitch = pitch, length = height, internal = true);
  683. }
  684. // bridge and threaded housing for female mini-xlr connector
  685. module h2n_bridge_connector(width, base_height, radius, col_wall, stalk_wall, wall) {
  686. difference() {
  687. union() {
  688. h2n_bridge_core(width, base_height, radius, col_wall, wall, 0);
  689. // connector
  690. translate([0, 0, base_height]) {
  691. difference() {
  692. cylinder(r = h2n_xlr_thread_diam/2 + stalk_wall, h = h2n_xlr_height, $fn = facets);
  693. // remove the thread
  694. translate([0, 0, h2n_xlr_height - h2n_xlr_thread_height - h2n_xlr_shoulder]) {
  695. rotate([0, 0, 45]) {
  696. h2n_mini_xlr_thread(h2n_xlr_thread_diam, h2n_xlr_thread_pitch, h2n_xlr_thread_height);
  697. }
  698. }
  699. // remove excess above the thread
  700. translate([0, 0, h2n_xlr_height - h2n_xlr_shoulder]) {
  701. cylinder(r = h2n_xlr_thread_diam/2 + h2n_xlr_thread_depth, h = h2n_xlr_shoulder, $fn = facets);
  702. }
  703. // make hole below the thread
  704. cylinder(r = h2n_xlr_thread_diam/2, h = h2n_xlr_height - h2n_xlr_thread_height - h2n_xlr_shoulder,
  705. $fn = facets);
  706. // remove stalk segment that is inside the bridge
  707. translate([width / 2, 0, -1.0]) {
  708. rotate([0, -90, 0]) {
  709. semi_cylinder(r = h2n_xlr_thread_diam/2 + stalk_wall, h = width);
  710. }
  711. }
  712. }
  713. }
  714. // small supports for the screws that attach to the columns
  715. // Number 0 Size, 1/4" Long = thread diameter: 1.6mm, head diameter: 2.75
  716. for (m = [0, 1]) mirror([m, 0, 0]) {
  717. translate([-(width / 2 + radius + 2 * wall), 0, radius]) {
  718. rotate([0, 90, 0]) {
  719. cylinder(r = 1.5, h = 2 * wall, $fn = facets);
  720. }
  721. }
  722. }
  723. // add ridge for connector (stops the inner core of the connector from being pushed down)
  724. h_fit = 0.95;
  725. translate([0, 0, h2n_xlr_height - h2n_xlr_thread_height - h2n_xlr_shoulder + 5 - h_fit]) {
  726. tube(h2n_xlr_thread_diam/2 + stalk_wall, h2n_xlr_thread_diam/2 - 1.0, 5);
  727. translate([0, 0, -1.0]) {
  728. difference() {
  729. cylinder(r = h2n_xlr_thread_diam/2, h = 1.0, $fn = facets);
  730. cylinder(r2 = h2n_xlr_thread_diam/2 - 1.0, r1 = h2n_xlr_thread_diam/2, h = 1.0, $fn = facets);
  731. }
  732. }
  733. }
  734. }
  735. h2n_bridge_core(width, base_height, radius, col_wall, wall, -wall);
  736. // make a hole in the bridge for the cables
  737. cylinder(r = h2n_xlr_thread_diam/2, h = base_height + radius + 2 * wall, $fn = facets);
  738. // cut a window for the XY and MS leds
  739. translate([0, h2n_bridge_circle_max, 0]) {
  740. rotate([90, 0, 0]) cylinder(r = 2.0, h = h2n_bridge_circle_max * 2, $fn = facets);
  741. }
  742. // holes for screws that attach to the columns
  743. // Number 0 Size, 1/4" Long = thread diameter: 1.6mm, head diameter: 2.75
  744. translate([-(width + 3 * radius + 2 * wall) / 2, 0, radius]) {
  745. rotate([0, 90, 0]) {
  746. cylinder(r = (1.6 + 0.1)/2, h = width + 4 * radius, $fn = facets);
  747. }
  748. }
  749. }
  750. }
  751. // threaded housing for male mini-xlr connector
  752. module h2n_connector_to_stalk(width, height, thread_height, thread_diam, thread_pitch, shoulder, stalk_wall) {
  753. difference() {
  754. cylinder(r = thread_diam/2 + stalk_wall, h = height, $fn = facets);
  755. // remove the thread
  756. translate([0, 0, shoulder]) {
  757. rotate([0, 0, 90]) {
  758. h2n_mini_xlr_thread(thread_diam, thread_pitch, thread_height);
  759. }
  760. }
  761. // remove excess above the thread
  762. translate([0, 0, shoulder + thread_height]) {
  763. cylinder(r = thread_diam/2, h = height, $fn = facets);
  764. }
  765. // make hole below the thread
  766. cylinder(r = thread_diam/2, h = shoulder, $fn = facets);
  767. }
  768. // add ridge for connector (stops the inner core of the connector from being pushed down)
  769. translate([0, 0, h2n_xlr_thread_height - h2n_xlr_shoulder + 1.0]) {
  770. tube(h2n_xlr_thread_diam/2 + stalk_wall, h2n_xlr_thread_diam/2 - 1.0, 5);
  771. translate([0, 0, -1.0]) {
  772. difference() {
  773. cylinder(r = h2n_xlr_thread_diam/2, h = 1.0, $fn = facets);
  774. cylinder(r2 = h2n_xlr_thread_diam/2 - 1.0, r1 = h2n_xlr_thread_diam/2, h = 1.0, $fn = facets);
  775. }
  776. }
  777. }
  778. }
  779. // stalk and capsule array mount (clips on mini-xlr housing, rotates to orient capsule array)
  780. module h2n_stalk_to_array_mount(width, stalk_height, stalk_wall) {
  781. // conical stalk to the capsule array mount
  782. difference() {
  783. cylinder(r1 = h2n_xlr_thread_diam/2 + stalk_wall, r2 = mount_radius + stalk_wall, h = stalk_height, $fn = facets);
  784. cylinder(r1 = h2n_xlr_thread_diam/2, r2 = mount_radius, h = stalk_height, $fn = facets);
  785. // avoid overhang for printing
  786. trans = 1.0;
  787. difference() {
  788. cylinder(r2 = h2n_xlr_thread_diam/2 + stalk_wall * 2, r1 = h2n_xlr_thread_diam/2 + stalk_wall * 4, h = trans, $fn = facets);
  789. cylinder(r2 = h2n_xlr_thread_diam/2 + stalk_wall, r1 = h2n_xlr_thread_diam/2, h = trans, $fn = facets);
  790. }
  791. }
  792. // press fit connector to stalk mini-xlr connector
  793. translate([0, 0, -3]) {
  794. tube(h2n_xlr_thread_diam/2, h2n_xlr_thread_diam/2 - wall, 6.0);
  795. }
  796. // capsule array mount with the right orientation (left front top = #1)0
  797. rotate([0, 0, -90]) translate([0, 0, stalk_height]) {
  798. tetra_capsule_array_mount([-45, 135], mount_radius, stalk_wall);
  799. }
  800. }
  801. // components for a wind screen cage
  802. module h2n_wind_screen_old(width) {
  803. *for (m = [0, 1]) mirror([m, 0, 0]) {
  804. translate([width/2, 0, 0]) {
  805. cube([2, 2, 90]);
  806. }
  807. }
  808. for (m = [0, 1]) mirror([0, m, 0]) {
  809. translate([0, 10, 0]) {
  810. rotate([0, 90, 90]) {
  811. half_rounded_box(2, 130, h2n_width_m/2 + mount_radius + h2n_col_wall, 25, 2);
  812. }
  813. }
  814. }
  815. translate([0, 0, 100]) {
  816. rounded_box(2, h2n_width_m/2 + mount_radius + h2n_col_wall, 30, 25, 2);
  817. }
  818. }
  819. // wind screen support modules
  820. module h2n_wind_screen_vertical_ring(diameter, thickness, collar_height) {
  821. radius = diameter / 2;
  822. w = thickness;
  823. // vertical main ring with four slots and half collar
  824. difference() {
  825. union() {
  826. translate([-w, 0, w/2]) {
  827. rotate([0, 90, 0]) {
  828. tube(radius, radius - w, w);
  829. // side locks
  830. for (r = [0, 1]) rotate([0, 0, 90 * r]) {
  831. for (m = [0, 1]) mirror([0, m, 0]) {
  832. translate([-w*1.5, radius - 2*w, 0]) {
  833. cube([w*3, w*1.5, w]);
  834. }
  835. }
  836. }
  837. }
  838. }
  839. }
  840. // cut slots for vertical rings
  841. tube(radius + w, radius - w, w);
  842. translate([0, -w/2, w/2]) {
  843. rotate([0, 90, 90]) {
  844. tube(radius + w, radius - w, w);
  845. }
  846. }
  847. // remove lower cylinder
  848. translate([0, 0, -radius]) {
  849. cylinder(r = h2n_mount_radius + h2n_col_wall, h = 3 * w, $fn = facets);
  850. }
  851. }
  852. // cylindrical attachment to mount
  853. difference() {
  854. union() {
  855. translate([0, 0, -(radius + 5)]) {
  856. tube(h2n_mount_radius + h2n_col_wall, h2n_mount_radius + wall, collar_height);
  857. }
  858. // mount for bottom screws
  859. for (m = [0, 1]) mirror([0, m, 0]) translate([-w, h2n_mount_radius + 2 * wall + 2.0, -(radius)]) {
  860. minkowski() {
  861. rotate([0, 90, 0]) {
  862. cylinder(r = 2.0, h = w, $fn = facets);
  863. }
  864. translate([0, -2, -2]) {
  865. cube([w, 1.5 * w, 4]);
  866. }
  867. }
  868. }
  869. }
  870. // remove half the tube
  871. translate([0, -2 * (h2n_mount_radius + h2n_col_wall), -(radius + collar_height / 2)]) {
  872. cube([h2n_mount_radius + h2n_col_wall, 4 * (h2n_mount_radius + h2n_col_wall), collar_height]);
  873. }
  874. // make holes for screws
  875. for (m = [0, 1]) mirror([0, m, 0]) translate([-w, h2n_mount_radius + 2 * wall + 2.0, -(radius)]) {
  876. rotate([0, 90, 0]) {
  877. cylinder(r = 1.0, h = w, $fn = facets);
  878. }
  879. }
  880. // remove inside mounts
  881. translate([0, 0, -(radius + 5)]) {
  882. cylinder(r = h2n_mount_radius + wall, h = collar_height, $fn = facets);
  883. }
  884. }
  885. }
  886. module h2n_wind_screen_horizontal_ring(diameter, thickness) {
  887. radius = diameter / 2;
  888. w = thickness;
  889. // horizontal ring with two slots
  890. difference() {
  891. union() {
  892. tube(radius, radius - w, w);
  893. // side lock supports
  894. rotate([0, 0, 90]) {
  895. for (m = [0, 1]) mirror([0, m, 0]) {
  896. translate([-w*1.5, radius - 2*w, 0]) {
  897. cube([w*3, w*1.5, w]);
  898. }
  899. }
  900. }
  901. // stops to assemble into vertical ring
  902. for (m = [0, 1]) mirror([0, m, 0]) translate([-2*w, radius - w, w]) {
  903. cube([w, w, w]);
  904. }
  905. }
  906. // cut slot for vertical secondary ring
  907. translate([0, -w/2, w/2]) {
  908. rotate([0, 90, 90]) {
  909. tube(radius + w, radius - w, w);
  910. }
  911. }
  912. // make into an arc (1/2 of the ring)
  913. translate([0, -diameter/2, 0]) {
  914. cube([diameter, diameter, w]);
  915. }
  916. }
  917. }
  918. module h2n_wind_screen_vertical_aux_ring(diameter, thickness) {
  919. radius = diameter / 2;
  920. w = thickness;
  921. difference() {
  922. union() {
  923. translate([0, -w/2, w/2]) {
  924. rotate([0, 90, 90]) {
  925. tube(radius, radius - w, w);
  926. }
  927. }
  928. // stop to assemble into vertical ring
  929. rotate([90, 0, 0]) translate([-2*w, radius - w/2, w/2]) {
  930. cube([w, w, w]);
  931. }
  932. }
  933. // remove lower cylinder
  934. translate([0, 0, -radius]) {
  935. cylinder(r = h2n_mount_radius + h2n_col_wall, h = 3 * w, $fn = facets);
  936. }
  937. // make into an arc (1/2 of the ring)
  938. rotate([0, 90, 90]) translate([-(diameter/2 + w/2), -diameter, -w]) {
  939. cube([diameter, diameter, 2*w]);
  940. }
  941. }
  942. }
  943. // lower windscreen with threaded mount
  944. module h2n_lower_windscreen(sides, height, radius, wradius, beam_radius, conn_radius, pin_height, connectors = true) {
  945. ang = 360 / sides;
  946. // connector to upper frame
  947. for (r = [1:360/sides:360]) rotate([0, 0, r]) {
  948. translate([wradius, -beam_radius/2, height - pin_height + 1]) {
  949. render() {
  950. difference() {
  951. sphere(r = conn_radius, $fn = facets);
  952. translate([-2 * conn_radius, -2 * conn_radius, (conn_radius - beam_radius) / 2]) {
  953. cube([4 * conn_radius, 4 * conn_radius, 4 * conn_radius]);
  954. }
  955. }
  956. // pin
  957. cylinder(r = beam_radius - fit, h = pin_height, $fn = facets);
  958. }
  959. }
  960. }
  961. // beams to threaded mount
  962. rotate([0, 0, ang/2]) {
  963. sphear_windscreen_inset_frame(sides, height - 4, wradius,
  964. radius, beam_radius, 1.66, 1.2);
  965. }
  966. // threaded mount
  967. sphear_windscreen_round_mount(windscreen_thread_height, windscreen_thread_radius, windscreen_thread_radius + 4 * wall, 2 * wall);
  968. }
  969. ////
  970. //// Render components specific to the H2N design
  971. // render full windscreen with threaded mount
  972. module render_h2n_windscreen(zoffset) {
  973. sides = 12;
  974. ang = 360 / sides;
  975. translate([0, 0, zoffset]) {
  976. h2n_lower_windscreen(sides, height, radius, beam_radius, conn_radius, pin_height, connectors = true)
  977. // dome at top
  978. translate([0, 0, windscreen_height / 2+ windscreen_height]) {
  979. sphear_windscreen_dome(sides, box_corner_radius + 4 * beam_radius, beam_radius);
  980. }
  981. // spiral wireframe
  982. translate([0, 0, windscreen_height / 2]) {
  983. sphear_windscreen_frame(sides, box_corner_radius + 4 * beam_radius, windscreen_height, beam_radius, 45);
  984. }
  985. // crossing reinforcements
  986. // first mid crossing
  987. translate([0, 0, windscreen_height / 2 + windscreen_height/3]) {
  988. sphear_windscreen_frame_reinforcements(sides, box_corner_radius + 4 * beam_radius, beam_radius, ang/2, 0);
  989. }
  990. // second mid crossing
  991. translate([0, 0, windscreen_height / 2 + windscreen_height*2/3]) {
  992. sphear_windscreen_frame_reinforcements(sides, box_corner_radius + 4 * beam_radius, beam_radius, 0, 0);
  993. }
  994. // to dome
  995. translate([0, 0, windscreen_height / 2 + windscreen_height]) {
  996. sphear_windscreen_frame_reinforcements(sides, box_corner_radius + 4 * beam_radius, beam_radius, ang/2, 0);
  997. }
  998. // to threaded mount (these are tilted slightly and inset a little bit)
  999. translate([0, 0, windscreen_height / 2]) {
  1000. sphear_windscreen_frame_reinforcements(sides, box_corner_radius + 4 * beam_radius - 0.15, beam_radius, 0, 10);
  1001. }
  1002. // beams to threaded mount
  1003. rotate([0, 0, ang/2]) {
  1004. sphear_windscreen_inset_frame(sides, windscreen_height/2, box_corner_radius + 4 * beam_radius,
  1005. windscreen_thread_radius + 2 * wall,
  1006. beam_radius, 1.66, 1.2);
  1007. }
  1008. // threaded mount
  1009. rotate([0, 0, 90]) {
  1010. sphear_windscreen_round_mount(windscreen_thread_height, windscreen_thread_radius, 2 * wall);
  1011. }
  1012. }
  1013. }
  1014. //
  1015. module render_h2n_lower_windscreen(zoffset) {
  1016. translate([0, 0, zoffset]) {
  1017. h2n_lower_windscreen(12, windscreen_lower_height, windscreen_thread_radius + 2 * wall, windscreen_radius,
  1018. windscreen_beam_radius, windscreen_conn_radius, windscreen_pin_height, connectors = true);
  1019. }
  1020. }