文档

Asset Transformer SDK


User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK


CAD

Python API types
阅读时间30 分钟最后更新于 10 个月前

Body

A Body is the topological entity which defines a volume. It is bounded by a set of shells. Base class: scene.Shape
Functions accepting this type or a list of this type as a parameter:

BodyList

List of cad.Body

Bounds1D

1-Dimension bounds. Fields

Type

Name

Default

Description

minDouble1
maxDouble-1
Functions accepting this type or a list of this type as a parameter:

Bounds2D

2-Dimensions bounds. Fields

Type

Name

Default

Description

uBounds1D
vBounds1D

BrickDefinition

Fields

Type

Name

Default

Description

typeBrickTypeRectangle
lengthInt1
widthInt1
fullHeightBooleanTrue

BrickDefinitionList


BrickType

Enum of core.Int

Name

Value

Rectangle0
CornerLeft1
CornerRight2

CADEntity

CADEntity is the base type for the CAD module entities. Base class: geom.GeomEntity
Derived classes:
Functions accepting this type or a list of this type as a parameter:

CircleCurve

Circle curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

ClosedShell

A Face is the topological entity relative to a set of surface, which is closed. Base class: cad.CADEntity
Functions accepting this type or a list of this type as a parameter:

ClosedShellList

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

CoEdge

A connected edge is an edge part of a loop. Base class: cad.CADEntity
Functions accepting this type or a list of this type as a parameter:

CoEdgeList

List of cad.CoEdge
Functions accepting this type or a list of this type as a parameter:

CompositeCurve

Curve compose of multiple curves. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

ConeSurface

Cone surface. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

Curve

A Curve is a CAD entity defining the geometrical representation of a CAD spline. Base class: cad.CADEntity
Derived classes:
Functions accepting this type or a list of this type as a parameter:

CurveExtrusionSurface

Extrusion of a curve by a curve. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

CurveList

List of cad.Curve
Functions accepting this type or a list of this type as a parameter:

CurveListList

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

CylinderSurface

Cylinder surface. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

Edge

An Edge is the topological entity relative to a Curve. Base class: scene.Shape
Functions accepting this type or a list of this type as a parameter:

EdgeList


EdgeListList

List of cad.EdgeList

EllipseCurve

Ellipse curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

EllipticConeSurface

Elliptical cone surface. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

ExtrusionBoundaryType

Enum of core.Int

Name

Value

Full0
Hole1
Open2
Functions accepting this type or a list of this type as a parameter:

Face

A Face is the topological entity relative to a surface and bounded by loops. Base class: scene.Shape
Functions accepting this type or a list of this type as a parameter:

FaceList

List of cad.Face
Functions accepting this type or a list of this type as a parameter:

HelixCurve

Helix curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

HermiteCurve

Hermite curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

HyperbolaCurve

Hyperbola curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

IntersectionCurve

The result of the intersection between txo surfaces. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

LineCurve

Line curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

Loop

A Loop is a cyclic list of edges. It is used to define boundaries of faces. Base class: cad.CADEntity
Functions accepting this type or a list of this type as a parameter:

LoopList

List of cad.Loop
Functions accepting this type or a list of this type as a parameter:

Model

A Model is a CAD entity which contains a set of bodies and surfacic faces. Base class: cad.CADEntity
Functions accepting this type or a list of this type as a parameter:

ModelList

List of cad.Model

NURBSCurve

Nurbs curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

NURBSSurface

Nurbs surface. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

OffsetCurve

Offset curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

OffsetSurface

Offset surface. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

OpenShell

A OpenShell is the topological entity relative to a set of surface, which is open. It can be restricted by a set of loops. Base class: scene.Shape
Functions accepting this type or a list of this type as a parameter:

OpenShellList


OrientedEdge

Edge with an orientation. Fields

Type

Name

Default

Description

edgeEdge0
orientationOrientationTrue

OrientedEdgeList


OrientedFace

Face with an orientation. Fields

Type

Name

Default

Description

faceFace0
orientationOrientationTrue

OrientedFaceList


ParabolaCurve

Parabola curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

PlaneSurface

Plane surface. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

PolylineCurve

Line curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

ProfileBase

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

ProfileBaseList

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

ProfileLoop

Fields

Type

Name

Default

Description

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

RevolutionSurface

Revolution of curve around an axis. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

RuledSurface

Ruled surface between two curves. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

SegmentCurve

Segment curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

Shape

A Shape is the base type for CAD topology entities. Base class: cad.CADEntity
Derived classes:
Functions accepting this type or a list of this type as a parameter:

SphereSurface

Sphere surface. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

SplittedEdge

Fields

Type

Name

Default

Description

oldEdgeEdge0
newEdgesEdgeList

SplittedEdgeList


Surface

A Surface is a CAD entity defining the geometrical representation of a CAD surface. Base class: cad.CADEntity
Derived classes:
Functions accepting this type or a list of this type as a parameter:

SurfacicCurve

Surfacic curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

TabulatedCylinderSurface

Extrusion of a curve by a segment. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

TorusSurface

Torus surface. Base class: cad.Surface
Functions accepting this type or a list of this type as a parameter:

TorusType

Enum of core.Int

Name

Value

Donut0
Vortex1
Apple2
Lemon3

TransformedCurve

Transoformed curve. Base class: cad.Curve
Functions accepting this type or a list of this type as a parameter:

Vertex

A Vertex is the topological entity used to define a point in space. Base class: scene.Shape
Functions accepting this type or a list of this type as a parameter:

VertexList