ANYstructure

Offshore Steel structure calculation tool with automatic optimization and report generation.
https://github.com/audunarn/ANYstructure

Category: Renewable Energy
Sub Category: Wind Energy

Keywords

analysis-framework beam-section buckling cylinders design-of-offshore-steel-structures dnv-os-c101 dnvgl-os-c101 dnvgl-rp-c201 dnvgl-rp-c203 fatigue-analysis girder gui-based naval-architecture optimization-tools plate-thickness plates structural-engineering

Last synced: about 11 hours ago
JSON representation

Repository metadata

ANYstructure is the ultimate steel structure design tool for plate fields and cylinders. Weight optimization for all structures with machine learning capabilities. Calculations are based on DNV standards and rules.

README.md

ANYstructure logo

ANYstructure

ANYstructure is a desktop steel-structure design application for plate fields
and cylinders. It combines DNV-based rule calculations with structural
modelling, load definition, reporting, and weight, weld, and cost optimization.

Core structural design

The original ANYstructure workflow remains the primary way to model and assess
a structure. It supports:

  • minimum plate thickness, stiffener section modulus, and shear-area checks
    based on DNV-OS-C101;
  • plate buckling based on DNV-RP-C201 and shell buckling based on DNV-RP-C202;
  • fatigue assessment of plate and stiffener connections based on DNV-RP-C203;
  • semi-analytical buckling through ANYbuckling and machine-learning buckling
    predictions based on PULS data;
  • automatic compartment and tank-pressure generation, plus equation-defined
    external pressures;
  • single and multiple plate/stiffener-field optimization, cylinder
    optimization, and double-bottom geometry optimization; and
  • weight, weld, cost, report, spreadsheet, and 3D shell-model workflows.

Projects can be created and edited graphically, saved for later work, and used
to compare structural alternatives. The example below can be opened from
anystruct/ship_section_example.txt.

ANYstructure structural model

Documentation: https://anystructure.readthedocs.io/en/latest/

Tutorials: https://www.youtube.com/@ANYopenSoft

Current release: 6.4.1

Version 6.4.1 keeps the established structural calculation and optimization
workflow at the front of the application while adding the integrated finite-
element workflow described below. The coordinated release uses ANYfileio 0.3.2,
ANYgeometry 0.4.3, ANYmaterial 0.2, ANYmesher 0.4 through 0.5, and ANYsolver
0.4.6 without artificial package downgrades.

Project-owned source code is distributed under the Mozilla Public License 2.0
starting with version 6.4.0. Earlier releases retain the license terms that
accompanied them.

Finite-element integration

The optional FE workflow requires ANYsolver>=0.4.6,<0.5. Axial force,
bending moment, shear force, torsional moment, pressure, and supported
collision controls are mapped directly to the external solver runtime.
Current-area follower pressure is available for nonlinear static and
arc-length runs on the Static only or Nonlinear static path. Incompatible
analysis paths are disabled in the GUI and rejected by the solver.

Arc-length runs retain the selected von Karman or corotational kinematics, and
nonlinear prestress/buckling recovery retains committed-state provenance.
Solver errors and unsupported configurations remain visible; the GUI does not
replace them with a lightweight estimate. Analysis choices are normalized by
ANYsolver's public resolve_runtime_analysis() contract.

ANYsolver 0.4.1 repairs qualified-Q4 final-state replay after plastic
increments. ANYstructure preserves the qualified Q4 formulation throughout
material-nonlinear runs; explicit legacy selection remains available to users.

ANYsolver's native B3-GE workflow is exposed through ANYstructure's versioned
beam-runtime API with the exact b3-ge selector. It is an explicit opt-in:
omitted selections and projects saved before the selector existed continue to
use the established quadratic B3 element, and an incomplete B3-GE request
fails instead of falling back or changing the model silently.

Model, mesh, and result views support live Automatic, ModernGL GPU, and Tk
software renderer selection. The current scene and camera are retained during
a renderer change, and a failed explicit GPU switch leaves the working viewer
intact. Raised horizontal and vertical dividers allow the input, model, result
text, and visualization panes to be resized.

Material controls are backed by ANYmaterial. The Interfaces menu opens
ANYmesher and the ANYfileio inspector in the existing Tk event loop.
Orthotropic selections are rejected until the legacy scalar material controls
can represent their directional properties without loss.

Install and run

Install the published package and start the desktop application:

python -m pip install --upgrade ANYstructure
ANYstructure

From a source checkout, use the active Python environment:

python run_gui.py

The default install includes Excel and machine-learning dependencies for
backwards compatibility. Focused dependency groups are available as the
core, excel, ml, dev, and all extras, and as requirement files:

python -m pip install -r requirements-core.txt
python -m pip install -r requirements-ml.txt
python -m pip install -r requirements-excel.txt

Excel project import requires a local Excel installation and is not exercised
by basic automated tests. The external Excel-sheet DNV PULS calculation
workflow has been removed; ML-CL remains available.

Coordinated development setup

ANYstructure is published as the Python package anystruct. For a sibling
checkout layout, install each editable project into one environment in
dependency order:

python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install --upgrade --no-deps -e "C:\Github\ANY3dView[gpu]" -e "C:\Github\ANYmaterial" -e "C:\Github\ANYgeometry" -e "C:\Github\ANYmesh" -e "C:\Github\ANYfileIO" -e "C:\Github\ANYsolver" -e "C:\Github\ANYbuckling" -e "C:\Github\ANYtk3D" -e "C:\Github\ANYstructure"
python -m pip install -r requirements-dev.txt
python -m pytest

The default command runs the fast compatibility suite. Run the focused tiers
explicitly when changing their owning code:

python -m pytest -m "fem_integration and not slow"
python -m pytest -m release_authority
python -m pytest -m slow

The slow tier contains nonlinear, collision, transient, mode-imperfection, and
large external-format qualification and is intentionally opt-in during
ordinary development.

Windows PyInstaller bundle

Build the standalone Windows directory and versioned ZIP with Python 3.14:

powershell -ExecutionPolicy Bypass -File tools\build_pyinstaller.ps1

The script builds dist\ANYstructure\ANYstructure.exe, runs its
headless packaged self-test, and writes the ZIP and matching .sha256 file to
dist.

--no-deps refreshes editable metadata without forcing pip to resolve stale
transitive upper bounds from older sibling releases. run_gui.py reports the
exact repair command for its active interpreter when selected source and
installed metadata do not agree.

The coordinated compatibility ranges are:

  • ANY3dView>=0.5.5,<0.6 (ANYstructure[gpu] adds ModernGL)
  • ANYbuckling>=0.1.1,<0.2
  • ANYfileio>=0.3.2,<0.4
  • ANYgeometry>=0.4.3,<0.5
  • ANYmaterial>=0.2.0,<0.3
  • ANYmesher>=0.4.0,<0.6
  • ANYsolver>=0.4.6,<0.5
  • ANYtk3D>=0.5.5,<0.6

To select a particular checkout, set the corresponding
ANYSTRUCTURE_ANY3DVIEW_ROOT, ANYSTRUCTURE_ANYTK3D_ROOT,
ANYSTRUCTURE_ANYBUCKLING_ROOT, ANYSTRUCTURE_ANYFILEIO_ROOT,
ANYSTRUCTURE_ANYGEOMETRY_ROOT, ANYSTRUCTURE_ANYMATERIAL_ROOT,
ANYSTRUCTURE_ANYMESHER_ROOT, or ANYSTRUCTURE_ANYSOLVER_ROOT environment
variable. Invalid explicit roots fail before application imports.

ANYgeometry owns neutral surface geometry. New geometry code should call
anygeometry.generators directly. The anystruct.geometry_generators and
anystruct.representation_geometry modules retain adapters for established
ANYstructure integrations. Structural properties, loads, mesh controls, and
solver state remain in their owning packages.

License and contributions

Project-owned source code in release 6.4.0 and later is licensed under the
Mozilla Public License 2.0.
Original project documentation is licensed under
CC BY 4.0.
Third-party software, models, figures, standards material, and other
attributed content retain their own terms; see the
third-party notices.
Project branding is covered by the
trademark policy.

Contributions and bug reports are welcome through GitHub. General feedback can
also be sent to audunarn@gmail.com.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 1,106
Total Committers: 5
Avg Commits per committer: 221.2
Development Distribution Score (DDS): 0.013

Commits in past year: 294
Committers in past year: 1
Avg Commits per committer in past year: 294.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Audun Arnesen Nyhus a****n@g****m 1092
theScriptingEngineer h****o@t****r 6
root q****3 6
Ruben de Bruin 3****n 1
Lewi Uberg 4****g 1

Issue and Pull Request metadata

Last synced: 3 days ago

Total issues: 29
Total pull requests: 186
Average time to close issues: over 1 year
Average time to close pull requests: about 4 hours
Total issue authors: 7
Total pull request authors: 4
Average comments per issue: 2.31
Average comments per pull request: 0.03
Merged pull request: 183
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 80
Past year average time to close issues: N/A
Past year average time to close pull requests: about 7 hours
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 78
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/audunarn/ANYstructure

Top Issue Authors

  • audunarn (17)
  • theScriptingEngineer (7)
  • giannikosk (1)
  • mariustk (1)
  • lewiuberg (1)
  • RubendeBruin (1)
  • mohamedelbadry (1)

Top Pull Request Authors

  • audunarn (182)
  • theScriptingEngineer (2)
  • lewiuberg (1)
  • RubendeBruin (1)

Top Issue Labels

  • enhancement (10)
  • bug (5)
  • help wanted (3)
  • good first issue (1)

Top Pull Request Labels

  • codex (4)

Package metadata

pypi.org: anystructure

A plate field optimization tool for offshore structures calculated according to DNV standards

  • Homepage: https://github.com/audunarn/ANYstructure
  • Documentation: https://anystructure.readthedocs.io/
  • Licenses: MPL-2.0
  • Latest release: 6.4.1 (published 2 months ago)
  • Last Synced: 2026-11-17T17:33:52.987Z (1 day ago)
  • Versions: 135
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 259 Last month
  • Rankings:
    • Dependent packages count: 7.31%
    • Forks count: 9.607%
    • Stargazers count: 10.79%
    • Average: 12.916%
    • Downloads: 14.785%
    • Dependent repos count: 22.088%
  • Maintainers (1)

Dependencies

requirements.txt pypi
  • matplotlib *
  • numpy *
  • reportlab *
  • scipy *
  • sklearn *
  • xlwings *
setup.py pypi
  • matplotlib *
  • numpy *
  • reportlab *
  • scipy *
  • sklearn *
  • xlwings *
docs/requirements.txt pypi
  • anystructure *
  • autodocsumm *
  • sphinx-autoapi *
  • sphinx-rtd-theme *
.github/workflows/publish.yml actions
  • actions/checkout d23441a48e516b6c34aea4fa41551a30e30af803 composite
  • actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 composite
  • actions/setup-python ece7cb06caefa5fff74198d8649806c4678c61a1 composite
  • actions/setup-python 5fda3b95a4ea91299a34e894583c3862153e4b97 composite
  • actions/upload-artifact 330a01c490aca151604b8cf639adc76d48f6c5d4 composite
  • pypa/gh-action-pypi-publish dc37677b2e1c63e2034f94d8a5b11f265b73ba33 composite
.github/workflows/tests.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
requirements-ml.txt pypi
  • scikit-learn *
pyproject.toml pypi
requirements-core.txt pypi
  • ANYbuckling >=0.1,<0.2
  • ANYfileio >=0.1,<0.2
  • ANYgeometry >=0.1,<0.2
  • ANYmaterial >=0.1,<0.2
  • ANYmesher >=0.1,<0.2
  • ANYsolver >=0.2,<0.3
  • ANYtk3D >=0.2,<0.3
  • Pillow *
  • matplotlib *
  • meshio *
  • numpy *
  • numpy-stl *
  • reportlab *
  • scipy *
requirements-dev.txt pypi
  • build * development
  • pytest * development
requirements-excel.txt pypi
  • xlwings *
ANYstructure.spec rpm

Score: 11.491446433293104