Last active
September 19, 2017 12:58
-
-
Save fragmuffin/a98c264334990d63793767c06cf694f2 to your computer and use it in GitHub Desktop.
FreeCAD Part.makeThread result in cadquery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment