Libraries and sample code we publish on GitHub. Issues and pull requests are welcome.
Bas-Automation-Services on GitHubReusable code you can build on.
A dotnet new and Visual Studio template for Autodesk Inventor add-ins (2024-2027). A new add-in starts with a ribbon tab, a WPF window, dependency injection, logging, unit and integration tests, an isolated loader and an app bundle. Ready for AI coding agents: every add-in comes with an AGENTS.md and skills that teach Claude Code, Codex, Copilot and Cursor the project rules and the Inventor API traps.
The libraries under our Inventor add-ins: plugin and ribbon base classes, commands with dependency injection, an add-in loader that keeps each add-in in its own AssemblyLoadContext so dependencies never clash, a WPF shell window, Serilog logging, transactions and typed iProperties.
Dependency-free 2D/3D computational geometry for .NET: points, vectors, matrices, planes, lines, arcs, circles, ellipses, coordinate systems, swept surfaces and ray casting. The managed geometry behind our Inventor add-ins.
A tree grid for WPF on the standard DataGrid: expand and collapse, natural sorting that keeps children under their parent, Excel-style column filters, and cell selection and editing. The tree model has no WPF dependency, so it is tested on its own.
Structural steel sections and beams for three.js: 383 EN and BS catalog profiles (IPE, HEA, UPN, SHS, UB and more), exact section outlines, and straight, curved and spiral members as closed BufferGeometry, with angled end cuts and miters. No runtime dependencies.
A sheet metal kernel in Rust. Describe a part as JSON (base plate, flanges, hems, contour flanges, folds, holes and cut-outs) and get the folded part as an exact B-rep, the flat pattern by K-factor or bend table, mass properties and shop checks, exported as STEP, DXF or SVG. Runs in the browser as WebAssembly and from .NET as a C library. Flat patterns and volumes are checked against Autodesk Inventor 2027.
Deterministic 2D nesting for sheet-metal parts in C++: places flat patterns with lines, arcs and holes on stock sheets using the least sheet area, and puts small parts inside the holes of large ones. All geometry is integer, so spacing is never violated, and the same input always gives the same nest. Early stage.
An implicit (F-rep) CAD kernel in C#: exact distance fields, certified queries, face names that persist through edits, exact STEP export, a WebAssembly playground and an MCP server. A research project into whether an implicit core can keep stable references to faces, edges and vertices.
The runnable code behind our Autodesk Inventor blog series.
Runnable code for the transient-beam series: building bodies with TransientBRep and TransientGeometry, and showing them with client graphics.
Code for the Inside Frame Generator series: an Inventor add-in that places an endplate on a Frame Generator beam and re-resolves its constraints when the beam profile changes, plus the classes for reading the skeleton data.