Use samples template and auto-discover material names

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-13 14:26:45 +03:30
parent d3f6f53955
commit 3887505e40
5 changed files with 63 additions and 38 deletions

17
samples.example.txt Normal file
View File

@@ -0,0 +1,17 @@
# One sample name per line, in measurement order.
# Lines starting with # are ignored.
#
# Single materials: just the material name/code, e.g.
# INK_A
#
# Two-material mixes: NAME_A+NAME_B[w1 to w2 mix]
# where w1/w2 are relative weights, converted to percentages, e.g.
# INK_A+INK_B[75 to 15 mix] -> 83% INK_A + 17% INK_B
#
# Copy this file to samples.txt and replace with your own materials:
# cp samples.example.txt samples.txt
INK_A
INK_B
INK_C
INK_A+INK_B[75 to 15 mix]
INK_A+INK_C[30 to 80 mix]