Decorative gear background

Open Source

Libraries and sample code we publish on GitHub. Issues and pull requests are welcome.

Bas-Automation-Services on GitHub

Libraries

Reusable code you can build on.

C#
MIT
BasAutomation.Geometry

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.

C#
MIT
WpfTreeGrid

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.

TypeScript
MIT
three-steel

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.

Rust
MPL-2.0
Gusset

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.

Research
C#
MPL-2.0
Isoform

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.

Blog companion code

The runnable code behind our Autodesk Inventor blog series.

C#
MIT
TransientGraphicsSamples

Runnable code for the transient-beam series: building bodies with TransientBRep and TransientGeometry, and showing them with client graphics.

C#
MIT
frame-generator-demo

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.