Thursday, January 02, 2025

 

500μm scale mark - printed with PrusaSlicer

I found a limitation with jscut in that it always closes a path, so if you draw a 'U' it will join the two ends at the top. So jscut is not suitable. After looking for something that works, I found that PrusaSlicer imports SVG paths (though they need re-scaling for undetermined reasons).

So I wrote a RepRapMicron printer configuration for PrusaSlicer based on Marlin and told it not to use the extruder. It put 'A' commands and 'M' commands in the GCODE though, so I used a post processor to strip them out:

/bin/sed "s/ A[0-9.-]*//";grep -v "^M"

This allowed me to import an SVG line drawing and produce this:


 Due to the probe impact problem producing a bloody great horizontal line every time it hits the slide, some things are a bit obscured, but that's a 500μm line with end marks and the letters "500um" underneath it.

So now I can draw open-ended paths and can get on with creating some calibration patterns manually.

I also really need to print a microscope slide storage box to take to Everything Open. Must remember to set the printer type back...



Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to
Posts [Atom]