Primitive naming

Primitive naming
#1
If I want to do a prism primitive similar to tri3a1, but with one right-angle side and the diagonal side, what should that be called?
In general, what is the naming scheme for primitives? Looking at all the various cube-based primitives I haven't found the logic yet...
Re: Primitive naming
#2
There is no rule for all possibilities. If the name you choose extensible for other similar primitives, I am pretty sure we will use it.
Re: Primitive naming
#3
There is a logic to thebox primitives:
Code:
```box    n    = number of faces [i]present[/i]     x   = used to differentiate the different configurations of faces (- = the "default" adjacent, o = 4-face ring, u = 3-face "U"-section)      e  = number of faces [i]absent[/i]       p = used to differentiate different configurations of the missing edges (a=adjacent, p=parallel)```

You don't say which edges you plan to include, but from what you describe, your new primitive should be tri2.dat or tri2-n, if one or more of the 9 edges are omitted.
Re: Primitive naming
#4
It should be a tri3 as it'll have the base triangle as well as two sides. Here's what I mean:

tri3 by Duq, on Flickr
Re: Primitive naming
#5
In my eyes this prim is not needed, because you can get the result by simply deform tri3a1 in it's rotation matrix.
If you need help with deforming feel free to ask.

/Max
Re: Primitive naming
#6
If you could point me to a tutorial about deformation matrices that would be great, thanks.
Re: Primitive naming
#7
I agree with Max, this new primitive is not needed.