G68 A0 B0 R{-var.y_x_tan_rads}
the "-" seems important. otherwise the system gets turned the wrong way round
Posts made by CanDo415
-
RE: Feature Request - workpiece angle compensation CNC
-
RE: Feature Request - workpiece angle compensation CNC
@OwenD
thank you for showing up the problem -
RE: Feature Request - workpiece angle compensation CNC
@droftarts
jay corrected it already.
the problem shifted to the degrees command -
RE: Feature Request - workpiece angle compensation CNC
that's why i added Phaedrux.
I want to change it a bit to get the corner as well. so the degrees issue has to be solved anyway.
Thanks for the great start jay -
RE: Feature Request - workpiece angle compensation CNC
@jay_s_uk
@Phaedrux
Error: line 37 column 22: meta command: unknown value 'degrees'
there seems to be a bit more -
RE: Feature Request - workpiece angle compensation CNC
"Error: in file macro line 37 column 12: meta command: unknown variable 'var'"
is the new result after updating to 3.5.1var y_first_measurement = 0 var y_second_measurement = 0 var y_length = 0 var x_first_measurement = 0 var x_second_measurement = 0 var x_length = 0 var y_over_x = 0 var y_x_tan_rads = 0 var y_x_tan_deg = 0 M291 P"Probe links vor das Werstück positionieren" S2 X1 Y1 Z1 ; Pop up box asking for operator input M558 F1500 ; Set the initial probing speed G38.2 Y600 P0 K0 ; Probe the material as a first pass G1 Y{move.axes[1].machinePosition-5} ; Move 5mm away from the material M558 F150 ; Set the final probing speed G38.2 Y600 P0 K0 ; Probe the material again M400 ; Make sure all movement is complete set var.y_first_measurement=move.axes[1].machinePosition ; Record the stop position y_first_measurement set var.x_first_measurement=move.axes[0].machinePosition ; Record the stop position x_first_measurement M400 ; Make sure all data recording is complete G1 Y{move.axes[1].machinePosition-10} ; Move 5mm away from the material G1 X{move.axes[0].machinePosition+50} ; Move along the workpiece in X M558 F1500 ; Set the initial probing speed G38.2 Y600 P0 K0 ; Probe the material as a first pass G1 Y{move.axes[1].machinePosition-5} ; Move 5mm away from the material M558 F150 ; Set the final probing speed G38.2 Y600 P0 K0 ; Probe the material again M400 ; Make sure all movement is complete set var.y_second_measurement=move.axes[1].machinePosition ; Record the stop position y_second_measurement set var.x_second_measurement=move.axes[0].machinePosition ; Record the stop position x_second_measurement M400 ; Make sure all data recording is complete set var.y_length={var.y_second_measurement-var.y_first_measurement} set var.x_length={var.x_second_measurement-var.x_first_measurement} set var.y_over_x={var.y_length/var.x_length} set var.y_x_tan_rads=atan(var.y_over_x) set var.var y_x_tan_rads=degrees{var.y_x_tan_rads} G68 A0 B0 R{var.y_x_tan_rads}
-
RE: Feature Request - workpiece angle compensation CNC
@Phaedrux
copied the macro.
I have to fix all problems from the update first. Messed up my whole config -
RE: Feature Request - workpiece angle compensation CNC
@jay_s_uk said in Feature Request - workpiece angle compensation CNC:
@jrentschler01 i've written a macro.
this in theory should work but I haven't tested it yet.var y_first_measurement = 0 var y_second_measurement = 0 var y_length = 0 var x_first_measurement = 0 var x_second_measurement = 0 var x_length = 0 var y_over_x = 0 var y_x_tan_rads = 0 var y_x_tan_deg = 0 M291 P"Put the probe on the left hand side of the bottom edge" S2 X1 Y1 Z1 ; Pop up box asking for operator input M558 F1500 ; Set the initial probing speed G38.2 Y600 P0 K0 ; Probe the material as a first pass G1 Y{move.axes[1].machinePosition-5} ; Move 5mm away from the material M558 F150 ; Set the final probing speed G38.2 Y600 P0 K0 ; Probe the material again M400 ; Make sure all movement is complete set var.y_first_measurement=move.axes[1].machinePosition ; Record the stop position y_first_measurement set var.x_first_measurement=move.axes[0].machinePosition ; Record the stop position x_first_measurement M400 ; Make sure all data recording is complete G1 Y{move.axes[1].machinePosition-5} ; Move 5mm away from the material G1 X{move.axes[0].machinePosition+50} ; Move along the workpiece in X M558 F1500 ; Set the initial probing speed G38.2 Y600 P0 K0 ; Probe the material as a first pass G1 Y{move.axes[1].machinePosition-5} ; Move 5mm away from the material M558 F150 ; Set the final probing speed G38.2 Y600 P0 K0 ; Probe the material again M400 ; Make sure all movement is complete set var.y_second_measurement=move.axes[1].machinePosition ; Record the stop position y_second_measurement set var.x_second_measurement=move.axes[0].machinePosition ; Record the stop position x_second_measurement M400 ; Make sure all data recording is complete set var.y_length={var.y_second_measurement-var.y_first_measurement} set var.x_length={var.x_second_measurement-var.x_first_measurement} set var.y_over_x={var.y_length/var.x_length} set var.y_x_tan_rads=atan(var.y_over_x) set var.var y_x_tan_rads = degrees{var.y_x_tan_rads} G68 A0 B0 R{var.y_x_tan_rads}
Now this will ask you to jog to the bottom edge of your material, ideally you should go to somewhere near the bottom left.
This is of course assuming you're using a probe that can probe in X, Y and Z and its set as K0. I use a vers.by probe.
It uses G38.2 and stores the X and Y coordinates of each point. Once it probes the first point, it moves 50mm in X and probes again.
The angle is then calculated and fed into G68.
If you don't want to set it that way, its set usingG68 Ax Bx Rx
where Ax is the centre point to rotate around in X, Bx is the centre point to rotate around in Y and Rx is the angle to offset and is counterclockwiseHello,
Very good job so far.
I still get an error while running the macro.
"M292
Error: in file macro line 37 column 13: meta command: expected '='
"
Can somebody help me? -
RE: Upside Down Voron
@o_lampe
i used a similar one (7to1) over a year without any problems on it. Transparent is just to see if its feeding the correct path -
RE: Upside Down Voron
@mrehorstdmd said in Upside Down Voron:
@cando415 Wow! It looks cool! Does it work? How do you get under there to load filament?
yes. it works.
-
RE: Upside Down Voron
@mrehorstdmd
its inpired by the shipping containers. You can take away the Voron and get access from the top. or use the rremovable pannels on feont back and side of the Filamentbay.
The spools sin on 4 individual rollers, so its aesy to adjust them to the needes width. set a spool next to them. move them so the spoot touches all and place the spool on top
-
RE: Upside Down Voron
some updates
10to1 filament collector arrived
spool holder inside filamentpark mountedcoming up next: preextruder wiring
-
Upside Down Voron
I build my Voron upside down on purpose. After my multitool Tevo Tarantula I decided to get a Printer wich is open on the bottom side to stand on a plate to laser, to plot or to mill. The limits on a moving buildplate were quite hard. So I was constructing and searching for an aceptable design the last 2 years.
Using the Tarantula as a testbed for most of my desired features i discovered the Voron as a near perfect base for my Printer #3.
Features:
Duet3
huge buildspace
multicolor
fast changeable tools
bottomless build
huge removeable filament storage
filament bufferSome pictures will follow the next days.
-
RE: BLT randomly deploys
@phaedrux great idea. Forgot it totally ️
-
RE: BED height map problem
@matej1006 so the temperature is not the problem
-
RE: BLT randomly deploys
@nurgelrot @fcwilt
The loom is about 3m long including 3 Stepperwires.
rerouting is impossible on this printer.
I try to cut the power, if not needed, of the BLT instead. -
RE: BED height map problem
@matej1006
tyr the mapping cold and compare with a hot mapping. I think the differences are a problem of the magnethight