Just for sake of completeness a blog-post: I just released the source-code for Slicer4RTN. All developments will be documented there.
% slicer4rtn --subdivide=5 --recenter cube.stl
== Slicer4RTN 0.4.5 == https://github.com/Spiritdude/Slicer4RTN
processing 'cube.stl':
1/5 read stl
1/5 subdivide (44 vertices)
2/5 subdivide (188 vertices)
3/5 subdivide (764 vertices)
4/5 subdivide (3068 vertices)
5/5 subdivide (12284 vertices)
2/5 map vertices
3/5 write temporary stl
4/5 slice (slic3r) stl
=> Processing triangulated mesh
=> Generating perimeters
=> Preparing infill
=> Infilling layers
=> Exporting G-code to ./tmp-204390.gcode
Done. Process took 0 minutes and 1.313 seconds
Filament required: 758.4mm (5.4cm3)
5/5 remap gcode to 'cube.gcode' (18932 lines)
== took 4 secs total, done.
That’s it.