Skip to main content

ODB2VTK converter

Project description

odb2vtk

A python wrapper package for the ODB2VTK library.

Installation

pip install odb2vtk

Usage

Use the odb2vtk command to convert an ODB file to a VTK file.

$ odb2vtk --help

usage: odb2vtk.py [-h] [--header HEADER] [--instance [INSTANCE [INSTANCE ...]]]
                  [--step [STEP [STEP ...]]] [--writeHistory WRITEHISTORY]
                  --odbFile ODBFILE [--writePVD WRITEPVD] [--suffix SUFFIX]

optional arguments:
  -h, --help            show this help message and exit
  --header HEADER       if 1, extract header information and generate a .json
                        file. Otherwise, generate .vtu file. By default 0
  --instance [INSTANCE [INSTANCE ...]]
                        selected instance names which are separated by
                        whitespace, e.g. 'instanceName1' 'instanceName2'
  --step [STEP [STEP ...]]
                        selected step names and frames which are separated by
                        whitespace, e.g., 'step1:1,2,3' 'step2:2,3,4'. The
                        frames can be any valid Python expression that can be
                        evaluated to an integer iterable, e.g., 'range(1, 10)'
  --writeHistory WRITEHISTORY
                        if 1, write history output.
  --odbFile ODBFILE     selected odb file (full path name)
  --writePVD WRITEPVD   if 1 write a pvd file
  --suffix SUFFIX       string appended to the file

Use the odb2vtk-multiprocess command for the multiprocessing version.

$ odb2vtk-multiprocess --help

usage: odb2vtk-multiprocess [-h] [--header HEADER] [--instance [INSTANCE ...]]
                            [--step [STEP ...]] [--writeHistory WRITEHISTORY]
                            --odbFile ODBFILE [--suffix SUFFIX]

options:
  -h, --help            show this help message and exit
  --header HEADER       if 1, extract header information and generate a .json
                        file. Otherwise, generate .vtu file. By default 0
  --instance [INSTANCE ...]
                        selected instance names which are separated by
                        whitespace, e.g. 'instanceName1' 'instanceName2'
  --step [STEP ...]     selected step names and frames which are separated by
                        whitespace, e.g., 'step1:1,2,3' 'step2:2,3,4'. The
                        frames can be any valid Python expression that can be
                        evaluated to an integer iterable, e.g., 'range(1, 10)'
  --writeHistory WRITEHISTORY
                        if 1, write history output.
  --odbFile ODBFILE     selected odb file (full path name)
  --suffix SUFFIX       string appended to the file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odb2vtk-1.0.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

odb2vtk-1.0.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file odb2vtk-1.0.0.tar.gz.

File metadata

  • Download URL: odb2vtk-1.0.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.6

File hashes

Hashes for odb2vtk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a3a4701996cc287732abd532f97200e26a65f3fea78856a1d58cbb035dc19904
MD5 574ce28133ae020a0f1bc5aed4c296ed
BLAKE2b-256 ce319c237f929d6dc892f656fd0da716a79c7a59751c34cb5b0e986afb800174

See more details on using hashes here.

File details

Details for the file odb2vtk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: odb2vtk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.6

File hashes

Hashes for odb2vtk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a123b96f575f945bbcb1a730e07fbccce6d9935250a4e182ad14939d18cb901b
MD5 e2a739c096fab63c79eb83b28b11fd0f
BLAKE2b-256 b0a89907ae47671b1ec7a2370ef8a612ce4cc4fc36e22bdc6efd20628b5325a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page