Closed shengqingke closed 1 year ago
That function has been removed in favor of pyNastran/converters/nastran/nastran_to_vtk
It takes in an op2 with geometry. The op2 is expected to have a version listed in the binary, which I would assume unless you're throwing special flags (e.g., PARAM,POST,-2 in MSC/NX), it does.
On Mon, Jun 19, 2023 at 3:32 AM shengqingke @.***> wrote:
Hello, I am using export_to_vtk.py, could you add the mode judgment to the instantiation of BDF in the function export_to_vtk_filename?For example, for optistruct files, you should pass parameter mode="optistruct", otherwise the subsequent map_version function is meaningless. And that default mode value is "msc", and subsequent code will be failed.
— Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/issues/735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUWIDZZPNQJPMXL6HBMDXMATEFANCNFSM6AAAAAAZLXRV5Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>
thanks for your reply, i will try this function.
---- Replied Message ---- | From | Steven @.> | | Date | 06/19/2023 23:00 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [SteveDoyle2/pyNastran] export_to_vtk (Issue #735) |
That function has been removed in favor of pyNastran/converters/nastran/nastran_to_vtk
It takes in an op2 with geometry. The op2 is expected to have a version listed in the binary, which I would assume unless you're throwing special flags (e.g., PARAM,POST,-2 in MSC/NX), it does.
On Mon, Jun 19, 2023 at 3:32 AM shengqingke @.***> wrote:
Hello, I am using export_to_vtk.py, could you add the mode judgment to the instantiation of BDF in the function export_to_vtk_filename?For example, for optistruct files, you should pass parameter mode="optistruct", otherwise the subsequent map_version function is meaningless. And that default mode value is "msc", and subsequent code will be failed.
— Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/issues/735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUWIDZZPNQJPMXL6HBMDXMATEFANCNFSM6AAAAAAZLXRV5Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hello, I am using export_to_vtk.py, could you add the mode judgment to the instantiation of BDF in the function export_to_vtk_filename?For example, for optistruct files, you should pass parameter mode="optistruct", otherwise the subsequent map_version function is meaningless. And that default mode value is "msc", and subsequent code will be failed.