Skip to content

About

Open engineering workbench: OCCT 8 CAD, Rust multibody dynamics and CalculiX studies with inspectable results. Apache-2.0 research software.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Vinkulum — open engineering. Design. Simulate. Verify.

Design in FreeCAD. Run open solvers. Keep the evidence.

Vinkulum brings a Rust mechanics kernel and open scientific engines into FreeCAD. Keep your editable CAD, native feature tree and familiar modelling controls. Run calculations in separate processes, then inspect motion or FEM results in the document.

First run in FreeCAD · Contribute · Discuss · Scientific guarantees · Support the project · Technical archive in French

Rigid mechanisms Linear static analysis
Native Assembly motion in FreeCAD Native FreeCAD static task and displacement result
Editable solids and native Revolute joints; inspect captured motion on temporary copies. Pick faces, define fixed supports and pressure, then inspect native FEM displacements.

Actual FreeCAD Linux sessions. These are development workflows; the released extension and development build have different scopes, detailed below.

Start with an editable example

Released: FreeCAD extension 0.1.0a2. Development: 0.1.0a3.dev8. Kernel: 0.20.0. Linux first.

The published 0.1.0a2 ZIP contains the single-solid pendulum workflow. Use a development source build for native Assemblies, linear statics and the new preconfigured static example. These source features are not in that released ZIP.

  1. Install the extension and its separate engine.
  2. Choose Vinkulum → Open double-pendulum assembly, then Motion analysis… to calculate from native Revolute joints; or choose Open static tension example, then Static analysis… for a bar with its supports and load ready.
  3. Choose the engine paths and run. Statics additionally needs OCCT 8-enabled Gmsh HXT and CalculiX. Opening an example does not start a solver.
  4. Save the analysis with the design, change an input and compare a new capture. The first-run guide gives an expected numerical result and explains which files to keep.

Motion analyses preserve the source design and use temporary playback copies. Static inputs and native FEM displacement results persist in the FCStd file. Boundary geometry is captured explicitly; changed geometry requires face reselection, and stale linked static results are hidden on recomputation. Cancellation retires the task's worker; the static job also owns its mesher and solver process group and watches for abrupt FreeCAD closure.

This is a research alpha. The qualified development paths are flat native Assemblies with Revolute joints and one uniform density, and one-solid linear isotropic statics with fixed supports and pressure. General topology persistence, nonlinear FEM, contact in the FreeCAD workflow and general trajectory/FE error bounds are not established. Every retained qualification states its scope.

FreeCAD is the primary desktop interface; the custom Studio GUI is retired. The qualified Linux host is FreeCAD 1.1.3 / Qt 6. Its own OCCT 7.8.1 stays in its process. Vinkulum reimports captured STEP with OCCT 8.0.1 and checks volume, centre and the full inertia tensor before calculating. The two Python environments keep separate native libraries.

One project, several scientific engines

The long-term goal is a common engineering environment for open mechanics, finite elements and other scientific engines. Each engine keeps its identity, licence, units, physical assumptions and reference cases.

Component Implemented backend FreeCAD development interface
Vinkulum Native Rust mechanics, Python API, captured rigid-body trajectories Single-solid and native Assembly motion tasks
OCCT 8 + build123d STEP import, solid geometry and SI mass properties Checked capture boundary with the FreeCAD host
CalculiX External linear-elasticity adapter: C3D4, admitted curved C3D10 and affine C3D8; captured results and references Native one-solid static task: fixed supports, pressure and displacements
Gmsh External OCCT 8 mesher and captured boundary conditions Meshing inside the static task
Pinocchio Fixed-base rigid-tree operators, derivatives and independent references through a separate worker Planned
MBDyn Existing comparison work Connector planned
DUST Future aerodynamic workflows Planned
NeuralFoil Optional validation tooling Connector planned

The broader kernel API includes work beyond the initial FreeCAD host. See the kernel API, CalculiX contract, CAD meshing guide and Pinocchio operators. These backend capabilities are not all exposed by the first FreeCAD extension.

Evidence you can inspect

Vinkulum publishes units, frames, convergence observations, failure cases and bounded guarantees. Passing a test or matching another solver does not certify arbitrary trajectories or models.

Performance work starts with a reproducible workload and a profile. Rust and native multithreading belong where measurements justify them. Comparisons must retain accuracy and include transfer costs, memory use and regressions.

Development

The FreeCAD extension guide explains installation, engine configuration, packaging and the actual FreeCAD qualification recipe. The extension uses the existing CAD and mechanical adapter modules in the vinkulum_studio Python package, in a separate process. It never opens Studio's GUI. New engine installations omit Qt and VTK; FreeCAD supplies its own GUI. The engine environment needs Python 3.14, Vinkulum 0.20 and the OCCT 8 CAD dependencies.

Development of the custom Studio GUI is retired. Its code and previous desktop releases remain available for reproducibility; new interface work targets FreeCAD.

Help build it

Students, researchers, engineers and interested contributors can help with a failing physical example, a CAD regression, a numerical proof or a reproduced result. Useful priorities for the FreeCAD direction include:

  • Extend a bounded assembly case with explicit units, frames and independent mechanics.
  • Exercise cancellation, save/reopen and source edits in real FreeCAD sessions.
  • Add a STEP solid with independently known mass properties.
  • Add a mesh-refinement study or improve the native static task with a reproducible user workflow.
  • Profile the capture/process boundary before proposing a performance change.

Read CONTRIBUTING.md and the contributor projects, then propose a scoped contribution. Several older desktop tasks refer to the retired Studio GUI; prefer FreeCAD for new interaction work.

If this direction matters to you, star the repository, share a real use case or help reproduce a benchmark. For labs and organisations interested in funding maintenance or a public milestone, see Support Vinkulum.

Licence

Original Vinkulum code is Apache-2.0. FreeCAD, external libraries, solvers and models retain their own licences and attribution. See third-party notices. Compatibility patches and reference cases remain explicit so their provenance can be reviewed and useful changes can return upstream.

Development static result persistence requires the two qualified FreeCAD host patches. See geometry identity, host requirements and retained evidence.

About

Open engineering workbench: OCCT 8 CAD, Rust multibody dynamics and CalculiX studies with inspectable results. Apache-2.0 research software.

Topics

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages