本文整理汇总了Python中pyNastran.bdf.dev_vectorized.bdf.BDF.disable_cards方法的典型用法代码示例。如果您正苦于以下问题:Python BDF.disable_cards方法的具体用法?Python BDF.disable_cards怎么用?Python BDF.disable_cards使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pyNastran.bdf.dev_vectorized.bdf.BDF
的用法示例。
在下文中一共展示了BDF.disable_cards方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: bdf_renumber
# 需要导入模块: from pyNastran.bdf.dev_vectorized.bdf import BDF [as 别名]
# 或者: from pyNastran.bdf.dev_vectorized.bdf.BDF import disable_cards [as 别名]
#.........这里部分代码省略.........
elif key == 'suport_id':
suport_id = int(value)
elif key == 'suport1_id':
suport1_id = int(value)
elif key == 'tf_id':
tf_id = int(value)
else:
raise NotImplementedError('key=%r' % key)
# build the maps
#eid_map = {}
#nid_map = {}
#reverse_nid_map = {}
#pid_map = {}
#mid_map = {}
#mpc_map = {}
#spc_map = {}
dload_map = {}
load_map = {}
cmethod_map = {}
method_map = {}
#flfact_map = {}
#flutter_map = {}
#aefact_map = {}
#freq_map = {}
tstep_map = {}
tstepnl_map = {}
suport_map = {}
suport1_map = {}
if isinstance(bdf_filename, string_types):
model = BDF(debug=False)
model.disable_cards(cards_to_skip)
model.read_bdf(bdf_filename)
else:
model = bdf_filename
elements = [
model.celas1,
model.celas2,
model.celas3,
model.celas4,
#model.cdamp1,
#model.cdamp2,
#model.cdamp3,
#model.cdamp4,
model.conrod,
model.crod,
model.ctube,
model.cbar,
model.cbeam,
model.cshear,
model.cquad4,
model.ctria3,
model.cquad8,
model.ctria6,
#model.ctriax,
model.ctriax6,
model.ctetra4, model.ctetra10,
model.cpenta6, model.cpenta15,
#model.cpyram5, model.cpyram13,
model.chexa8, model.chexa20,
]
props = [