Helix #1048
Replies: 1 comment 7 replies
-
So I think we need to think through a few more use cases for this. But even if the cylinder, I think we need one that takes pitch, I know it's not hard to calculate pitch if you know the revolutions and length, but I think pitch is probably going to be used more, at least for things like thread, pitch is much more important that total revolutions. So maybe we have 3 functions helixRaw({ // need a better name.
length: 20,
pitch: 1,
radius: 2.5,
plane: planeData, // could use startSketchOn name is no great but does return a plane
// angleStart: 0,
// ccw: true,
})
helixPitch({
surface: cylinderBody,
pitch: 2.5,
// angleStart: 0,
// ccw: true,
})
helixRevolutions({
surface: cylinderBody,
revolutions: 10,
// angleStart: 0,
// ccw: true,
}) Or alternatively we keep just the one helix function, but helper function for that can take the cylinder id and return the plane data or similar that's needed. helix({
length: 20,
pitch: 1,
radius: 2.5,
plane: planeData, // could use startSketchOn name is no great but does return a plane
// angleStart: 0,
// ccw: true,
})
helix(helixPitchHelper({
surface: cylinderBody,
pitch: 2.5,
// angleStart: 0,
// ccw: true,
}))
helix(helixRevolutionsHelper({
surface: cylinderBody,
revolutions: 10,
// angleStart: 0,
// ccw: true,
})) Thoughts? |
Beta Was this translation helpful? Give feedback.
-
Description
A tool that allows the user to create a helix on a cylindrical surface.
Functionality
Supporting Docs/Images
https://github.com/KittyCAD/modeling-app/assets/114548659/f0633820-1cff-42e5-a21d-2b580b5e8c62
https://github.com/KittyCAD/modeling-app/assets/114548659/8d222bef-f229-434b-b04b-0c816e7380b1
PseudoKCL
Expected Result:
Beta Was this translation helpful? Give feedback.
All reactions