shx-3d-render

main
Jan Umbach 2024-06-21 21:48:00 +02:00
parent e9127cabbe
commit 5cc70e6322
1 changed files with 52 additions and 3 deletions

View File

@ -100,6 +100,56 @@
"name": "Weiß (Matt)", "name": "Weiß (Matt)",
"hex": "#FFFFFF" "hex": "#FFFFFF"
}, },
"12": {
"name": "Gold (Glänzend)",
"hex": "#FFD700"
},
"13": {
"name": "Rot (Glänzend)",
"hex": "#BB0000"
},
"14": {
"name": "Holz (Matt)",
"hex": "#b47c4d"
},
"17": {
"name": "Blau (Fluoreszierend)",
"hex": "#1166FF"
},
"18": {
"name": "Orange (Fluoreszierend)",
"hex": "#FFA500"
},
"19": {
"name": "Diamant-Smaragdgrün (Glitzernd)",
"hex": "#1C2F1C"
},
"21": {
"name": "Rosa (Matt)",
"hex": "#FFC0CB"
},
"22": {
"name": "Hellblau (Matt)",
"hex": "#aaa"
},
"23": {
"name": "Schokolade (Matt)",
"hex": "#2b1d0e"
},
"26": {
"name": "Beige (Matt)",
"hex": "#f5f5dc"
},
"27": {
"name": "Marineblau (Matt)",
"hex": "#101060"
},
"28": {
"name": "Gelee (Matt)",
"hex": "#ffcc00"
},
} }
function SHX_getFilamentById(id) { function SHX_getFilamentById(id) {
@ -230,9 +280,8 @@
"renderHTML": (section_id) => { "renderHTML": (section_id) => {
let html = defaultStyle; let html = defaultStyle;
html += SHX_IFC_genColorSelect('shx-color', 'Farbe', 'Farbe', globalInputFormsObjValues['TextOne']['color'], ['10', '11', '12', '#00FF00', '#0000FF'], section_id); html += SHX_IFC_genColorSelect('shx-color', 'Farbe', 'Farbe', globalInputFormsObjValues['TextOne']['color'], [], section_id);
html += SHX_IFC_genColorSelect('shx-color2', 'Farbe2', 'Farbe2', globalInputFormsObjValues['TextOne']['color'], ['#000000', '#FFFFFF', '#FF0000', '#00FF00', '#0000FF'], section_id); html += SHX_IFC_genColorSelect('shx-color2', 'Farbe2', 'Farbe2', globalInputFormsObjValues['TextOne']['color'], ['10', '11'], section_id);
html += SHX_IFC_genColorSelect('shx-color3', 'Farbe3', 'Farbe3', globalInputFormsObjValues['TextOne']['color'], ['#000000', '#FFFFFF', '#FF0000', '#00FF00', '#0000FF'], section_id);
html += SHX_IFC_genTextInput('shx-text1', 'Custom Text 1', 'Text', globalInputFormsObjValues['TextOne']['text1'], section_id); html += SHX_IFC_genTextInput('shx-text1', 'Custom Text 1', 'Text', globalInputFormsObjValues['TextOne']['text1'], section_id);
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', globalInputFormsObjValues['TextOne']['font'], ['LT Beverage', "Rose", 'Arial'], section_id); html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', globalInputFormsObjValues['TextOne']['font'], ['LT Beverage', "Rose", 'Arial'], section_id);
html += SHX_IFC_genRenderButton(); html += SHX_IFC_genRenderButton();