Skip to content

Instantly share code, notes, and snippets.

GridPointWeight: reference_point=0
mass=[ 0.000144 0.000264 0.000316271]
cg =[ 0 -0 0]
[ 96.081 0 -0]
[ 153.227 0 0]
IS =[ 0 -0 0]
[ -0 0.245943 0]
[ 0 0 0.62716]
import os
import copy
import numpy as np
np.set_printoptions(precision=2, threshold=20, suppress=True)
import pyNastran
pkg_path = pyNastran.path[0]
from pyNastran.utils import print_bad_path
from pyNastran.op2.op2 import read_op2
0 -0.051892115
0.195312 -0.052221687
0.390625 0.008742131
0.585938 -0.027739717
0.78125 -0.00566187
0.976562 0.090137523
1.17188 0.198839798
1.36719 0.114642839
1.5625 0.166187287
1.75781 0.2656098