DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="3.4.0-beta6676" />

 PolySurface

public class PolySurface : Surface

Make Polysurface by joining surfaces.

public static PolySurface ByLoft(IEnumerable<Curve> crossSections)

Makes PolySurface by Loft through Curves.

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

Makes PolySurface by Loft through PolyCurves.

public static PolySurface ByLoftGuides(IEnumerable<Curve> crossSections, IEnumerable<Curve> guideCurves)

Makes PolySurface by Loft through PolyCurves.

public static PolySurface BySolid(Solid solid)

Make Polysurface by surfaces of Solid.

public static PolySurface BySweep(Curve rail, IEnumerable<Curve> crossSection)

Make Polysurface by sweeping curves along rail.

public static PolySurface BySweep(Curve rail, Curve profile)

Make Polysurface by sweeping a curve along rail.

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

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

public int EdgeCount()

Returns number of edges of polysurface.

public Solid[] ExtractSolids()

Extract Solids from Polysurface defined by subset of surfaces

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

Fillets a PolySurface along input Edges with a given radius.

Locate Surfaces by Line. Takes all surfaces hit by line.

public Surface[] LocateSurfacesByPoint(Point point, Vector direction)

Locate Surfaces by point. Takes first intersection in forward direction. Returns one surface if hit surface interior, two if hit edge interior, and many if hit vertex

public int SurfaceCount()

Returns number of surfaces of polysurface.

public Surface[] Surfaces()

Return new Surfaces representing the underlying Surfaces.

Compute 2d cell boundaries which are not connected to other Surfaces

public int VertexCount()

Returns number of vertices of polysurface.