1
0

Octathingy_EM200.scad 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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 <Octathingy_mount_pcb.scad>;
  34. // dimensions of the EM200 electret microphone capsule
  35. capsule_radius = 14.55 / 2;
  36. capsule_height = 4.75;
  37. mic_radius = 16.6;
  38. // make triangular legs have the right height
  39. connect = 1;
  40. leg_thick = capsule_height * 0.45;
  41. facets = 128;
  42. ////
  43. //// render the different assemblies
  44. ////
  45. //// microphone body and array
  46. *render_octa_capsule_array(212.3);
  47. *render_octa_capsule_flare(49.2);
  48. *render_octa_pcb_mount(0, 0);
  49. *render_octa_cable_flare(0);
  50. *rotate([0, 180, 0]) {
  51. render_octa_connector_flare(0);
  52. }
  53. // the whole body
  54. *render_octa_body(0, 10, 0);
  55. // the whole microphone
  56. // or use render_octa_microphone_cutout(0, 0) for a "transparent" view
  57. //
  58. render_octa_microphone_cutout(0, 0, 0);
  59. //// microphone shock mount
  60. *render_octa_shock_mount_stand(0);
  61. *render_octa_shock_mount_external_ring(0);
  62. *render_octa_shock_mount_internal_ring_bot(0);
  63. *render_octa_shock_mount_internal_ring_top(0);
  64. *render_octa_shock_mount_ring_connectors(5);
  65. // the full mount
  66. *render_octa_shock_mount(0);
  67. // individual capsule holders
  68. *render_octa_capsule_top(0);
  69. *render_octa_capsule_bot(0);