当前位置:服务支持 >  软件文章 >  Abaqus Python脚本开发第三章:方法对象变量(3)

Abaqus Python脚本开发第三章:方法对象变量(3)

阅读数 7
点赞 0
article_banner

3.3.1 DatumPlaneByOffset(...)
Abaqus python脚本开发 第三章 各类指令的方法对象变量 (3)的图1

This method creates a Feature object and a DatumPlane object offset by a specified distance from an existing plane.

Path

mdb.models[name].rootAssembly.DatumPlaneByOffset
mdb.models[name].parts[name].DatumPlaneByOffset

Required arguments

plane

A planar Face, an ElementFace, or a Datum object representing a datum plane.

flip

A SymbolicConstant specifying whether the normal should be flipped. Possible values are SIDE1 and SIDE2.

offset

A Float specifying the offset from the plane.

Optional arguments

None.

Return value

A Feature object.

Exceptions

AbaqusException.

def Datum_Plane_by_Offset(mdbname,My_plane,My_distance):  
    a = mdb.models[mdbname].rootAssembly  
    dp=a.DatumPlaneByOffset(plane=My_plane,flip=SIDE1,offset=My_distance)  
    id_plane=dp.id  
    return id_plane

3.2.2 DatumPlaneByTwoPoint(...)
Abaqus python脚本开发 第三章 各类指令的方法对象变量 (3)的图2

This method creates a Feature object and a DatumPlane object midway between two points and normal to the line connecting the points.

Path

mdb.models[name].rootAssembly.DatumPlaneByTwoPoint
mdb.models[name].parts[name].DatumPlaneByTwoPoint

Required arguments

point1

A Vertex, an InterestingPoint, a MeshNode, or a Datum object representing a datum point.

point2

A Vertex, an InterestingPoint, a MeshNode, or a Datum object representing a datum point.

Optional arguments

None.

Return value

A Feature object.

Exceptions

AbaqusException.

Script:

def Datumplane_by_Twopoints(mdbname,My_instance,My_vertices_id1,My_vertices_id2):  
    a = mdb.models[mdbname].rootAssembly  
    v1 = a.instances[My_instance].vertices  
    dp1=a.DatumPlaneByTwoPoint(point1=v1[My_vertices_id1], point2=v1[My_vertices_id2])  
    id_plane=dp1.id  
    return id_plane

3.2.3 DatumPlaneByThreePoints(...)
Abaqus python脚本开发 第三章 各类指令的方法对象变量 (3)的图3

This method creates a Feature object and a DatumPlane object defined by passing through three points.

Path

mdb.models[name].rootAssembly.DatumPlaneByThreePoints
mdb.models[name].parts[name].DatumPlaneByThreePoints

Required arguments

point1

A Vertex, an InterestingPoint, a MeshNode, or a Datum object representing a datum point.

point2

A Vertex, an InterestingPoint, a MeshNode, or a Datum object representing a datum point.

point3

A Vertex, an InterestingPoint, a MeshNode, or a Datum object representing a datum point.

Optional arguments

None.

Return value

A Feature object.

Exceptions

AbaqusException.

Script:

def Datumplane_by_Threepoints(mdbname,My_point1,My_point2,My_point3):  
    a=mdb.models[mdbname].rootAssembly  
    dp=a.DatumPlaneByThreePoints(point1=My_point1,point2=My_point2,point3=My_point3)  
    id_plane=dp.id  
    return id_plane

3.2.4 DatumPlaneByLinePoint(...)
Abaqus python脚本开发 第三章 各类指令的方法对象变量 (3)的图4

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.

Path

mdb.models[name].rootAssembly.DatumPlaneByLinePoint
mdb.models[name].parts[name].DatumPlaneByLinePoint

Required arguments

line

A straight Edge, an ElementEdge, or a Datum object representing a datum axis.

point

A Vertex, an InterestingPoint, a MeshNode, or a Datum object representing a datum point.

Optional arguments

None.

Return value

A Feature object.

Exceptions

AbaqusException.

Script:

欢迎收藏转发,感谢!

Abaqus Python脚本开发持续更新中

微信公众号:山石结构

Bilibili:happyleo7



免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删
相关文章
QR Code
微信扫一扫,欢迎咨询~

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 155-2731-8020
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

手机不正确

公司不为空