DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

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

 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()

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()

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()

number of vertices of Polysurface