Skip to content

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

License

Notifications You must be signed in to change notification settings

Daniel-Harrington/UnNano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

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.

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages