DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="2.0.1.5055" />

 Solid

public class Solid : Topology
public double Area { get; }

Returns the surface area -- sum of all the areas of all faces

public double Volume { get; }

The total volume of the Solid

public static Solid ByJoinedSurfaces(IEnumerable<Surface> facesOfSolid)

Create a solid by specifying it's component faces as Surfaces.

public static Solid ByLoft(IEnumerable<Curve> crossSections)

Create a Solid by lofting between input cross section closed Curves.

public static Solid ByLoft(IEnumerable<Curve> crossSections, Curve guideCurve)

Create a Solid by lofting between input cross section closed Curves, with guide Curve to assist. Guide Curve must intersect all cross section Curves.

public static Solid ByLoft(IEnumerable<Curve> crossSections, IEnumerable<Curve> guideCurves)

Create a Solid by lofting between input cross section closed Curves, with guide Curves to assist. Guide Curves must intersect all cross section Curves.

public static Solid ByRevolve(Curve profile, Point axisOrigin, Vector axisDirection, double startAngle = 0, double sweepAngle = 180)

Create a Surface of revolution, sweeping the profile Curve around the axis Ray formed by the origin and the axis Vector, from the start angle in degrees to the sweep angle in degrees.

public static Solid BySweep(Curve profile, Curve path)

Sweep a closed Curve along a path.

public static Solid BySweep2Rails(Curve path, Curve guideRail, Curve profile)

Sweep a closed profile Curve along two rail Curves.

public static Solid ByUnion(IEnumerable<Solid> solids)

Union a collection of solids into one solid

public Point Centroid()

The centroid of the Solid

public Solid Chamfer(IEnumerable<Edge> edges, double offset)

Chamfers a Solid along input Edges with a given offset from the edge corner.

public Solid Difference(Solid other)

The boolean difference of this Solid with another

The boolean difference of this Solid and the union of input Solids

public Solid Fillet(IEnumerable<Edge> edges, double radius)

Fillets a Solid along input Edges with a given radius.

public Geometry[] ProjectInputOnto(Geometry geometryToProject, Vector projectDirection)

Projects the input Geometry onto this Solid, in the direction of the input Vector

public Solid ThinShell(double internalFaceThickness = 1, double externalFaceThickness = 1)

Obtain a solid Shell from the Faces of this Solid

public Solid Union(Solid solid)

The boolean union of this Solid and another.

public Solid UnionAll(IEnumerable<Solid> solids)

Unions a list of Solids with this Solid.