由基准点创建的行分区(abaqus python脚本)

问题描述 投票:0回答:1

[在Python脚本中,我试图用必须使用零件表面上先前创建的基准点(而不是按点的坐标)构建的线对曲面进行分区。这是代码示例:

s = m.ConstrainedSketch(gridSpacing=2.2, name='__profile__', sheetSize=88.27, transform=p.MakeSketchTransform(sketchPlane=p.faces[0], sketchPlaneSide=SIDE1, sketchUpEdge=p.edges[1], sketchOrientation=RIGHT, origin=(0.0, 0.0, 0.0)))
p.projectReferencesOntoSketch(filter=COPLANAR_EDGES, sketch=s)
s.Line(point1=p.datums[43], point2=p.datums[44])
p.PartitionFaceBySketch(faces=p.faces[0:1]+p.faces[0:1], sketch=s, sketchUpEdge=p.edges[1])
del s

但收到错误:“找到了DatumPoint,需要元组”。请帮助

python abaqus
1个回答
0
投票

问题的简单解决方案:应使用pointOn指定的基准位置(坐标)。很抱歉给您打扰。有一个好的。

© www.soinside.com 2019 - 2024. All rights reserved.