Little a refactor, as a treat
This commit is contained in:
		
							parent
							
								
									423c1f5408
								
							
						
					
					
						commit
						53e7bf5ebb
					
				
					 1 changed files with 76 additions and 72 deletions
				
			
		| 
						 | 
					@ -1,5 +1,6 @@
 | 
				
			||||||
$fn = 72;
 | 
					$fn = 72;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					module top_case() {
 | 
				
			||||||
    case_width_top     = 317.5000;
 | 
					    case_width_top     = 317.5000;
 | 
				
			||||||
    case_width_bottom  = 320.0000;
 | 
					    case_width_bottom  = 320.0000;
 | 
				
			||||||
    case_length_top    = 150.0000;
 | 
					    case_length_top    = 150.0000;
 | 
				
			||||||
| 
						 | 
					@ -62,7 +63,7 @@ module accents() {
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
module top_case() {
 | 
					    module body() {
 | 
				
			||||||
        translate([0, 0, wall_height - wall_width])
 | 
					        translate([0, 0, wall_height - wall_width])
 | 
				
			||||||
        fascia();
 | 
					        fascia();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -84,7 +85,10 @@ module top_case() {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    difference() {
 | 
					    difference() {
 | 
				
			||||||
    top_case();
 | 
					        body();
 | 
				
			||||||
        accents();
 | 
					        accents();
 | 
				
			||||||
        fin_gaps();
 | 
					        fin_gaps();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					top_case();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue