Skip to content

Using Rigid Body Data Compression in *DATABASE_EXTENT_BINARY leads to error #71

@TypoSpotter

Description

@TypoSpotter

Dyna card *DATABASE_EXTENT_BINARY allows rigid body data compression with the DCOMP flag. Setting DCOMP to anything other than 1 or 3 leads to some kind of error relating to ID arrays and binary buffers.

🔢 To Reproduce
Run a Dyna job with *DATABASE_EXTENT_BINARY DCOMP set to 2, 4, 5 or 6
Read the D3PLOT and try to process it

📷 Screenshots
Error messages below (my username changed to "x")
WARNING:lasso.dyna.d3plot:ID section: The computed word count does not match the header word count: 128745 != 99515. The ID arrays might contain errors.
Traceback (most recent call last):
File "C:\Users\x\AppData\Local\Temp\ONF895~1\runmain.py", line 149, in
File "C:\Users\x\AppData\Local\Temp\ONF895~1\vortex\main_functions.py", line 1743, in run_main
File "C:\Users\x\AppData\Local\Temp\ONF895~1\vortex\main_functions.py", line 181, in weight_IEDs
File "C:\Users\x\AppData\Local\Temp\ONF895~1\lasso\dyna\d3plot.py", line 1555, in init
File "C:\Users\x\AppData\Local\Temp\ONF895~1\lasso\dyna\d3plot.py", line 2062, in _parse_geometry
File "C:\Users\x\AppData\Local\Temp\ONF895~1\lasso\dyna\d3plot.py", line 2724, in _read_rigid_body_description
File "C:\Users\x\AppData\Local\Temp\ONF895~1\lasso\io\binary_buffer.py", line 132, in read_number
ValueError: offset must be non-negative and no greater than buffer length (2250752)

🖥️ Setup

  • lasso-python version: not sure - it is software using lasso, for which I am not the developer
  • OS: Windows 10 Pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions