Creating Cylinders in the NURBS toolbox

4 views (last 30 days)
Brian
Brian on 3 Jan 2012
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 Comments
Brian
Brian on 3 Jan 2012
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 on 4 Jan 2012
[For those unfamiliar with the NURBS toolbox, here is the link http://www.aria.uklinux.net/nurbs.php3 ]

Sign in to comment.

Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!