Advertisement
Guest User

Untitled

a guest
Jun 29th, 2025
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. include <C:\libs\OpenSCad\plot-function\plot_function.scad> // https://github.com/rcolyer/plot-function
  2.  
  3. include <C:\libs\OpenSCad\BOSL2\gears.scad>
  4.  
  5. use <C:\libs\OpenSCad\closepoints\closepoints.scad> // https://github.com/rcolyer/closepoints
  6.  
  7.  
  8. module shell() {
  9. translate([36,0,0]) CloseLoop([for (a=[0:360]) let(z=30+1.5*cos(8*a))
  10. [for (p=[[15.2,0,0], [15,0,0], [15,0,z], [15.2,0,z]]) Affine(RotZ(a), p)]]);
  11. }
  12.  
  13. module shell2() {
  14. translate([36,0,0]) CloseLoop([for (a=[0:360]) let(z=30+1.5*cos(8*a))
  15. [for (p=[[13.2,0,0], [13,0,0], [13,0,z], [13.2,0,z]]) Affine(RotZ(a), p)]]);
  16. }
  17.  
  18. //hull() {
  19. shell();
  20. translate([0,0,-2]) shell2();
  21. //}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement