Skip to content

roboter/OpenSharpCAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSharpCAD

Parametric CAD using C#

Video

YouTube Demo

Description

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.

Getting Started

Prerequisites

  • .NET 10.0 SDK
  • GLFW: On Windows the native GLFW binary is supplied by the glfw NuGet package. On macOS and Linux the build uses bundled binaries in the repo (or install GLFW via your system package manager if you prefer).

Installation

Clone the repository including all submodules:

git clone --recursive https://github.com/roboter/OpenSharpCAD.git
cd OpenSharpCAD

Build Instructions

Mac

Build and run using the .NET CLI:

# Build the project
dotnet build OpenSharpCAD/OpenSharpCAD.csproj

# Run the application
dotnet run --project OpenSharpCAD/OpenSharpCAD.csproj

Windows

You can use either Visual Studio or the .NET CLI:

Option 1: Visual Studio

  1. Open OpenSharpCAD.sln in Visual Studio 2022.
  2. Set OpenSharpCAD as the Startup Project.
  3. Press F5 to build and run.

Option 2: .NET CLI

# Build the project
dotnet build OpenSharpCAD/OpenSharpCAD.csproj

# Run the application
dotnet run --project OpenSharpCAD/OpenSharpCAD.csproj

Links

Example

CsgObject bar = new Box(20, 5.8, 12, createCentered: false);

Screenshot

Screenshot

About

Parametric cad using c#

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •