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

Public Data Attributes:

Inherited from AssemblyBase

isOutOfDate

An Int specifying that feature parameters have been modified but that the assembly has not been regenerated.

timeStamp

A Float specifying which gives an indication when the assembly was last modified.

isLocked

An Int specifying whether the assembly is locked or not.

regenerateConstraintsTogether

A Boolean specifying whether the positioning constraints in the assembly should be regenerated together before regenerating other assembly features.

vertices

A VertexArray object specifying all the vertices existing at the assembly level.

edges

An EdgeArray object specifying all the edges existing at the assembly level.

elements

A MeshElementArray object specifying all the elements existing at the assembly level.

nodes

A MeshNodeArray object specifying all the nodes existing at the assembly level.

instances

A repository of PartInstance objects.

datums

A repository of Datum objects specifying all Datum objects in the assembly.

features

A repository of Feature objects specifying all Feature objects in the assembly.

featuresById

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.

surfaces

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).

allSurfaces

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).

allInternalSurfaces

A repository of Surface objects specifying picked regions.

sets

A repository of Set objects.

allSets

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).

allInternalSets

A repository of Set objects specifying picked regions.

skins

A repository of Skin objects specifying the skins created on the assembly.

stringers

A repository of Stringer objects specifying the stringers created on the assembly.

referencePoints

A repository of ReferencePoint objects.

modelInstances

A repository of ModelInstance objects.

allInstances

A PartInstance object specifying the PartInstances and A ModelInstance object specifying the ModelInstances.

engineeringFeatures

An EngineeringFeature object.

modelName

A String specifying the name of the model to which the assembly belongs.

connectorOrientations

A ConnectorOrientationArray object.

sectionAssignments

A SectionAssignmentArray object.

name

A String specifying the repository key.

id

An Int specifying the ID of the feature.

Inherited from Feature

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.

mergeNodes()

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.

redoMeshEdit()

This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an assembly.

undoMeshEdit()

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.

clearGeometryCache()

This method deletes the geometry cache.

deleteAllFeatures()

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.

featurelistInfo()

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:

getFacesAndVerticesOfAttachmentLines(edges)

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.

printAssignedSections()

This method prints a summary of assigned connector sections.

printConnectorOrientations()

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.

queryCachedStates()

This method displays the position of geometric states relative to the sequence of features in the assembly cache.

regenerate()

This method regenerates the assembly and brings it up to date with the latest values of the assembly parameters.

regenerationWarnings()

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.

resumeAllFeatures()

This method resumes all the suppressed features in the part or assembly.

resumeFeatures(featureNames)

This method resumes the specified suppressed features in the assembly.

resumeLastSetFeatures()

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.

saveGeometryCache()

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.

DatumAxisByRotation()

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.

DatumPlaneByOffset()

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.

isSuppressed()

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.

Parameters:
  • edge (str) ‚Äď A single MeshEdge object specifying the element edge to collapse.

  • collapseMethod (Literal[FORWARD, REVERSE, AVERAGE]) ‚Äď A SymbolicConstant specifying the method used to collapse the edge. Possible values are FORWARD, REVERSE, and AVERAGE.

combineElement(elements)[source]ÔÉĀ

This method combines two triangular elements of a part instance.

Parameters:

elements (tuple) ‚Äď A sequence of triangular MeshElement objects specifying the elements to combine.

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.

Parameters:
  • elements (Sequence[MeshElement]) ‚Äď A sequence of MeshElement objects or a Set object containing elements.

  • deleteUnreferencedNodes (Union[AbaqusBoolean, bool], default: 0) ‚Äď A Boolean specifying whether to delete all those associated nodes that become unreferenced after the given elements are deleted. The default value is OFF.

editNode(nodes, coordinate1=None, coordinate2=None, coordinate3=None, coordinates=(), offset1=None, offset2=None, offset3=None, localCsys=None, projectToGeometry=1)[source]ÔÉĀ

This method changes the coordinates of the given nodes on a part instance.

Parameters:
  • nodes (Sequence[MeshNode]) ‚Äď A sequence of MeshNode objects or a Set object containing nodes.

  • coordinate1 (Optional[float], default: None) ‚Äď A Float specifying the value of the first coordinate. If coordinate1 and offset1 are unspecified, the existing value does not change.

  • coordinate2 (Optional[float], default: None) ‚Äď A Float specifying the value of the second coordinate. If coordinate2 and offset2 are unspecified, the existing value does not change.

  • coordinate3 (Optional[float], default: None) ‚Äď A Float specifying the value of the third coordinate. If coordinate3 and offset3 are unspecified, the existing value does not change.

  • coordinates (Sequence[float], default: ()) ‚Äď 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 (Optional[float], default: None) ‚Äď A Float specifying an offset to apply to the value of the first coordinate of the specified nodes.

  • offset2 (Optional[float], default: None) ‚Äď A Float specifying an offset to apply to the value of the second coordinate of the specified nodes.

  • offset3 (Optional[float], default: None) ‚Äď A Float specifying an offset to apply to the value of the third coordinate of the specified nodes.

  • localCsys (Optional[DatumCsys], default: None) ‚Äď A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.

  • projectToGeometry (Union[AbaqusBoolean, bool], default: 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=abaqusConstants.OUTWARD, initialOffset=0.0, shareNodes=False, deleteBaseElements=False, constantThicknessCorners=False, extendElementSets=False)[source]ÔÉĀ

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 (Region) ‚Äď A Region object specifying the domain to be offset.

  • meshType (str) ‚Äď A Symbolic Constant specifying the type of mesh to be generated. Possible values are SOLID or SHELL.

  • totalThickness (float) ‚Äď A Float specifying the total thickness of the solid layers. This argument applies only when meshType = SOLID.

  • distanceBetweenLayers (float) ‚Äď A Float specifying the distance between shell layers. This argument applies only when meshType = SHELL.

  • numLayers (int) ‚Äď An Int specifying the number of element layers to be generated.

  • offsetDirection (str, default: 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 (float, default: 0.0) ‚Äď A Float specifying the magnitude of the initial offset. The default value is zero.

  • shareNodes (Union[AbaqusBoolean, bool], default: False) ‚Äď Boolean specifying whether the first layer of nodes should be shared with nodes on the base surface. The default value is False.

  • deleteBaseElements (Union[AbaqusBoolean, bool], default: 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 (Union[AbaqusBoolean, bool], default: False) ‚Äď A Boolean specifying whether to use element-based thickness or nodal-based thickness. The default value is False.

  • extendElementSets (Union[AbaqusBoolean, bool], default: 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)[source]ÔÉĀ
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 (Sequence[MeshNode]) ‚Äď A sequence of MeshNode objects to be projected.

  • projectionReference (str) ‚Äď 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.

splitElement(elements)[source]ÔÉĀ

This method splits quadrilateral elements into triangular elements.

Parameters:

elements (tuple) ‚Äď A sequence of quadrilateral MeshElement objects specifying the elements to split. Each quadrilateral element is split into two triangular elements by the shorter diagonal.

splitMeshEdge(edge, parameter=0)[source]ÔÉĀ

This method splits an edge of a quadrilateral or triangular element of a part instance.

Parameters:
  • edge (str) ‚Äď A single MeshEdge object specifying the element edge to split.

  • parameter (float, default: 0) ‚Äď A Float specifying the normalized distance along the edge at which to split. Possible values are 0.0 < parameter < 1.0. The default value is 0.5.

swapMeshEdge(edge)[source]ÔÉĀ

This method swaps the diagonal of two adjacent triangular elements of a part instance.

Parameters:

edge (str) ‚Äď A single MeshEdge object specifying the element edge to swap.

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)[source]ÔÉĀ
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

geometryValidity

A Boolean specifying the validity of the geometry of the part.

isOutOfDate

An Int specifying that feature parameters have been modified but that the part has not been regenerated.

timeStamp

A Float specifying when the part was last modified.

vertices

A VertexArray object specifying all the vertices in the part.

ignoredVertices

An IgnoredVertexArray object specifying all the ignored vertices in the part.

edges

An EdgeArray object specifying all the edges in the part.

ignoredEdges

An IgnoredEdgeArray object specifying all the ignored edges in the part.

faces

A FaceArray object specifying all the faces in the part.

cells

A CellArray object specifying all the cells in the part.

features

A repository of Feature objects specifying all the features in the part.

featuresById

A repository of Feature objects specifying all Feature objects in the part.

datums

A repository of Datum objects specifying all the datums in the part.

elements

A MeshElementArray object specifying all the elements in the part.

elemFaces

A repository of MeshFace objects specifying all the element faces in the part.

elementFaces

A MeshFaceArray object specifying all the unique element faces in the part.

nodes

A MeshNodeArray object specifying all the nodes in the part.

retainedNodes

A MeshNodeArray object specifying all the retained nodes in the substructure part.

sets

A repository of Set objects specifying for more information, see Set.

allSets

A repository of Set objects specifying the contents of the allSets repository is the same as the contents of the sets repository.

allInternalSets

A repository of Set objects specifying picked regions.

surfaces

A repository of Surface objects specifying for more information, see Surface.

allSurfaces

A repository of Surface objects specifying the contents of the allSurfaces repository is the same as the contents of the surfaces repository.

allInternalSurfaces

A repository of Surface objects specifying picked regions.

skins

A repository of Skin objects specifying the skins created on the part.

stringers

A repository of Stringer objects specifying the stringers created on the part.

referencePoints

A repository of ReferencePoint objects.

engineeringFeatures

An EngineeringFeature object.

sectionAssignments

A SectionAssignmentArray object.

materialOrientations

A MaterialOrientationArray object.

compositeLayups

A repository of CompositeLayup objects.

elemEdges

A repository of MeshEdge objects specifying all the element edges in the part.

elementEdges

A MeshEdgeArray object specifying all the unique element edges in the part.

Inherited from Feature

name

A String specifying the repository key.

id

An Int specifying the ID of the feature.

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.

convertSolidMeshToShell()

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.

mergeNodes()

orientElements(pickedElements, referenceRegion)

This method orients the stack direction of elements in a continuum shell or gasket mesh.

removeElementSize()

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.

redoMeshEdit()

This method executes the edit mesh or the bottom-up meshing operation most recently undone by the undoMeshEdit method on an part.

undoMeshEdit()

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.).

clearGeometryCache()

This method clears the geometry cache.

deleteAllFeatures()

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.

getAssociatedCADPaths()

This method returns the paths to the associated CAD part and root file.

getCADParameters()

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.

isAlignedWithSketch()

This method checks if the normal of an analytical rigid surface part is aligned with that of its sketch.

printAssignedSections()

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:

queryCachedStates()

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:

queryRegionsMissingSections()

This method returns all regions in the part that do not have a section assignment but require one for analysis.

queryDisjointPlyRegions()

This method provides a list of all composite plys in the current part which have disjoint regions.

regenerate()

This method regenerates a part.

regenerationWarnings()

This method prints any regeneration warnings associated with the features.

removeInvalidGeometry()

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.

resumeAllFeatures()

This method resumes all the suppressed features in the part.

resumeFeatures(featureNames)

This method resumes the specified suppressed features in the part.

resumeLastSetFeatures()

This method resumes the last set of features to be suppressed in the part.

saveGeometryCache()

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.

LockForUpgrade()

This method locks the part for upgrade.

Inherited from PartFeature

AutoRepair()

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.

ConvertToAnalytical()

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.

DatumAxisByRotation()

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.

DatumPlaneByOffset()

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.

isSuppressed()

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 (Sequence[Node]) ‚Äď A sequence of Node objects specifying the nodes towards which connected midside nodes will be biased.

  • parameter (float) ‚Äď 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)[source]ÔÉĀ

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.

Parameters:
  • mergeTolerance (float) ‚Äď 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 (Union[AbaqusBoolean, bool], default: 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 (str, default: '') ‚Äď 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 (str, default: '') ‚Äď 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 (Optional[float], default: None) ‚Äď A tuple of two or three Floats indicating a vector along which element edge lengths will be measured.

  • moveLayers (Union[AbaqusBoolean, bool], default: 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.

Parameters:
  • edge (str) ‚Äď A single MeshEdge object specifying the element edge to collapse.

  • collapseMethod (Literal[FORWARD, REVERSE, AVERAGE]) ‚Äď A SymbolicConstant specifying the method used to collapse the edge. Possible values are FORWARD, REVERSE, and AVERAGE.

combineElement(elements)[source]ÔÉĀ

This method combines two triangular elements of an orphan mesh part or an Abaqus native mesh.

Parameters:

elements (tuple) ‚Äď A sequence of triangular MeshElement objects specifying the elements to combine.

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.

Parameters:
  • elements (Sequence[MeshElement]) ‚Äď A sequence of MeshElement objects or a Set object containing elements.

  • deleteUnreferencedNodes (Union[AbaqusBoolean, bool], default: 0) ‚Äď A Boolean specifying whether to delete all those associated nodes that become unreferenced after the given elements are deleted. The default value is OFF.

deleteNode(nodes, deleteUnreferencedNodes=0)[source]ÔÉĀ

This method deletes the given nodes from an orphan mesh part.

Parameters:
  • nodes (Sequence[MeshNode]) ‚Äď A sequence of MeshNode objects or a Set object containing nodes.

  • deleteUnreferencedNodes (Union[AbaqusBoolean, bool], default: 0) ‚Äď A Boolean specifying whether to delete all those associated nodes that become unreferenced after the given nodes and the connected elements are deleted. The default value is OFF.

editNode(nodes, coordinate1=None, coordinate2=None, coordinate3=None, coordinates=(), offset1=None, offset2=None, offset3=None, localCsys=None, projectToGeometry=1)[source]ÔÉĀ

This method changes the coordinates of the given nodes on an orphan mesh part or on an Abaqus native mesh.

Parameters:
  • nodes (Sequence[MeshNode]) ‚Äď A sequence of MeshNode objects or a Set object containing nodes.

  • coordinate1 (Optional[float], default: None) ‚Äď A Float specifying the value of the first coordinate. If coordinate1 and offset1 are unspecified, the existing value does not change.

  • coordinate2 (Optional[float], default: None) ‚Äď A Float specifying the value of the second coordinate. If coordinate2 and offset2 are unspecified, the existing value does not change.

  • coordinate3 (Optional[float], default: None) ‚Äď A Float specifying the value of the third coordinate. If coordinate3 and offset3 are unspecified, the existing value does not change.

  • coordinates (Sequence[float], default: ()) ‚Äď 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 (Optional[float], default: None) ‚Äď A Float specifying an offset to apply to the value of the first coordinate of the specified nodes.

  • offset2 (Optional[float], default: None) ‚Äď A Float specifying an offset to apply to the value of the second coordinate of the specified nodes.

  • offset3 (Optional[float], default: None) ‚Äď A Float specifying an offset to apply to the value of the third coordinate of the specified nodes.

  • localCsys (Optional[DatumCsys], default: None) ‚Äď A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.

  • projectToGeometry (Union[AbaqusBoolean, bool], default: 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.

Parameters:

elemShape (Optional[SymbolicConstant], default: 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.

generateMeshByOffset(region, meshType, totalThickness, distanceBetweenLayers, numLayers, offsetDirection=abaqusConstants.OUTWARD, initialOffset=0.0, shareNodes=False, deleteBaseElements=False, constantThicknessCorners=False, extendElementSets=False)[source]ÔÉĀ

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 (Region) ‚Äď A Region object specifying the domain to be offset.

  • meshType (str) ‚Äď A Symbolic Constant specifying the type of mesh to be generated. Possible values are SOLID or SHELL.

  • totalThickness (float) ‚Äď A Float specifying the total thickness of the solid layers. This argument applies only when meshType = SOLID.

  • distanceBetweenLayers (float) ‚Äď A Float specifying the distance between shell layers. This argument applies only when meshType = SHELL.

  • numLayers (int) ‚Äď An Int specifying the number of element layers to be generated.

  • offsetDirection (str, default: 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 (float, default: 0.0) ‚Äď A Float specifying the magnitude of the initial offset. The default value is zero.

  • shareNodes (Union[AbaqusBoolean, bool], default: False) ‚Äď Boolean specifying whether the first layer of nodes should be shared with nodes on the base surface. The default value is False.

  • deleteBaseElements (Union[AbaqusBoolean, bool], default: 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 (Union[AbaqusBoolean, bool], default: False) ‚Äď A Boolean specifying whether to use element-based thickness or nodal-based thickness. The default value is False.

  • extendElementSets (Union[AbaqusBoolean, bool], default: 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.

Parameters:
  • edge (str) ‚Äď 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 (str) ‚Äď 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)[source]ÔÉĀ
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.

Parameters:
  • pickedElements (Sequence[MeshElement]) ‚Äď A sequence of MeshElement objects specifying the elements to orient.

  • referenceRegion (MeshFace) ‚Äď A MeshFace object specifying a reference top face that indicates the desired orientation.

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.

Parameters:
  • nodes (Sequence[MeshNode]) ‚Äď A sequence of MeshNode objects to be projected.

  • projectionReference (str) ‚Äď 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.

removeElementSize()[source]ÔÉĀ

This method removes the global element size from an orphan mesh part.

renumberElement(elements=(), startLabel=None, increment=None, offset=None, labels='')[source]ÔÉĀ

This method assigns new labels to orphan mesh elements.

Parameters:
  • elements (tuple, default: ()) ‚Äď 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 (Optional[int], default: None) ‚Äď A positive Int specifying the new label for the first element in elements.

  • increment (Optional[int], default: None) ‚Äď A positive Int specifying the increment used for computation of new labels for all consecutive elements in elements.

  • offset (Optional[int], default: None) ‚Äď An Int by which existing labels of the specified elements will be offset.

  • labels (str, default: '') ‚Äď A list of labels for the specified elements. The length of this list must match the number of specified 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='')[source]ÔÉĀ

This method assigns new labels to orphan mesh nodes.

Parameters:
  • nodes (tuple, default: ()) ‚Äď 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 (Optional[int], default: None) ‚Äď A positive Int specifying the new label for the first node in nodes.

  • increment (Optional[int], default: None) ‚Äď A positive Int specifying the increment used for computation of new labels for all consecutive nodes in nodes.

  • offset (Optional[int], default: None) ‚Äď An Int by which existing labels of the specified nodes will be offset.

  • labels (str, default: '') ‚Äď A list of labels for the specified nodes. The length of this list must match the number of specified 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.

Parameters:

size (float) ‚Äď A Float specifying the desired element size.

splitElement(elements)[source]ÔÉĀ

This method splits quadrilateral elements of an orphan mesh part or a Abaqus native mesh into triangular elements.

Parameters:

elements (tuple) ‚Äď A sequence of quadrilateral MeshElement objects specifying the elements to split. Each quadrilateral element is split into two triangular elements by the shorter diagonal.

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.

Parameters:
  • edge (str) ‚Äď A single MeshEdge object specifying the element edge to split.

  • parameter (float, default: 0) ‚Äď A Float specifying the normalized distance along edge at which to split. Possible values are 0.0 < parameter < 1.0. The default value is 0.5.

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 (str, default: '') ‚Äď 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 (int, default: 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 (Optional[MeshFace], default: 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 (Optional[MeshEdge], default: 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.

swapMeshEdge(edge)[source]ÔÉĀ

This method swaps the diagonal of two adjacent triangular elements of an orphan mesh part or an Abaqus native mesh.

Parameters:

edge (str) ‚Äď A single MeshEdge object specifying the element edge to swap.

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.

wrapMesh(radius)[source]ÔÉĀ

This method wraps a planar orphan mesh part about the Z axis.

Parameters:

radius (float) ‚Äď A Float specifying the radius of the cylinder about which the part is to be wrapped. The wrapping procedure will relocate a node at point (xx, yy) on the planar mesh to (x,őł,zx,őł,z), where rr is the specified radius, őłőł = xrxr, and zz=yy.

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

Member Details:

setValues(maxUndoCacheElements=0, enableUndo=0, _suspendUndo=0)[source]ÔÉĀ

This method modifies the MeshEditOptions object.

Parameters:
  • maxUndoCacheElements (float, default: 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 (Union[AbaqusBoolean, bool], default: 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 (Union[AbaqusBoolean, bool], default: 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.

class Node(coordinates, localCsys=None, label=None)[source]ÔÉĀ

Bases: MeshNode

This method creates a node on an orphan mesh part.

Note

This function can be accessed by:

mdb.models[name].parts[name].Node
Parameters:
  • coordinates (tuple[float, float, float]) ‚Äď A sequence of three Floats specifying the coordinates of the new node.

  • localCsys (Optional[DatumCsys], default: None) ‚Äď A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.

  • label (Optional[int], default: None) ‚Äď An Int specifying the node label.

Returns:

node ‚Äď A MeshNode object

Return type:

MeshNode

Member Details: