Notifications
Clear all

script to reduce probe size  

  RSS
nick9one1
(@nick9one1)
Active Member
script to reduce probe size

I found a nice script to reduce the amount of bed probed. e.g if you print a 10x10cube, it only probes the part of the bed used, not the whole thing. 

Unfortunately I'm struggling to get it working. 

I get an error in prusaslicer trying to run this;

python3 "C:\Program Files\SuperSlicer\meshgrid.py" "[output_filepath]"

The configured post processing script does not exist: python3

python3 from the command line

C:\>python3
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Posted : 31/03/2021 3:40 pm
Diem
 Diem
(@diem)
Illustrious Member
RE: script to reduce probe size

CAVEAT: I don't have Windows.

The shell is telling you it can't find the specified script at the address you have provided.  Most likely a typo or, you have used a relative call from the wrong working directory.

Cheerio,

Posted : 31/03/2021 10:45 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: script to reduce probe size
Posted by: @nick9one1

I found a nice script to reduce the amount of bed probed. e.g if you print a 10x10cube, it only probes the part of the bed used, not the whole thing. 

Unfortunately I'm struggling to get it working. 

I get an error in prusaslicer trying to run this;

python3 "C:\Program Files\SuperSlicer\meshgrid.py" "[output_filepath]"

The configured post processing script does not exist: python3

python3 from the command line

C:\>python3
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

The path to Python does not seem to be known. I would try it this way:

"C:\Program Files\Python38\python.exe" "C:\Users\7800mbz\AppData\Local\Programs\Python\Python37-32\Scripts\PrusaSlicer\mmuGcodeParser.py";

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Posted : 31/03/2021 11:44 pm
nick9one1
(@nick9one1)
Active Member
Topic starter answered:
RE: script to reduce probe size

Thanks for the suggestions. I've made some progress but it still isnt working.
If create a .gcode file and run this from cmd, it works.. 

C:\Users\mumby\AppData\Local\Programs\Python\Python39\python.exe "C:\Users\mumby\OneDrive\Desktop\duet3d_automesh.py" "C:\Users\mumby\OneDrive\Desktop\box.gcode"

but this doesnt work from the prusaslicer..

C:\Users\mumby\AppData\Local\Programs\Python\Python39\python.exe "C:\Users\mumby\OneDrive\Desktop\duet3d_automesh.py" "[output_filepath]"

 

Posted : 01/04/2021 9:31 am
Neophyl
(@neophyl)
Illustrious Member
RE: script to reduce probe size

@nick9one1

That looks like its looking for the output file in the local\temp\superslicer folder.  Why would Prusa Slicer be putting its temporary files in the SuperSlicer folder ?

Posted : 01/04/2021 11:40 am
Share: