Skip to main content

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

Metadata

Release files for odb2vtk 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odb2vtk 1.0.0
File Size Uploaded
odb2vtk-1.0.0.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for odb2vtk 1.0.0
File Interpreter ABI Platform
odb2vtk-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.8 kB

Release files / odb2vtk-1.0.0.tar.gz

Download URL odb2vtk-1.0.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a3a4701996cc287732abd532f97200e26a65f3fea78856a1d58cbb035dc19904
BLAKE2b-256 checksum
How to use checksums
ce319c237f929d6dc892f656fd0da716a79c7a59751c34cb5b0e986afb800174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release files / odb2vtk-1.0.0-py3-none-any.whl

Download URL odb2vtk-1.0.0-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a123b96f575f945bbcb1a730e07fbccce6d9935250a4e182ad14939d18cb901b
BLAKE2b-256 checksum
How to use checksums
b0a89907ae47671b1ec7a2370ef8a612ce4cc4fc36e22bdc6efd20628b5325a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page