9.1  MechanicsKit API Reference

This section provides a detailed reference for the MechanicsKit library API.

Installation

The library can be found here.

Install it using

uv pip install git+https://github.com/cenmir/MechanicsKit.git

Core Components

  • LaTeX Display: Functions for rendering NumPy and SymPy objects as LaTeX.
  • Mesh: The Mesh class for 1-based FEM data structures.
  • OneArray: A 1-based array wrapper for NumPy arrays.
  • Plotting: High-level plotting functions patch and fplot.
  • Gaussian Quadrature: Numerical integration with gaussint.
  • Colormaps: Utilities for working with colormaps.

Quick Reference

This content can be generated from the quick_ref function in help.py.