Edit Mesh¶
Edit mesh commands are used to edit an orphan mesh part or part instance or an Abaqus native mesh.
Classes¶
Edit mesh features of Assembly¶
- class MeshEditAssembly[source]¶
Bases:
AssemblyBase
An Assembly object is a container for instances of parts. The Assembly object has no constructor command. Abaqus creates the rootAssembly member when a Model object is created.
Note
This object can be accessed by:
import assembly mdb.models[name].rootAssembly
Note
Public Data Attributes:
Inherited from
AssemblyBase
An Int specifying that feature parameters have been modified but that the assembly has not been regenerated.
A Float specifying which gives an indication when the assembly was last modified.
An Int specifying whether the assembly is locked or not.
A Boolean specifying whether the positioning constraints in the assembly should be regenerated together before regenerating other assembly features.
A VertexArray object specifying all the vertices existing at the assembly level.
An EdgeArray object specifying all the edges existing at the assembly level.
A MeshElementArray object specifying all the elements existing at the assembly level.
A MeshNodeArray object specifying all the nodes existing at the assembly level.
A repository of PartInstance objects.
A repository of Datum objects specifying all Datum objects in the assembly.
A repository of Feature objects specifying all Feature objects in the assembly.
A repository of Feature objects specifying all Feature objects in the assembly.The Feature objects in the featuresById repository are the same as the Feature objects in the features repository.
A repository of Surface objects specifying for more information, see [Region commands](https://help.3ds.com/2022/english/DSSIMULIA_Established/SIMACAEKERRefMap/simaker-m-RegPyc-sb.htm?ContextScope=all).
A repository of Surface objects specifying for more information, see [Region commands](https://help.3ds.com/2022/english/DSSIMULIA_Established/SIMACAEKERRefMap/simaker-m-RegPyc-sb.htm?ContextScope=all).
A repository of Surface objects specifying picked regions.
A repository of Set objects.
A repository of Set objects specifying for more information, see [Region commands](https://help.3ds.com/2022/english/DSSIMULIA_Established/SIMACAEKERRefMap/simaker-m-RegPyc-sb.htm?ContextScope=all).
A repository of Set objects specifying picked regions.
A repository of Skin objects specifying the skins created on the assembly.
A repository of Stringer objects specifying the stringers created on the assembly.
A repository of ReferencePoint objects.
A repository of ModelInstance objects.
A PartInstance object specifying the PartInstances and A ModelInstance object specifying the ModelInstances.
An EngineeringFeature object.
A String specifying the name of the model to which the assembly belongs.
A ConnectorOrientationArray object.
A SectionAssignmentArray object.
name
A String specifying the repository key.
id
An Int specifying the ID of the feature.
Public Methods:
collapseMeshEdge
(edge, collapseMethod)This method collapses an edge of a quadrilateral or triangular element of a part instance.
combineElement
(elements)This method combines two triangular elements of a part instance.
deleteElement
(elements[, ...])This method deletes the given elements from a part instance.
projectNode
(nodes, projectionReference)This method projects the given nodes of a part instance onto a mesh entity, geometric entity, or a datum object.
editNode
(nodes[, coordinate1, coordinate2, ...])This method changes the coordinates of the given nodes on a part instance.
splitElement
(elements)This method splits quadrilateral elements into triangular elements.
splitMeshEdge
(edge[, parameter])This method splits an edge of a quadrilateral or triangular element of a part instance.
swapMeshEdge
(edge)This method swaps the diagonal of two adjacent triangular elements of a part instance.
generateMeshByOffset
(region, meshType, ...)This method generates a solid or shell mesh from an orphan mesh surface by generating layers of elements that propagate out normal to the surface boundary.
This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an assembly.
This method undoes the most recent edit mesh or the bottom-up meshing operation on an assembly and restores the mesh on the affected part instance to its previous state.
Inherited from
AssemblyBase
Instance
()This method creates a PartInstance object and puts it into the instances repository.
InstanceFromBooleanCut
(name, ...[, ...])This method creates a PartInstance in the instances repository after subtracting or cutting the geometries of a group of part instances from that of a base part instance.
InstanceFromBooleanMerge
(name, instances[, ...])This method creates a PartInstance in the instances repository after merging two or more part instances.
LinearInstancePattern
(instanceList, number1, ...)This method creates multiple PartInstance objects in a linear pattern and puts them into the instances repository.
RadialInstancePattern
(instanceList, number, ...)This method creates multiple PartInstance objects in a radial pattern and puts them into the instances repository.
backup
()This method makes a backup copy of the features in the assembly.
This method deletes the geometry cache.
This method deletes all the features in the assembly.
deleteFeatures
(featureNames)This method deletes specified features from the assembly.
excludeFromSimulation
(instances, exclude)This method excludes the specified part instances from the analysis.
This method prints the name and status of all the features in the feature lists.
getMassProperties
([regions, ...])This method returns the mass properties of the assembly, or instances or regions.
getAngle
(plane1, plane2, line1, line2[, ...])This method returns the angle between the specified entities.
getCoordinates
(entity[, csys])This method returns the coordinates of a specified point.
getDistance
(entity1, entity2[, ...])Depending on the arguments provided, this method returns one of the following:
Given an array of edge objects, this method returns a tuple of dictionary objects.
getSurfaceSections
(surface)This method returns a list of the sections assigned to the regions encompassed by the specified surface.
importEafFile
(filename[, ids])This method imports an assembly from an EAF file into the root assembly.
importParasolidFile
(filename[, ids])This method imports an assembly from the Parasolid file into the root assembly.
importCatiaV5File
(filename[, ids])This method imports an assembly from a CATIA V5 Elysium Neutral file into the root assembly.
importEnfFile
(filename[, ids])This method imports an assembly from an Elysium Neutral file created by Pro/ENGINEER, I-DEAS, or CATIA V5 into the root assembly.
importIdeasFile
(filename[, ids])This method imports an assembly from an I-DEAS Elysium Neutral file into the root assembly.
importProEFile
(filename[, ids])This method imports an assembly from a Pro/ENGINEER Elysium Neutral file into the root assembly.
makeDependent
(instances)This method converts the specified part instances from independent to dependent part instances.
makeIndependent
(instances)This method converts the specified part instances from dependent to independent part instances.
This method prints a summary of assigned connector sections.
This method prints a summary of connector orientations.
projectReferencesOntoSketch
(sketch[, ...])This method projects the specified edges, vertices, and datum points from the assembly onto the specified ConstrainedSketch object.
This method displays the position of geometric states relative to the sequence of features in the assembly cache.
This method regenerates the assembly and brings it up to date with the latest values of the assembly parameters.
This method prints any regeneration warnings associated with the features.
restore
()This method restores the parameters of all features in the assembly to the value they had before a failed regeneration.
This method resumes all the suppressed features in the part or assembly.
resumeFeatures
(featureNames)This method resumes the specified suppressed features in the assembly.
This method resumes the last set of features to be suppressed in the assembly.
rotate
(instanceList, axisPoint, ...)This method rotates given instances by the specified amount.
translate
(instanceList, vector)This method translates given instances by the specified amount.
This method caches the current geometry, which improves regeneration performance.
setValues
(regenerateConstraintsTogether)This method modifies the behavior associated with the specified assembly.
suppressFeatures
(featureNames)This method suppresses specified features.
unlinkInstances
(instances)This method converts the specified PartInstance objects from linked child instances to regular instances.
writeAcisFile
(fileName[, version])This method exports the assembly to a named file in ACIS part (SAT) or assembly (ASAT) format.
writeCADParameters
(paramFile[, ...])This method writes the parameters that were imported from the CAD system to a parameter file.
lock
()This method locks the assembly.
unlock
()This method unlocks the assembly.
setMeshNumberingControl
(instances[, ...])This method changes the start node and/or element labels on the specified independent part instances before or after Abaqus/CAE generates the meshes.
copyMeshPattern
([elements, faces, ...])This method copies a mesh pattern from a source region consisting of a set of shell elements or element faces onto a target face, mapping nodes and elements in a one-one correspondence between source and target.
smoothNodes
([nodes])This method smooths the given nodes of a native mesh, moving them locally to a more optimal location that improves the quality of the mesh.
Inherited from
AssemblyFeature
AttachmentLines
(name, points, sourceFaces, ...)This method creates a Feature object by creating attachment lines between the given set of source and target faces.
Coaxial
(movableAxis, fixedAxis, flip)This method moves an instance so that its selected face is coaxial with the selected face of a fixed instance.
CoincidentPoint
(movablePoint, fixedPoint)This method moves an instance so that a specified point is coincident with a specified point of a fixed instance.
EdgeToEdge
(movableAxis, fixedAxis, flip, ...)This method moves an instance so that its edge is parallel to an edge of a fixed instance.
FaceToFace
(movablePlane, fixedPlane, flip, ...)This method moves an instance so that its face is coincident with a face of a fixed instance.
ParallelCsys
(movableCsys, fixedCsys)This method moves an instance so that its Datum coordinate system is parallel to a Datum coordinate system of a fixed instance.
ParallelEdge
(movableAxis, fixedAxis, flip)This method moves an instance so that its edge is parallel to an edge of a fixed instance.
ParallelFace
(movablePlane, fixedPlane, flip)This method moves an instance so that its face is parallel to a face of a fixed instance.
Inherited from
Feature
AttachmentPoints
(name, points[, ...])This method creates an attachment points Feature.
AttachmentPointsAlongDirection
(name, ...[, ...])This method creates a Feature object by creating attachment points along a direction or between two points.
AttachmentPointsOffsetFromEdges
(name, edges)This method creates a Feature object by creating attachment points along or offset from one or more connected edges.
DatumAxisByCylFace
(face)This method creates a Feature object and a DatumAxis object along the axis of a cylinder or cone.
DatumAxisByNormalToPlane
(plane, point)This method creates a Feature object and a DatumAxis object normal to the specified plane and passing through the specified point.
DatumAxisByParToEdge
(edge, point)This method creates a Feature object and a DatumAxis object parallel to the specified edge and passing through the specified point.
DatumAxisByPrincipalAxis
(principalAxis)This method creates a Feature object and a DatumAxis object along one of the three principal axes.
DatumAxisByThreePoint
(point1, point2, point3)This method creates a Feature object and a DatumAxis object normal to the circle described by three points and through its center.
DatumAxisByThruEdge
(edge)This method creates a Feature object and a DatumAxis object along the specified edge.
DatumAxisByTwoPlane
(plane1, plane2)This method creates a Feature object and a DatumAxis object at the intersection of two planes.
DatumAxisByTwoPoint
(point1, point2)This method creates a Feature object and a DatumAxis object along the line joining two points.
DatumCsysByDefault
(coordSysType[, name])This method creates a Feature object and a DatumCsys object from the specified default coordinate system at the origin.
DatumCsysByOffset
(coordSysType, ...[, name])This method creates a Feature object and a DatumCsys object by offsetting the origin of an existing datum coordinate system to a specified point.
DatumCsysByThreePoints
(coordSysType, origin, ...)This method creates a Feature object and a DatumCsys object from three points.
DatumCsysByTwoLines
(coordSysType, line1, line2)This method creates a Feature object and a DatumCsys object from two orthogonal lines.
DatumPlaneByPrincipalPlane
(principalPlane, ...)This method creates a Feature object and a DatumPlane object through the origin along one of the three principal planes.
DatumPlaneByRotation
(plane, axis, angle)This method creates a Feature object and a DatumPlane object by rotating a plane about the specified axis through the specified angle.
DatumPlaneByThreePoints
(point1, point2, point3)This method creates a Feature object and a DatumPlane object defined by passing through three points.
DatumPlaneByLinePoint
(line, point)This method creates a Feature object and a DatumPlane object that pass through the specified line and through the specified point that does not lie on the line.
DatumPlaneByPointNormal
(point, normal)This method creates a Feature object and a DatumPlane object normal to the specified line and running through the specified point.
DatumPlaneByTwoPoint
(point1, point2)This method creates a Feature object and a DatumPlane object midway between two points and normal to the line connecting the points.
DatumPointByCoordinate
(coords)This method creates a Feature object and a DatumPoint object at the point defined by the specified coordinates.
DatumPointByOffset
(point, vector)This method creates a Feature object and a DatumPoint object offset from an existing point by a vector.
DatumPointByMidPoint
(point1, point2)This method creates a Feature object and a DatumPoint object midway between two points.
DatumPointByOnFace
(face, edge1, offset1, ...)This method creates a Feature object and a DatumPoint object on the specified face, offset from two edges.
DatumPointByEdgeParam
(edge, parameter)This method creates a Feature object and a DatumPoint object along an edge at a selected distance from one end of the edge.
DatumPointByProjOnEdge
(point, edge)This method creates a Feature object and a DatumPoint object along an edge by projecting an existing point along the normal to the edge.
DatumPointByProjOnFace
(point, face)This method creates a Feature object and a DatumPoint object on a specified face by projecting an existing point onto the face.
MakeSketchTransform
(sketchPlane[, origin, ...])This method creates a Transform object.
PartitionCellByDatumPlane
(cells, datumPlane)This method partitions one or more cells using the given datum plane.
PartitionCellByExtendFace
(cells, extendFace)This method partitions one or more cells by extending the underlying geometry of a given face to partition the target cells.
PartitionCellByExtrudeEdge
(cells, edges, ...)This method partitions one or more cells by extruding selected edges in the given direction.
PartitionCellByPatchNCorners
(cell, cornerPoints)This method partitions a cell using an N-sided cutting patch defined by the given corner points.
PartitionCellByPatchNEdges
(cell, edges)This method partitions a cell using an N-sided cutting patch defined by the given edges.
PartitionCellByPlaneNormalToEdge
(cells, ...)This method partitions one or more cells using a plane normal to an edge at the given edge point.
PartitionCellByPlanePointNormal
(cells, ...)This method partitions one or more cells using a plane defined by a point and a normal direction.
PartitionCellByPlaneThreePoints
(cells, ...)This method partitions one or more cells using a plane defined by three points.
PartitionCellBySweepEdge
(cells, edges, sweepPath)This method partitions one or more cells by sweeping selected edges along the given sweep path.
PartitionEdgeByDatumPlane
(edges, datumPlane)This method partitions an edge where it intersects with a datum plane.
PartitionEdgeByParam
(edges, parameter)This method partitions one or more edges at the given normalized edge parameter.
PartitionEdgeByPoint
(edge, point)This method partitions an edge at the given point.
PartitionFaceByAuto
(face)This method automatically partitions a target face into simple regions that can be meshed using a structured meshing technique.
PartitionFaceByCurvedPathEdgeParams
(face, ...)This method partitions a face normal to two edges, using a curved path between the two given edge points defined by the normalized edge parameters.
PartitionFaceByCurvedPathEdgePoints
(face, ...)This method partitions a face normal to two edges, using a curved path between the two given edge points.
PartitionFaceByDatumPlane
(faces, datumPlane)This method partitions one or more faces using the given datum plane.
PartitionFaceByExtendFace
(faces, extendFace)This method partitions one or more faces by extending the underlying geometry of another given face to partition the target faces.
PartitionFaceByIntersectFace
(faces, cuttingFaces)This method partitions one or more faces using the given cutting faces to partition the target faces.
PartitionFaceByProjectingEdges
(faces, edges)This method partitions one or more faces by projecting the given edges on the target faces.
PartitionFaceByShortestPath
(faces, point1, ...)This method partitions one or more faces using a minimum distance path between the two given points.
PartitionFaceBySketch
(faces, sketch[, ...])This method partitions one or more planar faces by sketching on them.
PartitionFaceBySketchDistance
(faces, ...[, ...])This method partitions one or more faces by sketching on a sketch plane and then projecting the sketch toward the target faces through the given distance.
PartitionFaceBySketchRefPoint
(faces, ...[, ...])This method partitions one or more faces by sketching on a sketch plane and then projecting the sketch toward the target faces through a distance governed by the reference point.
PartitionFaceBySketchThruAll
(faces, ...[, ...])This method partitions one or more faces by sketching on a sketch plane and then projecting toward the target faces through an infinite distance.
ReferencePoint
(point[, instanceName])This method creates a Feature object and a ReferencePoint object at the specified location.
RemoveWireEdges
(wireEdgeList)This method removes wire edges.
WirePolyLine
(points[, mergeType, meshable])This method creates an additional Feature object by creating a series of wires joining points in pairs.
This method queries the suppressed state of the feature.
restore
()This method restores the parameters of a feature to the value they had when the backup method was invoked on the part or assembly.
resume
()This method resumes suppressed features.
setValues
([parameter, parameter1, ...])This method modifies the Feature object.
suppress
()This method suppresses features.
Member Details:
- collapseMeshEdge(edge, collapseMethod)[source]¶
This method collapses an edge of a quadrilateral or triangular element of a part instance.
-
deleteElement(elements, deleteUnreferencedNodes=
0
)[source]¶ This method deletes the given elements from a part instance. The elements must have been generated using the bottom-up meshing technique.
- editNode(
- nodes,
- coordinate1=
None
, - coordinate2=
None
, - coordinate3=
None
, - coordinates=
()
, - offset1=
None
, - offset2=
None
, - offset3=
None
, - localCsys=
None
, - projectToGeometry=
1
, This method changes the coordinates of the given nodes on a part instance.
Note
- Parameters:¶
- nodes¶
A sequence of MeshNode objects or a Set object containing nodes.
- coordinate1=
None
¶ A Float specifying the value of the first coordinate. If coordinate1 and offset1 are unspecified, the existing value does not change.
- coordinate2=
None
¶ A Float specifying the value of the second coordinate. If coordinate2 and offset2 are unspecified, the existing value does not change.
- coordinate3=
None
¶ A Float specifying the value of the third coordinate. If coordinate3 and offset3 are unspecified, the existing value does not change.
- coordinates=
()
¶ A sequence of three-dimensional coordinate tuples specifying the coordinates for each of the given nodes. When specified, the number of coordinate tuples must match the number of given nodes, and be ordered to correspond to the given nodes in ascending order according to index. Furthermore, coordinate1, coordinate2, coordinate3, offset1, offset2, or offset3 may not be specified.
- offset1=
None
¶ A Float specifying an offset to apply to the value of the first coordinate of the specified nodes.
- offset2=
None
¶ A Float specifying an offset to apply to the value of the second coordinate of the specified nodes.
- offset3=
None
¶ A Float specifying an offset to apply to the value of the third coordinate of the specified nodes.
- localCsys=
None
¶ A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.
- projectToGeometry=
1
¶ A Boolean specifying whether to project nodes back to their original geometry. For example, if a node is on a face, this method first positions the node at the new location and then projects it back to the original face. The default value is ON.
- Raises:¶
Exception – A coordinate and an offset may not both be specified for the same coordinate component
- generateMeshByOffset(
- region,
- meshType,
- totalThickness,
- distanceBetweenLayers,
- numLayers,
- offsetDirection=
OUTWARD
, - initialOffset=
0.0
, - shareNodes=
False
, - deleteBaseElements=
False
, - constantThicknessCorners=
False
, - extendElementSets=
False
, This method generates a solid or shell mesh from an orphan mesh surface by generating layers of elements that propagate out normal to the surface boundary.
- Parameters:¶
- region¶
A Region object specifying the domain to be offset.
- meshType¶
A Symbolic Constant specifying the type of mesh to be generated. Possible values are SOLID or SHELL.
- totalThickness¶
A Float specifying the total thickness of the solid layers. This argument applies only when meshType = SOLID.
- distanceBetweenLayers¶
A Float specifying the distance between shell layers. This argument applies only when meshType = SHELL.
- numLayers¶
An Int specifying the number of element layers to be generated.
- offsetDirection=
OUTWARD
¶ A Symbolic Constant specifying the direction of the offset. This argument is required only when the given region relates to a shell mesh. Possible values are OUTWARD, INWARD, and BOTH. The default value is OUTWARD.
- initialOffset=
0.0
¶ A Float specifying the magnitude of the initial offset. The default value is zero.
Boolean specifying whether the first layer of nodes should be shared with nodes on the base surface. The default value is False.
- deleteBaseElements=
False
¶ A Boolean specifying whether to delete the shell elements after the offset layers are generated. The default value is False. This argument applies only when meshType = SHELL.
- constantThicknessCorners=
False
¶ A Boolean specifying whether to use element-based thickness or nodal-based thickness. The default value is False.
- extendElementSets=
False
¶ A Boolean specifying whether existing element sets that include base elements will be extended to include corresponding offset elements. The default value is False.
- mergeNodes(
- nodes: Sequence[MeshNode],
- tolerance: float | None =
None
, - removeDuplicateElements: AbaqusBoolean | bool =
True
, - mergeNodes(
- node1: MeshNode,
- node2: MeshNode,
- removeDuplicateElements: AbaqusBoolean | bool =
True
, - mergeNodes(*args, **kwargs)
- projectNode(nodes, projectionReference)[source]¶
This method projects the given nodes of a part instance onto a mesh entity, geometric entity, or a datum object.
- Parameters:¶
- nodes¶
A sequence of MeshNode objects to be projected.
- projectionReference¶
An object specifying the target for the node projection operation. The projectionReference can be any one of the following objects: MeshNode, MeshEdge, MeshFace, ConstrainedSketchVertex, Edge, Face, DatumPoint, DatumAxis, or DatumPlane.
- redoMeshEdit()[source]¶
This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an assembly.
A redo action must be currently available for the assembly. This implies that the user must have executed the undoMeshEdit method on the assembly and that the user has not subsequently executed any further edit mesh commands on the assembly. It also implies that the user provided a sufficient cache allowance to store the undo operation.
-
splitMeshEdge(edge, parameter=
0
)[source]¶ This method splits an edge of a quadrilateral or triangular element of a part instance.
- swapMeshEdge(edge)[source]¶
This method swaps the diagonal of two adjacent triangular elements of a part instance.
- undoMeshEdit()[source]¶
This method undoes the most recent edit mesh or the bottom-up meshing operation on an assembly and restores the mesh on the affected part instance to its previous state.
An edit mesh undo action must be available for the assembly. This implies that prior to executing an edit mesh command on the assembly, the user enabled edit mesh undo with a sufficient cache allowance to store the edit mesh operation.
Edit mesh features of Part¶
- class MeshEditPart(
- name: str,
- dimensionality: SymbolicConstant,
- type: SymbolicConstant,
- twist: AbaqusBoolean | bool =
OFF
, - class MeshEditPart(
- name: str,
- objectToCopy: str,
- scale: float =
1
, - mirrorPlane: SymbolicConstant =
NONE
, - compressFeatureList: AbaqusBoolean | bool =
OFF
, - separate: AbaqusBoolean | bool =
OFF
, Bases:
PartBase
The following commands operate on Part objects. For more information about the Part object, see Part object.
Note
This object can be accessed by:
import meshEdit
Public Data Attributes:
Inherited from
PartBase
A Boolean specifying the validity of the geometry of the part.
An Int specifying that feature parameters have been modified but that the part has not been regenerated.
A Float specifying when the part was last modified.
A VertexArray object specifying all the vertices in the part.
An IgnoredVertexArray object specifying all the ignored vertices in the part.
An EdgeArray object specifying all the edges in the part.
An IgnoredEdgeArray object specifying all the ignored edges in the part.
A FaceArray object specifying all the faces in the part.
A CellArray object specifying all the cells in the part.
A repository of Feature objects specifying all the features in the part.
A repository of Feature objects specifying all Feature objects in the part.
A repository of Datum objects specifying all the datums in the part.
A MeshElementArray object specifying all the elements in the part.
A repository of MeshFace objects specifying all the element faces in the part.
A MeshFaceArray object specifying all the unique element faces in the part.
A MeshNodeArray object specifying all the nodes in the part.
A MeshNodeArray object specifying all the retained nodes in the substructure part.
A repository of Set objects specifying for more information, see Set.
A repository of Set objects specifying the contents of the allSets repository is the same as the contents of the sets repository.
A repository of Set objects specifying picked regions.
A repository of Surface objects specifying for more information, see Surface.
A repository of Surface objects specifying the contents of the allSurfaces repository is the same as the contents of the surfaces repository.
A repository of Surface objects specifying picked regions.
A repository of Skin objects specifying the skins created on the part.
A repository of Stringer objects specifying the stringers created on the part.
A repository of ReferencePoint objects.
An EngineeringFeature object.
A SectionAssignmentArray object.
A MaterialOrientationArray object.
A repository of CompositeLayup objects.
A repository of MeshEdge objects specifying all the element edges in the part.
A MeshEdgeArray object specifying all the unique element edges in the part.
Public Methods:
adjustMidsideNode
(cornerNodes, parameter)This method is used to adjust the midside node of second-order elements of an orphan mesh part.
cleanMesh
(mergeTolerance[, growEdges, ...])This method is used to collapse short element edges and delete collapsed elements, or grow short element edges, on an orphan mesh part composed of linear elements.
collapseMeshEdge
(edge, collapseMethod)This method collapses an edge of a quadrilateral or triangular element of an orphan mesh part or part instance.
combineElement
(elements)This method combines two triangular elements of an orphan mesh part or an Abaqus native mesh.
This method removes all solid elements from an orphan mesh part and creates triangular or quadrilateral shell elements along their outer faces.
deleteElement
(elements[, ...])This method deletes the given elements from an orphan mesh part or an Abaqus native mesh.
deleteNode
(nodes[, deleteUnreferencedNodes])This method deletes the given nodes from an orphan mesh part.
editNode
(nodes[, coordinate1, coordinate2, ...])This method changes the coordinates of the given nodes on an orphan mesh part or on an Abaqus native mesh.
projectNode
(nodes, projectionReference)This method projects the given nodes onto a mesh entity, geometric entity, or a datum object.
generateMesh
([elemShape])This method generates a new mesh on an orphan mesh part based on the original mesh.
generateMeshByOffset
(region, meshType, ...)This method generates a solid or shell mesh from an orphan mesh surface by generating layers of elements that propagate out normal to the surface boundary.
mergeElement
(edge, elements)Merge a selection of elements arranged in layers on an orphan mesh part into a single layer.
orientElements
(pickedElements, referenceRegion)This method orients the stack direction of elements in a continuum shell or gasket mesh.
This method removes the global element size from an orphan mesh part.
renumberElement
([elements, startLabel, ...])This method assigns new labels to orphan mesh elements.
renumberNode
([nodes, startLabel, increment, ...])This method assigns new labels to orphan mesh nodes.
setElementSize
(size)This method sets the global element size for an orphan mesh part.
splitElement
(elements)This method splits quadrilateral elements of an orphan mesh part or a Abaqus native mesh into triangular elements.
splitMeshEdge
(edge[, parameter])This method splits an edge of a quadrilateral or triangular element of an orphan mesh part or an Abaqus native mesh.
subdivideElement
([elements, divisionNumber, ...])Subdivide a selection of elements on an orphan mesh part in one or more directions.
swapMeshEdge
(edge)This method swaps the diagonal of two adjacent triangular elements of an orphan mesh part or an Abaqus native mesh.
wrapMesh
(radius)This method wraps a planar orphan mesh part about the Z axis.
This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an part.
This method undoes the most recent edit mesh or the bottom-up meshing operation on a part and restores the mesh to its previous state.
Inherited from
PartBase
__init__
()PartFromBooleanCut
(name, instanceToBeCut, ...)This method creates a Part in the parts repository after subtracting or cutting the geometries of a group of part instances from that of a base part instance.
PartFromBooleanMerge
(name, instances[, ...])This method creates a Part in the parts repository after merging two or more part instances.
PartFromExtrude2DMesh
(name, part, depth, ...)This method creates a Part object by extruding an existing two-dimensional orphan mesh Part object in the positive Z direction and places it in the parts repository.
PartFromGeometryFile
(name, geometryFile, ...)This method creates a Part object and places it in the parts repository.
PartFromInstanceMesh
(name[, partInstances, ...])This method creates a Part object containing the mesh found in the supplied PartInstance objects and places the new Part object in the parts repository.
PartFromMesh
(name[, copySets])This method creates a Part object containing the mesh found in the part and places the new Part object in the parts repository.
PartFromMeshMirror
(name, part, point1, point2)This method creates a Part object by mirroring an existing orphan mesh Part object about a specified plane and places it in the parts repository.
PartFromNodesAndElements
(name, ...[, twist])This method creates a Part object from nodes and elements and places it in the parts repository.
PartFromOdb
(name, odb[, fileName, instance, ...])This method creates an orphan mesh Part object by reading an output database.
PartFromSection3DMeshByPlane
(name, part, ...)This method creates a Part object by cutting an existing three-dimensional orphan mesh Part object by a plane and places it in the parts repository.
PartFromSubstructure
(name, substructureFile, ...)This method creates a substructure Part object by reading a substructure sim file and places it in the parts repository.
Part2DGeomFrom2DMesh
(name, part, featureAngle)This method creates a geometric Part object from the outline of an existing two-dimensional orphan mesh Part object and places it in the parts repository.
setValues
(*args, **kwargs)This method modifies the Part object.
addGeomToSketch
(sketch)This method converts a part into a sketch by projecting all of the edges of the part onto the X-Y plane of the sketch.
assignThickness
(faces[, thickness, ...])This method assigns thickness data to shell faces.
backup
()This method makes a backup copy of the features in the part.
checkGeometry
([detailed, reportFacetErrors, ...])This method checks the validity of the geometry of the part and prints a count of all topological entities on the part (faces, edges, vertices, etc.).
This method clears the geometry cache.
This method deletes all the features in the part.
deleteFeatures
(featureNames)This method deletes the given features.
getAngle
(plane1, plane2, line1, line2[, ...])This method returns the angle between the specified entities.
getArea
(faces[, relativeAccuracy])This method returns the total surface area of a given face or group of faces.
This method returns the paths to the associated CAD part and root file.
This method returns the names and values of the CAD parameters associated with the part.
getCentroid
(faces, cells[, relativeAccuracy])Location of the centroid of a given face/cell or group of faces/cells.
getCoordinates
(entity, csys)This method returns the coordinates of specified point.
getCurvature
(edges[, samplePoints])This method returns the maximum curvature of a given edge or group of edges.
getDistance
(entity1, entity2)Depending on the arguments provided, this method returns one of the following:
getLength
(edges)This method returns the length of a given edge or group of edges.
getPerimeter
(faces)This method returns the total perimeter of a given face or group of faces.
getVolume
(cells[, relativeAccuracy])This method returns the volume area of a given cell or group of cells.
getMassProperties
([regions, ...])This method returns the mass properties of a part or region.
getFeatureFaces
(name)This method returns a sequence of Face objects that are created by the given feature.
getFeatureEdges
(name)This method returns a sequence of Edge objects that are created by the given feature.
getFeatureCells
(name)This method returns a sequence of Cell objects that are created by the given feature.
getFeatureVertices
(name)This method returns a sequence of ConstrainedSketchVertex objects that are created by the given feature.
This method checks if the normal of an analytical rigid surface part is aligned with that of its sketch.
This method prints information on each section that has been assigned to a region of the part.
projectEdgesOntoSketch
(sketch, edges[, ...])This method projects the selected edges of a part onto the specified ConstrainedSketch object.
projectReferencesOntoSketch
(sketch[, ...])This method projects the vertices of specified edges, and datum points from the part onto the specified ConstrainedSketch object.
queryAttributes
([printResults])This method prints the following information about a part:
This method displays the position of geometric states relative to the sequence of features in the part cache.
queryGeometry
([relativeAccuracy, printResults])This method prints the following information about a part:
This method returns all regions in the part that do not have a section assignment but require one for analysis.
This method provides a list of all composite plys in the current part which have disjoint regions.
This method regenerates a part.
This method prints any regeneration warnings associated with the features.
Removes all invalid entities from the part, leaving a valid part.
restore
()This method restores the parameters of all features in the assembly to the value they had before a failed regeneration.
This method resumes all the suppressed features in the part.
resumeFeatures
(featureNames)This method resumes the specified suppressed features in the part.
This method resumes the last set of features to be suppressed in the part.
This method caches the current geometry.
setAssociatedCADPaths
([partFile, rootFile])This method sets the paths to the associated CAD part and root file.
suppressFeatures
(featureNames)This method suppresses the given features.
writeAcisFile
(fileName[, version])This method exports the geometry of the part to a named file in ACIS format.
writeCADParameters
(paramFile[, ...])This method writes the parameters that were imported from the CAD system to a parameter file.
writeIgesFile
(fileName, flavor)This method exports the geometry of the part to a named file in IGES format.
writeStepFile
(fileName)This method exports the geometry of the part to a named file in STEP format.
writeVdaFile
(fileName)This method exports the geometry of the part to a named file in VDA-FS format.
copyMeshPattern
(elements, faces, elemFaces, ...)This method copies a mesh pattern from a source region consisting of a set of shell elements or element faces onto a target face, mapping nodes and elements in a one-one correspondence between source and target.
smoothNodes
(nodes)This method smooths the given nodes of a native mesh, moving them locally to a more optimal location that improves the quality of the mesh.
Lock
()This method locks the part.
Unlock
()This method unlocks the part.
This method locks the part for upgrade.
Inherited from
PartFeature
This method carries out a sequence of geometry repair operations if it contains invalid entities.
AddCells
(faceList[, flipped])This method tries to convert a shell entity to a solid entity.
AnalyticRigidSurf2DPlanar
(sketch)This method creates a first Feature object for an analytical rigid surface by creating a planar wire from the given ConstrainedSketch object.
AnalyticRigidSurfExtrude
(sketch[, depth])This method creates a first Feature object for an analytical rigid surface by extruding the given ConstrainedSketch object by the given depth, creating a surface.
AnalyticRigidSurfRevolve
(sketch)This method creates a first Feature object for an analytical rigid surface by revolving the given ConstrainedSketch object by 360° about the Y axis.
AssignMidsurfaceRegion
(cellList)This method assign a mid-surface property to sequence of Cell objects.
BaseSolidExtrude
(sketch, depth[, ...])This method creates a first Feature object by extruding the given ConstrainedSketch object by the given depth, creating a solid.
BaseSolidRevolve
(sketch, angle[, pitch, ...])This method creates a first Feature object by revolving the given ConstrainedSketch object by the given angle, creating a solid.
BaseSolidSweep
(sketch, path)This method creates a first Feature object by sweeping the given profile ConstrainedSketch object along the path defined by the path ConstrainedSketch object, creating a solid.
BaseShell
(sketch)This method creates a first Feature object by creating a planar shell from the given ConstrainedSketch object.
BaseShellExtrude
(sketch, depth[, ...])This method creates a first Feature object by extruding the given ConstrainedSketch object by the given depth, creating a shell.
BaseShellRevolve
(sketch, angle[, pitch, ...])This method creates a first Feature object by revolving the given ConstrainedSketch object by the given angle, creating a shell.
BaseShellSweep
(sketch, path)This method creates a first Feature object by sweeping the given section ConstrainedSketch object along the path defined by the path ConstrainedSketch object, creating a shell.
BaseWire
(sketch)This method creates a first Feature object by creating a planar wire from the given ConstrainedSketch object.
BlendFaces
(side1, side2[, method, path])This method creates a Feature object by creating new faces that blends two sets of faces.
Chamfer
(length, edgeList)This method creates an additional Feature object by chamfering the given list of edges with a given length.
Mirror
(mirrorPlane, keepOriginal[, ...])This method mirrors existing part geometry across a plane to create new geometry.
This method attempts to change entities into a simpler form that will speed up processing and make entities available during feature operations.
ConvertToPrecise
([method])This method attempts to change imprecise entities so that the geometry becomes precise.
CoverEdges
(edgeList[, tryAnalytical])This method generates a face using the given edges as the face's boundaries.
Cut
(sketchPlane, sketchPlaneSide, ...[, ...])This method creates an additional Feature object by cutting a hole using the given ConstrainedSketch object.
CutExtrude
(sketchPlane, sketchPlaneSide, ...)This method creates an additional Feature object by extruding the given ConstrainedSketch object by the given depth and cutting away material in the solid and shell regions of the part.
CutLoft
(loftsections[, startCondition, ...])This method creates an additional Feature object by lofting between the given sections and cutting away material from the part.
CutRevolve
(sketchPlane, sketchPlaneSide, ...)This method creates an additional Feature object by revolving the given ConstrainedSketch object by the given angle and cutting away material from the part.
CutSweep
(path, profile[, pathPlane, ...])This method creates an additional Feature object by sweeping the given ConstrainedSketch object along a path which may be a ConstrainedSketch or a sequence of Edge objects and cutting away material from the part.
ExtendFaces
([faces, extendAlong, distance, ...])This method extends faces along its free edges by offsetting the external edges along the surfaces.
FaceFromElementFaces
(elementFaces[, stitch, ...])This method creates a geometry face from a collection of orphan element faces.
HoleBlindFromEdges
(plane, planeSide, ...)This method creates an additional Feature object by creating a circular blind hole of the given diameter and depth and cutting away material in the solid and shell regions of the part.
HoleFromEdges
(diameter, edge1, distance1, ...)This method creates an additional Feature object by creating a circular hole of the given diameter in a 2D planar part and cutting away material in the shell and wire regions of the part.
HoleThruAllFromEdges
(plane, planeSide, ...)This method creates an additional Feature object by creating a circular through hole of the given diameter and cutting away material in the solid and shell regions of the part.
MergeEdges
([edgeList, extendSelection])This method merges edges either by extending the user selection or using only the selected edges.
OffsetFaces
(faceList[, distance, ...])This method creates new faces by offsetting existing faces.
RemoveCells
(cellList)This method converts a solid entity to a shell entity.
RemoveFaces
(faceList[, deleteCells])This method removes faces from a solid entity or from a shell entity.
RemoveFacesAndStitch
(faceList)This method removes faces from a solid entity and attempts to close the resulting gap by extending the neighboring faces of the solid.
RemoveRedundantEntities
([vertexList, ...])This method removes redundant edges and vertices from a solid or a shell entity.
RepairFaceNormals
([faceList])This method works on the entire part or a sequence of shell faces.
RepairInvalidEdges
(edgeList)This method repairs invalid edges.
RepairSliver
(face, point1, point2[, ...])This method repairs the selected sliver from the selected face.
RepairSmallEdges
(edgeList[, toleranceChecks])This method repairs small edges.
RepairSmallFaces
(faceList[, toleranceChecks])This method repairs small faces.
ReplaceFaces
(faceList[, stitch])This method replaces the selected faces with a single face.
Round
(radius[, edgeList, vertexList])This method creates an additional Feature object by rounding (filleting) the given list of entities with the given radius.
Shell
(sketchPlane, sketchPlaneSide, ...[, ...])This method creates an additional Feature object by creating a planar shell from the given ConstrainedSketch object.
ShellExtrude
(sketchPlane, sketchPlaneSide, ...)This method creates an additional Feature object by extruding the given ConstrainedSketch object by the given depth, creating a shell protrusion.
ShellLoft
(loftsections[, startCondition, ...])This method creates an additional Feature object by lofting between the given sections and adding shell faces to the part.
ShellRevolve
(sketchPlane, sketchPlaneSide, ...)This method creates an additional Feature object by revolving the given ConstrainedSketch object by the given angle, creating a shell protrusion.
ShellSweep
(path, profile[, pathPlane, ...])This method creates an additional Feature object by sweeping the given ConstrainedSketch object or a sequence of Edge objects along a path which may be a ConstrainedSketch or a sequence of Edge objects, creating a shell swept protrusion.
SolidExtrude
(sketchPlane, sketchPlaneSide, ...)This method creates an additional Feature object by extruding the given ConstrainedSketch object by the given depth, creating a solid protrusion.
SolidLoft
(loftsections[, startCondition, ...])This method creates an additional Feature object by lofting between the given sections and adding material to the part.
SolidRevolve
(sketchPlane, sketchPlaneSide, ...)This method creates an additional Feature object by revolving the given ConstrainedSketch object by the given angle, creating a solid protrusion.
SolidSweep
(path, profile[, pathPlane, ...])This method creates an additional Feature object by sweeping the given ConstrainedSketch object or a Face object along a path which may be a ConstrainedSketch or a sequence of Edge objects, creating a solid swept protrusion.
Stitch
([edgeList, stitchTolerance])This method attempts to create a valid part by binding together free and imprecise edges of all the faces of a part.
Wire
(sketchPlane, sketchPlaneSide, ...[, ...])This method creates an additional Feature object by creating a planar wire from the given ConstrainedSketch object.
WireSpline
(points[, mergeType, ...])This method creates an additional Feature object by creating a spline wire that passes through a sequence of given points.
WirePolyLine
(points[, mergeType, meshable])This method creates an additional Feature object by creating a polyline wire that passes through a sequence of given points.
WireFromEdge
(edgeList)This method creates an additional Feature object by creating a Wire by selecting one or more Edge objects of a Solid or Shell part.
Inherited from
Feature
AttachmentPoints
(name, points[, ...])This method creates an attachment points Feature.
AttachmentPointsAlongDirection
(name, ...[, ...])This method creates a Feature object by creating attachment points along a direction or between two points.
AttachmentPointsOffsetFromEdges
(name, edges)This method creates a Feature object by creating attachment points along or offset from one or more connected edges.
DatumAxisByCylFace
(face)This method creates a Feature object and a DatumAxis object along the axis of a cylinder or cone.
DatumAxisByNormalToPlane
(plane, point)This method creates a Feature object and a DatumAxis object normal to the specified plane and passing through the specified point.
DatumAxisByParToEdge
(edge, point)This method creates a Feature object and a DatumAxis object parallel to the specified edge and passing through the specified point.
DatumAxisByPrincipalAxis
(principalAxis)This method creates a Feature object and a DatumAxis object along one of the three principal axes.
DatumAxisByThreePoint
(point1, point2, point3)This method creates a Feature object and a DatumAxis object normal to the circle described by three points and through its center.
DatumAxisByThruEdge
(edge)This method creates a Feature object and a DatumAxis object along the specified edge.
DatumAxisByTwoPlane
(plane1, plane2)This method creates a Feature object and a DatumAxis object at the intersection of two planes.
DatumAxisByTwoPoint
(point1, point2)This method creates a Feature object and a DatumAxis object along the line joining two points.
DatumCsysByDefault
(coordSysType[, name])This method creates a Feature object and a DatumCsys object from the specified default coordinate system at the origin.
DatumCsysByOffset
(coordSysType, ...[, name])This method creates a Feature object and a DatumCsys object by offsetting the origin of an existing datum coordinate system to a specified point.
DatumCsysByThreePoints
(coordSysType, origin, ...)This method creates a Feature object and a DatumCsys object from three points.
DatumCsysByTwoLines
(coordSysType, line1, line2)This method creates a Feature object and a DatumCsys object from two orthogonal lines.
DatumPlaneByPrincipalPlane
(principalPlane, ...)This method creates a Feature object and a DatumPlane object through the origin along one of the three principal planes.
DatumPlaneByRotation
(plane, axis, angle)This method creates a Feature object and a DatumPlane object by rotating a plane about the specified axis through the specified angle.
DatumPlaneByThreePoints
(point1, point2, point3)This method creates a Feature object and a DatumPlane object defined by passing through three points.
DatumPlaneByLinePoint
(line, point)This method creates a Feature object and a DatumPlane object that pass through the specified line and through the specified point that does not lie on the line.
DatumPlaneByPointNormal
(point, normal)This method creates a Feature object and a DatumPlane object normal to the specified line and running through the specified point.
DatumPlaneByTwoPoint
(point1, point2)This method creates a Feature object and a DatumPlane object midway between two points and normal to the line connecting the points.
DatumPointByCoordinate
(coords)This method creates a Feature object and a DatumPoint object at the point defined by the specified coordinates.
DatumPointByOffset
(point, vector)This method creates a Feature object and a DatumPoint object offset from an existing point by a vector.
DatumPointByMidPoint
(point1, point2)This method creates a Feature object and a DatumPoint object midway between two points.
DatumPointByOnFace
(face, edge1, offset1, ...)This method creates a Feature object and a DatumPoint object on the specified face, offset from two edges.
DatumPointByEdgeParam
(edge, parameter)This method creates a Feature object and a DatumPoint object along an edge at a selected distance from one end of the edge.
DatumPointByProjOnEdge
(point, edge)This method creates a Feature object and a DatumPoint object along an edge by projecting an existing point along the normal to the edge.
DatumPointByProjOnFace
(point, face)This method creates a Feature object and a DatumPoint object on a specified face by projecting an existing point onto the face.
MakeSketchTransform
(sketchPlane[, origin, ...])This method creates a Transform object.
PartitionCellByDatumPlane
(cells, datumPlane)This method partitions one or more cells using the given datum plane.
PartitionCellByExtendFace
(cells, extendFace)This method partitions one or more cells by extending the underlying geometry of a given face to partition the target cells.
PartitionCellByExtrudeEdge
(cells, edges, ...)This method partitions one or more cells by extruding selected edges in the given direction.
PartitionCellByPatchNCorners
(cell, cornerPoints)This method partitions a cell using an N-sided cutting patch defined by the given corner points.
PartitionCellByPatchNEdges
(cell, edges)This method partitions a cell using an N-sided cutting patch defined by the given edges.
PartitionCellByPlaneNormalToEdge
(cells, ...)This method partitions one or more cells using a plane normal to an edge at the given edge point.
PartitionCellByPlanePointNormal
(cells, ...)This method partitions one or more cells using a plane defined by a point and a normal direction.
PartitionCellByPlaneThreePoints
(cells, ...)This method partitions one or more cells using a plane defined by three points.
PartitionCellBySweepEdge
(cells, edges, sweepPath)This method partitions one or more cells by sweeping selected edges along the given sweep path.
PartitionEdgeByDatumPlane
(edges, datumPlane)This method partitions an edge where it intersects with a datum plane.
PartitionEdgeByParam
(edges, parameter)This method partitions one or more edges at the given normalized edge parameter.
PartitionEdgeByPoint
(edge, point)This method partitions an edge at the given point.
PartitionFaceByAuto
(face)This method automatically partitions a target face into simple regions that can be meshed using a structured meshing technique.
PartitionFaceByCurvedPathEdgeParams
(face, ...)This method partitions a face normal to two edges, using a curved path between the two given edge points defined by the normalized edge parameters.
PartitionFaceByCurvedPathEdgePoints
(face, ...)This method partitions a face normal to two edges, using a curved path between the two given edge points.
PartitionFaceByDatumPlane
(faces, datumPlane)This method partitions one or more faces using the given datum plane.
PartitionFaceByExtendFace
(faces, extendFace)This method partitions one or more faces by extending the underlying geometry of another given face to partition the target faces.
PartitionFaceByIntersectFace
(faces, cuttingFaces)This method partitions one or more faces using the given cutting faces to partition the target faces.
PartitionFaceByProjectingEdges
(faces, edges)This method partitions one or more faces by projecting the given edges on the target faces.
PartitionFaceByShortestPath
(faces, point1, ...)This method partitions one or more faces using a minimum distance path between the two given points.
PartitionFaceBySketch
(faces, sketch[, ...])This method partitions one or more planar faces by sketching on them.
PartitionFaceBySketchDistance
(faces, ...[, ...])This method partitions one or more faces by sketching on a sketch plane and then projecting the sketch toward the target faces through the given distance.
PartitionFaceBySketchRefPoint
(faces, ...[, ...])This method partitions one or more faces by sketching on a sketch plane and then projecting the sketch toward the target faces through a distance governed by the reference point.
PartitionFaceBySketchThruAll
(faces, ...[, ...])This method partitions one or more faces by sketching on a sketch plane and then projecting toward the target faces through an infinite distance.
ReferencePoint
(point[, instanceName])This method creates a Feature object and a ReferencePoint object at the specified location.
RemoveWireEdges
(wireEdgeList)This method removes wire edges.
WirePolyLine
(points[, mergeType, meshable])This method creates an additional Feature object by creating a series of wires joining points in pairs.
This method queries the suppressed state of the feature.
restore
()This method restores the parameters of a feature to the value they had when the backup method was invoked on the part or assembly.
resume
()This method resumes suppressed features.
setValues
([parameter, parameter1, ...])This method modifies the Feature object.
suppress
()This method suppresses features.
Member Details:
- adjustMidsideNode(cornerNodes, parameter)[source]¶
This method is used to adjust the midside node of second-order elements of an orphan mesh part.
- Parameters:¶
- cornerNodes¶
A sequence of Node objects specifying the nodes towards which connected midside nodes will be biased.
- parameter¶
A Float specifying the normalized distance along the edge of the midside nodes. Possible values are 0.0 ≤ parameter ≤ 1.0, where 0.0 specifies the position of the corner node. The default value is 0.5.
- cleanMesh(
- mergeTolerance,
- growEdges=
0
, - elements=
''
, - refEdge=
''
, - thicknessDir=
None
, - moveLayers=
False
, This method is used to collapse short element edges and delete collapsed elements, or grow short element edges, on an orphan mesh part composed of linear elements.
Note
- Parameters:¶
- mergeTolerance¶
A Float specifying the edge length tolerance. During the operation, edges shorter than the given tolerance will be collapsed, or grown to the specified length.
- growEdges=
0
¶ A Boolean specifying whether short element edges will be grown to the specified tolerance. Default is False, meaning short edges will be collapsed.
- elements=
''
¶ The elements to consider as the domain for the operation. By default all elements on the part are considered. The elements may be given as a MeshElementArray, a list of MeshElement objects, a Set, or a list of Set objects.
- refEdge=
''
¶ A MeshEdge specifying a reference edge to indicate a topological direction in a structured mesh that will limit which edges within the element domain are considered. That is, only edges that are found to be topologically parallel to the given reference edge will be considered by the operation. By default all edges of the element domain are considered, unless thicknessDir is specified, in which case the operation will attempt to determine the topological edges from the thickness direction.
- thicknessDir=
None
¶ A tuple of two or three Floats indicating a vector along which element edge lengths will be measured.
- moveLayers=
False
¶ A Boolean indicating whether element edges will be all grown in the direction of the thickness vector specified by thicknessDir. This argument is ignored unless growEdges is True and thicknessDir is provided. When this argument is True the growth of any given element edge will no longer be constrained by short edges on neighboring elements, but elements could move from their original positions in cases where there are multiple adjacent layers of thin elements. The default value is False.
- collapseMeshEdge(edge, collapseMethod)[source]¶
This method collapses an edge of a quadrilateral or triangular element of an orphan mesh part or part instance.
- combineElement(elements)[source]¶
This method combines two triangular elements of an orphan mesh part or an Abaqus native mesh.
Note
- convertSolidMeshToShell()[source]¶
This method removes all solid elements from an orphan mesh part and creates triangular or quadrilateral shell elements along their outer faces.
-
deleteElement(elements, deleteUnreferencedNodes=
0
)[source]¶ This method deletes the given elements from an orphan mesh part or an Abaqus native mesh. If the elements belong to an Abaqus native mesh then the elements must have been generated using the bottom-up meshing technique.
Note
-
deleteNode(nodes, deleteUnreferencedNodes=
0
)[source]¶ This method deletes the given nodes from an orphan mesh part.
Note
- editNode(
- nodes,
- coordinate1=
None
, - coordinate2=
None
, - coordinate3=
None
, - coordinates=
()
, - offset1=
None
, - offset2=
None
, - offset3=
None
, - localCsys=
None
, - projectToGeometry=
1
, This method changes the coordinates of the given nodes on an orphan mesh part or on an Abaqus native mesh.
Note
- Parameters:¶
- nodes¶
A sequence of MeshNode objects or a Set object containing nodes.
- coordinate1=
None
¶ A Float specifying the value of the first coordinate. If coordinate1 and offset1 are unspecified, the existing value does not change.
- coordinate2=
None
¶ A Float specifying the value of the second coordinate. If coordinate2 and offset2 are unspecified, the existing value does not change.
- coordinate3=
None
¶ A Float specifying the value of the third coordinate. If coordinate3 and offset3 are unspecified, the existing value does not change.
- coordinates=
()
¶ A sequence of three-dimensional coordinate tuples specifying the coordinates for each of the given nodes. When specified, the number of coordinate tuples must match the number of given nodes, and be ordered to correspond to the given nodes in ascending order according to index. Furthermore, coordinate1, coordinate2, coordinate3, offset1, offset2, or offset3 may not be specified.
- offset1=
None
¶ A Float specifying an offset to apply to the value of the first coordinate of the specified nodes.
- offset2=
None
¶ A Float specifying an offset to apply to the value of the second coordinate of the specified nodes.
- offset3=
None
¶ A Float specifying an offset to apply to the value of the third coordinate of the specified nodes.
- localCsys=
None
¶ A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.
- projectToGeometry=
1
¶ A Boolean specifying whether to project nodes back to their original geometry. For example, if a node is on a face, this method first positions the node at the new location and then projects it back to the original face. The default value is ON.
- Raises:¶
Exception – A coordinate and an offset may not both be specified for the same coordinate component
-
generateMesh(elemShape=
None
)[source]¶ This method generates a new mesh on an orphan mesh part based on the original mesh.
Note
- Parameters:¶
- elemShape=
None
¶ A SymbolicConstant specifying the element shape to be used for meshing. Possible values are:TRIRefine a planar triangular mesh and replace it with a new one. If no element sizes are attached, the new mesh will be governed by the sizes of the boundary edges in the old mesh. TETCreate a tetrahedral mesh from a closed shell of triangular elements.
- elemShape=
- generateMeshByOffset(
- region,
- meshType,
- totalThickness,
- distanceBetweenLayers,
- numLayers,
- offsetDirection=
OUTWARD
, - initialOffset=
0.0
, - shareNodes=
False
, - deleteBaseElements=
False
, - constantThicknessCorners=
False
, - extendElementSets=
False
, This method generates a solid or shell mesh from an orphan mesh surface by generating layers of elements that propagate out normal to the surface boundary.
- Parameters:¶
- region¶
A Region object specifying the domain to be offset.
- meshType¶
A Symbolic Constant specifying the type of mesh to be generated. Possible values are SOLID or SHELL.
- totalThickness¶
A Float specifying the total thickness of the solid layers. This argument applies only when meshType = SOLID.
- distanceBetweenLayers¶
A Float specifying the distance between shell layers. This argument applies only when meshType = SHELL.
- numLayers¶
An Int specifying the number of element layers to be generated.
- offsetDirection=
OUTWARD
¶ A Symbolic Constant specifying the direction of the offset. This argument is required only when the given region relates to a shell mesh. Possible values are OUTWARD, INWARD, and BOTH. The default value is OUTWARD.
- initialOffset=
0.0
¶ A Float specifying the magnitude of the initial offset. The default value is zero.
Boolean specifying whether the first layer of nodes should be shared with nodes on the base surface. The default value is False.
- deleteBaseElements=
False
¶ A Boolean specifying whether to delete the shell elements after the offset layers are generated. The default value is False. This argument applies only when meshType = SHELL.
- constantThicknessCorners=
False
¶ A Boolean specifying whether to use element-based thickness or nodal-based thickness. The default value is False.
- extendElementSets=
False
¶ A Boolean specifying whether existing element sets that include base elements will be extended to include corresponding offset elements. The default value is False.
- mergeElement(edge, elements)[source]¶
Merge a selection of elements arranged in layers on an orphan mesh part into a single layer.
Note
- Parameters:¶
- edge¶
A MeshEdge of one of the specified elements that serves as a reference edge to indicate the topological direction for merging elements. All specified elements must be reachable by topological navigation from this element edge, and the topological direction must be unambiguous.
- elements¶
A MeshElementArray, a list of MeshElement objects, a Set, or a list of Set objects containing the elements to be included in the merge operation.
- mergeNodes(
- nodes: Sequence[Node],
- tolerance: float | None =
None
, - removeDuplicateElements: AbaqusBoolean | bool =
True
, - mergeNodes(
- node1: MeshNode,
- node2: MeshNode,
- removeDuplicateElements: AbaqusBoolean | bool =
True
, - mergeNodes(*args, **kwargs)
- orientElements(pickedElements, referenceRegion)[source]¶
This method orients the stack direction of elements in a continuum shell or gasket mesh.
- projectNode(nodes, projectionReference)[source]¶
This method projects the given nodes onto a mesh entity, geometric entity, or a datum object. The nodes may belong to an orphan mesh part or to an Abaqus native mesh.
Note
- Parameters:¶
- nodes¶
A sequence of MeshNode objects to be projected.
- projectionReference¶
An object specifying the target for the node projection operation. The projectionReference can be any one of the following objects: MeshNode, MeshEdge, MeshFace, ConstrainedSketchVertex, Edge, Face, DatumPoint, DatumAxis, or DatumPlane.
- redoMeshEdit()[source]¶
This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an part.
A redo action must be currently available for the part. This implies that the user must have executed the undoMeshEdit method on the part and that the user has not subsequently executed any further edit mesh commands on the assembly. It also implies that the user provided a sufficient cache allowance to store the undo operation.
- renumberElement(
- elements=
()
, - startLabel=
None
, - increment=
None
, - offset=
None
, - labels=
''
, This method assigns new labels to orphan mesh elements.
- Parameters:¶
- elements=
()
¶ A MeshElementArray or a tuple or list of MeshElement objects, or a Set containing elements to be renumbered. If unspecified, all elements in the part will be renumbered.
- startLabel=
None
¶ A positive Int specifying the new label for the first element in elements.
- increment=
None
¶ A positive Int specifying the increment used for computation of new labels for all consecutive elements in elements.
- offset=
None
¶ An Int by which existing labels of the specified elements will be offset.
- labels=
''
¶ A list of labels for the specified elements. The length of this list must match the number of specified elements.
- elements=
- Raises:¶
Error – Renumbering can be applied to orphan mesh parts only, Renumbering is attempted on a native part
Error – Renumbering data is specified incorrectly
Error – Renumbering will result in invalid labels
Error – Renumbering will result in conflicting labels
- renumberNode(
- nodes=
()
, - startLabel=
None
, - increment=
None
, - offset=
None
, - labels=
''
, This method assigns new labels to orphan mesh nodes.
Note
- Parameters:¶
- nodes=
()
¶ A MeshNodeArray or a tuple or list of MeshNode objects, or a Set containing nodes to be renumbered. If unspecified, all nodes in the part will be renumbered.
- startLabel=
None
¶ A positive Int specifying the new label for the first node in nodes.
- increment=
None
¶ A positive Int specifying the increment used for computation of new labels for all consecutive nodes in nodes.
- offset=
None
¶ An Int by which existing labels of the specified nodes will be offset.
- labels=
''
¶ A list of labels for the specified nodes. The length of this list must match the number of specified nodes.
- nodes=
- Raises:¶
Error – Renumbering can be applied to orphan mesh parts only, Renumbering is attempted on a native part.
Error – Renumbering data is specified incorrectly.
Error – Renumbering will result in invalid labels.
Error – Renumbering will result in conflicting labels.
- setElementSize(size)[source]¶
This method sets the global element size for an orphan mesh part.
Note
- splitElement(elements)[source]¶
This method splits quadrilateral elements of an orphan mesh part or a Abaqus native mesh into triangular elements.
Note
-
splitMeshEdge(edge, parameter=
0
)[source]¶ This method splits an edge of a quadrilateral or triangular element of an orphan mesh part or an Abaqus native mesh.
Note
-
subdivideElement(elements=
''
, divisionNumber=2
, face=None
, edge=None
)[source]¶ Subdivide a selection of elements on an orphan mesh part in one or more directions.
- Parameters:¶
- elements=
''
¶ A MeshElementArray, a list of MeshElement objects, a Set, or a list of Set objects containing the elements to be subdivided. By default all the elements of the part are subdivided.
- divisionNumber=
2
¶ An Int specifying the number of resulting elements for each input element in each direction of the subdivision. If face or edge are not specified, elements will be subdivided according to this number in all possible directions. Must be greater than one. Default is 2.
- face=
None
¶ A MeshFace object that serves as a reference for indicating two topological directions for the subdivision operation. Must be a face of one of the specified elements, and all specified elements must be reachable by topological navigation from this element face. May not be combined with edge.
- edge=
None
¶ A MeshEdge object that serves as a reference for indicating a single topological direction for the subdivision operation. Must be an edge of one of the specified elements, and all specified elements must be reachable by topological navigation from this element edge. May not be combined with face.
- elements=
- swapMeshEdge(edge)[source]¶
This method swaps the diagonal of two adjacent triangular elements of an orphan mesh part or an Abaqus native mesh.
Note
- undoMeshEdit()[source]¶
This method undoes the most recent edit mesh or the bottom-up meshing operation on a part and restores the mesh to its previous state.
An edit mesh undo action must be available for the part. This implies that prior to executing an edit mesh command on the part, the user enabled edit mesh undo with a sufficient cache allowance to store the edit mesh operation.
Other Classes¶
- class MeshEditOptions[source]¶
Bases:
object
The MeshEditOptions object stores settings that specify the behavior when editing meshes on parts or part instances. The MeshEditOptions object has no constructor. Abaqus creates the MeshEditOptions member when a session is started.
Note
This object can be accessed by:
mdb.meshEditOptions
Note
Member Details:
-
setValues(maxUndoCacheElements=
0
, enableUndo=0
, _suspendUndo=0
)[source]¶ This method modifies the MeshEditOptions object.
Note
- Parameters:¶
- maxUndoCacheElements=
0
¶ A Float specifying the maximum allowable mesh edit undo cache size in millions of elements. If this value is set to at least the number of elements on a given part or part instance, at least one level of undo/redo capability is assured for subsequent mesh edit operations on that part or part instance. The default value is 0.0.
- enableUndo=
0
¶ A Boolean specifying whether undo/redo of mesh edit operations will be enabled. If enableUndo =OFF any existing cache for undo/redo operations will be cleared for all parts and assemblies in all models. The default value is OFF.
- _suspendUndo=
0
¶ A Boolean specifying the suspension of undo/redo for mesh edit operations. When undo/redo is suspended, undo/redo will not be available after subsequent mesh edit operations on a given part or part instances. Any pre-existing cache for mesh edit operations on other parts or assemblies in any model will be unaffected. The default value is OFF.If you change the value of enableUndo to True, Abaqus sets _suspendUndo to False.
- maxUndoCacheElements=
-
setValues(maxUndoCacheElements=