Update cam
This commit is contained in:
@ -83,10 +83,11 @@ fn cylinderPattern(@i) {
|
|||||||
|> patternTransform(instances = round(valvesPerCylinder / 2), transform = valveCount)
|
|> patternTransform(instances = round(valvesPerCylinder / 2), transform = valveCount)
|
||||||
|> patternTransform(instances = cylinderCount, transform = cylinderPattern)
|
|> patternTransform(instances = cylinderCount, transform = cylinderPattern)
|
||||||
|
|
||||||
// Extrude a center connecting cylinder shaft to each cam position
|
// Extrude a center connecting cylinder shaft through each cam position
|
||||||
|
length = (2 * (camHeight + camSpacing) * round(valvesPerCylinder / 2) + supportBearingWidth) * cylinderCount + supportBearingWidth
|
||||||
centerShaft = startSketchOn(XY)
|
centerShaft = startSketchOn(XY)
|
||||||
|> circle(center = [0, 0], diameter = shaftDiameter)
|
|> circle(center = [0, 0], diameter = shaftDiameter)
|
||||||
|> extrude(length = (2 * (camHeight + camSpacing) * round(valvesPerCylinder / 2) + supportBearingWidth) * cylinderCount + supportBearingWidth)
|
|> extrude(length)
|
||||||
|
|
||||||
// Attach a helical timing gear to the base of the camshaft
|
// Attach a helical timing gear to the base of the camshaft
|
||||||
fn helicalGear(nTeeth, module, pressureAngle, helixAngle, gearHeight) {
|
fn helicalGear(nTeeth, module, pressureAngle, helixAngle, gearHeight) {
|
||||||
|
Reference in New Issue
Block a user