pyyeti.nastran.bulk.wtspoints¶
- pyyeti.nastran.bulk.wtspoints(f, spoints)[source]¶
Writes Nastran SPOINT cards to a file.
- fstring or file_like or 1 or None
Either a name of a file, or is a file_like object as returned by
open()orio.StringIO. Input as integer 1 to write to stdout. Can also be the name of a directory or None; in these cases, a GUI is opened for file selection.- spoints1d array_like
Vector of SPOINT IDs.
Notes
Where possible, THRU statements will be used.
Examples
>>> import numpy as np >>> from pyyeti import nastran >>> spoints = [1001, 1002, 1003] >>> nastran.wtspoints(1, spoints) SPOINT 1001THRU 1003