[Paper Review] ModelFactory: A Matlab/Octave based toolbox to create human body models
ModelFactory is an open-source Matlab/Octave toolbox that enables rapid, customizable creation of subject-specific human body models for biomechanical analysis. It uses a command- and GUI-based interface to generate multi-body models with automatic scaling, customizable joints, segments, landmarks, and motion capture markers, significantly reducing manual configuration time for research applications.
Background: Model-based analysis of movements can help better understand human motor control. Here, the models represent the human body as an articulated multi-body system that reflects the characteristics of the human being studied. Results: We present an open-source toolbox that allows for the creation of human models with easy-to-setup, customizable configurations. The toolbox scripts are written in Matlab/Octave and provide a command-based interface as well as a graphical interface to construct, visualize and export models. Built-in software modules provide functionalities such as automatic scaling of models based on subject height and weight, custom scaling of segment lengths, mass and inertia, addition of body landmarks, and addition of motion capture markers. Users can set up custom definitions of joints, segments and other body properties using the many included examples as templates. In addition to the human, any number of objects (e.g. exoskeletons, orthoses, prostheses, boxes) can be added to the modeling environment. Conclusions: The ModelFactory toolbox is published as open-source software under the permissive zLib license. The toolbox fulfills an important function by making it easier to create human models, and should be of interest to human movement researchers. This document is the author's version of this article.
Motivation & Objective
- Address the lack of efficient tools for creating large numbers of subject-specific human body models for biomechanical research.
- Reduce the time and effort required to manually configure rigid-body models in XML or other low-level formats.
- Enable systematic variation of models (e.g., with prostheses or orthoses) for comparative analysis.
- Support both human and object model creation within a unified, extensible framework.
- Facilitate integration with existing dynamics and optimization software like RBDL and Puppeteer.
Proposed method
- Uses a modular script-based architecture in Matlab/Octave with a command-line and graphical user interface (GUI) for model creation.
- Employs a built-in dictionary of predefined joint, point, and constraint descriptors (e.g., Joint_RY, Joint_Root2D_TXTZRY) for flexible kinematic definition.
- Applies scaling algorithms to automatically adjust segment lengths, masses, and inertias based on subject anthropometry (height, weight).
- Supports custom scaling and user-defined segment properties via template-based configuration files.
- Enables visualization and export of models in standard formats (e.g., Lua for RBDL and Puppeteer) using a central ModelCreator script.
- Allows integration of external meshes and supports model export to multiple formats, with future plans for URDF and actuator modeling.
Experimental results
Research questions
- RQ1How can the creation of subject-specific human body models be automated and standardized to reduce manual configuration effort?
- RQ2To what extent can a flexible, script-based toolbox improve the reproducibility and scalability of multi-body model development?
- RQ3Can a unified framework efficiently support both human and object model creation with consistent modeling conventions?
- RQ4How effective is the toolbox in enabling rapid prototyping of model variations (e.g., with prostheses or altered joint constraints) for comparative biomechanical studies?
- RQ5What is the impact of automated scaling and customizable joint definitions on model accuracy and usability in inverse dynamics and optimal control applications?
Key findings
- ModelFactory enables the creation of subject-specific human body models with automatic scaling based on height and weight, significantly reducing setup time.
- The toolbox supports both 2D and 3D models with customizable joint types, segment properties, and inertial parameters, enhancing model fidelity.
- Users can define custom joints, segments, and markers using template-based configurations, increasing adaptability for diverse research needs.
- The toolbox successfully exports models in Lua format compatible with RBDL and Puppeteer, enabling seamless integration into existing biomechanical analysis pipelines.
- The inclusion of object modeling (e.g., exoskeletons, boxes) extends the toolbox’s utility beyond human models to assistive device and robotics applications.
- The open-source zLib-licensed toolbox is platform-independent and extensible, with active development and community contributions via GitHub.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.