Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colinrgodsey/step-daemon
/ functions
Functions
208 in github.com/colinrgodsey/step-daemon
⨍
Functions
208
◇
Types & classes
29
↓ 57 callers
Method
Write
Write is a convenience function for c.Wc() <- msg
lib/io/conn.go:23
↓ 23 callers
Method
info
(s string, args ...interface{})
lib/pipeline/delta_handler.go:127
↓ 18 callers
Method
Dt
()
lib/physics/shape.go:5
↓ 15 callers
Method
Rc
Rc returns the read channel for this Conn
lib/io/conn.go:13
↓ 14 callers
Method
GetFloat
GetFloat for an arg label
lib/gcode/args.go:49
↓ 13 callers
Function
NewVec4
* Constructors */ NewVec4 creates a new Vec4 from provided values
lib/vec/vec4.go:34
↓ 11 callers
Method
Delta
()
lib/physics/move.go:41
↓ 11 callers
Method
Eq
Eq returns true if v and o are equal
lib/vec/vec4.go:117
↓ 11 callers
Method
IsM
(code int)
lib/gcode/gcode.go:108
↓ 11 callers
Method
Norm
Norm returns the (l2) normalized vector of v
lib/vec/vec4.go:194
↓ 10 callers
Method
Fr
()
lib/physics/move.go:33
↓ 10 callers
Method
IsG
(code int)
lib/gcode/gcode.go:104
↓ 9 callers
Method
Cache
()
lib/physics/shape.go:7
↓ 9 callers
Method
Dist
* Lazy methods */ Dist returns the L2 norm of v
lib/vec/vec4.go:184
↓ 9 callers
Method
GetVec4
GetVec4 gets an X,Y,Z,E Vec4, using defaults from def if dimension is missing.
lib/gcode/args.go:74
↓ 9 callers
Method
Mul
Mul scales v by s
lib/vec/vec4.go:76
↓ 9 callers
Function
Parse
Parse creates a GCode from a string
lib/gcode/gcode.go:27
↓ 8 callers
Function
New
(typ rune, code int, args ...string)
lib/gcode/gcode.go:22
↓ 7 callers
Function
Pulse
(dy, area float64)
lib/physics/pulse.go:48
↓ 6 callers
Method
Add
* Methods */ Add o to v
lib/vec/vec4.go:64
↓ 6 callers
Function
NewConn
NewConn creates a new Conn with the desired chan buffer size.
lib/io/conn.go:33
↓ 6 callers
Function
handler
(head io.Conn, size int, h func(head, tail io.Conn))
cmd/stepd/main.go:37
↓ 5 callers
Function
Arg
Arg creates a single floating point argument.
lib/gcode/args.go:15
↓ 5 callers
Method
Div
Div scales v by the multiplicative inverse of s
lib/vec/vec4.go:90
↓ 5 callers
Method
Dot
Dot returns the dot product of v and o (v⋅o)
lib/vec/vec4.go:106
↓ 5 callers
Method
E
E value of v
lib/vec/vec4.go:144
↓ 5 callers
Method
Flip
Flip the Conn to convert a tail Conn to a head Conn
lib/io/conn.go:28
↓ 5 callers
Method
IsValid
()
lib/physics/shape.go:6
↓ 5 callers
Function
ParsePoint
* Bed X: 179.000 Y: 20.000 Z: 0.135 */ ParsePoint attemps to parse a bedlevel point from the device.
lib/bed/parser.go:15
↓ 5 callers
Method
procMove
* TODO: we need to look at the number of ticks a move will make, and figure out what shape to use!! low number of steps can be pulses. Could overlap o
lib/pipeline/physics_handler.go:199
↓ 4 callers
Method
Abs
Abs returns the absolute value of v
lib/vec/vec4.go:212
↓ 4 callers
Method
Apply
(dt float64)
lib/physics/shape.go:11
↓ 4 callers
Method
GetString
GetString for an arg label
lib/gcode/args.go:25
↓ 4 callers
Method
Int1At
(dt, c0 float64)
lib/physics/shape.go:13
↓ 4 callers
Method
Int2At
(dt, c0, c1 float64)
lib/physics/shape.go:14
↓ 4 callers
Function
LinePipe
LinePipe turns the reader and writer into two channels that use a line based text protocol with a binary control protocol signaled by the ControlChar.
lib/io/line.go:29
↓ 4 callers
Method
NonEmpty
()
lib/physics/move.go:37
↓ 4 callers
Function
Trapezoid
(head, tail Shape, area, c float64)
lib/physics/trapezoid.go:85
↓ 4 callers
Method
X
* Getters */ X value of v
lib/vec/vec4.go:124
↓ 4 callers
Method
Y
Y value of v
lib/vec/vec4.go:129
↓ 4 callers
Method
close
(self)
octoprint-plugin/octoprint_stepd/StepdService.py:50
↓ 3 callers
Method
Apply
(dt float64)
lib/physics/trapezoid.go:42
↓ 3 callers
Function
GetPageFormat
(name string)
lib/config/page_format.go:34
↓ 3 callers
Method
Int3At
(dt, c0, c1, c2 float64)
lib/physics/shape.go:15
↓ 3 callers
Method
String
()
lib/physics/move.go:57
↓ 3 callers
Method
Sub
Sub o from v
lib/vec/vec4.go:71
↓ 3 callers
Method
Vec3
()
lib/bed/samples.go:17
↓ 3 callers
Method
Z
Z value of v
lib/vec/vec4.go:139
↓ 3 callers
Function
clamp
(f float64)
lib/pipeline/common.go:10
↓ 3 callers
Method
endBlock
()
lib/pipeline/physics_handler.go:212
↓ 3 callers
Method
readline
(self)
octoprint-plugin/octoprint_stepd/StepdService.py:39
↓ 2 callers
Function
ConfigHandler
(confPath string)
lib/pipeline/config_handler.go:144
↓ 2 callers
Function
Generate
(samples []Sample, bedMax f64.Vec2)
lib/bed/generator.go:22
↓ 2 callers
Method
GetAt
GetAt returns the value at a given dimension.
lib/vec/vec4.go:163
↓ 2 callers
Method
GetBool
GetBool for an arg label
lib/gcode/args.go:61
↓ 2 callers
Method
GetInt
GetInt for an arg label
lib/gcode/args.go:37
↓ 2 callers
Method
GetMove
()
lib/physics/block.go:21
↓ 2 callers
Method
GetShape
()
lib/physics/block.go:20
↓ 2 callers
Function
Int1
(s Shape, c0 float64)
lib/physics/shape.go:18
↓ 2 callers
Method
Int1At
(dt, c0 float64)
lib/physics/trapezoid.go:55
↓ 2 callers
Function
Int2
(s Shape, c0, c1 float64)
lib/physics/shape.go:23
↓ 2 callers
Method
IsPrintMove
()
lib/physics/move.go:65
↓ 2 callers
Function
LoadConfig
(path string)
lib/config/config.go:21
↓ 2 callers
Method
Neg
Neg returns the negative vector of v (-v)
lib/vec/vec4.go:95
↓ 2 callers
Function
NewMove
(from, to vec.Vec4, fr float64)
lib/physics/move.go:15
↓ 2 callers
Method
Scale
(scale float64)
lib/physics/move.go:53
↓ 2 callers
Method
Vel
()
lib/physics/move.go:45
↓ 2 callers
Method
Wc
Wc returns the write channel for this Conn
lib/io/conn.go:18
↓ 2 callers
Method
Within
Within returns true if v is within the bounds of o considering both values as their absolute.
lib/vec/vec4.go:112
↓ 2 callers
Method
drain
()
lib/pipeline/device_handler.go:93
↓ 2 callers
Method
flushChunk
()
lib/pipeline/step_handler.go:69
↓ 2 callers
Method
freePages
()
lib/pipeline/device_handler.go:147
↓ 2 callers
Method
gatherSettings
()
lib/pipeline/config_handler.go:100
↓ 2 callers
Method
getSetBit
(bit int)
lib/vec/vec4.go:53
↓ 2 callers
Method
get_current_status
(self)
octoprint-plugin/octoprint_stepd/StepdPlugin.py:129
↓ 2 callers
Method
headRead
(msg io.Any)
lib/pipeline/delta_handler.go:26
↓ 2 callers
Method
is_updating
(self)
octoprint-plugin/octoprint_stepd/StepdPlugin.py:126
↓ 2 callers
Method
procMoveSafe
* This function takes the next move, and comares it to the "last" move (has already been sent, can not be modified) and "current" move (staged but not
lib/pipeline/physics_handler.go:153
↓ 2 callers
Method
procSamples
()
lib/pipeline/config_handler.go:120
↓ 2 callers
Method
sendGCode
(g gcode.GCode)
lib/pipeline/device_handler.go:111
↓ 2 callers
Method
sendPage
(idx int)
lib/pipeline/device_handler.go:173
↓ 2 callers
Method
tailRead
(msg io.Any)
lib/pipeline/device_handler.go:72
↓ 2 callers
Method
updateSPos
(pos vec.Vec4)
lib/pipeline/step_handler.go:192
↓ 2 callers
Method
update_stepd
(self)
octoprint-plugin/octoprint_stepd/StepdPlugin.py:118
↓ 1 callers
Method
Area
()
lib/physics/shape.go:4
↓ 1 callers
Function
ArgV
(v vec.Vec4)
lib/gcode/args.go:19
↓ 1 callers
Function
BlockIterator
BlockIterator creates an position iterator channel for the desired sample granularity, over the defined motion block.
lib/physics/block.go:106
↓ 1 callers
Method
From
()
lib/physics/move.go:25
↓ 1 callers
Method
Get
Get all values from v
lib/vec/vec4.go:149
↓ 1 callers
Method
GetAll
GetA gets all values from v as an array
lib/vec/vec4.go:158
↓ 1 callers
Method
Inv
Inv returns the multiplicative inverse of v
lib/vec/vec4.go:100
↓ 1 callers
Method
IsEOrZOnly
()
lib/physics/move.go:61
↓ 1 callers
Function
LoadSampleFile
(path string)
lib/bed/samples.go:21
↓ 1 callers
Function
STrapBlock
* TODO: Processing the shapes here should generate and use some kind of table of cached values. */
lib/physics/block.go:54
↓ 1 callers
Function
SavePNG
(path string, interp ZFunc, bedMax f64.Vec2, scale float64)
lib/bed/generator.go:50
↓ 1 callers
Function
SaveSampleFile
(path string, points []Sample)
lib/bed/samples.go:35
↓ 1 callers
Method
String
()
lib/gcode/args.go:91
↓ 1 callers
Function
TrapBlock
(frAccel, frStart float64, move Move, frEnd float64)
lib/physics/block.go:86
↓ 1 callers
Method
XY
XY returns the X and Y value
lib/vec/vec4.go:134
↓ 1 callers
Method
__init__
(self, base_path, logger, settings, device, baudrate)
octoprint-plugin/octoprint_stepd/StepdService.py:9
next →
1–100 of 208, ranked by callers