Parametric CAD using C#
OpenSharpCAD is a parametric CAD system that allows you to design 3D parts using C#. It is inspired by OpenSCAD but leverages the power and familiarity of the .NET ecosystem.
Clone the repository including all submodules:
git clone --recursive https://github.com/roboter/OpenSharpCAD.git
cd OpenSharpCADBuild and run using the .NET CLI:
# Build the project
dotnet build OpenSharpCAD/OpenSharpCAD.csproj
# Run the application
dotnet run --project OpenSharpCAD/OpenSharpCAD.csproj -f net10.0You can use either Visual Studio or the .NET CLI:
Option 1: Visual Studio
- Open
OpenSharpCAD.slnin Visual Studio 2022. - Set
OpenSharpCADas the Startup Project. - Press
F5to build and run.
Option 2: .NET CLI
# Build the project
dotnet build OpenSharpCAD/OpenSharpCAD.csproj
# Run the application
dotnet run --project OpenSharpCAD/OpenSharpCAD.csproj -f net10.0-windows- Original project from MatterHackers: MatterCAD - Design Your 3D Parts In C#
CsgObject bar = new Box(20, 5.8, 12, createCentered: false);
