API Diff between 3.4.0-beta6832 and 2.0.0-beta2367
120 Additions
3 Removals
Autodesk.DesignScript.Geometry
-
public class Application : IExtensionApplication
-
public class BoundingBox : DesignScriptEntity
-
public class CoordinateSystem : DesignScriptEntity
-
public class Curve : Geometry
-
public abstract class DesignScriptEntity : IDisposable, IGraphicItem, IInstanceableGraphicItem
-
public abstract class Geometry : DesignScriptEntity
-
public class Mesh : DesignScriptEntity
- public double Area { get; }
- public int EdgeCount { get; }
- public IEnumerable<double> EdgesAsSixNumbers { get; }
- public int TriangleCount { get; }
- public IEnumerable<double> TrianglesAsNineNumbers { get; }
- public int VertexCount { get; }
- public IEnumerable<double> VerticesAsThreeNumbers { get; }
- public double Volume { get; }
- public static Mesh ByGeometry(Geometry inputGeometry, double tolerance = -1, int maxGridLines = 512)
- public static Mesh ByVerticesAndIndices(IEnumerable<Point> vertices, IEnumerable<int> indices)
- public static Mesh Cone(Point origin, double baseRadius = 1, double topRadius = 0, double height = 1, int divisions = 0, bool cap = true)
- public static Mesh Cuboid(Point origin, double length = 1, double width = 1, double height = 1, int xDivisions = 0, int yDivisions = 0, int zDivisions = 0)
- public static string ExportMeshes(string filename, IEnumerable<Mesh> meshes)
- public static Mesh ExtrudePolyCurve(PolyCurve polycurve, double height, Vector direction, bool cap = false)
- public static Mesh FromJson(string json)
- public static Mesh[] ImportFile(string fileName)
- public static Mesh Plane(Point origin, double xWidth = 1, double yWidth = 1, int xDivisions = 0, int yDivisions = 0)
- public static Mesh Sphere(Point origin, double radius = 1, int divisions = 0, bool icosphere = true)
- public Mesh BooleanDifference(Mesh tool)
- public Mesh BooleanIntersection(Mesh tool)
- public Mesh BooleanUnion(Mesh tool)
- public BoundingBox BoundingBox()
- public Mesh CloseCracks()
- public Line[] Edges()
- public Mesh[] Explode()
- public Mesh GenerateSupport(double baseHeight = 0.4, double baseDiameter = 8, double postDiameter = 3, double tipHeight = 1, double tipDiameter = 0.5)
- public PolyCurve[] Intersect(Plane intersectionPlane)
- public Mesh MakeHollow(int holeCount = 1, double holeRadius = 1.5, double wallThickness = 2, double solidResolution = 128, double meshResolution = 128)
- public Mesh MakeWatertight()
- public Mesh Mirror(Plane mirrorPlane)
- public Point Nearest(Point point)
- public Mesh PlaneCut(Plane plane, bool makeSolid = false)
- public Point Project(Point point, Vector dir)
- public Mesh Reduce(double triangleCount)
- public Mesh Remesh()
- public Mesh Repair()
- public Mesh Rotate(Vector axis, double degrees = 0)
- public Mesh Scale(double scaleFactor = 1)
- public Mesh Scale(double x = 1, double y = 1, double z = 1)
- public Mesh Smooth(double scale = 4)
- public string ToJson()
- public Mesh Translate(Vector vector)
- public Mesh Translate(Vector vector, double distance = 0)
- public Mesh Translate(double x = 0, double y = 0, double z = 0)
- public Point[] TriangleCentroids()
- public Vector[] TriangleNormals()
- public Surface[] Triangles()
- public List<int> VertexIndicesByTri()
-
public class PanelSurface : DesignScriptEntity
- public int NumPanels { get; }
- public int NumVertices { get; }
- public static PanelSurface ByCrossSplitSquares(Surface surface, int numU, int numV, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface ByCustomOrthogonalLattice(Surface surface, int numU, int numV, double uDisplacement, double vDisplacement, UV[][] tileUVs, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface ByDiagonallySplitSquares(Surface surface, int numU, int numV, bool alternativeDiagonal = false, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface ByDiamonds(Surface surface, int numU, int numV, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface ByHexagons(Surface surface, int numU, int numV, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface ByParallelograms(Surface surface, int numU, int numV, double shearFactor, bool alignWithUAxis = false, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface ByQuads(Surface surface, int numU, int numV, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface ByRhombiTriHexagonals(Surface surface, int numU, int numV, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface BySplitDiamonds(Surface surface, int numU, int numV, bool splitHorizontally = false, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public static PanelSurface ByStaggeredQuads(Surface surface, int numU, int numV, bool staggerVertically = false, double displacementFactor = 0.5, PanelSurfaceBoundaryCondition boundaryCondition = 0)
- public int[] GetNumPanelVertices(int[] panelIndices)
- public Point[][] GetPanelPoints(int[] panelIndices)
- public Polygon[] GetPanelPolygon(int[] panelIndices)
- public Vertex[][] GetPanelVertices(int[] panelIndices)
- public Point GetPoint(int vertexIndex)
- public Vertex GetVertex(int vertexIndex)
- public int GetVertexIndex(int panelIndex, int vertexNumber)
- public PanelSurface SetTransform(double scale, double uOffset, double vOffset, double rotation, Point rotationPoint)
-
public enum PanelSurfaceBoundaryCondition
-
public class PolyCurve : Curve
- public static PolyCurve ByJoinedCurves(IEnumerable<Curve> curves)
- public Point[] Points { get; }
- public static PolyCurve[] ByGroupedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001)
- public static PolyCurve[] ByGroupedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001, bool trimCurves = false, double trimLength = 0)
- public static PolyCurve ByJoinedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001)
- public static PolyCurve ByJoinedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001, bool trimCurves = false, double trimLength = 0)
- public static PolyCurve ByThickeningCurveNormal(Curve curve, double thickness, Vector normal)
- public PolyCurve Heal(double trimLength = 0)
- public Curve[] OffsetMany(double signedDistance, bool extendCircular, Vector planeNormal)
-
public class ProtoGeometryConfiguration : IProtoGeometryConfiguration
-
public class Solid : Topology
-
public class Surface : Topology
-
public class Vector : DesignScriptEntity
Autodesk.DesignScript.Geometry.TSpline
-
public class TSplineSurface : TSplineTopology
- public static TSplineSurface BuildPipes(IEnumerable<Curve> curves, double defaultRadius, double snappingTolerance, IEnumerable<int> segmentsCount, bool autoHandleStart, bool autoHandleEnd, IEnumerable<double> startRotations, IEnumerable<double> endRotations, IEnumerable<double> startRadii, IEnumerable<double> endRadii, IEnumerable<double> startPositions, IEnumerable<double> endPositions, bool inSmoothMode)
- public TSplineSurface CreateMatch(IEnumerable<TSplineEdge> tsEdges, IEnumerable<Curve> curves, int continuity, bool useArclength, bool useRefinement, int numRefinementSteps, double refinementTolerance, bool usePropagation, double widthOfPropagation, double scale, bool flipSourceTargetAlignment)
- public TSplineSurface CreateMatch(IEnumerable<TSplineEdge> tsEdges, IEnumerable<Edge> brepEdges, int continuity, bool useArclength, bool useRefinement, int numRefinementSteps, double refinementTolerance, bool usePropagation, double widthOfPropagation, double scale, bool flipSourceTargetAlignment)
- public Geometry Repair()