MCPcopy Index your code
hub / github.com/256dpi/gcode

github.com/256dpi/gcode @v0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.0 ↗ · + Follow
30 symbols 76 edges 11 files 11 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

gcode

Test GoDoc Release

A G-Code parser and generator for Go.

Installation

Get the package using the go tool:

$ go get -u github.com/256dpi/gcode

Usage

The included command line application can be used to post-process g-code files:

gcode.

Usage:
  gcode info <input>
  gcode strip <input> <output>
  gcode offset <input> <output> <x> <y> <z>
  gcode svg <input> <output>

Options:
  -h --help  Show this screen.

License

The MIT License (MIT)

Copyright (c) 2016 Joël Gähwiler

Core symbols most depended-on inside this repo

ParseFile
called by 4
parse.go
loadFile
called by 4
cmd/gcode/helpers.go
getBool
called by 4
cmd/gcode/command.go
getString
called by 3
cmd/gcode/command.go
getFloat
called by 3
cmd/gcode/command.go
StripComments
called by 2
tools.go
OffsetXYZ
called by 2
tools.go
ConvertToSVG
called by 2
svg.go

Shape

Function 24
Struct 4
Method 2

Languages

Go100%

Modules by API surface

gcode.go6 symbols
cmd/gcode/main.go5 symbols
cmd/gcode/command.go5 symbols
cmd/gcode/helpers.go3 symbols
tools_test.go2 symbols
tools.go2 symbols
parse_test.go2 symbols
parse.go2 symbols
svg_test.go1 symbols
svg.go1 symbols
gcode_test.go1 symbols

For agents

$ claude mcp add gcode \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact