Stream: brlcad

Topic: copymat


view this post on Zulip Vikram Atreya (Jun 12 2021 at 20:55):

What does the copymat command do exactly?
What is the matrix referring to? combination information?

view this post on Zulip Vikram Atreya (Jun 13 2021 at 17:44):

Also what is the difference between clone and copy, other than the fact that with the copy command we can decide the name of the new oject?

view this post on Zulip Sean (Jun 14 2021 at 05:16):

Vikram Atreya said:

What does the copymat command do exactly?
What is the matrix referring to? combination information?

copymat copies a matrix from one combination object to another. Every object has a representation in the 3D space defined by a mathematical 4x4 matrix (i.e., 16 double floating point numbers) that define its location, orientation, and size.

view this post on Zulip Vikram Atreya (Jun 14 2021 at 05:18):

This matrix isnt related to the combinations that come from c cmd then, its just the spacial positioning and orientation. Am i right?

view this post on Zulip Sean (Jun 14 2021 at 05:19):

what do you mean by related?

view this post on Zulip Sean (Jun 14 2021 at 05:19):

the c command creates a combination, right?

view this post on Zulip Sean (Jun 14 2021 at 05:27):

when a combination is written to the .g file, one of the things written is a matrix. there can be a matrix on that combination as well as matrices on any of the combinations that it references too.


Last updated: Oct 09 2024 at 00:44 UTC