8000
Skip to content

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnNano

Microscopy Blender Nanomaterials License

A GUI Tool for Converting Thorlabs Educational AFM Data to 3D Printable Mesh (.stl)

UnNano enables the conversion of Thorlabs AFM data into 3D printable meshes in ~100ms, providing high-resolution visualizations of 20×20 micrometer samples. Normalization of inputs occurs but relative height differences are preserved.

image


Features

  • Safe removal of even extreme scanline artifacts
  • Fast Plane Leveling Tool
  • Adjustable Model Label

Usage

  1. Prepare the Directory
    Ensure that the unnano.py file is located in a folder containing a subfolder named model_template.

  2. Install Dependencies
    Install the required dependencies by running the following command:

    pip install -r requirements.txt
  3. Run The Program

    Start unnano.py

  4. Add AFM Data

    Drag in a Thorlabs AFM output csv (in semicolon-delimited CSV format)

  5. Generate STL

    Hit the generation button and retrieve your 3D .stl file


Resolution Details

The input CSV file is first converted into a normalized 32-bit TIFF, which preserves the relative height accuracy from the AFM data. This TIFF file is then applied to a high-resolution mesh consisting of 652,864 faces. This mesh has more than sufficient resolution to faithfully represent the height data at the highest AFM resolution of 500×500 pixels.

  • Blender’s built-in texture interpolation is applied by default to smooth the displacement across the mesh.

A Note on Settings

The Z-scale setting is a multiplier relative to the x-y scale (i.e. a Z-scale of 0.5 on a 10 μm² x-y plane means the tallest feature is 5 μm)


Examples

100x100 Pixel Scan:

scaled_cftest copy

500x500 Pixel Scan:

About

🔬 💻 A GUI Tool For Converting Thorlabs Educational Atomic Force Microsocope Scans to 3D Printable Mesh

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0