TinySpHEAR_EM182.scad 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. //
  2. // Spherical Harmonics Ear Project (*SpHEAR)
  3. //
  4. // TinySpHEAR, First Order (B-format) Ambisonics Microphone
  5. // Microphone optimized for EM200 capsules and Zapnspark interface
  6. //
  7. // Copyright 2015-2016, 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 <TinySpHEAR_common.scad>;
  27. include <TinySpHEAR_mount_pcb.scad>;
  28. // dimensions of the electret microphone capsule
  29. capsule_radius = 5;
  30. capsule_height = 4.5;
  31. mic_radius = 9.6;
  32. ////
  33. //// render the different assemblies
  34. ////
  35. //// microphone body and array
  36. *render_tetra_capsule_array(0);
  37. *render_tetra_capsule_flare(0);
  38. *render_tetra_pcb_mount(0, 0);
  39. *render_tetra_cable_flare(0);
  40. // the whole body
  41. *render_tetra_body(0, 10, 0);
  42. // the whole microphone
  43. // or use render_tetra_microphone_cutout(0, 0) for a "transparent" view
  44. //
  45. render_tetra_microphone(0, 0, 0);
  46. //// microphone shock mount
  47. *render_tetra_shock_mount_stand(0);
  48. *render_tetra_shock_mount_external_ring(0);
  49. *render_tetra_shock_mount_internal_ring_bot(0);
  50. *render_tetra_shock_mount_internal_ring_top(0);
  51. *render_tetra_shock_mount_ring_connectors(5);
  52. // the full mount
  53. *render_tetra_shock_mount(0);
  54. // individual capsule holders
  55. *render_tetra_capsule_top(0);
  56. *render_tetra_capsule_bot(0);