API Diff between 3.4.0-beta6832 and 3.4.0-beta6526
46 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()