docs.unity3d.com
Version: 

    Class Surface

    A Surface is a CAD entity defining the geometrical representation of a CAD surface

    Base class: CADEntity

    Derived classes:

    • ConeSurface
    • CurveExtrusionSurface
    • CylinderSurface
    • EllipticConeSurface
    • NURBSSurface
    • OffsetSurface
    • PlaneSurface
    • RevolutionSurface
    • RuledSurface
    • SphereSurface
    • TabulatedCylinderSurface
    • TorusSurface
    classDiagram
        class Surface
        CADEntity <|-- Surface
            Surface <|-- ConeSurface
        ConeSurface : +core.Ident Id
        ConeSurface : +core.Real Radius
        ConeSurface : +core.Real SemiAngle
            Surface <|-- CurveExtrusionSurface
        CurveExtrusionSurface : +core.Ident Id
            Surface <|-- CylinderSurface
        CylinderSurface : +core.Ident Id
        CylinderSurface : +core.Real Radius
            Surface <|-- EllipticConeSurface
            Surface <|-- NURBSSurface
        NURBSSurface : +core.Ident Id
        NURBSSurface : +core.Int DegreeU
        NURBSSurface : +core.Int DegreeV
        NURBSSurface : +core.Boolean PeriodicU
        NURBSSurface : +core.Boolean PeriodicV
            Surface <|-- OffsetSurface
        OffsetSurface : +core.Ident Id
        OffsetSurface : +core.Entity BaseSurface
        OffsetSurface : +core.Real Distance
            Surface <|-- PlaneSurface
        PlaneSurface : +core.Ident Id
            Surface <|-- RevolutionSurface
        RevolutionSurface : +core.Ident Id
        RevolutionSurface : +core.Entity GeneratrixCurve
        RevolutionSurface : +geom.Point3 AxisOrigin
        RevolutionSurface : +geom.Point3 AxisDirection
        RevolutionSurface : +core.Real StartAngle
        RevolutionSurface : +core.Real EndAngle
            Surface <|-- RuledSurface
        RuledSurface : +core.Ident Id
        RuledSurface : +core.Entity FirstCurve
        RuledSurface : +core.Entity SecondCurve
            Surface <|-- SphereSurface
        SphereSurface : +core.Ident Id
        SphereSurface : +core.Real Radius
            Surface <|-- TabulatedCylinderSurface
        TabulatedCylinderSurface : +core.Ident Id
        TabulatedCylinderSurface : +core.Entity DirectrixCurve
        TabulatedCylinderSurface : +geom.Vector3 GeneratrixLine
        TabulatedCylinderSurface : +geom.Bounds1D Range
            Surface <|-- TorusSurface
        TorusSurface : +core.Ident Id
        TorusSurface : +core.Real MajorRadius
        TorusSurface : +core.Real MinorRadius
    

    Functions accepting this type or a list of this type as a parameter:

    • cad.createIntersectionCurve
    • cad.createSurfacicCurve
    • cad.buildFaces
    • cad.evalCurvatureOnSurface
    • cad.evalOnSurface
    • cad.getParametricPrecisionOnSurface
    • cad.getSurfaceLimits
    • cad.invertOnSurface
    • cad.isSurfaceClosed
    • cad.isSurfacePeriodic
    • cad.needTorusShapeCheck
    • cad.projectOnSurface
    • cad.setCoEdgeSurface
    • cad.createCoEdge
    • cad.createFace
    • cad.isSurfaceFinite
    • cad.addPrecisionArea
    • cad.createCurveExtrusionSurface
    • cad.createOffsetSurface
    • cad.needPrecisionArea
    • cad.getReferencers
    • geom.applyTransform
    • geom.getEntityAABB
    • core.cloneEntity
    • core.deleteEntities
    • core.entityExists
    • core.getEntityType
    • core.getEntityTypeString
    • core.addCustomProperties
    • core.addCustomProperty
    • core.getProperties
    • core.getProperty
    • core.getPropertyInfo
    • core.hasCustomProperty
    • core.hasProperty
    • core.listProperties
    • core.listPropertiesBatch
    • core.removeCustomProperty
    • core.setProperties
    • core.setProperty
    • core.supportCustomProperties
    • core.unsetProperty
    • scene.linkPropertyToAnimation
    • scene.unlinkPropertyToAnimation
    Inheritance
    Surface
    Namespace: CAD
    Syntax
    Version 2025.2.0.1
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.