API Diff between 3.4.0-beta6740 and 3.0.1.7382
71 Additions
0 Removals
Autodesk.DesignScript.Geometry
-
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[] 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 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