# Untitled

a guest
Feb 25th, 2023
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. // CN Tower model by Bing AI
2. // Scale: 1:1000
3. // Dimensions from http://torontoplace.com/attractions/CNtower.htm and https://en.wikipedia.org/wiki/CN_Tower
4.
5. // Parameters
6. \$fn = 36; // number of sides for cylinders
7. height = 553.3; // total height in meters
9. base_height = 15.5; // base height in meters
11. shaft_height = 335.33; // shaft height in meters
13. sky_pod_height = 6.5; // sky pod height in meters
15. main_pod_height = 18.29; // main pod height in meters
17. glass_floor_height = 0.1; // glass floor height in meters
19. antenna_base_height = 9.14; // antenna base height in meters
20. antenna_tip_radius = 0.0762; // antenna tip radius in meters (3 inches)
21. antenna_tip_height = 102.4 - antenna_base_height - antenna_tip_radius * \$fn / pi();
22. // antenna tip height calculated from total antenna length minus base and tip diameters
23.
24. // Colors (RGB values from https://www.cntower.ca/en-ca/about-us/history/facts.html)
25. base_color = [0/255,51/255,102/255];
26. shaft_color = [204/255,204/255,204/255];
27. sky_pod_color = [153/255,153/255,153/255];
28. main_pod_color = [153/255,153/255,153/255];
29. glass_floor_color = [0/255,204/255,204/255];
30. antenna_color =[240/255,240/255,240/255];
31.
32. // Model
33.
35. union() {
42. pod-height);
43. translate([height*.05-shaft-height-sky-pod-height-main-