Git Product home page Git Product logo

abqhelpers's Introduction

abqhelpers

CAD - FEA

In order to create the model's geometry, Rhino can be used. The gh folder contains Grasshopper components allowing to export object's layerwise to .sat files, which can be subsequently imported in Abaqus using the PY - FEA methods.

Further, Reference Points and Datum Planes can be defined in Rhino, exported via Grasshopper and imported in Abaqus using the PY - FEA methods.

PY - FEA

The src folder contains a collections of Python Scripts allowing to create and manipulate Abaqus Models.

They are built in the same order as in Abaqus (Part, Property, Assembly,..) and should be used also in this order.

For a simple example, see the samples.

Import abqhelpers

This should be done in the begining of each script, simply copy the stuff from the sample to your script. This allows you to use all methods of abqhelpers. Make sure to set the correct paths.

Abaqus doesn't easily support importing custom libraries. A workaround is to use 'imp' to import modules in each of the scripts. Changes the abq_path variable to wherever this folder is located and import using imp:

# import custom libraries
import imp

# path to abqhelpers
abq_path = "C:/Users/ac135564/GitHub/abqhelpers/"

filemanager = imp.load_source('helpers.filemanager', os.path.join(
    abq_path, 'helpers/filemanager.py'))

In order to use the imported module use the object's methods:

filemanager.scanFolder('C:/')

License

CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

abqhelpers's People

Contributors

benestrahm avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

carlhaufe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.