PAM & Optimus Prime

@Helge Keck
Hi, is there a way how to properly set up "Optimus Prime". It mostly works, but it seems it has weak spot at the left front corner of the bed (following photos are examples of postions of print where print itself is repsented by one layer square frame surrounded by skirt)
122 Replies
Kmarty
KmartyOP•2y ago
Problematic left front
No description
Kmarty
KmartyOP•2y ago
Ok (moreless) right front
No description
Kmarty
KmartyOP•2y ago
Ok right back
No description
Kmarty
KmartyOP•2y ago
Ok-ish left back
No description
Helge Keck
Helge Keck•2y ago
i will test this here
Kmarty
KmartyOP•2y ago
I believe I just missed some cfg. I just don't know what 🙂
Helge Keck
Helge Keck•2y ago
with eva no config is needed it should work by its own try primeblob instead
Kmarty
KmartyOP•2y ago
Vcore3.1 with EVA 3.1 here Primeblob almost destroyed fan duct
Helge Keck
Helge Keck•2y ago
a primeblob cant destroy a fan duct
Kmarty
KmartyOP•2y ago
it's simply too high overall, I'm not fan of primeblob exactly because of this
Helge Keck
Helge Keck•2y ago
the toolhead should not cross the blob at all
Kmarty
KmartyOP•2y ago
should not, but it does
Helge Keck
Helge Keck•2y ago
is this ratos v1 or v2?
Kmarty
KmartyOP•2y ago
v2
Helge Keck
Helge Keck•2y ago
please show me your printer.cfg
Kmarty
KmartyOP•2y ago
heh 🙂 give me a moment
Helge Keck
Helge Keck•2y ago
download the printer.cfg from mainsail and drag and drop the file into this discussion
Kmarty
KmartyOP•2y ago
Helge Keck
Helge Keck•2y ago
this is not a organized printer.cfg
Kmarty
KmartyOP•2y ago
organized?
Helge Keck
Helge Keck•2y ago
almost everything on the wrong palce
Kmarty
KmartyOP•2y ago
???
Helge Keck
Helge Keck•2y ago
you are including pam, and later other macros that override the pam behaviour
Kmarty
KmartyOP•2y ago
I had to, since your PAM overwrites my PRIME_LINE then I tried your version of PRIME_LINE (because the idea is basically the same)
Helge Keck
Helge Keck•2y ago
well, my primeline extension is needed for adaptive primeing no wonder it doesnt work i recommend to put all hardware related settings before your custom includes you have stepper condfigs and such in the very end of the file also, pam must be initialized after your complete mesh config
Kmarty
KmartyOP•2y ago
since RatOS doesn't count on that cfg
Helge Keck
Helge Keck•2y ago
you have some mesh entries after pam anyway, without my priming macro adaptive priming wont work
Kmarty
KmartyOP•2y ago
ok, I move PAM back at the end where is was originally (I moved it before my PRIME_LINE because since yestarday(?) PAM suddenly start to provide PRIME_LINE macro) eh, how to start At first I used your PAM only and my (adaptive) PRIME_LINE but since yesterday PAM overwrites my PRIME_LINE so I moved PAM before my PRIME_LINE which worked
Helge Keck
Helge Keck•2y ago
well, the new primeline macro is identical to the ratos primeline macro if you have something specific in it you need to override the new macro
Kmarty
KmartyOP•2y ago
but then I realize "oh, I can use your optimus prime version and not my adaptive primeline because idea is basically the same - move prime_line close to the print" so I commented my PRIME_LINE and tried yours and here I am
Helge Keck
Helge Keck•2y ago
if you want to use your primeline feature you can do that just remove the include and use [pam]
Kmarty
KmartyOP•2y ago
ok, pam included as last thing in prionter.cfg and I'll try next attempt now
Helge Keck
Helge Keck•2y ago
then you dont have the new macro
Kmarty
KmartyOP•2y ago
I want to try your primeline instead of mine 🙂 That's the point now 🙂
Kmarty
KmartyOP•2y ago
So just to be sure, this should be recommended place of include, right?:
No description
Helge Keck
Helge Keck•2y ago
this is enough: [include pam/ratos.cfg] [pam] optimus_prime: True
Kmarty
KmartyOP•2y ago
I know, the rest is default values
Helge Keck
Helge Keck•2y ago
and offset isnt used anymore
Kmarty
KmartyOP•2y ago
oh, ok 🙂
Helge Keck
Helge Keck•2y ago
so, even with prime blob this works now, the toolhead jumps over the primeblob before going back to the print
Kmarty
KmartyOP•2y ago
Same as before
No description
Helge Keck
Helge Keck•2y ago
please show me your new printer.cfg
Kmarty
KmartyOP•2y ago
Helge Keck
Helge Keck•2y ago
show me the gcode file please
Helge Keck
Helge Keck•2y ago
please try with primeblob is a bug will fix
Kmarty
KmartyOP•2y ago
primeblob... I think I got the issue with prime blob
Helge Keck
Helge Keck•2y ago
error doesnt happen with primeblob, only with primeline jsut tested it here
Kmarty
KmartyOP•2y ago
With primeblob, I think I need to modify toolhead_offset_back(?)
Helge Keck
Helge Keck•2y ago
no its a bug i need to fix it here#
Kmarty
KmartyOP•2y ago
because... well, I have EVA 3.1... but I also have MFBS's "Gaping Maw" back of EVA & his 4028 fan mount
Helge Keck
Helge Keck•2y ago
no i have to fix it here
Kmarty
KmartyOP•2y ago
primeblob too?
Helge Keck
Helge Keck•2y ago
primeblob works here for me, its the primeline
Kmarty
KmartyOP•2y ago
I hit the primeblob, that's the issue I have with primeblob and primeline crossing print itself (which could be bug)
Helge Keck
Helge Keck•2y ago
the new tool jumpos over it i just told you its a bug
Kmarty
KmartyOP•2y ago
Kmarty
KmartyOP•2y ago
at the end, did you hear (and see) it?
Helge Keck
Helge Keck•2y ago
thats not a bug its indeed your toolhead poffset i mean the documentation tells you this
Kmarty
KmartyOP•2y ago
that's why I wrote this
Helge Keck
Helge Keck•2y ago
yes, in the blob caase, but this has nothing to do twith the actual bug we are talking about
Kmarty
KmartyOP•2y ago
and that's why I wrote basically the same few lines earlier
Helge Keck
Helge Keck•2y ago
for the momenbt please use primeblob as it works will fix the primeline thing
Kmarty
KmartyOP•2y ago
nvrmind, is it toolhead_offset_back I'm looking for (to correctly set the primeblob)?
Helge Keck
Helge Keck•2y ago
yes
Kmarty
KmartyOP•2y ago
changed cfg to:
toolhead_offset_left: 36
toolhead_offset_right: 36
toolhead_offset_front: 15
toolhead_offset_back: 80
toolhead_offset_left: 36
toolhead_offset_right: 36
toolhead_offset_front: 15
toolhead_offset_back: 80
and no, primeblob has issues too
Kmarty
KmartyOP•2y ago
Kmarty
KmartyOP•2y ago
the blob itself is created far enough not to interfere with print itself but when primeblob finishes, the carriage moves over it... and crashes with blob regardles how big toolhead_offset_back is (...and continue crashing the bottom of duct because blob is stucked there)
Helge Keck
Helge Keck•2y ago
please update
Kmarty
KmartyOP•2y ago
If you don't mind, first attempt will be without filament 🙂
ptegler
ptegler•2y ago
interesting...why is the priming semi-centered on the bed and then he goes to near 0,0, to start printing? I though even the adaptive priming kept the prime near the print area, but out of the way based on the offsets.
Helge Keck
Helge Keck•2y ago
this is obviously a bug i am working on together with my friend here
ptegler
ptegler•2y ago
that's what I meant.... seems dims are 'wrapping around zero' or something.... if prime is to the left and forward of the print area ...and he's trying to print at zero, zero.... ...don't envy you here 😛
Kmarty
KmartyOP•2y ago
primeline with print in the left front corner look like primeline is created directly on/in front of print 😦
Helge Keck
Helge Keck•2y ago
directly on/in front of
i am sorry, i dont speak chinese, do you have a photo? however, you dont need to make any more tests i am working on ti thanks anyway
Kmarty
KmartyOP•2y ago
I don't have photo, I'm trying it without filament now (tests with primeblob convinced me to do that this way. At least for the first time)
Helge Keck
Helge Keck•2y ago
what do you print? granite?
Kmarty
KmartyOP•2y ago
the crunching and squeaking didn't sound healthy, sorry
Helge Keck
Helge Keck•2y ago
hmm, your toolhead design must be extremly close to the bed a blob is jsut 4 or 5mm high and made out of hot soft plastic
Kmarty
KmartyOP•2y ago
there's about 4mm clearance
Helge Keck
Helge Keck•2y ago
lowrider
Kmarty
KmartyOP•2y ago
it's definitely not hot at that moment, 4028 does it's job hmm, even less. 3.5mm
Kmarty
KmartyOP•2y ago
No description
Kmarty
KmartyOP•2y ago
and you were asking why not the blob 🙂
Helge Keck
Helge Keck•2y ago
i updated the script to respect the offset for the jump i got no feedback from you you jsut mentioned the line again i was updating the blob thing
Kmarty
KmartyOP•2y ago
working on it 🙂 at this moment, I have primeline only (almost worst case scenario)
Kmarty
KmartyOP•2y ago
No description
Kmarty
KmartyOP•2y ago
No description
Helge Keck
Helge Keck•2y ago
yes, you showed me that before, but i was working on the blob thing the whole time, one fix after the other
Kmarty
KmartyOP•2y ago
Test with primeblob will be soon
Kmarty
KmartyOP•2y ago
Primeblob
Helge Keck
Helge Keck•2y ago
difficult to see from the angle, is it touching the blob or not?
Kmarty
KmartyOP•2y ago
no
Helge Keck
Helge Keck•2y ago
ok, now update and try the primeline
Helge Keck
Helge Keck•2y ago
plus, show me then the console output, i made some changes here to better understand what happens on your site
No description
Kmarty
KmartyOP•2y ago
18:52 nozzle_prime_start_x 20.0
18:52 nozzle_prime_start_y 163.697
18:52 nozzle_prime_location back
18:52 nozzle_prime_direction right
18:52 PAM v0.4.0 bed mesh leveling...
18:52 Relative Reference Index -1
18:52 Generating new points...
18:52 bed_mesh: generated points
Index | Tool Adjusted | Probe
18:52 0 | (47.8, 32.0) | (20.0, 20.0)
18:52 1 | (75.7, 32.0) | (47.9, 20.0)
18:52 2 | (103.7, 32.0) | (75.9, 20.0)
18:52 3 | (103.7, 60.1) | (75.9, 48.1)
18:52 4 | (75.7, 60.1) | (47.9, 48.1)
18:52 5 | (47.8, 60.1) | (20.0, 48.1)
18:52 6 | (47.8, 88.2) | (20.0, 76.2)
18:52 7 | (75.7, 88.2) | (47.9, 76.2)
18:52 8 | (103.7, 88.2) | (75.9, 76.2)
18:52 nozzle_prime_start_x 20.0
18:52 nozzle_prime_start_y 163.697
18:52 nozzle_prime_location back
18:52 nozzle_prime_direction right
18:52 PAM v0.4.0 bed mesh leveling...
18:52 Relative Reference Index -1
18:52 Generating new points...
18:52 bed_mesh: generated points
Index | Tool Adjusted | Probe
18:52 0 | (47.8, 32.0) | (20.0, 20.0)
18:52 1 | (75.7, 32.0) | (47.9, 20.0)
18:52 2 | (103.7, 32.0) | (75.9, 20.0)
18:52 3 | (103.7, 60.1) | (75.9, 48.1)
18:52 4 | (75.7, 60.1) | (47.9, 48.1)
18:52 5 | (47.8, 60.1) | (20.0, 48.1)
18:52 6 | (47.8, 88.2) | (20.0, 76.2)
18:52 7 | (75.7, 88.2) | (47.9, 76.2)
18:52 8 | (103.7, 88.2) | (75.9, 76.2)
Helge Keck
Helge Keck•2y ago
you didnt updated the script
Kmarty
KmartyOP•2y ago
or it doesn't show with primeblob
Helge Keck
Helge Keck•2y ago
no, you didnt updated the script its on older version you are showing me here
Kmarty
KmartyOP•2y ago
it tells me v0.4.0-30-geb9adfc is the latest available
Helge Keck
Helge Keck•2y ago
maybe you got a cached vesion tr to update again i believe in mainsail is a minimum time between update thing or something
Kmarty
KmartyOP•2y ago
😛
No description
Helge Keck
Helge Keck•2y ago
i cant see the monitor atm what is this
Kmarty
KmartyOP•2y ago
that's your commit log
Helge Keck
Helge Keck•2y ago
i dont knwo what this means
Kmarty
KmartyOP•2y ago
that means the version I should have, wasn't there a minute ago
Helge Keck
Helge Keck•2y ago
you dont get me, i mean this is my first day in the internet maybe too subtile anyway, can you test please
Kmarty
KmartyOP•2y ago
I'm sorry, if you joking... my english isn't good enough to get if you are joking or not I guess it means yes 🙂 you want output from timeline or timeblob?
Helge Keck
Helge Keck•2y ago
i mean i obviously can see the monitor if i am typing timeline please
Kmarty
KmartyOP•2y ago
I'm easy target for this 🙂
Helge Keck
Helge Keck•2y ago
yeah, i am starting to realize this 😂
Kmarty
KmartyOP•2y ago
19:17 Optimus Prime X=3.53704 Y=85.697
19:17 Optimus Prime Location back
19:17 Optimus Prime Direction right
19:17 PAM v0.4.0 bed mesh leveling...
19:17 Relative Reference Index -1
19:17 Mesh X0=20.0 Y0=20.0 X1=75.8728 Y1=76.197
19:17 Generating new points...
19:17 bed_mesh: generated points
Index | Tool Adjusted | Probe
19:17 0 | (47.8, 32.0) | (20.0, 20.0)
19:17 1 | (75.7, 32.0) | (47.9, 20.0)
19:17 2 | (103.7, 32.0) | (75.9, 20.0)
19:17 3 | (103.7, 60.1) | (75.9, 48.1)
19:17 4 | (75.7, 60.1) | (47.9, 48.1)
19:17 5 | (47.8, 60.1) | (20.0, 48.1)
19:17 6 | (47.8, 88.2) | (20.0, 76.2)
19:17 7 | (75.7, 88.2) | (47.9, 76.2)
19:17 8 | (103.7, 88.2) | (75.9, 76.2)
19:17 Optimus Prime X=3.53704 Y=85.697
19:17 Optimus Prime Location back
19:17 Optimus Prime Direction right
19:17 PAM v0.4.0 bed mesh leveling...
19:17 Relative Reference Index -1
19:17 Mesh X0=20.0 Y0=20.0 X1=75.8728 Y1=76.197
19:17 Generating new points...
19:17 bed_mesh: generated points
Index | Tool Adjusted | Probe
19:17 0 | (47.8, 32.0) | (20.0, 20.0)
19:17 1 | (75.7, 32.0) | (47.9, 20.0)
19:17 2 | (103.7, 32.0) | (75.9, 20.0)
19:17 3 | (103.7, 60.1) | (75.9, 48.1)
19:17 4 | (75.7, 60.1) | (47.9, 48.1)
19:17 5 | (47.8, 60.1) | (20.0, 48.1)
19:17 6 | (47.8, 88.2) | (20.0, 76.2)
19:17 7 | (75.7, 88.2) | (47.9, 76.2)
19:17 8 | (103.7, 88.2) | (75.9, 76.2)
Helge Keck
Helge Keck•2y ago
and how does the print look
Kmarty
KmartyOP•2y ago
No description
Helge Keck
Helge Keck•2y ago
nice you can turn on Auto Relative Reference Index i have seen in your config you have a custom safe z home position, would be good to see if that works too
Kmarty
KmartyOP•2y ago
custom safe z home is due to historical reason - about two(?) years ago I've had unreliable Z-homing, so Z homing in the middle of the bed wasn't the greatest idea. Homing in the one of the back quadrant has natural failsafe - if Z homing fails and Z will continue up, it just tilt the bed from magnets
19:36 Optimus Prime X=3.83212 Y=85.6679
19:36 Optimus Prime Location back
19:36 Optimus Prime Direction right
19:36 PAM v0.4.0 bed mesh leveling...
19:36 Relative Reference Index 8
19:36 Mesh X0=20.0 Y0=20.0 X1=76.1679 Y1=76.1679
19:36 Generating new points...
19:36 bed_mesh: generated points
Index | Tool Adjusted | Probe
19:36 0 | (47.8, 32.0) | (20.0, 20.0)
19:36 1 | (75.9, 32.0) | (48.1, 20.0)
19:36 2 | (104.0, 32.0) | (76.2, 20.0)
19:36 3 | (104.0, 60.1) | (76.2, 48.1)
19:36 4 | (75.9, 60.1) | (48.1, 48.1)
19:36 5 | (47.8, 60.1) | (20.0, 48.1)
19:36 6 | (47.8, 88.2) | (20.0, 76.2)
19:36 7 | (75.9, 88.2) | (48.1, 76.2)
19:36 8 | (104.0, 88.2) | (76.2, 76.2)
19:36 bed_mesh: relative_reference_index 8 is (76.16, 76.16)
19:36 Optimus Prime X=3.83212 Y=85.6679
19:36 Optimus Prime Location back
19:36 Optimus Prime Direction right
19:36 PAM v0.4.0 bed mesh leveling...
19:36 Relative Reference Index 8
19:36 Mesh X0=20.0 Y0=20.0 X1=76.1679 Y1=76.1679
19:36 Generating new points...
19:36 bed_mesh: generated points
Index | Tool Adjusted | Probe
19:36 0 | (47.8, 32.0) | (20.0, 20.0)
19:36 1 | (75.9, 32.0) | (48.1, 20.0)
19:36 2 | (104.0, 32.0) | (76.2, 20.0)
19:36 3 | (104.0, 60.1) | (76.2, 48.1)
19:36 4 | (75.9, 60.1) | (48.1, 48.1)
19:36 5 | (47.8, 60.1) | (20.0, 48.1)
19:36 6 | (47.8, 88.2) | (20.0, 76.2)
19:36 7 | (75.9, 88.2) | (48.1, 76.2)
19:36 8 | (104.0, 88.2) | (76.2, 76.2)
19:36 bed_mesh: relative_reference_index 8 is (76.16, 76.16)
Helge Keck
Helge Keck•2y ago
is Index 8 the closes probe point to your home z position?
Kmarty
KmartyOP•2y ago
home z position is X=50, Y=250
Helge Keck
Helge Keck•2y ago
easiest way to test it is to set a suqare corner at the point where the home z is, this corner index should be the index but this looks right index 8 is in this area
Kmarty
KmartyOP•2y ago
damn, even google translate didn't help
Helge Keck
Helge Keck•2y ago
nvm, index 8 is correct
Kmarty
KmartyOP•2y ago
I'm glad I can abandon another piece of my attempts of very similar things (first was "Dynamic BED_MESH_CALIBRATE" in favor of "PAM". Now it is "Adaptive PRIME_LINE" in favor of "Optimus Prime"). Thank you

Did you find this page helpful?