Run black linter
				
					
				
			This commit is contained in:
		@ -10,9 +10,9 @@ helix = cq.Workplane(obj=wire)
 | 
			
		||||
 | 
			
		||||
# Final result: A 2D shape swept along a helix.
 | 
			
		||||
result = (
 | 
			
		||||
    cq.Workplane('XZ') # helix is moving up the Z axis
 | 
			
		||||
    cq.Workplane("XZ")  # helix is moving up the Z axis
 | 
			
		||||
    .center(r, 0)  # offset isosceles trapezoid
 | 
			
		||||
    .polyline(((-.15,0.1), (0.0,0.05), (0,0.35), (-0.15,0.3)))
 | 
			
		||||
    .polyline(((-0.15, 0.1), (0.0, 0.05), (0, 0.35), (-0.15, 0.3)))
 | 
			
		||||
    .close()  # make edges a wire
 | 
			
		||||
    .sweep(helix, isFrenet=True)  # Frenet keeps orientation as expected
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user