This patch includes nodes to build the following primitives:
[x] Cone
[x] Cylinder
[x] Circle
[x] Cube
[x] UV Sphere
[x] Ico Sphere
[x] Line
[x] Plane/Grid
In general the inputs are the same as the corresponding operators in the 3D view.
| {F9889711} | {F9889712}
| {F9889715} | {F9889716}
| {F9889717} | {F9889720}
| {F9889722} | {F9889724}
| {F9889725} | {F9889728}
| {F9889729} | {F9889730}
| {F9890250} | {F9890251}
| {F9891732} | {F9891733}
For the line primitive there are two options-- adding vertices between two end points,
or adding vertices each at an offset from the start point. For the former mode, there
is a choice between a vertex count and a distance between each point.
For the plane/grid primitive I combined the two into one node. Here's the thinking:
Generally primitives are named after the simpler form of the shape they create
(i.e. "Cone" can make some more complex shapes). Also, generally you want to tweak
the number of subdivisions anyway, so defaulting to plane is not an inconvenience.
And generally having fewer redundant base primitives is better.