1
0

Octathingy_EM200.scad 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. //
  2. // Spherical Harmonics Ear Project (*SpHEAR)
  3. //
  4. // Octathingy, Second Order Ambisonics Microphone
  5. //
  6. // based on:
  7. // "A second-order soundfield microphone with improved polar pattern shape"
  8. // by Eric Benjamin, Audio Engineering Society Convention Paper 8728,
  9. // October 2012, San Francisco
  10. //
  11. // Microphone optimized for EM182 capsules and Zapnspark interface
  12. //
  13. // Copyright 2015-2017, Fernando Lopez-Lezcano, All Rights Reserved
  14. // nando@ccrma.stanford.edu
  15. //
  16. // This program is free software: you can redistribute it and/or modify
  17. // it under the terms of the GNU General Public License as published by
  18. // the Free Software Foundation, either version 3 of the License, or
  19. // (at your option) any later version.
  20. //
  21. // This program is distributed in the hope that it will be useful,
  22. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  23. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  24. // GNU General Public License for more details.
  25. //
  26. // You should have received a copy of the GNU General Public License
  27. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  28. //
  29. // 3d Models released under the Creative Commons license as follows:
  30. // Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
  31. // http://creativecommons.org/licenses/by-nc-sa/4.0/
  32. include <Octathingy_common.scad>;
  33. include <SpHEAR_windscreen.scad>;
  34. include <TinySpHEAR_mount_pcb.scad>;
  35. include <Octathingy_mount_pcb.scad>;
  36. // dimensions of the EM200 electret microphone capsule
  37. capsule_radius = 14.55 / 2;
  38. capsule_height = 4.75;
  39. mic_radius = 16.6;
  40. // make triangular legs have the right height
  41. connect = 1;
  42. leg_thick = capsule_height * 0.45;
  43. facets = 128;
  44. ////
  45. //// render the different assemblies
  46. ////
  47. //// microphone body and array
  48. windscreen_thread_radius = mic_radius * 1.8;
  49. windscreen_radius = windscreen_thread_radius + 5.0;
  50. windscreen_thread_height = 8;
  51. windscreen_height = 68;
  52. render_octa_capsule_array(212.3);
  53. difference() {
  54. render_octa_capsule_flare(49.2);
  55. *translate([-60, -60, 0]) {
  56. cube([60, 60, 120]);
  57. }
  58. }
  59. difference() {
  60. union() {
  61. render_sphear_lower_windscreen(tetra_pcb_mount_height - 10 + 28);
  62. render_sphear_upper_windscreen(tetra_pcb_mount_height - 10 + 28 + windscreen_height);
  63. }
  64. *translate([-60, -60, 0]) {
  65. cube([60, 60, 120]);
  66. }
  67. }
  68. render_octa_pcb_mount(0, 0);
  69. *render_octa_cable_flare(0);
  70. rotate([0, 180, 0]) {
  71. render_octa_connector_flare(0);
  72. }
  73. // the whole body
  74. *render_octa_body(0, 10, 0);
  75. // the whole microphone
  76. // or use render_octa_microphone_cutout(0, 0) for a "transparent" view
  77. //
  78. *render_octa_microphone_cutout(0, 0, 0);
  79. //// microphone shock mount
  80. *render_octa_shock_mount_stand(0);
  81. *render_octa_shock_mount_external_ring(0);
  82. *render_octa_shock_mount_internal_ring_bot(0);
  83. *render_octa_shock_mount_internal_ring_top(0);
  84. *render_octa_shock_mount_ring_connectors(5);
  85. // the full mount
  86. *render_octa_shock_mount(0);
  87. // individual capsule holders
  88. *render_octa_capsule_top(0);
  89. *render_octa_capsule_bot(0);