Creating Cylinders in the NURBS toolbox

8 次查看(过去 30 天)
Hello, thanks for reading this,
I have a question about using the NURBS toolbox; namely creating geometrical cylinders and using those for IGES export.
I can create cylinders in MATLAB using the toolbox, but I was wondering if there was another way to declare cylinders besides the given ways they mentioned.
What I would like to do is declare two points (which are the start and endpoint for a given cylinder), and a radius of the cylinder (that is what I used in Ansys to create a cylinder). In the NURBS toolbox nrbcylind.m file, what you do is mention the center of the cylinder and the radius. Unfortunately, this means that every cylinder I create will be oriented the same way (which is a problem).
Any ideas? Is this possible?
Thanks for the help!
  2 个评论
Brian
Brian 2012-1-3
If impossible, I can make due with using the center points using some geometrical manipulation; the reason why I asked is because the orientation of the cylinder is most important thing. When I have a bifurcation leading to new cylinders, I would like to be able to control the angle of separation.
Declaring start and endpoitns would eliminate this issue, because the need for a angle with the cylinder would be eliminated. However, if I only use center points I would need to input the angle as well.
Any ideas?
K E
K E 2012-1-4
[For those unfamiliar with the NURBS toolbox, here is the link http://www.aria.uklinux.net/nurbs.php3 ]

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by