Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clank-stretch controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jake Read
clank-stretch controller
Commits
ac41d392
Commit
ac41d392
authored
Dec 17, 2021
by
Jake Read
Browse files
Options
Downloads
Patches
Plain Diff
push from end of MW work
parent
037bffe0
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
controller/client/clankClient.js
+3
-7
3 additions, 7 deletions
controller/client/clankClient.js
controller/client/save/penciltest.nc
+51
-0
51 additions, 0 deletions
controller/client/save/penciltest.nc
controller/osapjs
+1
-1
1 addition, 1 deletion
controller/osapjs
with
55 additions
and
8 deletions
controller/client/clankClient.js
+
3
−
7
View file @
ac41d392
...
@@ -301,13 +301,11 @@ gotoZeroBtn.onClick(async () => {
...
@@ -301,13 +301,11 @@ gotoZeroBtn.onClick(async () => {
let
gCodePanel
=
new
GCodePanel
(
120
,
10
,
300
,
vm
)
let
gCodePanel
=
new
GCodePanel
(
120
,
10
,
300
,
vm
)
// to load on restart...
// to load on restart...
/*
gCodePanel
.
loadServerFile
(
'
save/penciltest.nc
'
).
then
(()
=>
{
gCodePanel.loadServerFile('save/3p30mm_pacman.gcode').then(() => {
console
.
log
(
"
gcode initial file load OK
"
)
console
.
log
(
"
gcode initial file load OK
"
)
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
error
(
"
failed to load default gcode from server
"
)
console
.
error
(
"
failed to load default gcode from server
"
)
})
})
*/
// -------------------------------------------------------- Pad
// -------------------------------------------------------- Pad
...
@@ -331,9 +329,7 @@ pad.onNewTarget = async (pos) => {
...
@@ -331,9 +329,7 @@ pad.onNewTarget = async (pos) => {
//let bpVM = new BladePlateVM(osap, PK.route().sib(0).pfwd().sib(1).pfwd().sib(1).bfwd(5).end())
//let bpVM = new BladePlateVM(osap, PK.route().sib(0).pfwd().sib(1).pfwd().sib(1).bfwd(5).end())
*/
*/
vm
.
addTool
(
"
penPlotterA
"
,
{
X
:
531.5
,
Y
:
18
,
Z
:
16
})
vm
.
addTool
(
"
eraser
"
,
{
X
:
527.5
,
Y
:
18
,
Z
:
16
})
// fake tools
vm
.
addTool
(
"
pencil
"
,
{
X
:
401.5
,
Y
:
18
,
Z
:
16
})
vm
.
addTool
(
"
penPlotterB
"
,
{
X
:
400
,
Y
:
18
,
Z
:
15
})
vm
.
addTool
(
"
penPlotterC
"
,
{
X
:
200
,
Y
:
18
,
Z
:
15
})
let
toolButtons
=
new
ToolBox
(
440
,
490
,
90
,
vm
)
let
toolButtons
=
new
ToolBox
(
440
,
490
,
90
,
vm
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
controller/client/save/penciltest.nc
0 → 100644
+
51
−
0
View file @
ac41d392
T2
G0 X200 Y200 Z25 F30000
G0 Z18 F6000
G0 X250
G0 Z25 F30000
T1
G0 X200 Y200 Z25
G0 Z17 F6000
G0 X210
G0 X205
G0 X215
G0 X210
G0 X220
G0 X215
G0 X225
G0 X220
G0 X230
G0 X225
G0 X235
G0 X230
G0 X240
G0 X235
G0 X245
G0 X240
G0 X250
G0 X245
G0 X255
G0 Z25 G30000
G0 X200
G0 Z17 F6000
G0 X210
G0 X205
G0 X215
G0 X210
G0 X220
G0 X215
G0 X225
G0 X220
G0 X230
G0 X225
G0 X235
G0 X230
G0 X240
G0 X235
G0 X245
G0 X240
G0 X250
G0 X245
G0 X255
G0 Z25 F30000
T0
\ No newline at end of file
This diff is collapsed.
Click to expand it.
osapjs
@
800fc2ac
Compare
5ba2e4ba
...
800fc2ac
Subproject commit
5ba2e4bae47237cdbbf1982cf926690861b
f8b
00
Subproject commit
800fc2ace3ec503ed095662b1b8dbe1accf1a
f8b
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment