Skip to main content

GearMaster - Complete Engineering Analysis Suite

Python Version License Status

A comprehensive Python-based engineering platform for mechanical systems simulation, CAD operations, FEA analysis, hydraulic systems modeling, and signal processing. Built with both programmatic and visual programming interfaces.

🎯 Overview

GearMaster is an engineering suite designed for:

  • 🎨 CAD Operations - STEP/IGES import, assembly tree, suppression, material assignment
  • 🧮 Meshfree Analysis - Point cloud generation and MLPG structural solver on CAD geometry
  • 🏗️ Structural / FEA Analysis - Ansys DPF integration, welded joints assessment, cross-section properties
  • 📊 Signal Processing - Time-series generation, conversion and plotting
  • 🧱 Materials - Material library with GUI editor
  • 📈 Data Management - GearMaster data structures (DataBase, MultiColumn, MetaData)

Core Features

  • Dual Interface Model

    • Programmatic: Direct Python API via GM_modules for automation and scripting
    • Visual: Node-based visual programming via GM_Visual for interactive workflows
  • Analysis & Visualization

    • Meshfree (MLPG) solver with interactive pre/post-processing
    • Welded joint assessment on Ansys results (weld path finder)
    • Ansys DPF/PyDPF integration for result processing
    • 3D visualization with PyVista/VTK
  • Material Library

    • Material property database with library presets (e.g. general/steel)
    • Isotropic elasticity definitions shared by CAD and Meshfree workflows
  • Extensible Architecture

    • Modular design with specialized engineering modules
    • Plugin-ready node system for visual programming
    • Clean separation of concerns

🏗️ Architecture Overview

GM_modules - Core Engineering Libraries

What it is: The programmatic foundation of GearMaster. A collection of specialized Python modules providing direct APIs for engineering calculations and operations.

Use Cases:

  • Automated batch analysis scripts
  • Integration with other Python tools/frameworks
  • Custom simulation workflows
  • CI/CD pipelines and testing

Available Modules:

Module Purpose Status
Cad CAD model (STEP/IGES) import, entity tree, editor GUI Active
Meshfree Point clouds, Meshfree model, MLPG solver and editors Active
Fea FEA utilities and welded joints assessment (Fea/Welded_Joints) Active
pyAnsys Ansys DPF result loading and post-processing Active
Materials Material library, material definitions and viewer Active
Signals Time-series generation, conversion and plotting Active
Data GearMaster data manager (DataBase, MultiColumn, MetaData) Active
Structures Cross-section and structural utilities Partial
GUIs Reusable GUI components Partial
utils Shared helpers (colour picker, ribbon base) Active
Mechanical Mechanical components (fasteners) Early stage
Hydraulic Hydraulic components Early stage

Example Usage:

from GM_modules.Cad import GM_CadModel

# Load a CAD file and list its active bodies
model = GM_CadModel(name="welded_joint")
model.load("GM_Visual/examples/meshfree/sample_welded_joint.stp")
for entity in model.iter_active_leaves():
    print(entity.entity_id, entity.name)

GM_Visual - Node-Based Visual Programming System

What it is: An interactive visual programming interface built on GM_modules. Use drag-and-drop nodes to create complex engineering workflows without writing code.

Use Cases:

  • Interactive analysis and exploration
  • Non-programmer engineers creating workflows
  • Educational demonstrations
  • Rapid prototyping of analysis pipelines

Key Features:

  • Node Canvas: Drag-and-drop node-based programming
  • Node Library: Pre-built nodes for all GM_modules functions
  • Project Management: Save/load workflows as .gmv files
  • Examples: Ready-to-run workflows under File → Examples (basics, signals, meshfree)
  • Live Execution: Execute workflows with real-time result visualization
  • CustomTkinter UI: Modern, responsive interface
  • Debug Terminal: In-app logging and error tracking

Node Categories:

  • Basics and utilities (constants, lists, value display, file/folder pointers)
  • Data nodes
  • Signals nodes
  • Materials nodes (material library)
  • CAD nodes (CAD loader, CAD editor)
  • Meshfree nodes (Meshfree Model, Meshfree Solver)
  • FEA nodes (welded joints analysis, weld path finder)
  • Ansys DPF nodes
  • GUI and demo nodes

Example Workflow (File → Examples → Meshfree → basic meshfree analysis):

[CAD Loader] → [CAD Editor] → [Meshfree Model] → [Meshfree Solver]
                                     ↑
                             [Material Library]

Use Run → Canvas Run to execute the whole graph: each node turns green when executed successfully and red on error.

Launch:

gm-visual                 # entry point installed with the package
# or, from a source checkout
python GM_Visual/main.py

📦 Installation

From PyPI

# Core installation
pip install gearmaster

# With Ansys DPF support
pip install gearmaster[ansys]

# With visual programming interface
pip install gearmaster[visual]

# With CAD import and the Meshfree solver
# (pythonocc-core must be installed from conda-forge:
#  conda install -c conda-forge pythonocc-core)
pip install gearmaster[meshfree]

# Complete installation
pip install gearmaster[all]

Available extras: visual, material-gui, visualization, cad, meshfree, ansys, data, windows, all, dev, docs. The core installation only contains the lightweight scientific stack; heavy libraries (Qt, VTK, Ansys DPF, OpenCV, Numba) are opt-in to keep installs and start-up fast.

From Source (Development)

git clone https://github.com/simoneluce/GearMaster.git
cd GearMaster

# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install in development mode with all features
pip install -e ".[all,dev]"

Requirements

  • Python: 3.10 or higher
  • Core Dependencies: NumPy, Pandas, SciPy, Matplotlib
  • Optional: Ansys DPF and a valid Ansys license (for pyAnsys and Fea/Welded_Joints), pythonocc-core from conda-forge (for CAD import and the Meshfree workflow)

🚀 Quick Start

Using GM_modules (Programmatic)

from GM_modules.Cad import GM_CadModel

model = GM_CadModel(name="my_part")
model.load("my_part.step")
print(f"Active bodies: {len(list(model.iter_active_leaves()))}")

Using GM_Visual (Interactive)

# Start the visual programming interface
gm-visual

# Then in the GUI:
# 1. File → Examples → Meshfree → basic meshfree analysis (or create a new project)
# 2. Drag nodes from the node library to the canvas
# 3. Connect nodes by dragging pins
# 4. Run → Canvas Run to execute the workflow
# 5. Double-click a node to open its editor and inspect results

📚 Project Structure

GearMaster/
├── GM_modules/              # Core engineering libraries
│   ├── Cad/                # CAD model and editor
│   ├── Meshfree/           # Point clouds and MLPG meshfree solver
│   ├── Fea/                # FEA utilities, Welded_Joints
│   ├── pyAnsys/            # Ansys DPF integration
│   ├── Materials/          # Material library
│   ├── Signals/            # Signal processing & time-series
│   ├── Data/               # Data management
│   ├── Structures/         # Structural utilities
│   ├── GUIs/               # GUI components
│   ├── utils/              # Shared helpers
│   ├── Mechanical/         # Mechanical components (early stage)
│   └── Hydraulic/          # Hydraulic components (early stage)
│
├── GM_Visual/               # Visual programming system
│   ├── src/                # Source code (canvas, core, nodes, ui)
│   ├── examples/           # Example workflows (.gmv)
│   ├── docs/               # GM_Visual documentation
│   ├── tests/              # Test suite
│   └── main.py             # Application entry point
│
├── docs/                    # Documentation (mkdocs)
├── scripts/                 # Release and test helper scripts
├── tests/                   # Integration tests
├── pyproject.toml           # Python packaging config
└── README.md                # This file

🔄 Differences: GM_modules vs GM_Visual

Aspect GM_modules GM_Visual
Interface Python API (programmatic) GUI (node-based)
Usage Code-driven automation Drag-and-drop workflows
Target User Programmers, Engineers, Researchers Engineers, Analysts
Extensibility Easy - add Python functions Moderate - create custom nodes
Performance Native Python speed Slight overhead from GUI
Dependency Stack Lightweight core gearmaster[visual] extra
Data Flow Direct function calls Visual connections (pins)
Debugging Python debuggers, logging Built-in terminal, node debugging
Learning Curve Python knowledge required Visual intuition required

When to Use What

Choose GM_modules when:

  • ✅ Automating repetitive analysis tasks
  • ✅ Integrating with other Python libraries
  • ✅ Building production pipelines
  • ✅ Requiring maximum performance
  • ✅ You're comfortable with Python

Choose GM_Visual when:

  • ✅ Exploring data interactively
  • ✅ Prototyping workflows quickly
  • ✅ Team includes non-programmers
  • ✅ Teaching engineering concepts
  • ✅ Need visual feedback on workflows

🧪 Testing

Each module has its own tests/ folder. Because some modules ship helper packages with the same name, the suites must run in separate processes. Use the runner:

# Run every suite
python scripts/run_tests.py

# Skip the slow suites (Meshfree, Welded_Joints)
python scripts/run_tests.py --fast

# Run a single suite directly with pytest
pytest GM_modules/Cad/tests

Tests that need an Ansys license or optional dependencies are skipped automatically when these are not available.


📖 Documentation

Full documentation available via MkDocs:

# Install docs dependencies
pip install gearmaster[docs]

# Serve documentation locally
mkdocs serve

# Build static docs
mkdocs build

Visit docs/ for detailed module documentation, tutorials, and API reference.


🤝 Contributing

We welcome contributions! Before starting work on a new module:

⚠️ Please contact the owner before starting a new module or making major changes.

  1. Create a feature branch from develop
  2. Implement your changes following the repository style
  3. Add tests in the appropriate tests/ folder
  4. Update documentation in the corresponding docs/ folder
  5. Submit a pull request against develop branch

Coding Standards:

  • Python 3.10+ compatible
  • Use type hints where possible
  • Follow PEP 8 style guide
  • Document all public APIs
  • Include unit tests (pytest)

📋 Module Development Guide

Each module follows a standard structure:

ModuleName/
├── __init__.py              # Module exports
├── core.py                  # Main functionality
├── [other core files].py    
├── tests/                   # pytest test files
│   └── test_*.py
├── docs/                    # Module documentation
│   └── [module].md
└── version.py               # Version info

📝 License

GNU General Public License v3.0 - See LICENSE file for details.


👤 Author

Simone Lucertini


⚠️ Status

Current Version: see PyPI and the CHANGELOG
Status: Alpha (under active development)

This project is actively maintained. Features and APIs may change. For production use, pin to a specific version.



📞 Support

  • 📧 Create an issue on GitHub for bug reports
  • 💬 Discussions for feature requests
  • 📖 Check documentation in docs/ folder

Happy analyzing! 🚀

Metadata

Release files for gearmaster 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gearmaster 0.3.2
File Size Uploaded Provenance Actions
gearmaster-0.3.2.tar.gz 1.4 MB With provenance Details for gearmaster-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gearmaster 0.3.2
File Interpreter ABI Platform Actions
gearmaster-0.3.2-py3-none-any.whl Python 3 none any Details for gearmaster-0.3.2-py3-none-any.whl

Total release size: 3.1 MB

Release files / gearmaster-0.3.2.tar.gz

Download URL gearmaster-0.3.2.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
88795d915ae9556c700e27ed09bd6e9b138d58d87f449e43b60608cd626a47dd
BLAKE2b-256 checksum
How to use checksums
5f331d7ed912cc76e46798ef4b93877f34fe4a448a13c031b0b4ac25f1c3ce0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / gearmaster-0.3.2-py3-none-any.whl

Download URL gearmaster-0.3.2-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7931f794294c906b9d9d897a37f78e5d041947cb4a4a6c3be5ab3061b416124c
BLAKE2b-256 checksum
How to use checksums
deaa62318771aa76204cbe3480d8abfeaab80d8f8df5de33f5b191dbe4561049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for gearmaster 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gearmaster-0.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page