API Diff between 3.4.0-beta6767 and 1.0.0-beta2
316 Additions
9 Removals
Autodesk.DesignScript.Geometry
-
public class Application : IExtensionApplication
-
public class BoundingBox : DesignScriptEntity
-
public class CoEdge : DesignScriptEntity
-
public class CoordinateSystem : DesignScriptEntity
-
public class Curve : Geometry
- public static Curve ByBlendBetweenCurves(Curve curve1, Curve curve2, bool endOrStart1 = true, bool endOrStart2 = false)
- public static Curve ByBlendBetweenCurves(Curve curve1, Curve curve2, bool endOrStart1 = true, bool endOrStart2 = false, bool isG2Continuous = false)
- public CoordinateSystem CoordinateSystemAtSegmentLength(double segmentLength = 0)
- public PolyCurve Join(Curve curve)
- public PolyCurve Join(Curve curve)
- public Vector NormalAtParameter(double param = 0, bool side = false)
- public Curve[] OffsetMany(double signedDistance, Vector planeNormal)
- public double ParameterAtSegmentLength(double segmentLength = 0)
- public Curve[] ParameterTrimSegments(double[] parameters, bool discardEvenSegments = false)
- public Plane PlaneAtSegmentLength(double segmentLength = 0)
- public Point PointAtChordLength(double chordLength = 1, double parameterLocation = 0, bool forward = true)
- public Point PointAtSegmentLength(double segmentLength = 0)
- public Point[] PointsAtChordLengthFromPoint(Point point, double chordLength = 1)
- public Point[] PointsAtEqualChordLength(int divisions = 10)
- public Point[] PointsAtEqualSegmentLength(int divisions = 10)
- public Point[] PointsAtSegmentLengthFromPoint(Point point, double segmentLength = 1)
- public double SegmentLengthAtParameter(double parameter = 0)
- public double SegmentLengthBetweenParameters(double startParam = 0, double endParam = 1)
- public Curve[] SplitByParameter(double parameter = 0.5)
- public Curve[] SplitByParameter(double[] parameters)
- public Curve[] SplitByPoints(IEnumerable<Point> points)
- public Solid SweepAsSolid(Curve path, bool cutEndOff = false)
- public Curve TrimByEndParameter(double endParameter = 1)
- public Curve TrimByParameter(double startParameter = 0, double endParameter = 1)
- public Curve TrimByStartParameter(double startParameter = 0)
- public Curve[] TrimInteriorByParameter(double startParameter = 0, double endParameter = 1)
- public Curve[] TrimSegmentsByParameter(double[] parameters)
- public Curve[] TrimSegmentsByParameter(double[] parameters, bool discardEvenSegments = true)
-
public class Cylinder : Cone
-
public abstract class DesignScriptEntity : IDisposable, IGraphicItem, IInstanceableGraphicItem
-
public class EllipseArc : Curve
-
public abstract class Geometry : DesignScriptEntity
-
public class HostFactory
-
public class Loop : 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 TSplineEdge : Edge
-
public class TSplineFace : Face
-
public class TSplineInitialSymmetry : DesignScriptEntity
-
public class TSplineReflection : DesignScriptEntity
-
public class TSplineSurface : TSplineTopology
- public bool IsClosed { get; }
- public bool { get; }
- public bool IsInBoxMode { get; }
- public bool IsStandard { get; }
- public bool IsWaterTight { get; }
- public TSplineReflection[] Reflections { get; }
- public static TSplineSurface BuildFromLines(IEnumerable<Curve> lines, int maxFaceValence = 4, double snappingTolerance = 1E-05, bool creaseOuterVertices = true, bool inSmoothMode = false)
- public static TSplineSurface BuildPipes(IEnumerable<Curve> curves, double defaultRadius, double snappingTolerance, IEnumerable<int> segmentsCount, IEnumerable<double> endRotations, IEnumerable<double> endRadii, IEnumerable<double> endPercentage, bool inSmoothMode)
- 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 static TSplineSurface ByBoxCorners(Point lowPoint, Point highPoint, int xSpans, int ySpans, int zSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByBoxLengths(double width, double length, double height, int xSpans, int ySpans, int zSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByBoxLengths(Point origin, double width, double length, double height, int xSpans, int ySpans, int zSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByBoxLengths(CoordinateSystem cs, double width, double length, double height, int xSpans, int ySpans, int zSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByCombinedTSplineSurfaces(IEnumerable<TSplineSurface> tSplineSurfaces)
- public static TSplineSurface ByConeCoordinateSystemHeightRadii(CoordinateSystem cs, double height, double startRadius, double endRadius, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByConeCoordinateSystemHeightRadius(CoordinateSystem cs, double height, double radius, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByConePointsRadii(Point startPoint, Point endPoint, double startRadius, double endRadius, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByConePointsRadius(Point startPoint, Point endPoint, double radius, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByCylinderPointsRadius(Point startPoint, Point endPoint, double radius, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByCylinderRadiusHeight(CoordinateSystem cs, double radius, double height, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByExtrude(Curve curve, Vector direction, double frontDistance = 1, double backDistance = 1, int frontSpans = 1, int backSpans = 0, int profileSpans = 0, bool uniform = true, bool inSmoothMode = false)
- public static TSplineSurface ByNurbsSurfaceCurvature(NurbsSurface nurbsSurface, bool inSmoothMode = false)
- public static TSplineSurface ByNurbsSurfaceUniform(NurbsSurface nurbsSurface, int uSpans, int vSpans, bool uUseArcLen, bool vUseArcLen, bool inSmoothMode)
- public static TSplineSurface ByPlaneBestFitThroughPoints(IEnumerable<Point> points, Point minCorner, Point maxCorner, int xSpans, int ySpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByPlaneLineAndPoint(Line line, Point point, Point minCorner, Point maxCorner, int xSpans, int ySpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByPlaneOriginNormal(Point origin, Vector normal, Point minCorner, Point maxCorner, int xSpans, int ySpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByPlaneOriginNormalXAxis(Point origin, Vector normal, Vector xAxis, Point minCorner, Point maxCorner, int xSpans, int ySpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByPlaneOriginXAxisYAxis(Point origin, Vector xAxis, Vector yAxis, Point minCorner, Point maxCorner, int xSpans, int ySpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByPlaneThreePoints(Point p1, Point p2, Point p3, Point minCorner, Point maxCorner, int xSpans, int ySpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByQuadballCenterRadius(Point center, double radius, int spans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByQuadballCoordinateSystemRadius(CoordinateSystem cs, double radius, int spans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByRevolve(Curve profile, Point axisOrigin, Vector axisDirection, double startAngle, double sweepAngle, int radialSpans, int axialSpans, bool uniform, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface BySphereBestFit(IEnumerable<Point> points, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface BySphereCenterPointRadius(Point centerPoint, double radius, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface BySphereFourPoints(IEnumerable<Point> points, int radiusSpans, int heightSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface BySweep(Curve profile, Curve path, bool parallel = true, int pathSpans = 1, int profileSpans = 0, bool pathUniform = true, bool profileUniform = true, bool inSmoothMode = false)
- public static TSplineSurface ByTorusCenterRadii(Point center, double innerRadius, double outerRadius, int innerRadiusSpans, int outerRadiusSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface ByTorusCoordinateSystemRadii(CoordinateSystem cs, double innerRadius, double outerRadius, int innerRadiusSpans, int outerRadiusSpans, TSplineInitialSymmetry symmetry, bool inSmoothMode)
- public static TSplineSurface[] DeserializeFromTSM(string content, bool inSmoothMode = false)
- public static string ExportToTSM(TSplineSurface tSplineSurface, string filePath)
- public static string ExportToTSS(IEnumerable<TSplineSurface> tSplineSurfaces, string filePath)
- public static TSplineSurface[] ImportFromTSM(string filePath, bool inSmoothMode = false)
- public static TSplineSurface[] ImportFromTSM(FileInfo file, bool inSmoothMode = false)
- public static TSplineSurface[] ImportFromTSS(string filePath, bool inSmoothMode = false)
- public static TSplineSurface[] ImportFromTSS(FileInfo file, bool inSmoothMode = false)
- public static string SerializeAsTSM(TSplineSurface tSplineSurface)
- public TSplineSurface AddReflections(IEnumerable<TSplineReflection> reflections, bool weldSymmetricPortions = false, double weldTolerance = 1E-05)
- public TSplineSurface BevelEdges(IEnumerable<TSplineEdge> edges, double percentage = 0.5, int segments = 3, bool keepOnFace = false, double roundness = 0)
- public TSplineSurface BridgeEdgesToEdges(IEnumerable<TSplineEdge> firstGroup, IEnumerable<TSplineEdge> secondGroup, IEnumerable<Curve> followCurves, IEnumerable<int> frameRotations, IEnumerable<int> spansCounts, bool cleanBorderBridges, bool keepSubdCreases, IEnumerable<TSplineVertex> firstAlignVertices, IEnumerable<TSplineVertex> secondAlignVertices, IEnumerable<bool> flipAlignmentFlags)
- public TSplineSurface BridgeEdgesToFaces(IEnumerable<TSplineEdge> firstGroup, IEnumerable<TSplineFace> secondGroup, IEnumerable<Curve> followCurves, IEnumerable<int> frameRotations, IEnumerable<int> spansCounts, bool cleanBorderBridges, bool keepSubdCreases, IEnumerable<TSplineVertex> firstAlignVertices, IEnumerable<TSplineVertex> secondAlignVertices, IEnumerable<bool> flipAlignmentFlags)
- public TSplineSurface BridgeFacesToEdges(IEnumerable<TSplineFace> firstGroup, IEnumerable<TSplineEdge> secondGroup, IEnumerable<Curve> followCurves, IEnumerable<int> frameRotations, IEnumerable<int> spansCounts, bool cleanBorderBridges, bool keepSubdCreases, IEnumerable<TSplineVertex> firstAlignVertices, IEnumerable<TSplineVertex> secondAlignVertices, IEnumerable<bool> flipAlignmentFlags)
- public TSplineSurface BridgeFacesToFaces(IEnumerable<TSplineFace> firstGroup, IEnumerable<TSplineFace> secondGroup, IEnumerable<Curve> followCurves, IEnumerable<int> frameRotations, IEnumerable<int> spansCounts, bool cleanBorderBridges, bool keepSubdCreases, IEnumerable<TSplineVertex> firstAlignVertices, IEnumerable<TSplineVertex> secondAlignVertices, IEnumerable<bool> flipAlignmentFlags)
- public TSplineSurface CompressIndexes()
- public TSplineSurface CreaseEdges(IEnumerable<TSplineEdge> edges)
- public TSplineSurface CreaseVertices(IEnumerable<TSplineVertex> vertices)
- public TSplineSurface CreateMatch(IEnumerable<TSplineEdge> tsEdges, IEnumerable<Curve> curves, int continuity, bool useArclength, bool useRefinement, int numRefinementSteps, double refinementTolerance, bool usePropagation, double widthOfPropagation, double tangentScale, double curvParamWeight, bool flipSourceTargetAlignment)
- 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 tangentScale, double curvParamWeight, 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 TSplineSurface DeleteEdges(IEnumerable<TSplineEdge> edges)
- public TSplineSurface DeleteFaces(IEnumerable<TSplineFace> faces)
- public TSplineSurface DeleteVertices(IEnumerable<TSplineVertex> vertices)
- public TSplineSurface DuplicateFaces(IEnumerable<TSplineFace> faces)
- public TSplineSurface EnableSmoothMode(bool enable = true)
- public TSplineSurface ExtrudeEdges(IEnumerable<TSplineEdge> edges, Vector direction, int spans = 1)
- public TSplineSurface ExtrudeEdgesAlongCurve(IEnumerable<TSplineEdge> edges, Curve curve, int spans = 1)
- public TSplineSurface ExtrudeFaces(IEnumerable<TSplineFace> faces, Vector direction, int spans = 1)
- public TSplineSurface ExtrudeFacesAlongCurve(IEnumerable<TSplineFace> faces, Curve curve, int spans = 1)
- public TSplineSurface FillHole(IEnumerable<TSplineEdge> edges, int fillMethod = 0, bool keepSubdCreases = false)
- public TSplineSurface FlattenVertices(IEnumerable<TSplineVertex> vertices)
- public TSplineSurface FlattenVertices(IEnumerable<TSplineVertex> vertices, Plane parallelPlane)
- public TSplineSurface FlipNormals()
- public TSplineSurface Interpolate(bool reverse = false)
- public TSplineSurface MakeUniform()
- public TSplineSurface MergeEdges(IEnumerable<TSplineEdge> firstGroup, IEnumerable<TSplineEdge> secondGroup, bool insertCreases = false)
- public TSplineSurface MoveVertices(IEnumerable<TSplineVertex> vertices, Vector vector, bool onSurface = false)
- public TSplineSurface PullVertices(IEnumerable<TSplineVertex> vertices, IEnumerable<Geometry> geometries, bool surfacePoints = true)
- public TSplineSurface RemoveReflections()
- public Geometry Repair()
- public TSplineSurface SlideEdges(IEnumerable<TSplineEdge> edges, double amount = 0.5, double roundness = 0)
- public TSplineSurface Standardize()
- public TSplineSurface SubdivideFaces(IEnumerable<TSplineFace> faces, bool exact = true)
- public TSplineSurface Thicken(double distance, bool softEdges = true)
- public TSplineSurface Thicken(Vector vector, bool softEdges = true)
- public Topology[] ToBRep(bool matchTopology = true)
- public Mesh ToMesh(int minSegments = 1, double tolerance = 0.01)
- public TSplineSurface UncreaseEdges(IEnumerable<TSplineEdge> edges)
- public TSplineSurface UncreaseVertices(IEnumerable<TSplineVertex> vertices)
- public TSplineSurface UnweldEdges(IEnumerable<TSplineEdge> edges)
- public TSplineSurface UnweldVertices(IEnumerable<TSplineVertex> vertices)
- public TSplineSurface WeldCoincidentVertices(double tolerance = 1E-05)
- public TSplineSurface WeldVertices(IEnumerable<TSplineVertex> vertices, Point newPosition, bool keepSubdCreases)
- public TSplineSurface WeldVertices(IEnumerable<TSplineVertex> firstGroup, IEnumerable<TSplineVertex> secondGroup, bool keepSubdCreases = false)
-
public class TSplineTopology : Topology
-
public class TSplineUVNFrame : DesignScriptEntity
-
public class TSplineVertex : Vertex