• Stars
    star
    121
  • Rank 285,278 (Top 6 %)
  • Language
    C#
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

C# gcode parsing and manipulation library

gsGCode

GCode parsing / manipulation / generation library.

C#, MIT License. Copyright 2017 ryan schmidt / gradientspace

Dependencies: geometry3Sharp (Boost license)

questions? get in touch on twitter: @rms80 or @gradientspace, or email [email protected].

What Is This?

gsGCode is a library for working with GCode. Not just generating GCode, but also reading and manipulating existing GCode files.

What? Edit a GCode file? that's crazy, right? CAD people used to think the same thing about STL mesh files too. STL was something you wrote out to communicate with a CNC machine. You might "repair" it, but you didn't edit it. But then a guy wrote OpenSCAD, and I wrote Meshmixer, and now STL files are something that thousands of people open and edit every day.

The purpose of this library is to make the same thing possible for GCode. GCode is just 3D lines, curves, and control commands. There is no reason you can't open a GCode file, change one of the paths, and write it back out. You can easily do that with this library.

Can It Write GCode Too?

Yes! I'm developing gsGCode to support the gradientspace Slicer, which is not released yet. But the low-level GCode generation infrastructure is all here. You can either use GCodeBuilder to construct a GCodeFile line-by-line, or an Assembler (currently only MakerbotAssembler) which provides a higher-level turtle-graphics-like API.

How?

See the wiki for what minimal documentation exists right now. Some sample code will come in time.

More Repositories

1

geometry3Sharp

C# library for 2D/3D geometric computation, mesh algorithms, and so on. Boost license.
C#
1,622
star
2

UnrealMeshProcessingTools

Sample Projects/Plugins for Mesh Processing in Unreal Engine
C++
232
star
3

frame3Sharp

C# library for building 3D tools in Unity
C#
116
star
4

gsSlicer

3D printing slicer
C#
106
star
5

UnrealRuntimeToolsFrameworkDemo

Sample project/code that uses the UE4 InteractiveToolsFramework to provide a small modeling app at Runtime
C++
90
star
6

UE5RuntimeToolsFrameworkDemo

Sample project/code that uses the UE5 InteractiveToolsFramework to provide a small modeling app at Runtime
C++
58
star
7

geometry3cpp

C++ math / geometry / mesh processing library
C++
53
star
8

geometry3SharpDemos

Sample code for geometry3Sharp library
C#
31
star
9

gsMeshUtilities

command-line tools for processing meshes
C#
29
star
10

UnrealProceduralMeshesDemo

C++
29
star
11

geometry3UnityDemos

Unity demos of geometry3Sharp functionality
C#
21
star
12

gsSlicerApps

command line and interactive interfaces to gsSlicer
C#
18
star
13

UE5ModelingModeExtensionDemo

Sample UE5 project/plugin that adds several Tools to Modeling Mode via Extension system
C++
13
star
14

frame3SharpSampleApp

Sample application using frame3Sharp CAD-tool framework
C#
13
star
15

UnityVRManips

Unity demo of mouse-based 3D manipulator in VR
C#
11
star
16

gsUnityVR

Wrapper around SteamVR and OVR to provide a consistent interface
C#
10
star
17

gsShapeModels

C#
7
star
18

Cotangent

NSIS
5
star
19

gsSlicerPro

C#
5
star
20

geometry3js

javascript geometry library
TypeScript
5
star
21

gsGeometry

C#
4
star
22

gsTools

C#
3
star
23

gsGeometryTests

C#
3
star
24

ARKitProjectArchive

various Unity ARKit experiments and utilities, likely non-functional with current Unity
C#
3
star
25

OrthoVR

C#
2
star
26

gsCore

C#
2
star
27

UnityPlatformTools

OS-level functionality that Unity doesn't provide
C
2
star
28

gsBodyModelAppCore

C#
1
star
29

gsSliceToolPro

C#
1
star
30

geometry3SharpUnityPackages

unity package build setup
Batchfile
1
star
31

GSBlueprintUtilities

Blueprint function libraries for Unreal Engine 5
C++
1
star