Annulus(innerRadius, outerRadius, revSteps, reverse) Cone(startZ, endZ, baseRadius, revSteps, noBottomCap) ConicFrustum(startZ, endZ, baseRadius, topRadius, revSteps, noBottomCap, noTopCap) Cylinder(startZ, endZ, radius, revSteps, noEndCaps) Disc(revSteps, x, y, radius, reverse, addAngle) Hemisphere(radius, revStepsLat, revStepsLong, noBottomCap) Sphere(radius, revStepsLat, revStepsLong) Torus(outerRadius, innerRadius, revSteps, startAngle, endAngle) Tube(revSteps, innerRadius, outerRadius, length)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static class: RT.Modeling.LooseModelsSummaryContains a collection of static methods that can generate basic models. Static methodsVertexInfo[][] | Annulus(double innerRadius, double outerRadius, int revSteps = 20, bool reverse = false) |
Generates a flat annulus, or filled circle with a hole, sitting on the x/z plane. Use Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. Can also be used
to generate a regular polygon outline by using a small value of revSteps. | Pt[][] | Box(bool reverse = false) |
Generates an axis-aligned box, or cube, of sidelength 2. | VertexInfo[][] | Cone(double startZ, double endZ, double baseRadius, int revSteps = 20, bool noBottomCap = false) |
Generates a cone oriented along the z-axis. Use Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. | VertexInfo[][] | ConicFrustum(double startZ, double endZ, double baseRadius, double topRadius, int revSteps = 20, bool noBottomCap = false, bool noTopCap = false) |
Generates a truncated cone, or frustrum, oriented along the z-axis. Use Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. | VertexInfo[][] | Cylinder(double startZ, double endZ, double radius, int revSteps = 20, bool noEndCaps = false) |
Generates a cylinder oriented along the z-axis. Use Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. | VertexInfo[][] | Disc(int revSteps = 20, double x = 0, double y = 0, double radius = 1, bool reverse = false, double addAngle = 0) |
Generates a flat disc, or filled circle, sitting on the x/z plane. Use Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. Can also be used
to generate a regular polygon by using a small value of revSteps. | IEnumerable<VertexInfo[]> | Hemisphere(double radius, int revStepsLat = 32, int revStepsLong = 32, bool noBottomCap = false) |
Generates a sphere centered on the origin. | IEnumerable<VertexInfo[]> | Sphere(double radius, int revStepsLat = 32, int revStepsLong = 32) | VertexInfo[][] | |
Generates a sidelength 2 square sitting flat on the x/z plane. Use Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. | IEnumerable<VertexInfo[]> | Torus(double outerRadius, double innerRadius, int revSteps, double startAngle = 0, double endAngle = 360) |
Generates a torus, or donut, sitting on the x/z plane. Use Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. | IEnumerable<VertexInfo[]> | Tube(int revSteps, double innerRadius, double outerRadius, double length) |
Generates a hollow tube of a specified length. The tube will be oriented with the z-axis; use Md.Rotate(this IEnumerable<VertexInfo[]>, Pt, Pt, double) to orientate it any other way. |
|