Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. import cadquery as cq
  2. from Helpers import show
  3.  
  4. import Part
  5.  
  6. pitch = 2
  7. depth = 1
  8. height = 10
  9. radius = 2
  10.  
  11. thread = cq.Workplane("XY").newObject([
  12. cq.Shape.cast(Part.makeThread(
  13. pitch, depth, height, radius
  14. ))
  15. ])
  16.  
  17. show(thread, (204, 204, 204, 0.3))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement