Revolve


revolveWire

Resolves a wire to create a shell.

Syntax

cadlib.revolveWire( wire, center, axis, angle);

Parameters

Name Type Description
wire Wire Wire used for revolution
center Point Center of revolution
axis Vec3 axis of revolution
angle Number angle of revolve in radians

Returns

Shell


revolveEdge

Resolves a wire to create a face

Syntax

cadlib.revolveEdge( edge, center, axis, angle);

Parameters

Name Type Description
edge Edge Edge used for revolution
center Point Center of revolution
axis Vec3 axis of revolution
angle Number angle of revolve in radians

Returns

Face


revolveFace

Resolves a face to create a solid

Syntax

cadlib.revolveWire( face, center, axis, angle);

Parameters

Name Type Description
face Face Face used for revolution
center Point Center of revolution
axis Vec3 axis of revolution
angle Number angle of revolve in radians

Returns

Solid