Bézier(start, control1, control2, end, steps) Bézier(start, control1, control2, end, steps) BézierPatch(p00, p10, p20, p30, p01, p11, p21, p31, p02, p12, p22, p32, p03, p13, p23, p33, steps) Extrude(polygon, depth, includeBackFace, flatSideNormals) Extrude(polygons, depth, includeBackFace, flatSideNormals) Extrude(pieces, depth, smoothness, includeBackFace) pt(x, y, z, normalOverride) pt(x, y, z, befX, afX, befY, afY) Rotate(face, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(vi, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: IEnumerable<VertexInfo[]> Extrude(this IEnumerable<DecodeSvgPath.PathPiece>, double, double, bool)- Declared in: RT.Modeling.Md
Declarationpublic static IEnumerable<VertexInfo[]> Extrude(
this IEnumerable<DecodeSvgPath.PathPiece> pieces,
double depth,
double smoothness,
bool includeBackFace = false
) Summary
Generates a 3D model by extruding an SVG path from 2D space along the y-axis. Parametersthis IEnumerable<DecodeSvgPath.PathPiece> | pieces |
The shape to extrude. This can be generated by using DecodeSvgPath. | double | depth |
The amount along the y-axis by which to extrude. | double | smoothness |
Lower values make Bézier curves smoother at the cost of generating more vertices. Higher values will cause
curves to be more coarsely subdivided, causing more jagged corners. | bool | includeBackFace |
If true , a back face is also included. |
Returns
A collection of faces. |