Python script to automatically create a set of NFC commands to colour filament and brand for ACE Pro
Requires python (and matplotlib) installed
- run python file
python ./main.py - input colour name or enter to skip to enter hex code
- it will ask for hex code if you didnt enter a colour, or didnt find the colour (Black #000000 default)
- input filament type (PLA+ default)
- will print out NFC commands
2025-01-26.10-58-44.webm
You can use the following parameters for quickly generate the NFC commands.
--copy: Copy output to clipboard
--no-print: Do not show output on screen
--hex: Color hex (e.g. #123456, $12345678)
--color: Color name
--material: Material (e.g. PLA)
- open relevant NFC writing tool (I used NFC tools pro)
- go to other -> advanced NFC commands
- Paste into box
- place NFC tag under phone and confirm it detects it
- send command
- note: it may not show this option if there is too much text, if so you can cut half of the commands out AFTER a comma (,) and paste it as a seperate command
after:
- attach to filament roll and confirm it works!








