docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CADInterface

    Inheritance
    object
    Interface
    CADInterface
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Pixyz.CAD
    Assembly: Unity.Pixyz.SDKPlus.Runtime.dll
    Syntax
    public class CADInterface : Interface

    Methods

    Name Description
    AddToModel(uint, uint)

    Add shape to the model

    BuildFaces(uint, LoopList)

    Build faces from a surface and a set of loop

    ConfigureFunctionLogger(string, bool, bool, bool)
    ConvertCurveIntoNurbs(uint)

    Convert a curve into a nurbs

    ConvertSurfaceIntoNurbs(uint, double, double, double, double)

    Convert a surface into a nurbs

    CreateBRepCone(double, double, Matrix4)

    Creates a BRep Cone whose axis is the Z axis centered on O

    CreateBRepCube(double, Matrix4)

    Creates a BRep Cube

    CreateBRepCylinder(double, double, Matrix4)

    Creates a BRep Cylinder aligned on the Z axis centered on O

    CreateBRepPlane(double, double, Matrix4)

    Creates a BRep Plane whose normal is the Z axis centered on O

    CreateBRepSphere(double, Matrix4)

    Creates a BRep Sphere centered on O and whose singularities are on the Z axis

    CreateBRepTorus(double, double, Matrix4)

    Creates a BRep Torus whose axis is the Z axis centered on O

    CreateBezierCurve(Point3List)

    Create a Bezier curve

    CreateBezierSurface(int, int, Point3List)

    Create a new bezier surface

    CreateBody(uint, ClosedShellList)

    Create a body from a surface

    CreateBoundedCurve(uint, double, double)

    Create a bounded curve from a curve

    CreateCircleCurve(double, Matrix4)

    Create a new circle

    CreateClosedShell(DomainList, OrientationList)

    Create a closedShell from a set of domains of a set of orientations

    CreateCoEdge(uint, bool, uint, uint)

    Create an coEdge with a edge and an orientation

    CreateCompositeCurve(LimitedCurveList)

    Create a composite curve from a list of limited curves

    CreateConeSurface(double, double, Matrix4)

    Create a new cone surface

    CreateCosinusCurve(double, double, double, Matrix4)

    Create a cosinus curve

    CreateCurveExtrusionSurface(uint, uint, uint, double)

    Create a new curveExtrusion surface

    CreateCylinderSurface(double, Matrix4)

    Create a new cylinder surface

    CreateEdge(uint, uint, uint)

    Create an edge with a curve an extremity vertices

    CreateEdgeFromCurve(uint)

    Create an edge from a limited curve

    CreateEllipseCurve(double, double, Matrix4)

    Create an ellipse curve

    CreateEllipticConeSurface(double, double, double, Matrix4)

    Create a new elliptic cone surface

    CreateFace(uint, LoopList, bool)

    Create a face from a surface

    CreateHelixCurve(double, double, Matrix4, bool)

    Create an helix curve

    CreateHermiteCurve(Point3, Point3, Point3, Point3)

    Create a Hermite Curve

    CreateHyperbolaCurve(double, double, Matrix4)

    Create an hyperBola curve

    CreateIntersectionCurve(uint, uint, uint, double, double)

    Create a Intersection Curve

    CreateLegoBrick(LegoBrickDefinition)

    Creates a BRep Lego brick

    CreateLineCurve(Point3, Point3)

    Create a Line Curve

    CreateLoop(CoEdgeList, bool)

    Create a loop from a set of edges of a set of orientations

    CreateModel()

    Create a new model

    CreateNURBSCurve(int, DoubleList, Point3List, DoubleList)

    Create a NURBS curve

    CreateNURBSSurface(int, int, DoubleList, DoubleList, Point3List, DoubleList)

    Create a new NURBS surface

    CreateOffsetSurface(uint, double)

    Create a new offset surface

    CreateOpenShell(DomainList, OrientationList, LoopList)

    Create a openShell from a set of domains of a set of orientations and set of loops

    CreateParabolaCurve(double, Matrix4)

    Create an parabola curve

    CreatePlaneSurface(Matrix4)

    Create a new plane surface

    CreatePolylineCurve(Point3List)

    Create a Polyline curve

    CreateRevolutionSurface(uint, Point3, Point3, double, double)

    Create a new revolution surface

    CreateRuledSurface(uint, uint)

    Create a new ruled surface

    CreateSegmentCurve(Point3, Point3)

    Create a segment curve from two given points

    CreateSphereSurface(double, Matrix4)

    Create a new sphere surface

    CreateSurfacicCurve(uint, uint)

    Create a curve from a surface

    CreateTabulatedCylinderSurface(uint, Point3, double, double)

    Create a new tabulated cylinder surface

    CreateTorusSurface(double, double, Matrix4)

    Create a new torus surface

    CreateTransformedCurve(uint, Matrix4)

    Create a curve from a surface

    CreateVertex(Point3)

    Create a vertex from a position

    EvalCurvatureOnCurve(uint, double)

    evaluate curvature on a curve

    EvalCurvatureOnSurface(uint, Point2)

    evaluate main curvatures on a surface

    EvalOnCurve(uint, double, int)

    evaluate a point and derivatives on a curve

    EvalOnSurface(uint, Point2, int)

    evaluate a point and derivatives on a surface

    GetAllModelFaces(uint)

    Get all the face of a model recursively

    GetBodyClosedShells(uint)

    get all closedShells contain in the body

    GetBoundedCurveDefinition(uint)

    get all parameters contained in the boundedCurve

    GetCircleCurveDefinition(uint)

    get all parameters contained in the circleCurve

    GetClosedShellOrientedDomains(uint)

    get all orienteDomains contain in the closedShell

    GetCoEdgeDefinition(uint)

    get all parameters contained in the coEdge

    GetCompositeCurveDefinition(uint)

    get all parameters contained in the compositeCurve

    GetConeSurfaceDefinition(uint)

    get all parameters contained in the coneSurface

    GetCurveExtrusionSurfaceDefinition(uint)

    get all parameters contained in the curveExtrusionSurface

    GetCurveLimits(uint)

    get the parametric space limits of a curve

    GetCylinderSurfaceDefinition(uint)

    get all parameters contained in the cylinderSurface

    GetEdgeDefinition(uint)

    get all parameters contained in the edge

    GetEllipseCurveDefinition(uint)

    get all parameters contained in the ellipseCurve

    GetEllipticConeSurfaceDefinition(uint)

    get all parameters contained in the ellipticConeSurface

    GetFace2DArea(uint)

    Returns the 2D domain area of a face

    GetFaceDefinition(uint)

    get all parameters contain in the face

    GetFaceMaterial(uint)

    get the material on a face

    GetFaceParametricBoundaries(uint)

    get parametric definition of each face loop

    GetHelixCurveDefinition(uint)

    get all parameters contained in the helixCurve

    GetHermiteCurveDefinition(uint)

    get all parameters contained in the hermiteCurve

    GetHyperbolaCurveDefinition(uint)

    get all parameters contained in the hyperbolaCurve

    GetIntersectionCurveDefinition(uint)

    get all parameters contained in the intersectionCurve

    GetLastError()
    GetLineCurveDefinition(uint)

    get all parameters contain in the lineCurve

    GetLoopCoEdges(uint)

    get all coEdges contain in the loop

    GetModelBodies(uint)

    Get the list of bodies contained in a model

    GetModelBoundaries(uint)

    Get boundary edges of a model grouped by cycles

    GetModelDomains(uint)

    Get the list of domains (Face or OpenShell) contained in a model

    GetModelEdges(uint)

    Get the list of free edges contained in a model

    GetModelVertices(uint)

    Get the list of free vertices contained in a model

    GetNURBSCurveDefinition(uint)

    get all parameters contained in the nurbsCurve

    GetNURBSSurfaceDefinition(uint)

    get all parameters contained in the nurbsSurface

    GetOffsetCurveDefinition(uint)

    get all parameters contained in the offsetCurve

    GetOffsetSurfaceDefinition(uint)

    get all parameters contained in the offsetSurface

    GetOpenShellOrientedDomains(uint)

    get all orienteDomains contain in the openShell

    GetParabolaCurveDefinition(uint)

    get all parameters contained in the parabolaCurve

    GetPlaneSurfaceDefinition(uint)

    get all parameters contained in the planeSurface

    GetPolylineCurveDefinition(uint)

    get all parameters contained in the polylinCurve

    GetReferencers(uint)

    Returns the entities referencing a given CAD entity

    GetRevolutionSurfaceDefinition(uint)

    get all parameters contained in the revolutionSurface

    GetRuledSurfaceDefinition(uint)

    get all parameters contained in the ruledSurface

    GetSegmentCurveDefinition(uint)

    get all parameters contained in the segmentCurve

    GetSphereSurfaceDefinition(uint)

    get all parameters contained in the sphereSurface

    GetSurfaceLimits(uint)

    get the parametric space limits of a surface

    GetSurfacicCurveDefinition(uint)

    get all parameters contained in the surfacicCurve

    GetTabulatedCylinderSurfaceDefinition(uint)

    get all parameters contained in the TabulatedCylinderSurface

    GetTorusSurfaceDefinition(uint)

    get all parameters contained in the torusSurface

    GetTransformedCurveDefinition(uint)

    get all parameters contained in the transformedCurve

    GetUnreferencedEntities()

    Returns all the unreferenced CAD entities

    GetVertexPosition(uint)

    get the position of the vertex

    InvertCurve(uint, double)

    Invert a curve parametricaly

    InvertOnCurve(uint, Point3, double)

    invert a point to a curve

    InvertOnSurface(uint, Point3, double)

    invert a point to a surface

    IsCurveClosed(uint)

    if the curve is closed, return true, return false otherwise

    IsCurvePeriodic(uint)

    if the curve is periodic return true, return false otherwise

    IsSurfaceClosed(uint)

    return if the surface is closed on U or on V

    IsSurfacePeriodic(uint)

    return if the surface is periodic on U or on V

    ProjectOnCurve(uint, Point3, double)

    project a point to a curve

    ProjectOnSurface(uint, Point3, double)

    project a point to a surface

    SetFaceMaterial(uint, uint)

    set the material on a face

    SetPrecision(double)

    Set the CAD precision

    SolidIntersection(uint, uint)

    perform boolean operation intersection on two bodies (A ^ B)

    SolidSubtraction(uint, uint)

    perform boolean operation subtraction on two bodies (A - B)

    SolidUnion(uint, uint)

    perform boolean operation union on two bodies (A + B)

    Test()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)