kopia lustrzana https://github.com/adliechty/realWorldGcodeSender
removing controls on left for now
rodzic
a6f4c1d7ae
commit
ff5121c111
35
Notes.txt
35
Notes.txt
|
@ -1,3 +1,25 @@
|
|||
######################################
|
||||
# Title
|
||||
######################################
|
||||
CNC routers may be harder to use than 3D printers, can a cut preview help?
|
||||
Printers have a print preview, should CNC routers have a cut preview?
|
||||
3d printers
|
||||
|
||||
######################################
|
||||
# Introduction
|
||||
######################################
|
||||
# What if you could click on this image and have the CNC machine move to
|
||||
location you clicked on?
|
||||
# What if you could load your GCODE on this image and place it anywhere on
|
||||
your machine bed?
|
||||
# What if you could rotate it if needed and move cut paths arround to fit on
|
||||
the workpiece without re-exporting the GCODE?
|
||||
# All this and more has been prototyped and is possible, and I'll show you how
|
||||
and demo it in this video.
|
||||
|
||||
######################################
|
||||
# Motivation
|
||||
######################################
|
||||
Where is my CNC router going to cut?
|
||||
Am I going to run into a clamp?
|
||||
Am I cutting on my workpiece?
|
||||
|
@ -7,8 +29,15 @@ Where is my CNC router going to cut?
|
|||
each pixel in the view.
|
||||
Can draw directly on top of image to do on the spot cutting
|
||||
|
||||
######################################
|
||||
# Show it cutting
|
||||
######################################
|
||||
# Show it homing
|
||||
# Show it zeroing on the z plate
|
||||
# Re show the overlay onto the workpiece
|
||||
# Show it cutting
|
||||
|
||||
CNC routers may be harder to use than 3D printers, can a cut preview help?
|
||||
Printers have a print preview, should CNC routers have a cut preview?
|
||||
3d printers
|
||||
######################################
|
||||
# How it works
|
||||
######################################
|
||||
|
||||
|
|
|
@ -317,29 +317,29 @@ class OverlayGcode:
|
|||
###############################################
|
||||
# Generate controls for plot
|
||||
###############################################
|
||||
xAxes = plt.axes([0.01, 0.8, 0.2, 0.04])
|
||||
self.xBox = TextBox(xAxes, "xOffset (in)", initial="0")
|
||||
label = self.xBox.ax.get_children()[1] # label is a child of the TextBox axis
|
||||
label.set_position([0.5,1]) # [x,y] - change here to set the position
|
||||
label.set_horizontalalignment('center')
|
||||
label.set_verticalalignment('bottom')
|
||||
self.xBox.on_submit(self.onUpdateXOffset)
|
||||
#xAxes = plt.axes([0.01, 0.8, 0.2, 0.04])
|
||||
#self.xBox = TextBox(xAxes, "xOffset (in)", initial="0")
|
||||
#label = self.xBox.ax.get_children()[1] # label is a child of the TextBox axis
|
||||
#label.set_position([0.5,1]) # [x,y] - change here to set the position
|
||||
#label.set_horizontalalignment('center')
|
||||
#label.set_verticalalignment('bottom')
|
||||
#self.xBox.on_submit(self.onUpdateXOffset)
|
||||
|
||||
yAxes = plt.axes([0.01, 0.7, 0.2, 0.04])
|
||||
self.yBox = TextBox(yAxes, "yOffset (in)", initial="0")
|
||||
label = self.yBox.ax.get_children()[1] # label is a child of the TextBox axis
|
||||
label.set_position([0.5,1]) # [x,y] - change here to set the position
|
||||
label.set_horizontalalignment('center')
|
||||
label.set_verticalalignment('bottom')
|
||||
self.yBox.on_submit(self.onUpdateYOffset)
|
||||
#yAxes = plt.axes([0.01, 0.7, 0.2, 0.04])
|
||||
#self.yBox = TextBox(yAxes, "yOffset (in)", initial="0")
|
||||
#label = self.yBox.ax.get_children()[1] # label is a child of the TextBox axis
|
||||
#label.set_position([0.5,1]) # [x,y] - change here to set the position
|
||||
#label.set_horizontalalignment('center')
|
||||
#label.set_verticalalignment('bottom')
|
||||
#self.yBox.on_submit(self.onUpdateYOffset)
|
||||
|
||||
rAxes = plt.axes([0.01, 0.6, 0.2, 0.04])
|
||||
self.rBox = TextBox(rAxes, "rotation (deg)", initial="0")
|
||||
label = self.rBox.ax.get_children()[1] # label is a child of the TextBox axis
|
||||
label.set_position([0.5,1]) # [x,y] - change here to set the position
|
||||
label.set_horizontalalignment('center')
|
||||
label.set_verticalalignment('bottom')
|
||||
self.rBox.on_submit(self.onUpdateRotation)
|
||||
#rAxes = plt.axes([0.01, 0.6, 0.2, 0.04])
|
||||
#self.rBox = TextBox(rAxes, "rotation (deg)", initial="0")
|
||||
#label = self.rBox.ax.get_children()[1] # label is a child of the TextBox axis
|
||||
#label.set_position([0.5,1]) # [x,y] - change here to set the position
|
||||
#label.set_horizontalalignment('center')
|
||||
#label.set_verticalalignment('bottom')
|
||||
#self.rBox.on_submit(self.onUpdateRotation)
|
||||
|
||||
cid = fig.canvas.mpl_connect('button_press_event', self.onclick)
|
||||
cid = fig.canvas.mpl_connect('button_release_event', self.onrelease)
|
||||
|
|
Ładowanie…
Reference in New Issue