作品详情
最新代码可以在GitHub上找到:github.com/syvwlch/Thingiverse-Projects/tree/master/Threaded%20Library
目前,这个库文件让你能够制作一个有梯形螺纹的螺杆,这和CNC机器制作的很多螺纹是一样的。
梯形螺纹模块儿能够沿着Z轴以X和Y轴为中心制作螺纹。
参数如下:
length 长度
//axial length of the threaded rod 螺纹杆的轴长
//used to calculate how many turns to create 用来计算需要多少转
//the rod is NOT trimmed to this length!!! 螺杆长度不是用这个参数计算的!!!
pitch 螺距
//axial distance from crest to crest波峰与波峰之间的轴向距离
pitchRadius 螺距半径
//radial distance from center to mid-profile中心到螺纹中部的径向距离
threadHeightToPitch 螺纹高度和螺距的比例
// ratio between profile height and pitch 螺纹高度和螺距的比例
// default value is 0.5 默认值是0.5
profileRatio 螺纹比
// ratio between raised profile and pitch 螺纹长度和螺距的比例
// default value is 0.5 默认值是0.5
profileAngle 螺纹角度
// angle between the two faces of the thread, in degrees 两面螺纹之间的角度
// std value for Acme is 29 or for metric lead screw is 30 Acme类螺纹的标准值是29, 而metric lead类螺纹则是30
// 默认值是30
RH
// true if thread winds clockwise along shaft 螺纹顺时针转是选择true
// i.e.follows the Right Hand Rule 例如:遵循右手定则
// default value is true 默认值是true
clearance 空隙
// radial clearance, normalized to thread height 径向间隙, 和螺纹高度匹配即可
// default value is 0.1 默认值是0.1
backlash 齿隙
// axial clearance, normalized to pitch 轴向间隙, 和螺距匹配即可
// default value is 0.1 默认值是0.1
stepsPerTurn 每圈的步数
// 每转一圈的面数
// 默认值是24
更新:
我又做了一个拥有凹陷螺纹的螺杆。参数设置如下:
length长度
// 凹进去的厚度
countersunk沉孔
// 45度斜坡面的深度,和螺距匹配
// 默认值是0,无倒角
不仅能打印螺纹杆,还能打印阴性的导程螺母
制作两个咬合的螺纹杆,它们的手性不同,但螺距、螺距半径、螺纹高度与螺距的比例是一样的。它们的螺纹比必须互补(和为1),它们之间的距离是它们螺距半径的两倍。