378 lines
18 KiB
Python
378 lines
18 KiB
Python
"""Bambu Lab EU Shopify variant IDs and EU product links."""
|
|
|
|
# Shopify catalog verified against the Bambu Lab EU filament collection products.json.
|
|
# Product, then (colour code, spool type, grams, diameter in mm, Shopify variant ID).
|
|
BAMBU_SHOPIFY_VARIANT_IDS = {
|
|
"ABS": (
|
|
("40100", "refill", 1000, "1.75", 42917259083995),
|
|
("40100", "spool", 1000, "1.75", 46963746046300),
|
|
("40101", "refill", 1000, "1.75", 42917259051227),
|
|
("40101", "spool", 1000, "1.75", 46963744145756),
|
|
("40102", "refill", 1000, "1.75", 49503790596444),
|
|
("40102", "spool", 1000, "1.75", 46841277022556),
|
|
("40200", "refill", 1000, "1.75", 42917259116763),
|
|
("40300", "refill", 1000, "1.75", 48953684394332),
|
|
("40402", "refill", 1000, "1.75", 49130709418332),
|
|
("40500", "refill", 1000, "1.75", 48953688850780),
|
|
("40502", "refill", 1000, "1.75", 49037506216284),
|
|
("40600", "refill", 1000, "1.75", 42917259182299),
|
|
("40601", "refill", 1000, "1.75", 49130708730204),
|
|
("40602", "refill", 1000, "1.75", 49130708009308),
|
|
),
|
|
"ABS-GF": (
|
|
("41100", "spool", 1000, "1.75", 48011475845468),
|
|
("41101", "spool", 1000, "1.75", 48011475911004),
|
|
("41102", "spool", 1000, "1.75", 48011475878236),
|
|
("41200", "spool", 1000, "1.75", 48011475779932),
|
|
("41300", "spool", 1000, "1.75", 48011475714396),
|
|
("41400", "spool", 1000, "1.75", 48011475812700),
|
|
("41500", "spool", 1000, "1.75", 48011475747164),
|
|
("41600", "spool", 1000, "1.75", 48725868872028),
|
|
),
|
|
"ASA": (
|
|
("45100", "spool", 1000, "1.75", 46930444353884),
|
|
("45101", "spool", 1000, "1.75", 46930444222812),
|
|
("45102", "spool", 1000, "1.75", 46930444255580),
|
|
("45200", "spool", 1000, "1.75", 46930444288348),
|
|
("45500", "spool", 1000, "1.75", 46930444386652),
|
|
("45600", "spool", 1000, "1.75", 46930444321116),
|
|
),
|
|
"ASA Aero": (("46100", "spool", 1000, "1.75", 47966894096732),),
|
|
"ASA-CF": (("46101", "spool", 1000, "1.75", 49410590409052),),
|
|
"PA6-CF (1 kg)": (("72100", "spool", 1000, "1.75", 47023571534172),),
|
|
"PA6-CF (500 g)": (("72100", "spool", 500, "1.75", 47023571468636),),
|
|
"PA6-GF": (
|
|
("72102", "spool", 1000, "1.75", 47833416270172),
|
|
("72103", "spool", 1000, "1.75", 47833416302940),
|
|
("72104", "spool", 1000, "1.75", 47833416335708),
|
|
("72200", "spool", 1000, "1.75", 47833416139100),
|
|
("72400", "spool", 1000, "1.75", 47833416171868),
|
|
("72500", "spool", 1000, "1.75", 47833416204636),
|
|
("72600", "spool", 1000, "1.75", 47833416106332),
|
|
("72800", "spool", 1000, "1.75", 47833416237404),
|
|
),
|
|
"PAHT-CF (1 kg)": (("70100", "spool", 1000, "1.75", 43923846889691),),
|
|
"PAHT-CF (500 g)": (("70100", "spool", 500, "1.75", 43923846856923),),
|
|
"PC": (
|
|
("60100", "spool", 1000, "1.75", 43408627138779),
|
|
("60101", "spool", 1000, "1.75", 46673173807452),
|
|
("60102", "spool", 1000, "1.75", 43408627106011),
|
|
("60103", "spool", 1000, "1.75", 46673173774684),
|
|
),
|
|
"PC FR": (
|
|
("63100", "spool", 1000, "1.75", 53649920950620),
|
|
("63101", "spool", 1000, "1.75", 53649920983388),
|
|
("63102", "spool", 1000, "1.75", 53649921016156),
|
|
),
|
|
"PET-CF (1 kg)": (("71100", "spool", 1000, "1.75", 44012072763611),),
|
|
"PET-CF (500 g)": (("71100", "spool", 500, "1.75", 44012072730843),),
|
|
"PETG HF": (
|
|
("33100", "refill", 1000, "1.75", 49068714623324),
|
|
("33100", "spool", 1000, "1.75", 49068714787164),
|
|
("33101", "refill", 1000, "1.75", 49068714688860),
|
|
("33101", "spool", 1000, "1.75", 49068714852700),
|
|
("33102", "refill", 1000, "1.75", 49068714590556),
|
|
("33102", "spool", 1000, "1.75", 49068714754396),
|
|
("33103", "refill", 1000, "1.75", 49503342920028),
|
|
("33200", "refill", 1000, "1.75", 49068714557788),
|
|
("33200", "spool", 1000, "1.75", 49068714721628),
|
|
("33300", "refill", 1000, "1.75", 49068714492252),
|
|
("33400", "refill", 1000, "1.75", 49068714459484),
|
|
("33401", "refill", 1000, "1.75", 49503344034140),
|
|
("33500", "refill", 1000, "1.75", 49068714525020),
|
|
("33501", "refill", 1000, "1.75", 49503344427356),
|
|
("33502", "refill", 1000, "1.75", 49503341511004),
|
|
("33600", "refill", 1000, "1.75", 49068714656092),
|
|
("33600", "spool", 1000, "1.75", 49068714819932),
|
|
("33601", "refill", 1000, "1.75", 49503345246556),
|
|
("33801", "refill", 1000, "1.75", 49503342625116),
|
|
),
|
|
"PETG Translucent": (
|
|
("32100", "refill", 1000, "1.75", 49271784472924),
|
|
("32101", "refill", 1000, "1.75", 48786708922716),
|
|
("32101", "spool", 1000, "1.75", 48055896047964),
|
|
("32200", "refill", 1000, "1.75", 49074123145564),
|
|
("32300", "refill", 1000, "1.75", 49130706469212),
|
|
("32500", "refill", 1000, "1.75", 49130705977692),
|
|
("32501", "refill", 1000, "1.75", 49074122162524),
|
|
("32501", "spool", 1000, "1.75", 47502089290076),
|
|
("32600", "refill", 1000, "1.75", 49192018149724),
|
|
("32600", "spool", 1000, "1.75", 47502089191772),
|
|
("32700", "refill", 1000, "1.75", 49130706829660),
|
|
("32800", "refill", 1000, "1.75", 49192019788124),
|
|
),
|
|
"PETG-CF": (
|
|
("31100", "refill", 1000, "1.75", 49238020686172),
|
|
("31100", "spool", 1000, "1.75", 43982559412443),
|
|
("31101", "spool", 1000, "1.75", 47228683714908),
|
|
("31200", "spool", 1000, "1.75", 46935828300124),
|
|
("31500", "spool", 1000, "1.75", 46935828365660),
|
|
("31600", "spool", 1000, "1.75", 46935828332892),
|
|
("31700", "spool", 1000, "1.75", 46935828267356),
|
|
),
|
|
"PLA Aero": (
|
|
("14102", "spool", 1000, "1.75", 46953506505052),
|
|
("14104", "spool", 1000, "1.75", 49078101279068),
|
|
),
|
|
"PLA Basic": (
|
|
("10100", "refill", 1000, "1.75", 42911327846619),
|
|
("10100", "spool", 1000, "1.75", 43992829919451),
|
|
("10101", "refill", 1000, "1.75", 43923829129435),
|
|
("10101", "spool", 1000, "1.75", 43992830017755),
|
|
("10102", "refill", 1000, "1.75", 42911328010459),
|
|
("10103", "refill", 1000, "1.75", 42911327944923),
|
|
("10103", "spool", 1000, "1.75", 46956524241244),
|
|
("10104", "refill", 1000, "1.75", 49299256148316),
|
|
("10105", "refill", 1000, "1.75", 49299261423964),
|
|
("10200", "refill", 1000, "1.75", 42911328239835),
|
|
("10200", "spool", 1000, "1.75", 43992829952219),
|
|
("10201", "refill", 1000, "1.75", 42911327977691),
|
|
("10202", "refill", 1000, "1.75", 47794655068508),
|
|
("10203", "refill", 1000, "1.75", 42911328141531),
|
|
("10204", "refill", 1000, "1.75", 49636028285276),
|
|
("10204", "spool", 1000, "1.75", 53951742509404),
|
|
("10205", "refill", 1000, "1.75", 49636008395100),
|
|
("10300", "refill", 1000, "1.75", 42911327879387),
|
|
("10301", "refill", 1000, "1.75", 49636029530460),
|
|
("10301", "spool", 1000, "1.75", 53951744213340),
|
|
("10400", "refill", 1000, "1.75", 42911328043227),
|
|
("10401", "refill", 1000, "1.75", 47794656706908),
|
|
("10402", "refill", 1000, "1.75", 49636014031196),
|
|
("10402", "spool", 1000, "1.75", 53951741002076),
|
|
("10501", "refill", 1000, "1.75", 47794655461724),
|
|
("10501", "spool", 1000, "1.75", 46673378607452),
|
|
("10502", "refill", 1000, "1.75", 47794656477532),
|
|
("10502", "spool", 1000, "1.75", 54004770537820),
|
|
("10503", "refill", 1000, "1.75", 49636024353116),
|
|
("10601", "refill", 1000, "1.75", 42911327912155),
|
|
("10601", "spool", 1000, "1.75", 46738546622812),
|
|
("10602", "refill", 1000, "1.75", 42911328075995),
|
|
("10603", "refill", 1000, "1.75", 47794657329500),
|
|
("10603", "spool", 1000, "1.75", 54004785217884),
|
|
("10604", "refill", 1000, "1.75", 49636029006172),
|
|
("10605", "refill", 1000, "1.75", 49636016783708),
|
|
("10700", "refill", 1000, "1.75", 47794657362268),
|
|
("10701", "refill", 1000, "1.75", 49636021436764),
|
|
("10701", "spool", 1000, "1.75", 53951741821276),
|
|
("10800", "refill", 1000, "1.75", 42911328207067),
|
|
("10801", "refill", 1000, "1.75", 47794655101276),
|
|
("10802", "refill", 1000, "1.75", 49636027236700),
|
|
("10802", "spool", 1000, "1.75", 53951748702556),
|
|
),
|
|
"PLA Basic Gradient": (
|
|
("10900", "spool", 1000, "1.75", 46901930492252),
|
|
("10901", "spool", 1000, "1.75", 46901930525020),
|
|
("10902", "spool", 1000, "1.75", 46901930557788),
|
|
("10903", "spool", 1000, "1.75", 53638219071836),
|
|
("10904", "spool", 1000, "1.75", 53638219104604),
|
|
("10905", "spool", 1000, "1.75", 53638219006300),
|
|
("10906", "spool", 1000, "1.75", 53687078420828),
|
|
("10907", "spool", 1000, "1.75", 53638219039068),
|
|
),
|
|
"PLA Galaxy": (
|
|
("13203", "spool", 1000, "1.75", 47730388074844),
|
|
("13503", "spool", 1000, "1.75", 47730388107612),
|
|
("13504", "spool", 1000, "1.75", 47730388140380),
|
|
("13602", "spool", 1000, "1.75", 47730388173148),
|
|
),
|
|
"PLA Glow": (
|
|
("15200", "spool", 1000, "1.75", 47396823630172),
|
|
("15300", "spool", 1000, "1.75", 47396823531868),
|
|
("15400", "spool", 1000, "1.75", 47396823662940),
|
|
("15500", "spool", 1000, "1.75", 47396823597404),
|
|
("15600", "spool", 1000, "1.75", 47396823564636),
|
|
),
|
|
"PLA Marble": (
|
|
("13103", "spool", 1000, "1.75", 43964050964699),
|
|
("13201", "spool", 1000, "1.75", 46756997333340),
|
|
),
|
|
"PLA Matte": (
|
|
("11100", "refill", 1000, "1.75", 42996742586587),
|
|
("11100", "spool", 1000, "1.75", 43992833229019),
|
|
("11101", "refill", 1000, "1.75", 42996742750427),
|
|
("11101", "spool", 1000, "1.75", 43992833261787),
|
|
("11102", "refill", 1000, "1.75", 42996742619355),
|
|
("11102", "spool", 1000, "1.75", 43992833327323),
|
|
("11103", "refill", 1000, "1.75", 53926028607836),
|
|
("11104", "refill", 1000, "1.75", 53926028837212),
|
|
("11200", "refill", 1000, "1.75", 42996742848731),
|
|
("11200", "spool", 1000, "1.75", 43992833294555),
|
|
("11201", "refill", 1000, "1.75", 42996742684891),
|
|
("11202", "refill", 1000, "1.75", 47794659164508),
|
|
("11203", "refill", 1000, "1.75", 53926028804444),
|
|
("11204", "refill", 1000, "1.75", 53926028640604),
|
|
("11300", "refill", 1000, "1.75", 42996742652123),
|
|
("11300", "spool", 1000, "1.75", 46893218038108),
|
|
("11400", "refill", 1000, "1.75", 42996742717659),
|
|
("11401", "refill", 1000, "1.75", 48612736401756),
|
|
("11500", "refill", 1000, "1.75", 42996742783195),
|
|
("11501", "refill", 1000, "1.75", 47794659656028),
|
|
("11502", "refill", 1000, "1.75", 53926028706140),
|
|
("11600", "refill", 1000, "1.75", 42996751073499),
|
|
("11600", "spool", 1000, "1.75", 43992833360091),
|
|
("11601", "refill", 1000, "1.75", 42996742881499),
|
|
("11602", "refill", 1000, "1.75", 47794659688796),
|
|
("11603", "refill", 1000, "1.75", 53926028673372),
|
|
("11700", "refill", 1000, "1.75", 42996742914267),
|
|
("11800", "refill", 1000, "1.75", 42996742815963),
|
|
("11801", "refill", 1000, "1.75", 47794659426652),
|
|
("11802", "refill", 1000, "1.75", 53926028738908),
|
|
("11803", "refill", 1000, "1.75", 53926028771676),
|
|
),
|
|
"PLA Metal": (
|
|
("13100", "spool", 1000, "1.75", 46797850902876),
|
|
("13400", "spool", 1000, "1.75", 46797851099484),
|
|
("13500", "spool", 1000, "1.75", 43959185277147),
|
|
("13600", "spool", 1000, "1.75", 43959185244379),
|
|
("13800", "spool", 1000, "1.75", 43959185015003),
|
|
),
|
|
"PLA Silk Multi-Color": (
|
|
("13901", "spool", 1000, "1.75", 47489270776156),
|
|
("13902", "spool", 1000, "1.75", 47489270808924),
|
|
("13903", "spool", 1000, "1.75", 47489270841692),
|
|
("13904", "spool", 1000, "1.75", 47489270874460),
|
|
("13905", "spool", 1000, "1.75", 53515458085212),
|
|
),
|
|
"PLA Silk+": (
|
|
("13108", "spool", 1000, "1.75", 53583205925212),
|
|
("13109", "spool", 1000, "1.75", 53583205826908),
|
|
("13110", "spool", 1000, "1.75", 53583205794140),
|
|
("13205", "spool", 1000, "1.75", 53583205663068),
|
|
("13206", "spool", 1000, "1.75", 53583205957980),
|
|
("13207", "spool", 1000, "1.75", 53583205761372),
|
|
("13404", "spool", 1000, "1.75", 53583205990748),
|
|
("13405", "spool", 1000, "1.75", 53583205859676),
|
|
("13506", "spool", 1000, "1.75", 53583205630300),
|
|
("13507", "spool", 1000, "1.75", 53583205892444),
|
|
("13603", "spool", 1000, "1.75", 53583206023516),
|
|
("13604", "spool", 1000, "1.75", 53583205695836),
|
|
("13702", "spool", 1000, "1.75", 53583205728604),
|
|
),
|
|
"PLA Sparkle": (
|
|
("13101", "spool", 1000, "1.75", 43959190946011),
|
|
("13102", "spool", 1000, "1.75", 46797853163868),
|
|
("13200", "spool", 1000, "1.75", 43959190913243),
|
|
("13402", "spool", 1000, "1.75", 48725896266076),
|
|
("13501", "spool", 1000, "1.75", 43959190880475),
|
|
("13700", "spool", 1000, "1.75", 46797853032796),
|
|
),
|
|
"PLA Translucent": (
|
|
("13210", "spool", 1000, "1.75", 54345716695388),
|
|
("13211", "spool", 1000, "1.75", 54407223050588),
|
|
("13301", "spool", 1000, "1.75", 54345716662620),
|
|
("13410", "spool", 1000, "1.75", 54407223017820),
|
|
("13510", "spool", 1000, "1.75", 54407222985052),
|
|
("13610", "spool", 1000, "1.75", 54407223083356),
|
|
("13611", "spool", 1000, "1.75", 54345716597084),
|
|
("13612", "spool", 1000, "1.75", 54345716564316),
|
|
("13710", "spool", 1000, "1.75", 54345716629852),
|
|
("13711", "spool", 1000, "1.75", 54407223116124),
|
|
),
|
|
"PLA Wood": (
|
|
("13106", "spool", 1000, "1.75", 53441583186268),
|
|
("13107", "spool", 1000, "1.75", 53441583055196),
|
|
("13204", "spool", 1000, "1.75", 53441583087964),
|
|
("13403", "spool", 1000, "1.75", 53441583219036),
|
|
("13505", "spool", 1000, "1.75", 53441583153500),
|
|
("13801", "spool", 1000, "1.75", 53441583120732),
|
|
),
|
|
"PLA-CF": (
|
|
("14100", "refill", 1000, "1.75", 49200517448028),
|
|
("14100", "spool", 1000, "1.75", 43944001994971),
|
|
("14101", "refill", 1000, "1.75", 49238028845404),
|
|
("14101", "spool", 1000, "1.75", 46702306296156),
|
|
("14200", "spool", 1000, "1.75", 46702306230620),
|
|
("14500", "spool", 1000, "1.75", 46797856342364),
|
|
("14600", "spool", 1000, "1.75", 46702306263388),
|
|
("14601", "spool", 1000, "1.75", 47068316565852),
|
|
("14700", "spool", 1000, "1.75", 47068316598620),
|
|
),
|
|
"PPA-CF": (("73100", "spool", 750, "1.75", 49237640642908),),
|
|
"PPS-CF": (("76100", "spool", 750, "1.75", 49259815731548),),
|
|
"PVA": (("66400", "spool", 500, "1.75", 47790189281628),),
|
|
"Support for ABS": (("66100", "spool", 500, "1.75", 49063577420124),),
|
|
"Support for PA/PET": (("65500", "spool", 500, "1.75", 43050119364827),),
|
|
"Support for PLA (New Version)": (("65104", "spool", 500, "1.75", 54200625725788),),
|
|
"Support for PLA/PETG": (
|
|
("65102", "spool", 500, "1.75", 48921550553436),
|
|
("65103", "spool", 500, "1.75", 53534477320540),
|
|
),
|
|
"TPU 85A": (
|
|
("51305", "spool", 1000, "1.75", 54085774410076),
|
|
("51500", "spool", 1000, "1.75", 54085774442844),
|
|
),
|
|
"TPU 90A": (
|
|
("51103", "spool", 1000, "1.75", 54085774541148),
|
|
("51105", "spool", 1000, "1.75", 54085774475612),
|
|
("51900", "spool", 1000, "1.75", 54085774508380),
|
|
("51901", "spool", 1000, "1.75", 54084062511452),
|
|
),
|
|
"TPU 95A HF": (
|
|
("51100", "spool", 1000, "1.75", 47305218687324),
|
|
("51101", "spool", 1000, "1.75", 47305218785628),
|
|
("51102", "spool", 1000, "1.75", 47305218752860),
|
|
("51200", "spool", 1000, "1.75", 47305218883932),
|
|
("51400", "spool", 1000, "1.75", 47305218818396),
|
|
("51600", "spool", 1000, "1.75", 47305218851164),
|
|
),
|
|
"TPU for AMS": (
|
|
("53100", "spool", 1000, "1.75", 53421837320540),
|
|
("53101", "spool", 1000, "1.75", 53421837386076),
|
|
("53102", "spool", 1000, "1.75", 53421837353308),
|
|
("53200", "spool", 1000, "1.75", 53421837189468),
|
|
("53400", "spool", 1000, "1.75", 53421837222236),
|
|
("53500", "spool", 1000, "1.75", 53421837287772),
|
|
("53600", "spool", 1000, "1.75", 53421837255004),
|
|
),
|
|
}
|
|
|
|
BAMBU_EU_PRODUCT_SLUGS = {
|
|
"abs": "abs-filament",
|
|
"abs-gf": "abs-gf",
|
|
"asa": "asa-filament",
|
|
"asa aero": "asa-aero",
|
|
"asa-cf": "asa-cf",
|
|
"pa6-cf (1 kg)": "pa6-cf",
|
|
"pa6-cf (500 g)": "pa6-cf",
|
|
"pa6-gf": "pa6-gf",
|
|
"paht-cf (1 kg)": "paht-cf",
|
|
"paht-cf (500 g)": "paht-cf",
|
|
"pc": "pc-filament",
|
|
"pc fr": "pc-fr",
|
|
"pet-cf (1 kg)": "pet-cf",
|
|
"pet-cf (500 g)": "pet-cf",
|
|
"petg basic": "petg-basic",
|
|
"petg matte": "petg-matte",
|
|
"petg translucent": "petg-translucent",
|
|
"petg-cf": "petg-cf",
|
|
"pla aero": "pla-aero",
|
|
"pla basic": "pla-basic-filament",
|
|
"pla basic gradient": "pla-basic-gradient",
|
|
"pla galaxy": "pla-galaxy",
|
|
"pla glow": "pla-glow",
|
|
"pla marble": "pla-marble",
|
|
"pla matte": "pla-matte",
|
|
"pla metal": "pla-metal",
|
|
"pla palette": "pla-palette",
|
|
"pla pure": "pla-pure",
|
|
"pla silk multi-color": "pla-silk-multi-color",
|
|
"pla silk+": "pla-silk-upgrade",
|
|
"pla sparkle": "pla-sparkle",
|
|
"pla tough+": "pla-tough-upgrade",
|
|
"pla translucent": "pla-translucent",
|
|
"pla wood": "pla-wood",
|
|
"pla-cf": "pla-cf",
|
|
"ppa-cf": "ppa-cf",
|
|
"pps-cf": "pps-cf",
|
|
"pva": "pva",
|
|
"support for abs": "support-for-abs",
|
|
"support for pa/pet": "support-for-pa-pet",
|
|
"support for pla (new version)": "support-for-pla-new",
|
|
"support for pla/petg": "support-for-pla-petg",
|
|
"tpu 75a (2.85mm)": "tpu-75a-2-85mm",
|
|
"tpu 85a": "tpu-85a-tpu-90a",
|
|
"tpu 90a": "tpu-85a-tpu-90a",
|
|
"tpu 95a hf": "tpu-95a-hf",
|
|
"tpu for ams": "tpu-for-ams",
|
|
}
|