Datum

Datum commands return Feature objects and inherit the methods of Feature objects. For more details, see Feature commands. Datums can be created using methods on a Part or Assembly object.

Each command also creates a Datum object in the corresponding datum repository. The Datum object is used as an argument to other commands, such as Part and Partition commands.

Other Classes

class Datum[源代码]

基类:object

The Datum object is the abstract base type for other Datum objects. The Datum object has no explicit constructor. The methods and members of the Datum object are common to all objects derived from the Datum.

备注

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]
mdb.models[name].rootAssembly.modelInstances[i].datums[i]

Member Details:

class DatumAxis[源代码]

基类:Datum

The DatumAxis object has no direct constructor; it is created when a Feature object is created. For example, the DatumAxisByCylFace method creates a Feature object that creates a DatumAxis object. The DatumAxis object is derived from the Datum object.

备注

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]

Member Details:

direction : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying a sequence of three Floats specifying the direction of the axis.

pointOn : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying the X, Y, and Z coordinates of a point located on the datum.

class DatumCsys[源代码]

基类:Datum

The DatumCsys object has no direct constructor; it is created when a Feature object is created. For example, the DatumCsysByOffset method creates a Feature object that creates a DatumCsys object. The DatumCsys object is derived from the Datum object.

备注

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.connectorOrientations[i].localCsys1
mdb.models[name].rootAssembly.connectorOrientations[i].localCsys2
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]
import odbAccess
session.odbs[name].rootAssembly.connectorOrientations[i].localCsys1
session.odbs[name].rootAssembly.connectorOrientations[i].localCsys2

Member Details:

axis1 : --is-rst--:py:class:`~abaqus.Datum.DatumAxis.DatumAxis` = <abaqus.Datum.DatumAxis.DatumAxis object>[源代码]

A DatumAxis object specifying the 1-direction of the coordinate system.

axis2 : --is-rst--:py:class:`~abaqus.Datum.DatumAxis.DatumAxis` = <abaqus.Datum.DatumAxis.DatumAxis object>[源代码]

A DatumAxis object specifying the 2-direction of the coordinate system.

axis3 : --is-rst--:py:class:`~abaqus.Datum.DatumAxis.DatumAxis` = <abaqus.Datum.DatumAxis.DatumAxis object>[源代码]

A DatumAxis object specifying the 3-direction of the coordinate system.

coordSysType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the type of the coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

globalToLocal(coordinates)[源代码]

This method transforms specified coordinates in the global coordinate system into this local coordinate system.

Added in version 2022: The globalToLocal method was added.

参数:
coordinates

A tuple of three Floats representing the coordinates in the global coordinate system.

返回:

A tuple of three Floats representing the coordinates in this local coordinate system.

返回类型:

tuple[float, float, float]

localToGlobal(coordinates)[源代码]

This method transforms specified coordinates in this local coordinate system into the global coordinate system.

Added in version 2022: The localToGlobal method was added.

参数:
coordinates

A tuple of three Floats representing the coordinates in the local coordinate system.

返回:

A tuple of three Floats representing the coordinates in this global coordinate system.

返回类型:

tuple[float, float, float]

origin : --is-rst--:py:class:`~abaqus.Datum.DatumPoint.DatumPoint` = <abaqus.Datum.DatumPoint.DatumPoint object>[源代码]

A DatumPoint object specifying the origin of the coordinate system.

class DatumPoint[源代码]

基类:Datum

The DatumPoint object has no direct constructor; it is created when a Feature object is created. For example, the DatumPointByCoordinate method creates a Feature object that creates a DatumPoint object. The DatumPoint object is derived from the Datum object.

备注

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]

Member Details:

pointOn : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying the X, Y, and Z coordinates of a point located on the datum.

class DatumPlane[源代码]

基类:Datum

The DatumPlane object has no direct constructor; it is created when a Feature object is created. For example, the DatumPlaneByPrincipalPlane method creates a Feature object that creates a DatumPlane object. The DatumPlane object is derived from the Datum object.

备注

This object can be accessed by:

import part
mdb.models[name].parts[name].datums[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].datums[i]
mdb.models[name].rootAssembly.datums[i]
mdb.models[name].rootAssembly.instances[name].datums[i]

Member Details:

normal : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying a sequence of three Floats specifying the normal.

pointOn : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying the X, Y, and Z coordinates of a point located on the datum.