Surface Constructors Functions

This function lets you manage the creation of surfaces by defining the formula using surface constructors.

This page discusses:

extrude

Extrudes a wireframe profile in a given direction.

Signature

extrude(Curve, Direction, length1 : LENGTH, length2 : LENGTH, orientation : Boolean) : Surface

Arguments

NameInput / OutputRequired?TypeComment
InYesCurve
InYesDirection
length1InYesLENGTH
length2InYesLENGTH
orientationInYesBoolean

ReturnType

Surface

Example

extrude

Extrudes a surface in a given direction. The result is the surface of the generated volume.

Signature

extrude(Surface, Direction, length1 : LENGTH, length2 : LENGTH, orientation : Boolean) : Surface

Arguments

NameInput / OutputRequired?TypeComment
InYesSurface
InYesDirection
length1InYesLENGTH
length2InYesLENGTH
orientationInYesBoolean

ReturnType

Surface

Example

fill

Creates a fill surface from a list of boundaries (curves or lines) that form a closed contour.

Signature

fill([Curve, ..]) : Surface

Arguments

NameInput / OutputRequired?TypeComment
InNoCurve

ReturnType

Surface

Example

fill

Creates a fill surface from a list of boundaries (curves or lines).

Signature

fill(curves : List, supports : List, continuity : Integer) : Surface

Arguments

If the continuity argument is set to 0, the point continuity is used. If it is set to 1, the tangency continuity is used. If it is set to 2, the curvature continuity is used. Other continuity values are considered as point continuity.

NameInput / OutputRequired?TypeComment
curvesInYesList
supportsInYesList
continuityInYesInteger

ReturnType

Surface

Example

loft

Creates a loft from several sections.

Signature

loft(sections : List, orientations : List) : Surface

Arguments

NameInput / OutputRequired?TypeComment
sectionsInYesList
orientationsInYesList

ReturnType

Surface

Example

loft

Creates a loft from several sections and several guides.

Signature

loft(sections : List, orientations : List, guides : List) : Surface

Arguments

NameInput / OutputRequired?TypeComment
sectionsInYesList
orientationsInYesList
guidesInYesList

ReturnType

Surface

Example

offset

Creates an offset surface.

Signature

offset(sur : Surface, offset : LENGTH, orientation : Boolean) : Surface

Arguments

NameInput / OutputRequired?TypeComment
surInYesSurface
offsetInYesLENGTH
orientationInYesBooleanSet the boolean orientation to false to change the side of the created surface regarding the reference surface.

ReturnType

Surface

Example

revolve

Revolves a surface around a given axis. The result is the surface of the generated volume.

Signature

revolve(Surface, axis : Line, angle1 : ANGLE, angle2 : ANGLE) : Surface

Arguments

NameInput / OutputRequired?TypeComment
InYesSurface
axisInYesLine
angle1InYesANGLE
angle2InYesANGLE

ReturnType

Surface

Example

revolve

Revolves a wireframe profile around a given axis.

Signature

revolve(Curve, axis : Line, angle1 : ANGLE, angle2 : ANGLE) : Surface

Arguments

NameInput / OutputRequired?TypeComment
InYesCurve
axisInYesLine
angle1InYesANGLE
angle2InYesANGLE

ReturnType

Surface

Example