New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cylinder() is actually a cone #4404
Comments
I think you want I think the true is being taken as the second radius which would be almost a cone but with a flat point. |
This works: If you use r1 I think you also need to specify r2 or ir will default to 1. |
Okay, I changed the second radius argument so now it's |
The documentation hints at this potential confusion, but is itself confusing. It says "Parameter names are optional if given in the order shown here", but does not clearly show an order. There's a list of parameters further down, but that comment is not correct for that list. You cannot say The cheat sheet is similarly confusing; it implies that you can just say I almost always specify arguments by name, not position, so would say Cones are cylinders just like rectangular prisms are cubes and rectangles are squares :-) |
I think maybe the documentation intent is that "the order shown" is in the source sample three paragraphs down, but the intervening detailed text breaks that connection, at least for me. |
I have changed the documentation to move that source sample up. |
If you have questions, you might try the chat room. There are people active there very nearly 24 hours per day. |
The function
cylinder(h, r1, center);
produces a cone, not a cylinder. Please close this issue if the function is actually meant to produce a cone instead and different arguments are used for a cylinder. But even in that case, it is still unintuitive to have thecylinder()
function produce both a cylinder and a cone depending on the arguments.The text was updated successfully, but these errors were encountered: