Knowing NanoDLP folder structure could be useful for many cases such as
- Migrating your installation to a new SD card.
- Recover corrupted SD card.
- Modify configuration manually.
Below you could find the basic folder structure after installation on Raspberry Pi and brief description of the each one.
├── config │ ├── nanodlp.service │ ├── nanodlp-wifi.txt │ ├── printer.rotate │ └── run.sh ├── db ├── distro ├── build ├── expand-fs.sh ├── LICENSE ├── NOTICE ├── printer / nanodlp ├── public │ ├── alert.ogg │ ├── css │ │ ├── main.css │ │ └── support.css │ ├── favicon.ico ├── setup.sh └── templates
This is the most important folder as it contains many json files which keep all of your NanoDLP configurations.
db/buttons.json # Custom buttons db/calibration.json # Calibration plate details db/machine.json # Machine settings (setup) db/plates.json # Uploaded plates details db/profiles.json # Resin profile settings db/stat.json # Your printer statistics
All static files that being served for users including theme files being served from here.
All plates that being added to NanoDLP to printer saved into this folder.
Include both theme HTML files and HELP files.
Default files for each distribution including manufacturer specific config and theme files.
It includes basic OS config files for Raspberry Pi that being used by setup.sh
printer / nanodlp
This the main executable to run nanodlp. Also on linux desktop you may have file called run.sh that could be used to run nanodlp.
One of the way that you can check if the nanodlp installed correctly or not (on Pi) is to run command below:
It is script that install NanoDLP on Raspberry Pi.
Script to expand file system on SD card.
File that indicate current installation manufacturer or customization name.
Bird sound that being played after print completion.
This is systemd service file that being installed during setup. You can install it on any linux computers.
Following command are the most used systemd command on linux for nanodlp.
Get current status
pi@raspberrypi:~ $ sudo service nanodlp status ● nanodlp.service - NanoDLP service Loaded: loaded (/etc/systemd/system/nanodlp.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2021-03-18 21:17:04 UTC; 5 days ago Main PID: 232 (bash) Tasks: 20 (limit: 1942) CGroup: /system.slice/nanodlp.service ├─232 /bin/bash /home/pi/printer/run.sh ├─363 sudo ./printer └─368 ./printer
nanodlp-wifi.txt and nanodlp-network.txt
Manual configuration files for Ethernet and WiFi connection.