Skip to main content

Assembly for Design & Analysis - A toolkit for structural analysis and design

Project description

ADA - Assembly for Design & Analysis

A toolkit for structural analysis and design that focus on IFC and various Finite Element formats.

Installation

Here are the steps necessary to install the ada package

Using Pypi

To install ada using pip

First you need to have installed ifcopenshell and pythonocc-core from conda-forge. To install use

conda install -c conda-forge ifcopenshell pythonocc-core

To install ada from pypi you can use

pip install ada-py

Using Conda (Note! Work in progress)

To install using conda you can use

conda install -c krande -conda-forge ada

Note! This is not yet ready.

Usage

Here are a few example of using the ada package

Create an IFC file

To create an IFC with the hierarchy

MyAssembly (IfSite)
    MyPart (IfcBuildingStorey)
        MyBeam (IfcBeam)

You can do

from ada import Assembly, Part, Beam

a = Assembly('MyAssembly') / (Part('MyPart') / Beam('MyBeam', (0,0,0), (1,0,0), 'IPE300'))
a.to_ifc('C:/temp/myifc.ifc')

This will create an IFC file with the desired structure (as shown in the figure below taken from the awesome blender plugin blenderbim)

My Beam in BlenderBIM

For developers

For developers interested in contributing to this project feel free to make a fork, experiment and create a pull request when you have something you would like to add/change/remove.

Before making a pull request you need to lint with, isort, flake8 and black

pip install black isort flake8
cd src/ada
isort .
flake8 .
black .

Project Responsible

Kristoffer H. Andersen

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

ada-py-0.0.2a0.tar.gz (205.2 kB view hashes)

Uploaded Source

Built Distribution

ada_py-0.0.2a0-py3-none-any.whl (220.8 kB view hashes)

Uploaded Python 3

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