You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							30 lines
						
					
					
						
							935 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							30 lines
						
					
					
						
							935 B
						
					
					
				
								/////////////////////////////////////////////////////////////////////////////////
							 | 
						|
								// Module for four sinking holes, that cone-shaped screw heads can sink in.
							 | 
						|
								//
							 | 
						|
								// Author: 		Maximilian Stiefel
							 | 
						|
								// Last modification: 	09.07.2017
							 | 
						|
								/////////////////////////////////////////////////////////////////////////////////
							 | 
						|
								
							 | 
						|
								module screw_sinkings(xdim, ydim, dia1, dia2, depth)
							 | 
						|
								{
							 | 
						|
								/////////////////////////////////////////////////////////////////////////
							 | 
						|
								// Vars
							 | 
						|
								/////////////////////////////////////////////////////////////////////////
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								/////////////////////////////////////////////////////////////////////////
							 | 
						|
								// Action
							 | 
						|
								/////////////////////////////////////////////////////////////////////////
							 | 
						|
								union(){
							 | 
						|
									for(x=[-1, +1])
							 | 
						|
									for(y=[-1, +1])
							 | 
						|
										translate([x*xdim/2, y*ydim/2, 0])
							 | 
						|
										union()
							 | 
						|
										{
							 | 
						|
											translate([0, 0, -depth + 0.1])
							 | 
						|
											cylinder(r = dia1/2, h = depth, center = true);
							 | 
						|
											cylinder(r1 = dia1/2, r2 = dia2/2, h = depth, center = true);
							 | 
						|
										}
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								}
							 | 
						|
								
							 |