MCPcopy Create free account

hub / github.com/colinrgodsey/step-daemon / functions

Functions208 in github.com/colinrgodsey/step-daemon

↓ 57 callersMethodWrite
Write is a convenience function for c.Wc() <- msg
lib/io/conn.go:23
↓ 23 callersMethodinfo
(s string, args ...interface{})
lib/pipeline/delta_handler.go:127
↓ 18 callersMethodDt
()
lib/physics/shape.go:5
↓ 15 callersMethodRc
Rc returns the read channel for this Conn
lib/io/conn.go:13
↓ 14 callersMethodGetFloat
GetFloat for an arg label
lib/gcode/args.go:49
↓ 13 callersFunctionNewVec4
* Constructors */ NewVec4 creates a new Vec4 from provided values
lib/vec/vec4.go:34
↓ 11 callersMethodDelta
()
lib/physics/move.go:41
↓ 11 callersMethodEq
Eq returns true if v and o are equal
lib/vec/vec4.go:117
↓ 11 callersMethodIsM
(code int)
lib/gcode/gcode.go:108
↓ 11 callersMethodNorm
Norm returns the (l2) normalized vector of v
lib/vec/vec4.go:194
↓ 10 callersMethodFr
()
lib/physics/move.go:33
↓ 10 callersMethodIsG
(code int)
lib/gcode/gcode.go:104
↓ 9 callersMethodCache
()
lib/physics/shape.go:7
↓ 9 callersMethodDist
* Lazy methods */ Dist returns the L2 norm of v
lib/vec/vec4.go:184
↓ 9 callersMethodGetVec4
GetVec4 gets an X,Y,Z,E Vec4, using defaults from def if dimension is missing.
lib/gcode/args.go:74
↓ 9 callersMethodMul
Mul scales v by s
lib/vec/vec4.go:76
↓ 9 callersFunctionParse
Parse creates a GCode from a string
lib/gcode/gcode.go:27
↓ 8 callersFunctionNew
(typ rune, code int, args ...string)
lib/gcode/gcode.go:22
↓ 7 callersFunctionPulse
(dy, area float64)
lib/physics/pulse.go:48
↓ 6 callersMethodAdd
* Methods */ Add o to v
lib/vec/vec4.go:64
↓ 6 callersFunctionNewConn
NewConn creates a new Conn with the desired chan buffer size.
lib/io/conn.go:33
↓ 6 callersFunctionhandler
(head io.Conn, size int, h func(head, tail io.Conn))
cmd/stepd/main.go:37
↓ 5 callersFunctionArg
Arg creates a single floating point argument.
lib/gcode/args.go:15
↓ 5 callersMethodDiv
Div scales v by the multiplicative inverse of s
lib/vec/vec4.go:90
↓ 5 callersMethodDot
Dot returns the dot product of v and o (v⋅o)
lib/vec/vec4.go:106
↓ 5 callersMethodE
E value of v
lib/vec/vec4.go:144
↓ 5 callersMethodFlip
Flip the Conn to convert a tail Conn to a head Conn
lib/io/conn.go:28
↓ 5 callersMethodIsValid
()
lib/physics/shape.go:6
↓ 5 callersFunctionParsePoint
* 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 callersMethodprocMove
* 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 callersMethodAbs
Abs returns the absolute value of v
lib/vec/vec4.go:212
↓ 4 callersMethodApply
(dt float64)
lib/physics/shape.go:11
↓ 4 callersMethodGetString
GetString for an arg label
lib/gcode/args.go:25
↓ 4 callersMethodInt1At
(dt, c0 float64)
lib/physics/shape.go:13
↓ 4 callersMethodInt2At
(dt, c0, c1 float64)
lib/physics/shape.go:14
↓ 4 callersFunctionLinePipe
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 callersMethodNonEmpty
()
lib/physics/move.go:37
↓ 4 callersFunctionTrapezoid
(head, tail Shape, area, c float64)
lib/physics/trapezoid.go:85
↓ 4 callersMethodX
* Getters */ X value of v
lib/vec/vec4.go:124
↓ 4 callersMethodY
Y value of v
lib/vec/vec4.go:129
↓ 4 callersMethodclose
(self)
octoprint-plugin/octoprint_stepd/StepdService.py:50
↓ 3 callersMethodApply
(dt float64)
lib/physics/trapezoid.go:42
↓ 3 callersFunctionGetPageFormat
(name string)
lib/config/page_format.go:34
↓ 3 callersMethodInt3At
(dt, c0, c1, c2 float64)
lib/physics/shape.go:15
↓ 3 callersMethodString
()
lib/physics/move.go:57
↓ 3 callersMethodSub
Sub o from v
lib/vec/vec4.go:71
↓ 3 callersMethodVec3
()
lib/bed/samples.go:17
↓ 3 callersMethodZ
Z value of v
lib/vec/vec4.go:139
↓ 3 callersFunctionclamp
(f float64)
lib/pipeline/common.go:10
↓ 3 callersMethodendBlock
()
lib/pipeline/physics_handler.go:212
↓ 3 callersMethodreadline
(self)
octoprint-plugin/octoprint_stepd/StepdService.py:39
↓ 2 callersFunctionConfigHandler
(confPath string)
lib/pipeline/config_handler.go:144
↓ 2 callersFunctionGenerate
(samples []Sample, bedMax f64.Vec2)
lib/bed/generator.go:22
↓ 2 callersMethodGetAt
GetAt returns the value at a given dimension.
lib/vec/vec4.go:163
↓ 2 callersMethodGetBool
GetBool for an arg label
lib/gcode/args.go:61
↓ 2 callersMethodGetInt
GetInt for an arg label
lib/gcode/args.go:37
↓ 2 callersMethodGetMove
()
lib/physics/block.go:21
↓ 2 callersMethodGetShape
()
lib/physics/block.go:20
↓ 2 callersFunctionInt1
(s Shape, c0 float64)
lib/physics/shape.go:18
↓ 2 callersMethodInt1At
(dt, c0 float64)
lib/physics/trapezoid.go:55
↓ 2 callersFunctionInt2
(s Shape, c0, c1 float64)
lib/physics/shape.go:23
↓ 2 callersMethodIsPrintMove
()
lib/physics/move.go:65
↓ 2 callersFunctionLoadConfig
(path string)
lib/config/config.go:21
↓ 2 callersMethodNeg
Neg returns the negative vector of v (-v)
lib/vec/vec4.go:95
↓ 2 callersFunctionNewMove
(from, to vec.Vec4, fr float64)
lib/physics/move.go:15
↓ 2 callersMethodScale
(scale float64)
lib/physics/move.go:53
↓ 2 callersMethodVel
()
lib/physics/move.go:45
↓ 2 callersMethodWc
Wc returns the write channel for this Conn
lib/io/conn.go:18
↓ 2 callersMethodWithin
Within returns true if v is within the bounds of o considering both values as their absolute.
lib/vec/vec4.go:112
↓ 2 callersMethoddrain
()
lib/pipeline/device_handler.go:93
↓ 2 callersMethodflushChunk
()
lib/pipeline/step_handler.go:69
↓ 2 callersMethodfreePages
()
lib/pipeline/device_handler.go:147
↓ 2 callersMethodgatherSettings
()
lib/pipeline/config_handler.go:100
↓ 2 callersMethodgetSetBit
(bit int)
lib/vec/vec4.go:53
↓ 2 callersMethodget_current_status
(self)
octoprint-plugin/octoprint_stepd/StepdPlugin.py:129
↓ 2 callersMethodheadRead
(msg io.Any)
lib/pipeline/delta_handler.go:26
↓ 2 callersMethodis_updating
(self)
octoprint-plugin/octoprint_stepd/StepdPlugin.py:126
↓ 2 callersMethodprocMoveSafe
* 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 callersMethodprocSamples
()
lib/pipeline/config_handler.go:120
↓ 2 callersMethodsendGCode
(g gcode.GCode)
lib/pipeline/device_handler.go:111
↓ 2 callersMethodsendPage
(idx int)
lib/pipeline/device_handler.go:173
↓ 2 callersMethodtailRead
(msg io.Any)
lib/pipeline/device_handler.go:72
↓ 2 callersMethodupdateSPos
(pos vec.Vec4)
lib/pipeline/step_handler.go:192
↓ 2 callersMethodupdate_stepd
(self)
octoprint-plugin/octoprint_stepd/StepdPlugin.py:118
↓ 1 callersMethodArea
()
lib/physics/shape.go:4
↓ 1 callersFunctionArgV
(v vec.Vec4)
lib/gcode/args.go:19
↓ 1 callersFunctionBlockIterator
BlockIterator creates an position iterator channel for the desired sample granularity, over the defined motion block.
lib/physics/block.go:106
↓ 1 callersMethodFrom
()
lib/physics/move.go:25
↓ 1 callersMethodGet
Get all values from v
lib/vec/vec4.go:149
↓ 1 callersMethodGetAll
GetA gets all values from v as an array
lib/vec/vec4.go:158
↓ 1 callersMethodInv
Inv returns the multiplicative inverse of v
lib/vec/vec4.go:100
↓ 1 callersMethodIsEOrZOnly
()
lib/physics/move.go:61
↓ 1 callersFunctionLoadSampleFile
(path string)
lib/bed/samples.go:21
↓ 1 callersFunctionSTrapBlock
* TODO: Processing the shapes here should generate and use some kind of table of cached values. */
lib/physics/block.go:54
↓ 1 callersFunctionSavePNG
(path string, interp ZFunc, bedMax f64.Vec2, scale float64)
lib/bed/generator.go:50
↓ 1 callersFunctionSaveSampleFile
(path string, points []Sample)
lib/bed/samples.go:35
↓ 1 callersMethodString
()
lib/gcode/args.go:91
↓ 1 callersFunctionTrapBlock
(frAccel, frStart float64, move Move, frEnd float64)
lib/physics/block.go:86
↓ 1 callersMethodXY
XY returns the X and Y value
lib/vec/vec4.go:134
↓ 1 callersMethod__init__
(self, base_path, logger, settings, device, baudrate)
octoprint-plugin/octoprint_stepd/StepdService.py:9
next →1–100 of 208, ranked by callers