3D Map Feature Modifier (MFM) Post Processor

3D Map Feature Modifier (MFM) Post Processor

You can add elevation contour lines and color changes to your 3D printed maps with a new script that I created.

MFM logo

The Map Feature Modifier (MFM) script is compatible with Prusaslicer, OrcaSlicer, and Bambu Studio. It is also open source and free to use! Download it here.

Elevation Contour Lines

Elevations contour lines (also known as isolines) show a path of constant elevation on a height map.

map contour lines

Symbology Elevation Scale

Usually height on a map is colored along a scale as seen below.

map color scale
ESRI

Bringing Cartographic Map Features to 3D Printing

Now you can add both of these features into a 3D printed map with the free Map Feature Modifier!

It is optimized for use with my free 3D printable maps. It even works on models that are not maps so you can add layered color changes in creative ways to other objects.

I made a tutorial video showing how to use the Map Feature Modifier. All of the steps are also written to follow at your own pace on the GitHub repo.

Normally I would write the content of the video in a post but I just started a new job and don’t have a lot of time lately so the video and Github repo documentation will need to suffice for now.

How it works

I go into more depth on how the script works in the internals portion at the end of the MFM tutorial youtube video. I’ve written a short quick explanation below.

Initially I tried simply replacing the T tool indices on spaced out layers to create the isolines but that leads to an oil slick effect when the top surface coincides with an isoline layer.

Instead of being layer aware, I needed to increase of the granularity of the script to be feature aware. Each printing feature is tracked so that only the outer walls (or other user selected feature type) is recolored to create isolines. The order of the printing features must also be altered to print all the outer walls at once before switching to print the inner walls or other features so that toolchanges and color swaps are kept to a minimum.

The existing toolchange and prime tower movements are also reused on demand so that new toolchanges will use the prime tower and toolchange to avoid wasted material and time from flushing.

Map Feature Modifier ended up becoming a framework that can extract and reorder G-code into relocatable and modifiable G-code segments akin to assembly gadgets.

It can run either within a slicer as a post processing script, a command line program, or a GUI app. I also added the feature for the GUI app to handle Plate Sliced 3MF which is sliced G-code that is compressed into a 3MF which is more friendly for normal users to import and preview the processed 3MF in the slicer.

Thanks

A big thank you the below individuals as well as the 3D printing community.

  • Chris Harding for his work on TouchTerrain and letting me contribute to the project.

  • Brian Kelley from Colorado for kickstarting my initial work on Map Feature Modifier.

  • Joseph Sanzo and Khor Hon Wei for trusting me with their 3D printers as guinea pigs.

  • Toybox Labs for filament to test.

Anson Liu