Jump to content
tlewis3348

What is the difference between the major axis and normal vectors in the *solidcone command?

Recommended Posts

The help documentation for *solidcone (link) defines the two vectors as:

 

Quote
mvec_x, mvec_y, mvec_z
The x, y and z coordinates specifying the major axis vector direction from the base location.
nvec_x, nvec_y, nvec_z
The x, y and z coordinates specifying the normal vector (along the length) from the base location.

 

The definition of the normal vector is fairly straightforward to me. However, the major axis vector is not quite so straightforward. Looking at the output to the command.tcl file after creating a cylinder manually, it looks like one of the components gets set to zero and the other components are calculated based on the coordinates of the selected bottom center and normal vector nodes that were selected. However, it isn't clear to me how these decisions are made or how the calculated are done. If someone could explain it to me, I'd greatly appreciate it.

Share this post


Link to post
Share on other sites

Hi tlewis,

 

I think mvec will only matter if you are creating an elliptical cylinder(direction b in this image).

Create a node using the mvec coordinates you got from command.tcl, it will give you some idea.

line_nu_cylinder_intersection.png

tlewis3348 likes this

Share this post


Link to post
Share on other sites
On 6/16/2018 at 1:17 AM, vipin said:

Hi tlewis,

 

I think mvec will only matter if you are creating an elliptical cylinder(direction b in this image).

Create a node using the mvec coordinates you got from command.tcl, it will give you some idea.

line_nu_cylinder_intersection.png

 

That helped a lot. Thanks!

vipin likes this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...