Parsing of CSV files



  • It would be handy if we could parse a CSV file for values in a similar way that the filaments.csv file is used.

    One usage case that springs to mind would be a centralized location for active & standby temps for different filaments
    eg

    ;filament temp table
    Filament,active,standby
    ABS,250,90
    PLA,175,60
    NYLON,260,150
    

    This would likely require a new M code which could be passed the target value and column to return.
    e.g.

    M9** S"0:/temps/filement_temps.csv"  T"ABS" P2 <- return column 2
    or 
    M9**  S"0:/temps/filement_temps.csv" T"PLA" P"standby" 
    

Log in to reply