Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cadquery as cq
- from Helpers import show
- import Part
- pitch = 2
- depth = 1
- height = 10
- radius = 2
- thread = cq.Workplane("XY").newObject([
- cq.Shape.cast(Part.makeThread(
- pitch, depth, height, radius
- ))
- ])
- show(thread, (204, 204, 204, 0.3))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement