1
0

Octathingy_EM182.scad 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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-2016, 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 electret microphone capsule
  35. capsule_radius = 5;
  36. capsule_height = 4.5;
  37. mic_radius = 13.5;
  38. ////
  39. //// render the different assemblies
  40. ////
  41. //// microphone body and array
  42. *render_octa_capsule_array(0);
  43. *render_octa_capsule_flare(0);
  44. *render_octa_pcb_mount(0, 0);
  45. *render_octa_cable_flare(0);
  46. // the whole body
  47. *render_octa_body(0, 10, 0);
  48. // the whole microphone
  49. // or use render_octa_microphone_cutout(0, 0) for a "transparent" view
  50. //
  51. render_octa_microphone(0, 0, 0);
  52. //// microphone shock mount
  53. *render_octa_shock_mount_stand(0);
  54. *render_octa_shock_mount_external_ring(0);
  55. *render_octa_shock_mount_internal_ring_bot(0);
  56. *render_octa_shock_mount_internal_ring_top(0);
  57. *render_octa_shock_mount_ring_connectors(5);
  58. // the full mount
  59. *render_octa_shock_mount(0);
  60. // individual capsule holders
  61. *render_octa_capsule_top(0);
  62. *render_octa_capsule_bot(0);