CAD and mesh preparation for additive manufacturing, with scan-based geometry compensation.
Русский · Releases · User guide · Changelog
Meshropractor brings part preparation and geometric compensation into one desktop application. Import STL or STEP, repair and arrange parts, select CAD surfaces for supports, then compare a nominal model with a scan and export compensated geometry.
Two workspaces share project storage and geometry tools:
- Slicer: model preparation, build platforms, supports, sections and measurements.
- Pre-deformation: CAD/scan alignment, deviation analysis and displacement-field training.
- Capabilities
- Installation
- Quick start
- Controls
- Formats
- Documentation
- Development
- Scope and limitations
- Feedback and support
| Area | What you can do |
|---|---|
| Native CAD | Retain STEP BREP bodies and faces, change tessellation quality, select whole CAD faces and export transformed CAD as STEP. |
| Mesh repair | Diagnose boundaries, normals, fragments, overlaps and intersections; prepare automatic or manual repairs with preview and Undo/Redo. |
| Placement | Move, rotate, scale, mirror and duplicate parts; arrange them on a platform or in its volume and compare orientations. |
| Creation and copies | Build ten geometric shapes from dimensions and tessellation settings; arrange a matrix of copies with live translucent previews. |
| Marking | Define a surface area for text, images or Data Matrix; retain editable previews, merge relief into a part or export it. |
| Supports | Generate supports or define surface regions manually. Support groups belong to their part and follow its transforms. |
| Textures and colors | Apply image layers to STL/CAD surfaces, edit projections, copy textures, paint faces and split meshes by color. Images and mappings are embedded in projects with Undo/Redo. |
| Analysis and reports | Check volumetric intersections, sample wall thickness and slice areas, estimate time/cost, record actual measurements and export HTML/PDF/JSON/CSV reports. |
| Inspection | Combine clipping planes, measure geometry and view live selected-part volume, material cost and packing statistics. |
| Compensation | Align CAD and scan, build deviation maps, train a displacement field and export a compensated STL with independent XY/Z factors. |
| Projects | Save models, BREP, supports, platforms and calculation results in .mrp; undo and redo changes during the session. |
Download a published Windows x64 installer from Releases.
Packaged builds do not require a separate Python installation. A portable distribution
uses the complete dist\Meshropractor folder, including _internal.
The current version is 0.3, defined in VERSION. Published installers may lag behind the source version. To build this version locally, follow the Windows packaging guide (Russian).
On Windows, the application checks stable releases for updates at startup. Downloading shows progress and can be canceled; installation requires a separate confirmation.
Version 0.3 builds as meshropractor_0.3_amd64.deb for Debian 12 and
Ubuntu 24.04, x86-64. Python and the application dependencies are included;
the package uses CPU PyTorch. The desktop session needs OpenGL and X11, or XWayland
under Wayland.
Install a built package from its directory:
sudo apt install ./meshropractor_0.3_amd64.deb
meshropractorIt also appears in the application menu. Linux updates are installed through APT. Startup and manual checks compare Linux package versions, show the current version and offer the matching release page. See the Linux packaging guide (Russian) for building the package with Docker and validating it in a clean system. Published release assets may lag behind the available source builds.
Meshropractor 0.3 uses one engineering interface with light and dark themes.
After installing dependencies, open Meshropractor.pyw in the repository root,
or run python src/Meshropractor.py. Existing .mrp projects remain supported;
previous interface preferences are migrated on first launch. An animated startup
screen shows real initialization stages. Interface details (Russian).
These changes are not yet included in a published installer.
The interface offers a compact command ribbon, contextual part properties and light/dark themes. Drag arrows or XY/XZ/YZ planes extending from the origin to the arrowheads to move parts; use axis rings or the outer screen ring to rotate. Move anchor preferences are remembered for subsequent parts.
Builds use Python 3.12, Windows x64 or Linux amd64. A CUDA-capable NVIDIA GPU is optional; training also runs on CPU. Dependencies are pinned in requirements.txt.
From PowerShell:
git clone https://github.com/B0ogie888/Meshropractor.git
cd Meshropractor
py -3.12 -m venv .venvInstall one PyTorch build:
# CPU
.\.venv\Scripts\python.exe -m pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/cpuOr, for NVIDIA CUDA 12.1:
.\.venv\Scripts\python.exe -m pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/cu121Install the remaining dependencies and launch:
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe src/Meshropractor.pyOn Linux with Python 3.12 and the Qt/OpenGL system libraries installed:
python3.12 -m venv .venv
.venv/bin/python -m pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/cpu
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python src/Meshropractor.py- Open the Slicer workspace and create a build platform with the required dimensions.
- Import a model or drag STL/STEP files into the active viewport. For STEP, choose native BREP or a mesh and set tessellation tolerances.
- Select parts in the scene. Use Repair for diagnostics and Placement for transforms or automatic arrangement.
- Select surfaces and generate supports, or configure regions through Manual Supports.
- Inspect sections and measurements, save the
.mrpproject and export the selected geometry.
- Open Pre-deformation, load nominal CAD (STL/STEP) and a scan (STL).
- Align automatically or specify at least three non-collinear marker pairs.
- Build a deviation map and review alignment quality and coverage.
- Configure training and compensation factors, calculate the result and export it as STL.
See the user guide for tool parameters, repair review and result interpretation.
These selection gestures apply to the slicer's part selection mode:
| Gesture | Action |
|---|---|
| Left-click a part / empty space | Select a part / clear all part selection. |
| Drag from empty space | Select parts with a rectangle. |
| Shift / Ctrl + click or rectangle | Add parts / toggle part selection. |
| Double-click a part / empty space | Orbit around the part / return to the build-plate center. |
| Alt + left-drag | Rotate the camera, including from empty space. |
| Right-drag starting inside the dashed circle | Orbit the scene in 3D, including during surface selection and measurements. |
| Right-drag starting outside the circle | Rotate the view clockwise/counterclockwise in the screen plane. |
| Click a view-cube face | Align the camera to that face. |
| Ctrl+S | Save the project. |
| Ctrl+Z / Ctrl+Y or Ctrl+Shift+Z | Undo / redo. |
Surface-selection tools use Ctrl to subtract faces. Full controls are available in Settings and Help → Keyboard shortcuts and controls and the user guide.
| Format | Import | Export / storage |
|---|---|---|
| STL | Slicer parts, nominal CAD and scans. Coordinates are interpreted as millimeters. | Parts with supports and deformation/compensation results. |
| STEP / STP | Native CAD bodies and faces, or a triangulated mesh; file units convert to millimeters. | Selected CAD bodies with their transforms while BREP remains valid. |
| MRP 2.1 | Saved projects, including older 1.x and 2.0 archives. | Geometry, BREP, supports, platforms, results and settings. |
| VTP / PNG | — | Section contours / scene images. |
Mesh edits can invalidate BREP. Supports and compensated results are triangle meshes; STEP export preserves the nominal CAD rather than converting those meshes to CAD.
| Guide | Topics | Language |
|---|---|---|
| User guide | Workflows, supports, measurements, transforms and project history. | English |
| Руководство пользователя | Полное описание рабочих инструментов. | Русский |
| CAD / STEP | Bodies, faces, BREP, tessellation and STEP export. | Русский |
| Mesh repair | Diagnostics, repair commands, tolerances and result review. | Русский |
| Placement | Arrangement, orientation search and packing criteria. | Русский |
| Create a part | Shapes, dimension diagrams and tessellation settings. | Русский |
| Matrix duplication | Copy counts, gaps and live virtual previews. | Русский |
| Marking | Editable surface areas, content, projection and relief. | Русский |
| Interface design | Themes, contextual panels, startup and application identity. | Русский |
| Editing and structures | Hollowing, cuts, perforations, booleans, text, lattices and fixtures. | Русский |
| Display | Sections, scene annotations and statistics. | Русский |
| Textures and colors | Image layers, projections, surface painting and color separation. | Русский |
| Analysis and reports | Inspection methods, estimates, measurements and report formats. | Русский |
| Ribbon icons | Editable SVG files and shared icon sizing. | Русский |
| Validation | Tests, native scene checks and accuracy interpretation. | Русский |
| Performance | Rendering changes and benchmark methodology. | Русский |
| Windows build | PyInstaller, Inno Setup and release packaging. | Русский |
| Linux build | Debian/Ubuntu .deb, Docker builds and clean installation checks. |
Русский |
See repository structure and release workflow (Russian) for entry points, script directories and artwork sources.
After setting up the source environment, run the regression suite:
.\.venv\Scripts\python.exe scripts/validation/check_repository.py
.\.venv\Scripts\python.exe -m unittest discover -s tests -vNative scene checks briefly open an application window and save reports and images in output/:
.\.venv\Scripts\python.exe scripts/validation/smoke_cad_display.py
.\.venv\Scripts\python.exe scripts/validation/smoke_selection_statistics.pyVersion 0.3 passed 417 local regression tests, plus native Qt/VTK checks of the themes, transforms, primitives and marking. GitHub Actions runs the regression suite on Windows; its current status appears in the badge above. Test scope is documented in Validation.
| Location | Responsibility |
|---|---|
src/ |
Qt/VTK interface, CAD and mesh operations, background jobs and compensation. |
tests/ |
Geometry, controller and UI regression tests. |
scripts/validation/ |
Source, native scene and packaged application checks. |
scripts/benchmarks/ |
Viewport profiling and grid rendering diagnostics. |
scripts/assets/ |
SVG export and application icon packaging. |
packaging/linux/ |
Linux build environment, Debian package and clean installation checks. |
docs/ |
User and developer documentation. |
assets/ |
Application icons and resources. |
licenses/repair-engine/ |
Independent repair helper sources and license notices. |
For packaging, install requirements-dev.txt:
.\.venv\Scripts\python.exe -m pip install -r requirements-dev.txtBuild the repair helper before the application; exact commands are in the Windows and Linux build guides.
- BREP is preserved for CAD operations; alignment, supports, measurements and deviation calculations use its tessellation.
- Packing uses conservative bounding boxes. Support geometry and compensation require review against the intended printing process.
- Compensation fits measured displacement; it does not simulate printing physics. Reported metrics do not certify manufacturing tolerances.
- Desktop CLS machine-job export remains disabled pending equipment validation. This application is not a complete Materialise Magics replacement.
Algorithm-specific limits are described in the linked guides. License and source notices for the independent repair helper are in licenses/repair-engine.
Report a bug or propose a feature through GitHub Issues. For bugs, include the application version, steps to reproduce, expected behavior and the relevant log excerpt.
Windowed builds write logs to %LOCALAPPDATA%\Meshropractor\logs\Meshropractor.log.
For a code change, describe the problem and validation in a pull request.
Support the author on Boosty · Email
Scan the QR code to open the author's Boosty page:

