diff --git a/resources/data/hints.ini b/resources/data/hints.ini index c165fb5..2efd1d3 100644 --- a/resources/data/hints.ini +++ b/resources/data/hints.ini @@ -155,7 +155,7 @@ image = images/dailytips_TypesOfSupports.png ; [hint:Printing Silk Filament] ; text = Printing Silk Filament\nDid you know that Silk filament needs special consideration to print it successfully? Higher temperature and lower speed are always recommended for the best results. -; documentation_link= https://wiki.qidilab.com/en/x1/manual/printing-with-silk-filaments +; documentation_link= https://wiki.qiditech.com/en/x1/manual/printing-with-silk-filaments [hint:Brim for better adhesion] text = Brim for better adhesion\nDid you know that when printing models have a small contact interface with the printing surface, it's recommended to use a brim? @@ -173,7 +173,7 @@ image = images/dailytips_StackObject.png # hint:Flush into support/objects/infill] # text = Flush into support/objects/infill\nDid you know that you can save the wasted filament by flushing them into support/objects/infill during filament change? -# documentation_link= https://wiki.qidilab.com/en/software/qidi-studio/reduce-wasting-during-filament-change +# documentation_link= https://wiki.qiditech.com/en/software/qidi-studio/reduce-wasting-during-filament-change [hint:Improve strength] text = Improve strength\nDid you know that you can use more wall loops and higher sparse infill density to improve the strength of the model? diff --git a/resources/flush/flush_data.txt b/resources/flush/flush_data.txt new file mode 100644 index 0000000..2c906e5 --- /dev/null +++ b/resources/flush/flush_data.txt @@ -0,0 +1,61 @@ +colors +#000000 #C12E1F #00AE42 #545454 #D1D3D5 #5B6579 #F4EE2A #9D432C #5E43B7 #0A2989 #FF6A13 #8E9089 +src dst flush +#000000 #F4EE2A 450 +#000000 #5E43B7 330 +#C12E1F #F4EE2A 420 +#C12E1F #FF6A13 210 +#00AE42 #D1D3D5 330 +#00AE42 #F4EE2A 240 +#00AE42 #FF6A13 270 +#545454 #00AE42 180 +#545454 #D1D3D5 240 +#545454 #F4EE2A 270 +#545454 #5E43B7 120 +#545454 #FF6A13 300 +#545454 #8E9089 120 +#D1D3D5 #F4EE2A 120 +#D1D3D5 #FF6A13 150 +#5B6579 #C12E1F 120 +#5B6579 #00AE42 90 +#5B6579 #D1D3D5 120 +#5B6579 #F4EE2A 180 +#5B6579 #9D432C 120 +#5B6579 #0A2989 90 +#5B6579 #FF6A13 180 +#5B6579 #8E9089 90 +#F4EE2A #000000 120 +#F4EE2A #C12E1F 90 +#F4EE2A #00AE42 150 +#F4EE2A #9D432C 150 +#F4EE2A #FF6A13 90 +#9D432C #00AE42 240 +#9D432C #D1D3D5 300 +#9D432C #F4EE2A 270 +#9D432C #FF6A13 180 +#9D432C #8E9089 210 +#5E43B7 #00AE42 180 +#5E43B7 #D1D3D5 270 +#5E43B7 #F4EE2A 270 +#5E43B7 #9D432C 150 +#5E43B7 #FF6A13 270 +#5E43B7 #8E9089 210 +#0A2989 #C12E1F 330 +#0A2989 #00AE42 210 +#0A2989 #545454 150 +#0A2989 #D1D3D5 450 +#0A2989 #5B6579 240 +#0A2989 #9D432C 270 +#0A2989 #5E43B7 180 +#0A2989 #FF6A13 390 +#0A2989 #8E9089 270 +#FF6A13 #C12E1F 90 +#FF6A13 #D1D3D5 210 +#FF6A13 #F4EE2A 210 +#FF6A13 #9D432C 120 +#FF6A13 #8E9089 180 +#8E9089 #C12E1F 150 +#8E9089 #00AE42 120 +#8E9089 #D1D3D5 150 +#8E9089 #F4EE2A 270 +#8E9089 #FF6A13 150 \ No newline at end of file diff --git a/resources/fonts/NanumGothic-Bold.ttf b/resources/fonts/NanumGothic-Bold.ttf new file mode 100644 index 0000000..92006ef Binary files /dev/null and b/resources/fonts/NanumGothic-Bold.ttf differ diff --git a/resources/fonts/NanumGothic-Regular.ttf b/resources/fonts/NanumGothic-Regular.ttf new file mode 100644 index 0000000..b8636c1 Binary files /dev/null and b/resources/fonts/NanumGothic-Regular.ttf differ diff --git a/resources/fonts/NotoSansJP-Bold.ttf b/resources/fonts/NotoSansJP-Bold.ttf deleted file mode 100644 index 384f8eb..0000000 Binary files a/resources/fonts/NotoSansJP-Bold.ttf and /dev/null differ diff --git a/resources/fonts/NotoSansJP-Regular.ttf b/resources/fonts/NotoSansJP-Regular.ttf deleted file mode 100644 index 1583096..0000000 Binary files a/resources/fonts/NotoSansJP-Regular.ttf and /dev/null differ diff --git a/resources/fonts/NotoSansKR-Bold.ttf b/resources/fonts/NotoSansKR-Bold.ttf deleted file mode 100644 index 6cf639e..0000000 Binary files a/resources/fonts/NotoSansKR-Bold.ttf and /dev/null differ diff --git a/resources/fonts/NotoSansKR-Regular.ttf b/resources/fonts/NotoSansKR-Regular.ttf deleted file mode 100644 index 1b14d32..0000000 Binary files a/resources/fonts/NotoSansKR-Regular.ttf and /dev/null differ diff --git a/resources/fonts/SourceHanSansJP-Bold.otf b/resources/fonts/SourceHanSansJP-Bold.otf new file mode 100644 index 0000000..250e7e9 Binary files /dev/null and b/resources/fonts/SourceHanSansJP-Bold.otf differ diff --git a/resources/fonts/SourceHanSansJP-Normal.otf b/resources/fonts/SourceHanSansJP-Normal.otf new file mode 100644 index 0000000..cc37de3 Binary files /dev/null and b/resources/fonts/SourceHanSansJP-Normal.otf differ diff --git a/resources/images/Q1 Pro_thumbnail.png b/resources/images/Q1 Pro_thumbnail.png deleted file mode 100644 index d402457..0000000 Binary files a/resources/images/Q1 Pro_thumbnail.png and /dev/null differ diff --git a/resources/images/X-MAX 3_thumbnail.png b/resources/images/X-MAX 3_thumbnail.png deleted file mode 100644 index 233e67d..0000000 Binary files a/resources/images/X-MAX 3_thumbnail.png and /dev/null differ diff --git a/resources/images/X-Plus 3_thumbnail.png b/resources/images/X-Plus 3_thumbnail.png deleted file mode 100644 index 1dc9bfc..0000000 Binary files a/resources/images/X-Plus 3_thumbnail.png and /dev/null differ diff --git a/resources/images/X-Plus 4_thumbnail.png b/resources/images/X-Plus 4_thumbnail.png deleted file mode 100644 index c8a9a15..0000000 Binary files a/resources/images/X-Plus 4_thumbnail.png and /dev/null differ diff --git a/resources/images/X-Smart 3_thumbnail.png b/resources/images/X-Smart 3_thumbnail.png deleted file mode 100644 index 0b9289c..0000000 Binary files a/resources/images/X-Smart 3_thumbnail.png and /dev/null differ diff --git a/resources/images/add_text_modifier.svg b/resources/images/add_text_modifier.svg new file mode 100644 index 0000000..efb21d9 --- /dev/null +++ b/resources/images/add_text_modifier.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/add_text_negative.svg b/resources/images/add_text_negative.svg new file mode 100644 index 0000000..a592097 --- /dev/null +++ b/resources/images/add_text_negative.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/add_text_part.svg b/resources/images/add_text_part.svg new file mode 100644 index 0000000..d36ff97 --- /dev/null +++ b/resources/images/add_text_part.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/bind_device_ping_code_dark.svg b/resources/images/bind_device_ping_code_dark.svg new file mode 100644 index 0000000..0a1af1b --- /dev/null +++ b/resources/images/bind_device_ping_code_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/images/bind_device_ping_code.svg b/resources/images/bind_device_ping_code_light.svg similarity index 100% rename from resources/images/bind_device_ping_code.svg rename to resources/images/bind_device_ping_code_light.svg diff --git a/resources/images/menu_obj_svg.svg b/resources/images/menu_obj_svg.svg new file mode 100644 index 0000000..039ac65 --- /dev/null +++ b/resources/images/menu_obj_svg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/menu_obj_text.svg b/resources/images/menu_obj_text.svg new file mode 100644 index 0000000..48661b3 --- /dev/null +++ b/resources/images/menu_obj_text.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/step_mesh_info.svg b/resources/images/step_mesh_info.svg new file mode 100644 index 0000000..c12b253 --- /dev/null +++ b/resources/images/step_mesh_info.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/images/svg_modifier.svg b/resources/images/svg_modifier.svg new file mode 100644 index 0000000..74548e9 --- /dev/null +++ b/resources/images/svg_modifier.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/svg_negative.svg b/resources/images/svg_negative.svg new file mode 100644 index 0000000..7845267 --- /dev/null +++ b/resources/images/svg_negative.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/svg_part.svg b/resources/images/svg_part.svg new file mode 100644 index 0000000..b75b85b --- /dev/null +++ b/resources/images/svg_part.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_bake.svg b/resources/images/text_bake.svg new file mode 100644 index 0000000..4d89b36 --- /dev/null +++ b/resources/images/text_bake.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_lock_closed.svg b/resources/images/text_lock_closed.svg new file mode 100644 index 0000000..ba2bf7b --- /dev/null +++ b/resources/images/text_lock_closed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_lock_open.svg b/resources/images/text_lock_open.svg new file mode 100644 index 0000000..12f4202 --- /dev/null +++ b/resources/images/text_lock_open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_obj_warning.svg b/resources/images/text_obj_warning.svg new file mode 100644 index 0000000..239e6b7 --- /dev/null +++ b/resources/images/text_obj_warning.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_open.svg b/resources/images/text_open.svg new file mode 100644 index 0000000..466eace --- /dev/null +++ b/resources/images/text_open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_reflection_x.svg b/resources/images/text_reflection_x.svg new file mode 100644 index 0000000..4a94013 --- /dev/null +++ b/resources/images/text_reflection_x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_reflection_y.svg b/resources/images/text_reflection_y.svg new file mode 100644 index 0000000..55d357d --- /dev/null +++ b/resources/images/text_reflection_y.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_refresh.svg b/resources/images/text_refresh.svg new file mode 100644 index 0000000..b25d533 --- /dev/null +++ b/resources/images/text_refresh.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_save.svg b/resources/images/text_save.svg new file mode 100644 index 0000000..ba54273 --- /dev/null +++ b/resources/images/text_save.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/text_undo.svg b/resources/images/text_undo.svg new file mode 100644 index 0000000..763a86f --- /dev/null +++ b/resources/images/text_undo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/toolbar_brimears.svg b/resources/images/toolbar_brimears.svg new file mode 100644 index 0000000..e512da0 --- /dev/null +++ b/resources/images/toolbar_brimears.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/toolbar_brimears_dark.svg b/resources/images/toolbar_brimears_dark.svg new file mode 100644 index 0000000..3c33d8d --- /dev/null +++ b/resources/images/toolbar_brimears_dark.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/toolbar_reset_zero.svg b/resources/images/toolbar_reset_zero.svg new file mode 100644 index 0000000..35c7469 --- /dev/null +++ b/resources/images/toolbar_reset_zero.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/images/toolbar_reset_zero_hover.svg b/resources/images/toolbar_reset_zero_hover.svg new file mode 100644 index 0000000..b2b03a2 --- /dev/null +++ b/resources/images/toolbar_reset_zero_hover.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/model/double_tear_romboid_cylinder.png b/resources/model/double_tear_romboid_cylinder.png new file mode 100644 index 0000000..e9c0348 Binary files /dev/null and b/resources/model/double_tear_romboid_cylinder.png differ diff --git a/resources/model/double_tear_romboid_cylinder.stl b/resources/model/double_tear_romboid_cylinder.stl new file mode 100644 index 0000000..177e746 Binary files /dev/null and b/resources/model/double_tear_romboid_cylinder.stl differ diff --git a/resources/printers/filaments_blacklist.json b/resources/printers/filaments_blacklist.json index ac2bc50..4da534e 100644 --- a/resources/printers/filaments_blacklist.json +++ b/resources/printers/filaments_blacklist.json @@ -9,7 +9,7 @@ "description": "TPU: not supported" }, { - "vendor": "QIDIlab", + "vendor": "QIDITech", "type": "TPU", "action": "prohibition", "description": "TPU: not supported" @@ -45,13 +45,13 @@ "description": "CF/GF: hard and brittle" }, { - "vendor": "QIDIlab", + "vendor": "QIDITech", "type": "PET-CF", "action": "prohibition", "description": "QIDI PET-CF/PA6-CF: not supported" }, { - "vendor": "QIDIlab", + "vendor": "QIDITech", "type": "PA6-CF", "action": "prohibition", "description": "QIDI PET-CF/PA6-CF: not supported" diff --git a/resources/shaders/flat.fs b/resources/shaders/110/flat.fs similarity index 100% rename from resources/shaders/flat.fs rename to resources/shaders/110/flat.fs diff --git a/resources/shaders/flat.vs b/resources/shaders/110/flat.vs similarity index 100% rename from resources/shaders/flat.vs rename to resources/shaders/110/flat.vs diff --git a/resources/shaders/110/flat_instance.vs b/resources/shaders/110/flat_instance.vs new file mode 100644 index 0000000..e0662e9 --- /dev/null +++ b/resources/shaders/110/flat_instance.vs @@ -0,0 +1,12 @@ +#version 110 + +uniform mat4 view_matrix; +uniform mat4 projection_matrix; + +attribute vec3 v_position; +attribute vec2 v_undefine; +attribute mat4 instanceMatrix; +void main() +{ + gl_Position = projection_matrix * view_matrix * instanceMatrix * vec4(v_position, 1.0); +} diff --git a/resources/shaders/printbed.fs b/resources/shaders/110/printbed.fs similarity index 73% rename from resources/shaders/printbed.fs rename to resources/shaders/110/printbed.fs index d1316ca..833dff0 100644 --- a/resources/shaders/printbed.fs +++ b/resources/shaders/110/printbed.fs @@ -1,21 +1,21 @@ #version 110 -const vec3 back_color_dark = vec3(0.235, 0.235, 0.235); +const vec3 back_color_dark = vec3(0.235, 0.235, 0.235); const vec3 back_color_light = vec3(0.365, 0.365, 0.365); uniform sampler2D texture; uniform bool transparent_background; uniform bool svg_source; -varying vec2 tex_coords; +varying vec2 tex_coord; vec4 svg_color() { // takes foreground from texture - vec4 fore_color = texture2D(texture, tex_coords); + vec4 fore_color = texture2D(texture, tex_coord); // calculates radial gradient - vec3 back_color = vec3(mix(back_color_light, back_color_dark, smoothstep(0.0, 0.5, length(abs(tex_coords.xy) - vec2(0.5))))); + vec3 back_color = vec3(mix(back_color_light, back_color_dark, smoothstep(0.0, 0.5, length(abs(tex_coord.xy) - vec2(0.5))))); // blends foreground with background return vec4(mix(back_color, fore_color.rgb, fore_color.a), transparent_background ? fore_color.a : 1.0); @@ -24,7 +24,7 @@ vec4 svg_color() vec4 non_svg_color() { // takes foreground from texture - vec4 color = texture2D(texture, tex_coords); + vec4 color = texture2D(texture, tex_coord); return vec4(color.rgb, transparent_background ? color.a * 0.25 : color.a); } diff --git a/resources/shaders/110/printbed.vs b/resources/shaders/110/printbed.vs new file mode 100644 index 0000000..dc4868b --- /dev/null +++ b/resources/shaders/110/printbed.vs @@ -0,0 +1,15 @@ +#version 110 + +uniform mat4 view_model_matrix; +uniform mat4 projection_matrix; + +attribute vec3 v_position; +attribute vec2 v_tex_coord; + +varying vec2 tex_coord; + +void main() +{ + tex_coord = v_tex_coord; + gl_Position = projection_matrix * view_model_matrix * vec4(v_position, 1.0); +} diff --git a/resources/shaders/printbed.vs b/resources/shaders/printbed.vs deleted file mode 100644 index 7633017..0000000 --- a/resources/shaders/printbed.vs +++ /dev/null @@ -1,14 +0,0 @@ -#version 110 - -attribute vec3 v_position; -attribute vec2 v_tex_coords; - -varying vec2 tex_coords; - -void main() -{ - gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position.x, v_position.y, v_position.z, 1.0); - // the following line leads to crash on some Intel graphics card - //gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position, 1.0); - tex_coords = v_tex_coords; -} diff --git a/resources/web/data/text.js b/resources/web/data/text.js index 25f0cd1..f46282c 100644 --- a/resources/web/data/text.js +++ b/resources/web/data/text.js @@ -34,7 +34,7 @@ var LangText={ "t32": "Create new project", "t33": "Open Project", "t34": "hotspot", - "t35": "Recently opened", + "t35": "Recently Opened", "t36": "ok", "t37": "At least one printer must be selected.", "t38": "Cancel", @@ -107,10 +107,18 @@ var LangText={ "t113":"You may change your choice in preference anytime.", "t114":"Home", "t115":"Batch", - "t116":"Retry", - "t117":"Connect Device", - "t118":"Please set up your printer connection to view the device.", - "t119":"Please use the QIDI Link APP to connect to your printer. Once the link is completed, the online device will be synced to the \"Link\" page." + "t116": "Retry", + "t117": "Print History", + "t118": "Printing", + "t119": "Success", + "t120": "Canceled", + "t121": "Search", + "t122": "Search online models", + "t123": "Plate", + "t124": "", + "t201":"Connect Device", + "t202":"Please set up your printer connection to view the device.", + "t203":"Please use the QIDI Link APP to connect to your printer. Once the link is completed, the online device will be synced to the \"Link\" page." }, "zh_CN": { "t1": "欢迎使用QIDI Studio", @@ -221,9 +229,17 @@ var LangText={ "t114":"首页", "t115":"批量处理", "t116": "重试", - "t117": "设备连接", - "t118":"请设置您的打印机连接以查看设备。", - "t119":"请使用 QIDI Link APP 连接您的打印机。链接完成后,在线设备将同步到 “Link” 页面。", + "t117": "打印历史", + "t118": "正在打印", + "t119": "成功", + "t120": "已取消", + "t121": "搜索", + "t122": "搜索在线模型", + "t123": "第", + "t124": " 盘", + "t201": "设备连接", + "t202":"请设置您的打印机连接以查看设备。", + "t203":"请使用 QIDI Link APP 连接您的打印机。链接完成后,在线设备将同步到 “Link” 页面。", "wk1": "快速入门指南", "wk2": "本文介绍了QIDI Studio的最基本用法。它指导用户配置软件,创建项目,并逐步完成第一个打印任务。", "wk3": "基于项目的工作流", @@ -288,7 +304,7 @@ var LangText={ "t50": "サインアウト", "t52": "スキップ", "t53": "参加する", - "t54": "3Dプリンティングのコミュニティで、私たちはお互いの成功例と失敗例から色々勉強してきています。QIDI Labもそうと考えています、AIでユーザの実世界の経験から勉強し、造型の性能を向上しにいきたいと思います。あなたの経験は私たちにとって大切なので、私たちの「ユーザ体験向上プログラム」を参加してみませんか?「参加」する場合、エラーログや使用ログから情報をQIDI Labと共有します、具体的な項目は", + "t54": "3Dプリンティングのコミュニティで、私たちはお互いの成功例と失敗例から色々勉強してきています。QIDI Techもそうと考えています、AIでユーザの実世界の経験から勉強し、造型の性能を向上しにいきたいと思います。あなたの経験は私たちにとって大切なので、私たちの「ユーザ体験向上プログラム」を参加してみませんか?「参加」する場合、エラーログや使用ログから情報をQIDI Techと共有します、具体的な項目は", "t55": "プライバシーポリシー", "t56": "をご参照ください。個人情報は一切共有しませんのでご安心ください。", "t57": "", @@ -350,9 +366,17 @@ var LangText={ "t114":"トップページ", "t115":"バッチ", "t116": "[再試行]", - "t117": "デバイスを接続", - "t118": "デバイスを表示するには、プリンター接続を設定してください。", - "t119": "プリンターに接続するには、QIDI Linkアプリを使用してください。リンクが完了すると、オンラインデバイスが「リンク」ページに同期されます。" + "t117": "印刷履歴", + "t118": "印刷中", + "t119": "成功", + "t120": "キャンセルされた", + "t121": "検索", + "t122": "オンラインモデルを検索する", + "t123": "シート材", + "t124": "" , + "t201": "デバイスを接続", + "t202": "デバイスを表示するには、プリンター接続を設定してください。", + "t203": "プリンターに接続するには、QIDI Linkアプリを使用してください。リンクが完了すると、オンラインデバイスが「リンク」ページに同期されます。" }, "it_IT": { "t1": "Benvenuti allo Studio QIDI", @@ -462,10 +486,18 @@ var LangText={ "t113":"Puoi cambiare la tua scelta in qualsiasi momento.", "t114":"Home", "t115":"Lotto", - "t116":"Riprova", - "t117": "Collega dispositivo", - "t118": "Si prega di configurare la connessione della stampante per visualizzare il dispositivo.", - "t119": "Si prega di utilizzare l'app QIDI Link per connettersi alla stampante. Una volta completato il collegamento, il dispositivo online verrà sincronizzato nella pagina \"Link\"." + "t116": "Riprova", + "t117": "Storico di stampa", + "t118": "Stampa in corso", + "t119": "Successo", + "t120": "annullato", + "t121": "Ricerca", + "t122": "Cerca modelli online", + "t123": "piatto", + "t124": "" , + "t201": "Collega dispositivo", + "t202": "Si prega di configurare la connessione della stampante per visualizzare il dispositivo.", + "t203": "Si prega di utilizzare l'app QIDI Link per connettersi alla stampante. Una volta completato il collegamento, il dispositivo online verrà sincronizzato nella pagina \"Link\"." }, "fr_FR": { "t1": "Bienvenue chez QIDI Studio", @@ -575,10 +607,18 @@ var LangText={ "t113":"Vous pouvez modifier vos préférences à tout moment.", "t114":"Accueil", "t115":"Un lot de", - "t116":"Retenter", - "t117": "Connecter l'appareil", - "t118": "Veuillez configurer la connexion de votre imprimante pour voir l'appareil.", - "t119": "Veuillez utiliser l'application QIDI Link pour vous connecter à votre imprimante. Une fois le lien terminé, l'appareil en ligne sera synchronisé sur la page \"Lien\"." + "t116": "Retenter", + "t117": "Historique d'impression", + "t118": "Impression en cours", + "t119": "Succès", + "t120": "annulé", + "t121": "Recherche", + "t122": "Rechercher des modèles en ligne", + "t123": "assiette", + "t124": "", + "t201": "Connecter l'appareil", + "t202": "Veuillez configurer la connexion de votre imprimante pour voir l'appareil.", + "t203": "Veuillez utiliser l'application QIDI Link pour vous connecter à votre imprimante. Une fois le lien terminé, l'appareil en ligne sera synchronisé sur la page \"Lien\"." }, "de_DE": { "t1": "Willkommen im QIDI Studio", @@ -688,10 +728,18 @@ var LangText={ "t113":"Sie können Ihre Wahl jederzeit ändern.", "t114":"Startseite", "t115":"Charge", - "t116":"Erneut versuchen", - "t117": "Gerät verbinden", - "t118": "Bitte richten Sie die Druckerverbindung ein, um das Gerät anzuzeigen.", - "t119": "Bitte verwenden Sie die QIDI Link App, um sich mit Ihrem Drucker zu verbinden. Sobald die Verbindung hergestellt ist, wird das Online-Gerät auf der Seite \"Link\" synchronisiert." + "t116": "Erneut versuchen", + "t117": "Druckverlauf", + "t118": "Wird gedruckt", + "t119": "Erfolg", + "t120": "storniert", + "t121": "Suche", + "t122": "Suche Online-Modelle", + "t123": "Teller", + "t124": "", + "t201": "Gerät verbinden", + "t202": "Bitte richten Sie die Druckerverbindung ein, um das Gerät anzuzeigen.", + "t203": "Bitte verwenden Sie die QIDI Link App, um sich mit Ihrem Drucker zu verbinden. Sobald die Verbindung hergestellt ist, wird das Online-Gerät auf der Seite \"Link\" synchronisiert." }, "hu_HU": { "t1": "Üdvözöljük a QIDI Stúdióban", @@ -801,10 +849,18 @@ var LangText={ "t113":"Bármikor megváltoztathatja a preferenciáját.", "t114":"honlap", "t115":"Tétel", - "t116":"Újrapróbálkozás", - "t117": "Eszköz csatlakoztatása", - "t118": "Kérjük, állítsa be a nyomtató kapcsolatát az eszköz megtekintéséhez.", - "t119": "Kérjük, használja a QIDI Link alkalmazást a nyomtatóhoz való csatlakozáshoz. Miután a kapcsolat létrejött, az online eszköz szinkronizálódik a „Link” oldalon." + "t116": "Újrapróbálkozás", + "t117": "Nyomtatási előzmények", + "t118": "Nyomtatás folyamatban", + "t119": "Siker", + "t120": "törölt", + "t121": "Keresés", + "t122": "Online modellek keresése", + "t123": "tányér", + "t124": "", + "t201": "Eszköz csatlakoztatása", + "t202": "Kérjük, állítsa be a nyomtató kapcsolatát az eszköz megtekintéséhez.", + "t203": "Kérjük, használja a QIDI Link alkalmazást a nyomtatóhoz való csatlakozáshoz. Miután a kapcsolat létrejött, az online eszköz szinkronizálódik a „Link” oldalon." }, "es_ES": { "t1": "Bienvenido a QIDI Studio", @@ -914,10 +970,18 @@ var LangText={ "t113":"Puede cambiar sus preferencias en cualquier momento.", "t114":"Página de inicio", "t115":"Un lote", - "t116":"Reintentar", - "t117": "Conectar dispositivo", - "t118": "Por favor, configure la conexión de su impresora para ver el dispositivo.", - "t119": "Por favor, use la aplicación QIDI Link para conectarse a su impresora. Una vez completado el enlace, el dispositivo en línea se sincronizará en la página \"Enlace\"." + "t116": "Reintentar", + "t117": "Historial de impresión", + "t118": "Imprimiendo", + "t119": "Éxito", + "t120": "cancelado", + "t121": "Búsqueda", + "t122": "Buscar modelos en línea", + "t123": "plato", + "t124": "", + "t201": "Conectar dispositivo", + "t202": "Por favor, configure la conexión de su impresora para ver el dispositivo.", + "t203": "Por favor, use la aplicación QIDI Link para conectarse a su impresora. Una vez completado el enlace, el dispositivo en línea se sincronizará en la página \"Enlace\"." }, "sv_SE": { "t1": "Välkommen till QIDI Studio", @@ -1027,10 +1091,18 @@ var LangText={ "t113":"Du kan ändra ditt val när som helst.", "t114":"startsida", "t115":"Batch", - "t116":"Försök igen", - "t117": "Anslut enhet", - "t118": "Vänligen ställ in din skrivarkoppling för att se enheten.", - "t119": "Använd QIDI Link-appen för att ansluta till din skrivare. När länken är klar kommer den online-enheten att synkroniseras till \"Länk\"-sidan." + "t116": "Försök igen", + "t117": "Utskriftshistorik", + "t118": "Skrivs ut", + "t119": "Lyckad", + "t120": "avbruten", + "t121": "Sök", + "t122": "Sök online-modeller", + "t123": "fat", + "t124": "", + "t201": "Anslut enhet", + "t202": "Vänligen ställ in din skrivarkoppling för att se enheten.", + "t203": "Använd QIDI Link-appen för att ansluta till din skrivare. När länken är klar kommer den online-enheten att synkroniseras till \"Länk\"-sidan." }, "cs_CZ": { "t1": "Vítejte v QIDI Studio", @@ -1140,10 +1212,18 @@ var LangText={ "t113":"Své preference můžete kdykoliv změnit.", "t114":"domovská stránka", "t115":"Šarže", - "t116":"Zkuste to znovu", - "t117": "Připojit zařízení", - "t118": "Nastavte prosím připojení tiskárny, abyste mohli zobrazit zařízení.", - "t119": "Použijte prosím aplikaci QIDI Link k připojení k tiskárně. Jakmile bude spojení dokončeno, online zařízení bude synchronizováno na stránce \"Odkaz\"." + "t116": "Zkuste to znovu", + "t117": "Historie tisku", + "t118": "Tisk probíhá", + "t119": "Úspěch", + "t120": "zrušený", + "t121": "Hledat", + "t122": "Hledat online modely", + "t123": "talíř", + "t124": "", + "t201": "Připojit zařízení", + "t202": "Nastavte prosím připojení tiskárny, abyste mohli zobrazit zařízení.", + "t203": "Použijte prosím aplikaci QIDI Link k připojení k tiskárně. Jakmile bude spojení dokončeno, online zařízení bude synchronizováno na stránce \"Odkaz\"." }, "nl_NL": { "t1": "Welkom bij QIDI Studio", @@ -1253,10 +1333,18 @@ var LangText={ "t113":"U kunt uw keuze op elk gewenst moment wijzigen.", "t114":"startpagina", "t115":"Batch", - "t116":"Probeer het opnieuw", - "t117": "Apparaat verbinden", - "t118": "Stel de printerverbinding in om het apparaat te bekijken.", - "t119": "Gebruik de QIDI Link-app om verbinding te maken met uw printer. Zodra de koppeling is voltooid, wordt het online apparaat gesynchroniseerd op de pagina \"Link\"." + "t116": "Probeer het opnieuw", + "t117": "Afdrukhistoriek", + "t118": "Aan het printen", + "t119": "Succes", + "t120": "geannuleerd", + "t121": "Zoeken", + "t122": "Zoek online modellen", + "t123": "bord", + "t124": "", + "t201": "Apparaat verbinden", + "t202": "Stel de printerverbinding in om het apparaat te bekijken.", + "t203": "Gebruik de QIDI Link-app om verbinding te maken met uw printer. Zodra de koppeling is voltooid, wordt het online apparaat gesynchroniseerd op de pagina \"Link\"." }, "uk_UA": { "t1": "Вітаємо в QIDI Studio!", @@ -1367,9 +1455,17 @@ var LangText={ "t114": "Головна сторінка", "t115": "Одна партія", "t116": "Спробувати знову", - "t117": "Підключити пристрій", - "t118": "Будь ласка, налаштуйте підключення принтера, щоб переглянути пристрій.", - "t119": "Будь ласка, використовуйте додаток QIDI Link для підключення до вашого принтера. Після завершення підключення онлайн-пристрій буде синхронізовано на сторінці \"Посилання\"." + "t117": "Історія друку", + "t118": "Друкується", + "t119": "Успіх", + "t120": "скасований", + "t121": "Пошук", + "t122": "Пошук онлайн-моделей", + "t123": "тарілка", + "t124": "", + "t201": "Підключити пристрій", + "t202": "Будь ласка, налаштуйте підключення принтера, щоб переглянути пристрій.", + "t203": "Будь ласка, використовуйте додаток QIDI Link для підключення до вашого принтера. Після завершення підключення онлайн-пристрій буде синхронізовано на сторінці \"Посилання\"." }, "ru_RU": { "t1": "Приветствуем в QIDI Studio!", @@ -1479,10 +1575,18 @@ var LangText={ "t113":"Вы можете изменить свои предпочтения в любое время.", "t114":"Главная страница", "t115":"Одна партия", - "t116":"Повторить попытку", - "t117": "Подключить устройство", - "t118": "Пожалуйста, настройте подключение принтера, чтобы просмотреть устройство.", - "t119": "Пожалуйста, используйте приложение QIDI Link для подключения к вашему принтеру. После завершения подключения онлайн-устройство будет синхронизировано на странице \"Ссылка\"." + "t116": "Повторить попытку", + "t117": "История печати", + "t118": "Печатается", + "t119": "Успех", + "t120": "отмененный", + "t121": "Поиск", + "t122": "Поиск онлайн-моделей", + "t123": "тарелка", + "t124": "", + "t201": "Подключить устройство", + "t202": "Пожалуйста, настройте подключение принтера, чтобы просмотреть устройство.", + "t203": "Пожалуйста, используйте приложение QIDI Link для подключения к вашему принтеру. После завершения подключения онлайн-устройство будет синхронизировано на странице \"Ссылка\"." }, "tr_TR": { "t1": "QIDI Stüdyo'ya Hoş Geldiniz", @@ -1592,10 +1696,18 @@ var LangText={ "t113":"ercihlerinizde istediğiniz zaman seçiminizi değiştirebilirsiniz.", "t114":"Ana Sayfa", "t115":"Toplu", - "t116":"Yeniden Dene", - "t117": "Cihazı Bağla", - "t118": "Cihazı görüntülemek için lütfen yazıcı bağlantınızı ayarlayın.", - "t119": "Yazıcınıza bağlanmak için lütfen QIDI Link uygulamasını kullanın. Bağlantı tamamlandığında, çevrimiçi cihaz \"Bağlantı\" sayfasına senkronize edilecektir." + "t116": "Yeniden Dene", + "t117": "Yazdırma geçmişi", + "t118": "Yazdırılıyor", + "t119": "Başarılı", + "t120": "iptal edildi", + "t121": "Arama", + "t122": "Çevrimiçi modelleri arayın", + "t123": "tabak", + "t124": "", + "t201": "Cihazı Bağla", + "t202": "Cihazı görüntülemek için lütfen yazıcı bağlantınızı ayarlayın.", + "t203": "Yazıcınıza bağlanmak için lütfen QIDI Link uygulamasını kullanın. Bağlantı tamamlandığında, çevrimiçi cihaz \"Bağlantı\" sayfasına senkronize edilecektir." }, "pt_BR": { "t1": "Bem-vindo ao QIDI Studio", @@ -1705,10 +1817,18 @@ var LangText={ "t113":"Você pode alterar sua escolha nas Preferências a qualquer momento", "t114":"Inicio", "t115":"Lote", - "t116":"Retentar", - "t117": "Conectar Dispositivo", - "t118": "Por favor, configure a conexão da sua impressora para visualizar o dispositivo.", - "t119": "Por favor, use o aplicativo QIDI Link para se conectar à sua impressora. Uma vez concluída a conexão, o dispositivo online será sincronizado na página \"Link\"." + "t116": "Retentar", + "t117": "Histórico de impressão", + "t118": "Imprimindo", + "t119": "Sucesso", + "t120": "cancelado", + "t121": "Pesquisa", + "t122": "Procurar modelos online", + "t123": "prato", + "t124": "", + "t201": "Conectar Dispositivo", + "t202": "Por favor, configure a conexão da sua impressora para visualizar o dispositivo.", + "t203": "Por favor, use o aplicativo QIDI Link para se conectar à sua impressora. Uma vez concluída a conexão, o dispositivo online será sincronizado na página \"Link\"." }, "ko_KR": { "t1": "QIDI Studio에 오신 것을 환영합니다", @@ -1819,9 +1939,17 @@ var LangText={ "t114": "홈", "t115": "일괄 처리", "t116": "재시도", - "t117": "장치 연결", - "t118": "장치를 보려면 프린터 연결을 설정하십시오.", - "t119": "프린터에 연결하려면 QIDI Link 앱을 사용하십시오. 연결이 완료되면 온라인 장치가 '링크' 페이지에 동기화됩니다." + "t117": "인쇄 기록", + "t118": "인쇄 중", + "t119": "성공", + "t120": "취소된", + "t121": "검색", + "t122": "온라인 모델을 검색하다", + "t123": "접시", + "t124": "", + "t201": "장치 연결", + "t202": "장치를 보려면 프린터 연결을 설정하십시오.", + "t203": "프린터에 연결하려면 QIDI Link 앱을 사용하십시오. 연결이 완료되면 온라인 장치가 '링크' 페이지에 동기화됩니다." }, "pl_PL": { "t1": "Witamy w QIDI Studio", @@ -1932,9 +2060,17 @@ var LangText={ "t114": "Strona główna", "t115": "Wartość zbiorcza", "t116": "Ponów", - "t117": "Podłącz urządzenie", - "t118": "Proszę skonfigurować połączenie drukarki, aby wyświetlić urządzenie.", - "t119": "Proszę użyć aplikacji QIDI Link, aby połączyć się z drukarką. Po zakończeniu połączenia, urządzenie online zostanie zsynchronizowane na stronie \"Link\"." + "t117": "Historia druku", + "t118": "Drukuje się", + "t119": "Sukces", + "t120": "anulowany", + "t121": "Wyszukiwanie", + "t122": "Wyszukaj modele online", + "t123": "talerz", + "t124": "", + "t201": "Podłącz urządzenie", + "t202": "Proszę skonfigurować połączenie drukarki, aby wyświetlić urządzenie.", + "t203": "Proszę użyć aplikacji QIDI Link, aby połączyć się z drukarką. Po zakończeniu połączenia, urządzenie online zostanie zsynchronizowane na stronie \"Link\"." } }; @@ -1978,3 +2114,35 @@ function TranslatePage() } } } + +function GetCurrentTextByKey( key ) +{ + let strLang=GetQueryString("lang"); + if(strLang!=null) + { + //setCookie(LANG_COOKIE_NAME,strLang,LANG_COOKIE_EXPIRESECOND,'/'); + localStorage.setItem(LANG_COOKIE_NAME,strLang); + } + else + { + //strLang=getCookie(LANG_COOKIE_NAME); + strLang=localStorage.getItem(LANG_COOKIE_NAME); + } + + //alert(strLang); + + if( !LangText.hasOwnProperty(strLang) ) + strLang="en"; + + let strText=''; + if( LangText[strLang].hasOwnProperty(key) ) + { + strText=LangText[strLang][key]; + } + else if(strLang!='en' && LangText['en'].hasOwnProperty(key) ) + { + strText=LangText['en'][key]; + } + + return strText; +} \ No newline at end of file diff --git a/resources/web/filament/index.html b/resources/web/filament/index.html index f0779d3..f279d0d 100644 --- a/resources/web/filament/index.html +++ b/resources/web/filament/index.html @@ -9,13 +9,14 @@ body { font-family: Arial, sans-serif; margin: 20px; + overflow: hidden; } .table-container { width: 100%; max-width: 1800px; min-width: 900px; height: auto; - max-height: 85vh; + max-height: 80vh; min-height: 300px; overflow-x: auto; overflow-y: auto; @@ -23,7 +24,7 @@ position: relative; margin: 0 auto; padding: 0; - overflow: hidden; + overflow: show; } table { width: 100%; @@ -90,6 +91,17 @@ z-index: 3; border-left: none; } + td:nth-child(2)::after, + th:nth-child(2)::after { + content: ''; + position: absolute; + top: 0; + right: 0; + bottom: 0; + width: 0.1px; + background-color: #ccc; + z-index: 5; + } td:nth-child(2)::before { content: ''; position: absolute; @@ -238,12 +250,14 @@ - - - - - - + + + + + + + + @@ -267,12 +281,14 @@ ASA-Aero PA12-CF PAHT-CF - PC-ABS-FR - PET-CF - PETG Tough - PPS-CF - TPU 95A-HF - UltraPA + PAHT-GF + PC-ABS-FR + PET-CF + PET-GF + PETG Tough + PPS-CF + TPU 95A-HF + UltraPA @@ -765,8 +781,10 @@ document.write(''+ createProgressBar(50,"#0784FF")+ '');//asa aero document.write(''+ createProgressBar(25,"#0784FF")+ '');//pa12 cf document.write(''+ createProgressBar(50,"#0784FF")+ '');//paht cf + document.write(''+ createProgressBar(50,"#0784FF")+ '');//paht gf document.write(''+ createProgressBar(75,"#0784FF")+ '');//pc abs fr document.write(''+ createProgressBar(75,"#0784FF")+ '');//pet cf + document.write(''+ createProgressBar(75,"#0784FF")+ '');//pet gf document.write(''+ createProgressBar(75,"#0784FF")+ '');//petg document.write('/');//pps-cf document.write('/');//tpu @@ -790,8 +808,10 @@ document.write(''+ createProgressBar(25,"#5cb85c")+ '');//asa aero document.write(''+ createProgressBar(50,"#5cb85c")+ '');//pa12 cf document.write(''+ createProgressBar(75,"#5cb85c")+ '');//paht cf + document.write(''+ createProgressBar(75,"#5cb85c")+ '');//paht gf document.write(''+ createProgressBar(25,"#5cb85c")+ '');//pc abs fr document.write(''+ createProgressBar(75,"#5cb85c")+ '');//pet cf + document.write(''+ createProgressBar(75,"#5cb85c")+ '');//pet gf document.write(''+ createProgressBar(50,"#5cb85c")+ '');//petg document.write('/');//pps-cf document.write('/');//tpu @@ -815,8 +835,10 @@ document.write(''+ createProgressBar(50,"#CC6B36")+ '');//asa aero document.write(''+ createProgressBar(25,"#CC6B36")+ '');//pa12 cf document.write(''+ createProgressBar(75,"#CC6B36")+ '');//paht cf + document.write(''+ createProgressBar(75,"#CC6B36")+ '');//paht gf document.write(''+ createProgressBar(75,"#CC6B36")+ '');//pc abs fr document.write(''+ createProgressBar(75,"#CC6B36")+ '');//pet cf + document.write(''+ createProgressBar(75,"#CC6B36")+ '');//pet gf document.write(''+ createProgressBar(75,"#CC6B36")+ '');//petg document.write('/');//pps-cf document.write('/');//tpu @@ -840,8 +862,10 @@ document.write('70℃');//asa aero document.write('149.6℃');//pa12 cf document.write('192.3℃');//paht cf + document.write('83.4℃');//paht gf document.write('88℃');//pc abs fr document.write('148.8℃');//pet cf + document.write('120.3℃');//pet gf document.write('78℃');//petg document.write('242.7℃');//pps-cf document.write('/');//tpu @@ -865,8 +889,10 @@ document.write('55℃');//asa aero document.write('112.4℃');//pa12 cf document.write('121.7℃');//paht cf + document.write('79.5℃');//paht gf document.write('83℃');//pc abs fr document.write('112.1℃');//pet cf + document.write('99.1℃');//pet gf document.write('73℃');//petg document.write('/');//pps-cf document.write('/');//tpu @@ -890,8 +916,10 @@ document.write('8.25 ± 0.15 MPa
'+ createProgressBar(8.25/150*100,"#CCB70B")+ '');//asa aero document.write('87.49 ± 2.81 MPa
'+ createProgressBar(87.49/150*100,"#CCB70B")+ '');//pa12 cf document.write('104.90 ± 1.99 MPa
'+ createProgressBar(104.9/150*100,"#CCB70B")+ '');//paht cf + document.write('86.49 ± 1.03 MPa
'+ createProgressBar(86.49/150*100,"#CCB70B")+ '');//paht gf document.write('52.51 ± 0.28 MPa
'+ createProgressBar(52.51/150*100,"#CCB70B")+ '');//pc abs fr document.write('87.41 ± 3.57 MPa
'+ createProgressBar(87.41/150*100,"#CCB70B")+ '');//pet cf + document.write('70.86 ± 2.86 MPa
'+ createProgressBar(70.86/150*100,"#CCB70B")+ '');//pet gf document.write('40.3 ± 0.6 MPa
'+ createProgressBar(40.3/150*100,"#CCB70B")+ '');//petg document.write('60 MPa
'+ createProgressBar(60/150*100,"#CCB70B")+ '');//pps-cf document.write('31.81 MPa
'+ createProgressBar(31.81/150*100,"#CCB70B")+ '');//tpu @@ -915,8 +943,10 @@ document.write('593.99 ± 24.34 MPa
'+ createProgressBar(593.99/10000*100,"#CC0003")+ '');//asa aero document.write('5438.40 ± 282.82 MPa
'+ createProgressBar(5438.4/10000*100,"#CC0003")+ '');//pa12 cf document.write('8383.26 ± 419.53 MPa
'+ createProgressBar(8383.26/10000*100,"#CC0003")+ '');//paht cf + document.write('5118.97 ± 296.57 MPa
'+ createProgressBar(5118.97/10000*100,"#CC0003")+ '');//paht gf document.write('2588.73 ± 64.81 MPa
'+ createProgressBar(2588.73/10000*100,"#CC0003")+ '');//pc abs fr document.write('6025.53 ± 355.46 MPa
'+ createProgressBar(6025.53/10000*100,"#CC0003")+ '');//pet cf + document.write('4130.13 ± 107.00 MPa
'+ createProgressBar(4130.13/10000*100,"#CC0003")+ '');//pet gf document.write('1780 ± 80 MPa
'+ createProgressBar(1780/10000*100,"#CC0003")+ '');//petg document.write('4800 MPa
'+ createProgressBar(4800/10000*100,"#CC0003")+ '');//pps-cf document.write('/');//tpu @@ -940,9 +970,11 @@ document.write('11.52 ± 0.58%');//asa aero document.write('2.59 ± 0.19%');//pa12 cf document.write('1.60 ± 0.07%');//paht cf + document.write('2.71 ± 0.28%');//paht gf document.write('5.55 ± 0.99%');//pc abs fr document.write('1.99 ± 0.18%');//pet cf - document.write('4.0 ± 0.2%');//petg + document.write('2.56 ± 0.30%');//pet gf + document.write('4.0 ± 0.20%');//petg document.write('6%');//pps-cf document.write('471%');//tpu document.write('11.68 ± 3.36%');//ultra pa @@ -965,8 +997,10 @@ document.write('14.31 ± 1.66 MPa
'+ createProgressBar(14.31/200*100,"#16417C")+ '');//asa aero document.write('133.17 ± 4.66 MPa
'+ createProgressBar(133.17/200*100,"#16417C")+ '');//pa12 cf document.write('147.70 ± 4.09 MPa
'+ createProgressBar(144.7/200*100,"#16417C")+ '');//paht cf + document.write('137.78 ± 2.35 MPa
'+ createProgressBar(137.78/200*100,"#16417C")+ '');//paht gf document.write('85.95 ± 0.83 MPa
'+ createProgressBar(85.95/200*100,"#16417C")+ '');//pc abs fr document.write('122.69 ± 5.19 MPa
'+ createProgressBar(122.69/200*100,"#16417C")+ '');//pet cf + document.write('114.87 ± 3.00 MPa
'+ createProgressBar(114.87/200*100,"#16417C")+ '');//pet gf document.write('62.8 ± 0.4 MPa
'+ createProgressBar(62.8/200*100,"#16417C")+ '');//petg document.write('105 MPa
'+ createProgressBar(105/200*100,"#16417C")+ '');//pps-cf document.write('/');//tpu @@ -990,8 +1024,10 @@ document.write('457.94 ± 20.84 MPa
'+ createProgressBar(457.94/8000*100,"#EA3FF7")+ '');//asa aero document.write('4667.43 ± 339.80 MPa
'+ createProgressBar(4667.43/8000*100,"#EA3FF7")+ '');//pa12 cf document.write('5969.35 ± 145.28 MPa
'+ createProgressBar(5969.33/8000*100,"#EA3FF7")+ '');//paht cf + document.write('4135.14 ± 64.91 MPa
'+ createProgressBar(4135.14/8000*100,"#EA3FF7")+ '');//paht gf document.write('2504.55 ± 22.88 MPa
'+ createProgressBar(2504.55/8000*100,"#EA3FF7")+ '');//pc abs fr document.write('5313.21 ± 197.89 MPa
'+ createProgressBar(5313.21/8000*100,"#EA3FF7")+ '');//pet cf + document.write('3650.32 ± 65.81 MPa
'+ createProgressBar(3650.32/8000*100,"#EA3FF7")+ '');//pet gf document.write('1919 ± 54 MPa
'+ createProgressBar(1919/8000*100,"#EA3FF7")+ '');//petg document.write('5500 MPa
'+ createProgressBar(5500/8000*100,"#EA3FF7")+ '');//pps-cf document.write('/');//tpu @@ -1015,8 +1051,10 @@ document.write('2.29 ± 0.13KJ/㎡
'+ createProgressBar(2.29/30*100,"#F77089")+ '');//asa aero document.write('6.11 ± 1.45KJ/㎡
'+ createProgressBar(6.11/30*100,"#F77089")+ '');//pa12 cf document.write('6.17 ± 0.2KJ/㎡
'+ createProgressBar(6.17/30*100,"#F77089")+ '');//paht cf + document.write('7.97 ± 1.75KJ/㎡
'+ createProgressBar(7.97/30*100,"#F77089")+ '');//paht gf document.write('8.39 ± 0.46KJ/㎡
'+ createProgressBar(8.39/30*100,"#F77089")+ '');//pc abs fr document.write('5.57 ± 0.58KJ/㎡
'+ createProgressBar(5.57/30*100,"#F77089")+ '');//pet cf + document.write('6.56 ± 0.68KJ/㎡
'+ createProgressBar(6.56/30*100,"#F77089")+ '');//pet gf document.write('13.9 ± 2.3KJ/㎡
'+ createProgressBar(13.9/30*100,"#F77089")+ '');//petg document.write('11KJ/㎡
'+ createProgressBar(11/30*100,"#F77089")+ '');//pps-cf document.write('/');//tpu @@ -1040,8 +1078,10 @@ document.write('' + getTranslation('Recommended drying', lang) + '');//asa aero document.write('' + getTranslation('Need to dry', lang) + '');//pa12 cf document.write('' + getTranslation('Need to dry', lang) + '');//paht cf + document.write('' + getTranslation('Need to dry', lang) + '');//paht gf document.write('' + getTranslation('Recommended drying', lang) + '');//pc abs fr document.write('' + getTranslation('Need to dry', lang) + '');//pet cf + document.write('' + getTranslation('Need to dry', lang) + '');//pet gf document.write('' + getTranslation('Recommended drying', lang) + '');//petg document.write('' + getTranslation('Need to dry', lang) + '');//pps-cf document.write('' + getTranslation('Need to dry', lang) + '');//tpu @@ -1065,8 +1105,10 @@ document.write('/');//asa aero document.write('110-120℃ 4-6h');//pa12 cf document.write('/');//paht cf + document.write('80-100℃ 4-6h');//paht gf document.write('/');//pc abs fr document.write('100℃ 4-6h');//pet cf + document.write('100-120℃ 4-6h');//pet gf document.write('60-70℃ 4-6h');//petg document.write('/');//pps-cf document.write('70-80℃ 4-6h');//tpu @@ -1090,8 +1132,10 @@ document.write('80-90℃');//asa aero document.write('40-80℃');//pa12 cf document.write('70-80℃');//paht cf + document.write('70-90℃');//paht gf document.write('100-110℃');//pc abs fr document.write('70-80℃');//pet cf + document.write('60-80℃');//pet gf document.write('70-80℃');//petg document.write('80-110℃');//pps-cf document.write('20-60℃');//tpu @@ -1115,8 +1159,10 @@ document.write('√');//asa aero document.write('×');//pa12 cf document.write('×');//paht cf + document.write('×');//paht gf document.write('√');//pc abs fr document.write('×');//pet cf + document.write('×');//pet gf document.write('×');//petg document.write('√');//pps-cf document.write('×');//tpu @@ -1140,8 +1186,10 @@ document.write('240-280℃');//asa aero document.write('280-300℃');//pa12 cf document.write('300-320℃');//paht cf + document.write('300-320℃');//paht gf document.write('240-270℃');//pc abs fr document.write('280-320℃');//pet cf + document.write('280-320℃');//pet gf document.write('240-280℃');//petg document.write('300-370℃');//pps-cf document.write('210-230℃');//tpu @@ -1165,8 +1213,10 @@ document.write('<90mm/s');//asa aero document.write('<60mm/s');//pa12 cf document.write('<160mm/s');//paht cf + document.write('<200mm/s');//paht gf document.write('<300mm/s');//pc abs fr document.write('<200mm/s');//pet cf + document.write('<200mm/s');//pet gf document.write('<300mm/s');//petg document.write('<200mm/s');//pps-cf document.write('<120mm/s');//tpu @@ -1190,8 +1240,10 @@ document.write('/');//asa aero document.write('80-100℃');//pa12 cf document.write('80-100℃');//paht cf + document.write('80-100℃');//paht gf document.write('/');//pc abs fr document.write('80-100℃');//pet cf + document.write('80-100℃');//pet gf document.write('/');//petg document.write('/');//pps-cf document.write('/');//tpu diff --git a/resources/web/guide/21/21.js b/resources/web/guide/21/21.js index c016304..49fa0cc 100644 --- a/resources/web/guide/21/21.js +++ b/resources/web/guide/21/21.js @@ -74,7 +74,7 @@ function HandleModelList( pVal ) { let sVV=strVendor; if( sVV=="QDT" ) - sVV="QIDI Lab"; + sVV="QIDI Tech"; let HtmlNewVendor='
'+ '
'+ @@ -88,7 +88,7 @@ function HandleModelList( pVal ) '
'+ '
'; - if(sVV=='QIDI Lab') + if(sVV=='QIDI Tech') $('#Content').html( HtmlNewVendor + $('#Content').html() ); else $('#Content').append( HtmlNewVendor ); diff --git a/resources/web/guide/21/test.js b/resources/web/guide/21/test.js index dbbd4d6..3574a5d 100644 --- a/resources/web/guide/21/test.js +++ b/resources/web/guide/21/test.js @@ -427,13 +427,13 @@ var cData={ }, "machine": [{ "model": "QDT-3DP-V4NORMAL", - "name": "QIDIlab QDT-3DP-001-V4-normal", - "sub_path": "machine/QIDIlab QDT-3DP-001-V4-normal.json" + "name": "QIDITech QDT-3DP-001-V4-normal", + "sub_path": "machine/QIDITech QDT-3DP-001-V4-normal.json" }, { "model": "QDT-3DP-V5NORMAL", - "name": "QIDIlab QDT-3DP-001-V5-normal", - "sub_path": "machine/QIDIlab QDT-3DP-001-V5-normal.json" + "name": "QIDITech QDT-3DP-001-V5-normal", + "sub_path": "machine/QIDITech QDT-3DP-001-V5-normal.json" } ], "model": [{ diff --git a/resources/web/guide/22/22.js b/resources/web/guide/22/22.js index 37a5e87..f8f3fe8 100644 --- a/resources/web/guide/22/22.js +++ b/resources/web/guide/22/22.js @@ -234,7 +234,7 @@ function SortUI() let fWholeName = OneFila['name'].trim(); let fShortName = GetFilamentShortname(OneFila['name']); let fVendor = OneFila['vendor']; - if (fVendor != "Generic") + if (fVendor == "QIDI") continue; let fType = OneFila['type']; let fSelect = OneFila['selected']; diff --git a/resources/web/guide/22/index.html b/resources/web/guide/22/index.html index 4ad04c7..369aa83 100644 --- a/resources/web/guide/22/index.html +++ b/resources/web/guide/22/index.html @@ -25,23 +25,23 @@
printer
all
- +
diff --git a/resources/web/guide/22/test.js b/resources/web/guide/22/test.js index b194657..6a47112 100644 --- a/resources/web/guide/22/test.js +++ b/resources/web/guide/22/test.js @@ -1,159 +1,159 @@ var cData={ "filament": { "QIDI ABS @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1++0.4][QIDI Lab X1 Carbon++0.6]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1++0.4][QIDI Tech X1 Carbon++0.6]", "name": "QIDI ABS @QDT X1C", "selected": 1, "sub_path": "filament/QIDI ABS @QDT X1C.json", "type": "ABS", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI ABS @QDT X1C 0.2 nozzle": { - "models": "[QIDI Lab X1 Carbon++0.2]", + "models": "[QIDI Tech X1 Carbon++0.2]", "name": "QIDI ABS @QDT X1C 0.2 nozzle", "selected": 1, "sub_path": "filament/QIDI ABS @QDT X1C 0.2 nozzle.json", "type": "ABS", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI ABS @QDT X1C 0.8 nozzle": { - "models": "[QIDI Lab X1 Carbon++0.8]", + "models": "[QIDI Tech X1 Carbon++0.8]", "name": "QIDI ABS @QDT X1C 0.8 nozzle", "selected": 1, "sub_path": "filament/QIDI ABS @QDT X1C 0.8 nozzle.json", "type": "ABS", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PA-CF @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "QIDI PA-CF @QDT X1C", "selected": 0, "sub_path": "filament/QIDI PA-CF @QDT X1C.json", "type": "PA-CF", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PC @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1++0.4][QIDI Lab X1 Carbon++0.6]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1++0.4][QIDI Tech X1 Carbon++0.6]", "name": "QIDI PC @QDT X1C", "selected": 1, "sub_path": "filament/QIDI PC @QDT X1C.json", "type": "PC", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PC @QDT X1C 0.8 nozzle": { - "models": "[QIDI Lab X1 Carbon++0.8]", + "models": "[QIDI Tech X1 Carbon++0.8]", "name": "QIDI PC @QDT X1C 0.8 nozzle", "selected": 1, "sub_path": "filament/QIDI PC @QDT X1C 0.8 nozzle.json", "type": "PC", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PLA Basic @QDT X1": { - "models": "[QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1++0.4]", "name": "QIDI PLA Basic @QDT X1", "selected": 1, "sub_path": "filament/QIDI PLA Basic @QDT X1.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PLA Basic @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1 Carbon++0.6]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1 Carbon++0.6]", "name": "QIDI PLA Basic @QDT X1C", "selected": 1, "sub_path": "filament/QIDI PLA Basic @QDT X1C.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PLA Basic @QDT X1C 0.2 nozzle": { - "models": "[QIDI Lab X1 Carbon++0.2]", + "models": "[QIDI Tech X1 Carbon++0.2]", "name": "QIDI PLA Basic @QDT X1C 0.2 nozzle", "selected": 1, "sub_path": "filament/QIDI PLA Basic @QDT X1C 0.2 nozzle.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PLA Basic @QDT X1C 0.8 nozzle": { - "models": "[QIDI Lab X1 Carbon++0.8]", + "models": "[QIDI Tech X1 Carbon++0.8]", "name": "QIDI PLA Basic @QDT X1C 0.8 nozzle", "selected": 1, "sub_path": "filament/QIDI PLA Basic @QDT X1C 0.8 nozzle.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PLA Matte @QDT X1": { - "models": "[QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1++0.4]", "name": "QIDI PLA Matte @QDT X1", "selected": 1, "sub_path": "filament/QIDI PLA Matte @QDT X1.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PLA Matte @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1 Carbon++0.6]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1 Carbon++0.6]", "name": "QIDI PLA Matte @QDT X1C", "selected": 1, "sub_path": "filament/QIDI PLA Matte @QDT X1C.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PLA Matte @QDT X1C 0.2 nozzle": { - "models": "[QIDI Lab X1 Carbon++0.2]", + "models": "[QIDI Tech X1 Carbon++0.2]", "name": "QIDI PLA Matte @QDT X1C 0.2 nozzle", "selected": 1, "sub_path": "filament/QIDI PLA Matte @QDT X1C 0.2 nozzle.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI PLA Matte @QDT X1C 0.8 nozzle": { - "models": "[QIDI Lab X1 Carbon++0.8]", + "models": "[QIDI Tech X1 Carbon++0.8]", "name": "QIDI PLA Matte @QDT X1C 0.8 nozzle", "selected": 1, "sub_path": "filament/QIDI PLA Matte @QDT X1C 0.8 nozzle.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI Support G @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "QIDI Support G @QDT X1C", "selected": 0, "sub_path": "filament/QIDI Support G @QDT X1C.json", "type": "PA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI Support W @QDT X1": { - "models": "[QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1++0.4]", "name": "QIDI Support W @QDT X1", "selected": 1, "sub_path": "filament/QIDI Support W @QDT X1.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI Support W @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "QIDI Support W @QDT X1C", "selected": 1, "sub_path": "filament/QIDI Support W @QDT X1C.json", "type": "PLA", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI TPU 95A @QDT X1": { - "models": "[QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1++0.4]", "name": "QIDI TPU 95A @QDT X1", "selected": 1, "sub_path": "filament/QIDI TPU 95A @QDT X1.json", "type": "TPU", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "QIDI TPU 95A @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1 Carbon++0.6][QIDI Lab X1 Carbon++0.8]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1 Carbon++0.6][QIDI Tech X1 Carbon++0.8]", "name": "QIDI TPU 95A @QDT X1C", "selected": 1, "sub_path": "filament/QIDI TPU 95A @QDT X1C.json", "type": "TPU", - "vendor": "QIDI Lab" + "vendor": "QIDI Tech" }, "Generic ABS": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1++0.4]", "name": "Generic ABS", "selected": 0, "sub_path": "filament/Generic ABS.json", @@ -161,7 +161,7 @@ var cData={ "vendor": "Generic" }, "Generic ASA": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1++0.4]", "name": "Generic ASA", "selected": 0, "sub_path": "filament/Generic ASA.json", @@ -169,7 +169,7 @@ var cData={ "vendor": "Generic" }, "Generic PA": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "Generic PA", "selected": 0, "sub_path": "filament/Generic PA.json", @@ -177,7 +177,7 @@ var cData={ "vendor": "Generic" }, "Generic PA-CF": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "Generic PA-CF", "selected": 0, "sub_path": "filament/Generic PA-CF.json", @@ -185,7 +185,7 @@ var cData={ "vendor": "Generic" }, "Generic PC": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "Generic PC", "selected": 0, "sub_path": "filament/Generic PC.json", @@ -193,7 +193,7 @@ var cData={ "vendor": "Generic" }, "Generic PETG": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1++0.4]", "name": "Generic PETG", "selected": 0, "sub_path": "filament/Generic PETG.json", @@ -201,7 +201,7 @@ var cData={ "vendor": "Generic" }, "Generic PLA": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1++0.4]", "name": "Generic PLA", "selected": 1, "sub_path": "filament/Generic PLA.json", @@ -209,7 +209,7 @@ var cData={ "vendor": "Generic" }, "Generic PLA-CF": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "Generic PLA-CF", "selected": 0, "sub_path": "filament/Generic PLA-CF.json", @@ -217,7 +217,7 @@ var cData={ "vendor": "Generic" }, "Generic PVA": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1++0.4]", "name": "Generic PVA", "selected": 0, "sub_path": "filament/Generic PVA.json", @@ -225,7 +225,7 @@ var cData={ "vendor": "Generic" }, "Generic TPU": { - "models": "[QIDI Lab X1 Carbon++0.4][QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4][QIDI Tech X1++0.4]", "name": "Generic TPU", "selected": 0, "sub_path": "filament/Generic TPU.json", @@ -233,7 +233,7 @@ var cData={ "vendor": "Generic" }, "PolyLite PLA @QDT X1": { - "models": "[QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1++0.4]", "name": "PolyLite PLA @QDT X1", "selected": 1, "sub_path": "filament/PolyLite PLA @QDT X1.json", @@ -241,7 +241,7 @@ var cData={ "vendor": "Polymaker" }, "PolyLite PLA @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "PolyLite PLA @QDT X1C", "selected": 1, "sub_path": "filament/PolyLite PLA @QDT X1C.json", @@ -249,7 +249,7 @@ var cData={ "vendor": "Polymaker" }, "PolyTerra PLA @QDT X1": { - "models": "[QIDI Lab X1++0.4]", + "models": "[QIDI Tech X1++0.4]", "name": "PolyTerra PLA @QDT X1", "selected": 1, "sub_path": "filament/PolyTerra PLA @QDT X1.json", @@ -257,7 +257,7 @@ var cData={ "vendor": "Polymaker" }, "PolyTerra PLA @QDT X1C": { - "models": "[QIDI Lab X1 Carbon++0.4]", + "models": "[QIDI Tech X1 Carbon++0.4]", "name": "PolyTerra PLA @QDT X1C", "selected": 1, "sub_path": "filament/PolyTerra PLA @QDT X1C.json", @@ -266,54 +266,54 @@ var cData={ } }, "machine": { - "QIDI Lab X1 0.4 nozzle": { - "model": "QIDI Lab X1", - "name": "QIDI Lab X1 0.4 nozzle", + "QIDI Tech X1 0.4 nozzle": { + "model": "QIDI Tech X1", + "name": "QIDI Tech X1 0.4 nozzle", "nozzle": "0.4", - "sub_path": "machine/QIDI Lab X1 0.4 nozzle.json" + "sub_path": "machine/QIDI Tech X1 0.4 nozzle.json" }, - "QIDI Lab X1 Carbon 0.2 nozzle": { - "model": "QIDI Lab X1 Carbon", - "name": "QIDI Lab X1 Carbon 0.2 nozzle", + "QIDI Tech X1 Carbon 0.2 nozzle": { + "model": "QIDI Tech X1 Carbon", + "name": "QIDI Tech X1 Carbon 0.2 nozzle", "nozzle": "0.2", - "sub_path": "machine/QIDI Lab X1 Carbon 0.2 nozzle.json" + "sub_path": "machine/QIDI Tech X1 Carbon 0.2 nozzle.json" }, - "QIDI Lab X1 Carbon 0.4 nozzle": { - "model": "QIDI Lab X1 Carbon", - "name": "QIDI Lab X1 Carbon 0.4 nozzle", + "QIDI Tech X1 Carbon 0.4 nozzle": { + "model": "QIDI Tech X1 Carbon", + "name": "QIDI Tech X1 Carbon 0.4 nozzle", "nozzle": "0.4", - "sub_path": "machine/QIDI Lab X1 Carbon 0.4 nozzle.json" + "sub_path": "machine/QIDI Tech X1 Carbon 0.4 nozzle.json" }, - "QIDI Lab X1 Carbon 0.6 nozzle": { - "model": "QIDI Lab X1 Carbon", - "name": "QIDI Lab X1 Carbon 0.6 nozzle", + "QIDI Tech X1 Carbon 0.6 nozzle": { + "model": "QIDI Tech X1 Carbon", + "name": "QIDI Tech X1 Carbon 0.6 nozzle", "nozzle": "0.6", - "sub_path": "machine/QIDI Lab X1 Carbon 0.6 nozzle.json" + "sub_path": "machine/QIDI Tech X1 Carbon 0.6 nozzle.json" }, - "QIDI Lab X1 Carbon 0.8 nozzle": { - "model": "QIDI Lab X1 Carbon", - "name": "QIDI Lab X1 Carbon 0.8 nozzle", + "QIDI Tech X1 Carbon 0.8 nozzle": { + "model": "QIDI Tech X1 Carbon", + "name": "QIDI Tech X1 Carbon 0.8 nozzle", "nozzle": "0.8", - "sub_path": "machine/QIDI Lab X1 Carbon 0.8 nozzle.json" + "sub_path": "machine/QIDI Tech X1 Carbon 0.8 nozzle.json" } }, "model": [ { - "cover": "C:\\Users\\zorro\\AppData\\Roaming\\QIDIStudio\\system\\QDT\\QIDI Lab X1 Carbon_cover.png", + "cover": "C:\\Users\\zorro\\AppData\\Roaming\\QIDIStudio\\system\\QDT\\QIDI Tech X1 Carbon_cover.png", "materials": "Generic PLA;QIDI PLA Matte @QDT X1C;QIDI PLA Basic @QDT X1C;QIDI ABS @QDT X1C;QIDI PC @QDT X1C;QIDI Support W @QDT X1C;QIDI TPU 95A @QDT X1C;PolyTerra PLA @QDT X1C;PolyLite PLA @QDT X1C;", - "model": "QIDI Lab X1 Carbon", + "model": "QIDI Tech X1 Carbon", "nozzle_diameter": "0.4;0.2;0.6;0.8", "nozzle_selected": "0.2;0.6", - "sub_path": "machine/QIDI Lab X1 Carbon.json", + "sub_path": "machine/QIDI Tech X1 Carbon.json", "vendor": "QDT" }, { - "cover": "C:\\Users\\zorro\\AppData\\Roaming\\QIDIStudio\\system\\QDT\\QIDI Lab X1_cover.png", + "cover": "C:\\Users\\zorro\\AppData\\Roaming\\QIDIStudio\\system\\QDT\\QIDI Tech X1_cover.png", "materials": "Generic PLA;QIDI PLA Matte @QDT X1;QIDI PLA Basic @QDT X1;QIDI ABS @QDT X1C;QIDI PC @QDT X1C;QIDI Support W @QDT X1;QIDI TPU 95A @QDT X1;PolyTerra PLA @QDT X1;PolyLite PLA @QDT X1;", - "model": "QIDI Lab X1", + "model": "QIDI Tech X1", "nozzle_diameter": "0.4", "nozzle_selected": "0.4", - "sub_path": "machine/QIDI Lab X1.json", + "sub_path": "machine/QIDI Tech X1.json", "vendor": "QDT" } ], diff --git a/resources/web/guide/23/23.js b/resources/web/guide/23/23.js index 37837f8..f113569 100644 --- a/resources/web/guide/23/23.js +++ b/resources/web/guide/23/23.js @@ -240,7 +240,7 @@ function SortUI() let fWholeName = OneFila['name'].trim(); let fShortName = GetFilamentShortname(OneFila['name']); let fVendor = OneFila['vendor']; - if (fVendor != "Generic") + if (fVendor == "QIDI") continue; let fType = OneFila['type']; let fSelect = OneFila['selected']; diff --git a/resources/web/guide/23/index.html b/resources/web/guide/23/index.html index 8b3efc7..9a00c08 100644 --- a/resources/web/guide/23/index.html +++ b/resources/web/guide/23/index.html @@ -26,14 +26,14 @@
printer
all
- +
diff --git a/resources/web/guide/24/24.js b/resources/web/guide/24/24.js index f22df81..af56f71 100644 --- a/resources/web/guide/24/24.js +++ b/resources/web/guide/24/24.js @@ -73,7 +73,7 @@ function HandleModelList( pVal ) { let sVV=strVendor; if( sVV=="QDT" ) - sVV="QIDI Lab"; + sVV="QIDI Tech"; let HtmlNewVendor='
'+ '
'+ @@ -87,7 +87,7 @@ function HandleModelList( pVal ) '
'+ '
'; - if(sVV=='QIDI Lab') + if(sVV=='QIDI Tech') $('#Content').html( HtmlNewVendor + $('#Content').html() ); else $('#Content').append( HtmlNewVendor ); diff --git a/resources/web/homepage3/css/common.css b/resources/web/homepage3/css/common.css index 2027811..4208d10 100644 --- a/resources/web/homepage3/css/common.css +++ b/resources/web/homepage3/css/common.css @@ -15,6 +15,7 @@ html, body { padding:0px; border: 0px; margin: 0px; + background-color: #FFF; } /*---字体----*/ @@ -92,8 +93,14 @@ html, body { #MenuArea { display:flex; - justify-content: flex-end; margin-bottom: 24px; + flex-direction:row-reverse; +} + +#MenuBtnBlock +{ + display:flex; + margin-left: 60px; } .Menu_Btn @@ -110,6 +117,13 @@ html, body { width: 18px; } +.Menu_Btn span +{ + display: inline-block; + width: 100%; + white-space: nowrap; +} + /*---弹性内容块---*/ .GuideBlock { @@ -122,7 +136,7 @@ html, body { { width: calc(50% - 20px); } - .SingleGuideBar :nth-child(n+3) + .SingleGuideBar > :nth-child(n+3) { display: none; } @@ -134,7 +148,7 @@ html, body { { width: calc(33% - 20px); } - .SingleGuideBar :nth-child(n+4) + .SingleGuideBar > :nth-child(n+4) { display: none; } @@ -145,7 +159,7 @@ html, body { { width: calc(25% - 20px); } - .SingleGuideBar :nth-child(n+5) + .SingleGuideBar > :nth-child(n+5) { display: none; } @@ -156,7 +170,7 @@ html, body { { width: calc(20% - 20px); } - .SingleGuideBar :nth-child(n+6) + .SingleGuideBar > :nth-child(n+6) { display: none; } diff --git a/resources/web/homepage3/css/dark.css b/resources/web/homepage3/css/dark.css index 02cb709..c2be1a5 100644 --- a/resources/web/homepage3/css/dark.css +++ b/resources/web/homepage3/css/dark.css @@ -97,6 +97,12 @@ html,body color:#818183; } +/*----Recent Opened----*/ +.FileImg +{ + background-color:#575757; +} + /*---Staff PIck----*/ .HotModelPiece { @@ -112,3 +118,44 @@ html,body { filter: invert(1); } + +#HotModel_Search_Bar +{ + border: 1px solid #323A3D; + background-color: #36363A; +} + +#HotModel_Search_InputArea +{ + background-color: #36363A; +} + +#HotModel_Search_Input +{ + background-color: #36363A; + caret-color: white; + color: #FFFFFF; +} + +#HotModel_Search_Btn img +{ + filter: invert(100%) brightness(100); +} + +/*----Makerlab-----*/ +.MakerlabItem +{ + border: none; +} + +/*---Print History----*/ +.PrintHistoryImg +{ + border: 1px solid #474747; + background-color: #575757; +} + +#PrintHistory_Refresh_Btn +{ + filter: invert(80%) brightness(20); +} \ No newline at end of file diff --git a/resources/web/homepage3/css/home.css b/resources/web/homepage3/css/home.css index 0c1dc25..070543b 100644 --- a/resources/web/homepage3/css/home.css +++ b/resources/web/homepage3/css/home.css @@ -32,14 +32,14 @@ body word-break: break-all; position: relative; cursor: pointer; - border-radius: 8px; + border-radius: 8px; + border: 1px solid #EEEEEE; } .MakerlabImg img { width: 100%; aspect-radio: 16/9; - border-radius: 8px 8px 0px 0px; } .MakerlabTextBlock @@ -71,4 +71,174 @@ body { font-size: 10px; color: #ACACAC; -} \ No newline at end of file +} + + + +/*------Print History------*/ +#PrintHistoryArea +{ + display: none; + min-height: 100px; +} + +#PrintHistory_Refresh_Btn +{ + margin-left: 30px; + cursor: pointer; + filter: brightness(3); + width: 24px; +} + +#PrintHistory_Refresh_Btn:hover +{ + width: 27px; +} + +#PrintHistoryList +{ + display: flex; +} + +.PrintHistoryItem +{ + position: relative; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + word-break: break-all; + position: relative; + cursor: pointer; + border-radius: 12px; + overflow: hidden; +} + +.PrintHistoryImg +{ + border-radius: 12px; + border: 1px solid #EEEEEE; + background-color: #E4E4E4; +} + +.PrintHistoryImg img +{ + width: calc(100% - 2px); + aspect-ratio: 4/3; + object-fit:contain; +} + +.PrintHistoryTextBlock +{ + display: flex; + flex-direction: column; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + margin-top: 2px; +} + +.PrintHistoryName +{ + font-size: 14px; + font-weight: 700; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.PrintHistory_Line2 +{ + display: flex; + flex-direction: row; + align-items: center; + font-size: 12px; +} + +.PrintHistory_Line2 img +{ + width: 14px; + height: 14px; + margin-right: 4px; +} + +.PH_PrintTime +{ + width: 50px; + margin-right: 4px; +} + +.PH_DeviceName +{ + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.PrintHistoryInfo +{ + display: flex; + justify-content: space-between; +} + +.PrintHistoryPlate +{ + display: flex; + font-size: 12px; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.PH_PlateName +{ + flex-grow: 1; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.PH_PrintDate +{ + margin-left: 4px; +} + + +.PrintHistoryStatus +{ + margin-left: 6px; + font-size: 12px; + font-weight: 700; +} + +.PH_Status_Printing +{ + color: #FF6F00; +} + +.PH_Status_Fail +{ + color: #D01B1B; +} + +.PH_Status_Success +{ + color: #00AE42; +} + +.PH_Gcode_Icon +{ + background-color: #8F8F8F; + display: inline-block; + padding: 6px 12px; + width: Hug (61px)px; + height: Hug (28px)px; + gap: 10px; + border-radius: 0px 0px 4px 0px; + opacity: 0px; + color: #FFFFFF; + position: absolute; + top: 1px; + left: 1px; + font-weight: 700; +} + diff --git a/resources/web/homepage3/css/left.css b/resources/web/homepage3/css/left.css index 9b1992b..3096f48 100644 --- a/resources/web/homepage3/css/left.css +++ b/resources/web/homepage3/css/left.css @@ -113,11 +113,9 @@ body #NoPluginTip { position: absolute; - top: 0px; left: 0px; bottom: 0px; right: 0px; - z-index: 1; display: none; flex-direction: column; justify-content: flex-end; @@ -217,6 +215,11 @@ body display: none; } +.BtnItem[menu="printhistory"] +{ + display: none; +} + .JumpIcon { display: none; diff --git a/resources/web/homepage3/css/online.css b/resources/web/homepage3/css/online.css index cfed7f4..4a4cb41 100644 --- a/resources/web/homepage3/css/online.css +++ b/resources/web/homepage3/css/online.css @@ -60,7 +60,8 @@ display:flex; flex-direction: column; cursor: pointer; - border-radius: 8px; + border-radius: 10px; + overflow: hidden; } .HotModel_PrevBlock @@ -160,3 +161,42 @@ align-items: center; } +/*-----Search Bar------*/ +#HotModel_Search_Bar +{ + display: none; + align-items: center; + border-radius: 22px; + border: 1px solid #EEEEEE; + flex-grow: 1; + background-color: #FFFFFF; +} + +#HotModel_Search_InputArea +{ + background-color: #FFF; + display: flex; + align-items: center; + flex-grow: 1; + padding: 0px 22px 0px 0px; + border-radius: 22px 0px 0px 22px; +} + +#HotModel_Search_Input +{ + height: 30px; + flex-grow: 1; + outline: none; + font-size: 16px; +} + + +#HotModel_Search_Btn +{ + width: 60px; + height: 100%; + border-radius: 0px 22px 22px 0px; + display: flex; + align-items: center; + justify-content: center; +} \ No newline at end of file diff --git a/resources/web/homepage3/css/recent.css b/resources/web/homepage3/css/recent.css index f32deab..8f33aa3 100644 --- a/resources/web/homepage3/css/recent.css +++ b/resources/web/homepage3/css/recent.css @@ -102,7 +102,6 @@ word-break: break-all; position: relative; cursor: pointer; - border-radius: 8px; } .FileMask diff --git a/resources/web/homepage3/css/rightcommon.css b/resources/web/homepage3/css/rightcommon.css index 34ee5cd..4da6be3 100644 --- a/resources/web/homepage3/css/rightcommon.css +++ b/resources/web/homepage3/css/rightcommon.css @@ -1,7 +1,7 @@ html { - background-color: #F8F8F8; + background-color: #FFF; padding: 28px 36px; display: flex; justify-content: center; diff --git a/resources/web/homepage3/home.html b/resources/web/homepage3/home.html index 259fc84..8c9b312 100644 --- a/resources/web/homepage3/home.html +++ b/resources/web/homepage3/home.html @@ -18,20 +18,29 @@ - - + @@ -101,7 +110,7 @@
Online Models
MORE >
- +
+
+ --> + + + +
+
+
+ +
Print History
+ +
+
MORE >
+
+ +
+ + +
- diff --git a/resources/web/homepage3/img/device.svg b/resources/web/homepage3/img/device.svg new file mode 100644 index 0000000..fcfc37f --- /dev/null +++ b/resources/web/homepage3/img/device.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/resources/web/homepage3/img/left_ph.svg b/resources/web/homepage3/img/left_ph.svg new file mode 100644 index 0000000..a7dc8c6 --- /dev/null +++ b/resources/web/homepage3/img/left_ph.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/resources/web/homepage3/img/ph.svg b/resources/web/homepage3/img/ph.svg new file mode 100644 index 0000000..896c3ed --- /dev/null +++ b/resources/web/homepage3/img/ph.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/web/homepage3/img/refresh.svg b/resources/web/homepage3/img/refresh.svg new file mode 100644 index 0000000..934161b --- /dev/null +++ b/resources/web/homepage3/img/refresh.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/web/homepage3/img/search.svg b/resources/web/homepage3/img/search.svg new file mode 100644 index 0000000..be31c05 --- /dev/null +++ b/resources/web/homepage3/img/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/web/homepage3/img/search_dark.svg b/resources/web/homepage3/img/search_dark.svg new file mode 100644 index 0000000..ed41ba2 --- /dev/null +++ b/resources/web/homepage3/img/search_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/web/homepage3/img/time.svg b/resources/web/homepage3/img/time.svg new file mode 100644 index 0000000..ee5ad72 --- /dev/null +++ b/resources/web/homepage3/img/time.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/resources/web/homepage3/js/home.js b/resources/web/homepage3/js/home.js index 084d256..1f3acfe 100644 --- a/resources/web/homepage3/js/home.js +++ b/resources/web/homepage3/js/home.js @@ -4,6 +4,7 @@ var m_HotModelList=null; var m_ForUModelList=null; var m_MakerlabList=null; +var m_PrintHistoryList=null; function OnHomeInit() { @@ -13,8 +14,26 @@ function OnHomeInit() SendMsg_GetRecentFile(); SendMsg_GetStaffPick(); SendMsg_GetMakerlabList(); + SendMsg_GetPrintHistory(); + document.getElementById('HotModel_Search_Input').onkeydown = function (event) { + if (event.key === 'Enter') { + OnSearchOnline(); + } + + event.defaultPrevented(); + }; + + let ModelSearchTip=GetCurrentTextByKey('t122'); + $('#HotModel_Search_Input').prop('placeholder', ModelSearchTip); + + //Test //ShowMakerlabList(Test_MakerlabList['list']); + + //$('#PrintHistoryArea').show(); + //ShowPrintHistory(Test_PrintTaskList['hits']); + + //Show4UPick(Test_4UModelList['hits']); } //Recent详情页面的状态 @@ -31,9 +50,25 @@ function OnRecentInit() Set_RecentFile_Delete_Checkbox_Event(); } +var m_LineMenuName=''; function OnLineInit() { TranslatePage(); + m_LineMenuName=GetQueryString("menu"); +} + +function OnLineRetry() +{ + if(m_LineMenuName!="" && m_LineMenuName!=null) + SwitchContent(m_LineMenuName); +} + +function ShowLineWarn( bShow ) +{ + if(bShow) + $('#WarnMainArea').show(); + else + $('#WarnMainArea').hide(); } //------最佳打开文件的右键菜单功能---------- @@ -103,6 +138,7 @@ function Set_RecentFile_MouseRightBtn_Event() function HandleStudio( pVal ) { let strCmd = pVal['command']; + //alert(strCmd); if(strCmd=='get_recent_projects') { @@ -195,6 +231,43 @@ function HandleStudio( pVal ) OnHomeInit(); } + else if(strCmd=='printhistory_task_show') + { + if( m_PrintHistoryList!=null && pVal['hits'].length>0 ) + { + let SS1=JSON.stringify(pVal['list']); + let SS2=JSON.stringify(m_PrintHistoryList); + + if( SS1==SS2 ) + { + alert("PrintHistory is Same. Ignore"); + return; + } + } + + m_PrintHistoryList=pVal['hits']; + + ShowPrintHistory(m_PrintHistoryList); + } + else if(strCmd=='homepage_leftmenu_show') + { + let MenuName=pVal['menu']; + let nShow=pVal['show']*1; + + if(MenuName=='printhistory') + { + if(nShow==1) + { + $('#PrintHistoryArea').show(); + } + else + { + $('#PrintHistoryArea').hide(); + m_PrintHistoryList=null; + $('#PrintHistoryList').html(''); + } + } + } } function OnBoardChange( strMenu ) @@ -210,7 +283,10 @@ function OnBoardChange( strMenu ) SendMsg_GetStaffPick(); if( m_MakerlabList==null || m_MakerlabList.length==0 ) - SendMsg_GetMakerlabList(); + SendMsg_GetMakerlabList(); + + if( m_PrintHistoryList==null ) + SendMsg_GetPrintHistory(); } else if(strMenu=='recent') { @@ -663,6 +739,7 @@ function ShowStaffPick( ModelList ) $('#HotModelList').html(strPickHtml); InitStaffPick(); $('#HotModelArea').show(); + $('#HotModel_Search_Bar').css('display','flex'); } function Show4UPick( ModelList ) @@ -721,6 +798,7 @@ function Show4UPick( ModelList ) $('#HotModelList').html(strPickHtml); InitStaffPick(); $('#HotModelArea').show(); + $('#HotModel_Search_Bar').css('display','flex'); } function OpenOneStaffPickModel( ModelID ) @@ -735,6 +813,19 @@ function OpenOneStaffPickModel( ModelID ) SendWXMessage( JSON.stringify(tSend) ); } +function OnSearchOnline(event) +{ + let strKW=$('#HotModel_Search_Input').val().trim(); + if(strKW=='' ) + return; + + var tSend={}; + tSend['sequence_id']=Math.round(new Date() / 1000); + tSend['command']="homepage_online_search"; + tSend['keyword']=strKW; + + SendWXMessage( JSON.stringify(tSend) ); +} //----------MakerLab------------ function IsChinese() @@ -818,6 +909,122 @@ function OnOpenOneMakerlab( ChildUrl ) SendWXMessage( JSON.stringify(tSend) ); } +//-----------Print History------------ +function SendMsg_GetPrintHistory() +{ + var tSend={}; + tSend['sequence_id']=Math.round(new Date() / 1000); + tSend['command']="homepage_printhistory_get"; + + SendWXMessage( JSON.stringify(tSend) ); +} + +function convertTimeFormat(timeStr) +{ + const date = new Date(timeStr); + const year = date.getFullYear(); // 取后两位年份 + const day = date.getDate(); + const month = date.getMonth() + 1; + const hours = date.getHours(); + const minutes = date.getMinutes(); + return `${year}/${month.toString().padStart(2, '0')}/${day.toString().padStart(2, '0')} ${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}`; +} + + +//只更新HTML内容,不控制显示/隐藏 +function ShowPrintHistory( TaskList ) +{ + let TaskTotal=TaskList.length; + + let strTaskHtml=''; + for(let a=0;a=3600) + { + strCostTime=Math.round( (CostTime/3600)*10 )/10+'h'; + } + else if(CostTime>=60) + { + strCostTime=Math.floor( CostTime/60 )+'min'; + } + else + strCostTime=CostTime+'s'; + + let PlateName=' '+OneTask['plateIndex']+''; + if( OneTask['plateName'].trim()!='' ) + PlateName+=' - '+OneTask['plateName'].trim(); + + let StartTime=convertTimeFormat( OneTask['startTime'] ); + + let isPublicProfile =OneTask['isPublicProfile']; + let sMode=OneTask['mode']; + + strTaskHtml+= + '
'+ + '
'+ + '
'+ + '
'+TaskName+'
'+ + '
'+ + ' '+strCostTime+''+ + ' '+DeviceName+''+ + '
'+ + '
'+ + '
'+ + '
'+PlateName+'
'+ + '
('+StartTime+')
'+ + '
'; + switch(Status) + { + case 2: + strTaskHtml+='
Success
'; + break; + case 3: + strTaskHtml+='
Canceled
'; + break; + default: + strTaskHtml+='
Printing
'; + break; + } + strTaskHtml+= + '
'+ + '
'; + if( isPublicProfile==false && sMode!='cloud_slice' ) + strTaskHtml+='
Gcode
'; + + strTaskHtml+='
'; + } + + $('#PrintHistoryList').html(strTaskHtml); + TranslatePage(); +} + +function OnOpenPrintHistory( TaskID ) +{ + var tSend={}; + tSend['sequence_id']=Math.round(new Date() / 1000); + tSend['command']="homepage_printhistory_click"; + tSend['taskid']=TaskID*1; + + SendWXMessage( JSON.stringify(tSend) ); +} //---------------Global----------------- window.postMessage = HandleStudio; diff --git a/resources/web/homepage3/js/left.js b/resources/web/homepage3/js/left.js index 849ec7e..2c56869 100644 --- a/resources/web/homepage3/js/left.js +++ b/resources/web/homepage3/js/left.js @@ -1,6 +1,7 @@ //var TestData={"sequence_id":"0","command":"get_recent_projects","response":[{"path":"D:\\work\\Models\\Toy\\3d-puzzle-cube-model_files\\3d-puzzle-cube.3mf","time":"2022\/3\/24 20:33:10"},{"path":"D:\\work\\Models\\Art\\Carved Stone Vase - remeshed+drainage\\Carved Stone Vase.3mf","time":"2022\/3\/24 17:11:51"},{"path":"D:\\work\\Models\\Art\\Kity & Cat\\Cat.3mf","time":"2022\/3\/24 17:07:55"},{"path":"D:\\work\\Models\\Toy\\鐩村墤.3mf","time":"2022\/3\/24 17:06:02"},{"path":"D:\\work\\Models\\Toy\\minimalistic-dual-tone-whistle-model_files\\minimalistic-dual-tone-whistle.3mf","time":"2022\/3\/22 21:12:22"},{"path":"D:\\work\\Models\\Toy\\spiral-city-model_files\\spiral-city.3mf","time":"2022\/3\/22 18:58:37"},{"path":"D:\\work\\Models\\Toy\\impossible-dovetail-puzzle-box-model_files\\impossible-dovetail-puzzle-box.3mf","time":"2022\/3\/22 20:08:40"}]}; var m_HotModelList=null; +var m_HasNetworkPlugin=true; function OnInit() { @@ -32,10 +33,13 @@ function HandleStudio( pVal ) { $("#NoPluginTip").show(); $("#NoPluginTip").css("display","flex"); + + m_HasNetworkPlugin=false; } else { $("#NoPluginTip").hide(); + m_HasNetworkPlugin=true; } } else if(strCmd=='homepage_leftmenu_clicked') @@ -174,9 +178,19 @@ function SendMsg_GetLoginInfo() function OnLoginOrRegister() { var tSend={}; + // y + // if( m_HasNetworkPlugin ) + // { + // tSend['sequence_id']=Math.round(new Date() / 1000); + // tSend['command']="homepage_login_or_register"; + // } + // else + // { + // tSend['sequence_id']=Math.round(new Date() / 1000); + // tSend['command']="homepage_need_networkplugin"; + // } tSend['sequence_id']=Math.round(new Date() / 1000); - tSend['command']="homepage_login_or_register"; - + tSend['command']="homepage_login_or_register"; SendWXMessage( JSON.stringify(tSend) ); } diff --git a/resources/web/homepage3/js/test.js b/resources/web/homepage3/js/test.js index d5506b9..e29e92c 100644 --- a/resources/web/homepage3/js/test.js +++ b/resources/web/homepage3/js/test.js @@ -54,4 +54,933 @@ var Test_MakerlabList={ } } ] +}; + +var Test_PrintTaskList={ + "command": "printhistory_task_show", + "total": 15, + "hits": [ + { + "id": 3622536, + "designId": 374186, + "designTitle": "首发模型0914 1409 --0918 12:00改为独家", + "designTitleTranslated": "Exclusive model debut 0914 1409 --0918 12:00", + "instanceId": 32755, + "modelId": "CNQ72af310210f64b", + "title": "首发变独家", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/CNQ72af310210f64b/4007130/instance/plate_1.png", + "status": 3, + "feedbackStatus": 1, + "startTime": "2024-09-20T09:56:22Z", + "endTime": "2024-09-20T09:56:32Z", + "weight": 0, + "length": 0, + "costTime": 0, + "profileId": 4007130, + "plateIndex": 1, + "plateName": "", + "deviceId": "03W09A380900239", + "amsDetailMapping": [ + { + "ams": 0, + "sourceColor": "FFFFFFFF", + "targetColor": "", + "filamentId": "", + "filamentType": "PLA", + "targetFilamentType": "PLA", + "weight": 0 + } + ], + "mode": "cloud_slice", + "isPublicProfile": true, + "isPrintable": true, + "isDelete": false, + "deviceModel": "X1E", + "deviceName": "3DP-03W-239", + "bedType": "Cool Plate" + }, + { + "id": 3622535, + "designId": 374186, + "designTitle": "首发模型0914 1409 --0918 12:00改为独家", + "designTitleTranslated": "Exclusive model debut 0914 1409 --0918 12:00", + "instanceId": 32755, + "modelId": "CNQ72af310210f64b", + "title": "首发变独家", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/CNQ72af310210f64b/4007130/instance/plate_1.png", + "status": 3, + "feedbackStatus": 1, + "startTime": "2024-09-20T09:55:42Z", + "endTime": "2024-09-20T09:56:00Z", + "weight": 0, + "length": 0, + "costTime": 0, + "profileId": 4007130, + "plateIndex": 1, + "plateName": "", + "deviceId": "03W09A380900239", + "amsDetailMapping": [ + { + "ams": 0, + "sourceColor": "FFFFFFFF", + "targetColor": "", + "filamentId": "", + "filamentType": "PLA", + "targetFilamentType": "PLA", + "weight": 0 + } + ], + "mode": "cloud_slice", + "isPublicProfile": true, + "isPrintable": true, + "isDelete": false, + "deviceModel": "X1E", + "deviceName": "3DP-03W-239", + "bedType": "Cool Plate" + }, + { + "id": 3622505, + "designId": 374186, + "designTitle": "首发模型0914 1409 --0918 12:00改为独家", + "designTitleTranslated": "Exclusive model debut 0914 1409 --0918 12:00", + "instanceId": 32755, + "modelId": "CNQ72af310210f64b", + "title": "首发变独家", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/cache/1/CNQ72af310210f64b/4007130/3mf/3/REP1/Metadata/plate_3.png", + "status": 2, + "feedbackStatus": 1, + "startTime": "2024-09-20T06:38:33Z", + "endTime": "2024-09-20T08:27:56Z", + "weight": 53.54, + "length": 1766, + "costTime": 6376, + "profileId": 4007130, + "plateIndex": 3, + "plateName": "", + "deviceId": "03W09A380900239", + "amsDetailMapping": [ + { + "ams": 0, + "sourceColor": "FFFFFFFF", + "targetColor": "FFFFFFFF", + "filamentId": "", + "filamentType": "PLA", + "targetFilamentType": "PLA", + "weight": 53.54 + } + ], + "mode": "cloud_slice", + "isPublicProfile": true, + "isPrintable": true, + "isDelete": false, + "deviceModel": "X1E", + "deviceName": "3DP-03W-239", + "bedType": "Cool Plate" + }, + { + "id": 3622504, + "designId": 374186, + "designTitle": "首发模型0914 1409 --0918 12:00改为独家", + "designTitleTranslated": "Exclusive model debut 0914 1409 --0918 12:00", + "instanceId": 32755, + "modelId": "CNQ72af310210f64b", + "title": "首发变独家", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/cache/1/CNQ72af310210f64b/4007130/3mf/3/%23A0E20EFF/REP1/Metadata/plate_3.png", + "status": 2, + "feedbackStatus": 1, + "startTime": "2024-09-20T06:38:18Z", + "endTime": "2024-09-20T08:38:35Z", + "weight": 56.09, + "length": 1766, + "costTime": 7131, + "profileId": 4007130, + "plateIndex": 3, + "plateName": "", + "deviceId": "00W00A242600023", + "amsDetailMapping": [ + { + "ams": 1, + "sourceColor": "FFFFFFFF", + "targetColor": "A0E20EFF", + "filamentId": "", + "filamentType": "PLA", + "targetFilamentType": "PLA", + "weight": 56.09 + } + ], + "mode": "cloud_slice", + "isPublicProfile": true, + "isPrintable": true, + "isDelete": false, + "deviceModel": "X1", + "deviceName": "025", + "bedType": "Cool Plate" + }, + { + "id": 3622499, + "designId": 374186, + "designTitle": "首发模型0914 1409 --0918 12:00改为独家", + "designTitleTranslated": "Exclusive model debut 0914 1409 --0918 12:00", + "instanceId": 32755, + "modelId": "CNQ72af310210f64b", + "title": "首发变独家", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/cache/1/CNQ72af310210f64b/4007130/3mf/3/REP1/Metadata/plate_3.png", + "status": 2, + "feedbackStatus": 1, + "startTime": "2024-09-20T04:12:14Z", + "endTime": "2024-09-20T06:02:16Z", + "weight": 53.54, + "length": 1766, + "costTime": 6376, + "profileId": 4007130, + "plateIndex": 3, + "plateName": "", + "deviceId": "03W09A380900239", + "amsDetailMapping": [ + { + "ams": 0, + "sourceColor": "FFFFFFFF", + "targetColor": "FFFFFFFF", + "filamentId": "", + "filamentType": "PLA", + "targetFilamentType": "PLA", + "weight": 53.54 + } + ], + "mode": "cloud_slice", + "isPublicProfile": true, + "isPrintable": true, + "isDelete": false, + "deviceModel": "X1E", + "deviceName": "3DP-03W-239", + "bedType": "Cool Plate" + } + ] +} + +var Test_4UModelList={ + "hits": [ + { + "id": 374202, + "title": "0920 可定制", + "titleTranslated": "0920 Customizable", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/CNQc553e8906eaff0/design/2024-09-20_7cf6087c009.jpg", + "likeCount": 0, + "collectionCount": 1, + "shareCount": 0, + "printCount": 0, + "downloadCount": 0, + "commentCount": 0, + "readCount": 0, + "designCreator": { + "uid": 1074649781, + "name": "xiaohuan.li888888888888888888888888888", + "avatar": "https://public-us-cdn.bambulab.net/avatar/9a12d850-539a-11ef-bcfb-2953b84d62de.jpg", + "fanCount": 6, + "followCount": 6, + "createTime": "2023-08-29T07:06:16Z", + "certificated": true, + "handle": "xiaohuan.li6667", + "level": 30, + "gradeType": 4 + }, + "createTime": "2024-09-20T03:10:43Z", + "nsfw": false, + "hotScore": 794, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": true, + "pickReason": "", + "isPrintable": true, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": true, + "contest": { + "contestId": 124, + "rank": 0, + "status": 1, + "contestName": "0718 contest", + "contestStatus": 0, + "comment": "" + }, + "source": 4, + "customizedByMakerLab": true, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 0, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"4|0.93\"],\"rk\":\"-0.04|0\"}", + "modelId": "CNQc553e8906eaff0" + }, + { + "id": 374215, + "title": "jeep", + "titleTranslated": "", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/CNQ5da5ab69430323/design/2024-09-20_ef0049a4b5026.jpg", + "likeCount": 0, + "collectionCount": 1, + "shareCount": 0, + "printCount": 0, + "downloadCount": 1, + "commentCount": 1, + "readCount": 0, + "designCreator": { + "uid": 415112594, + "name": "Yifan Wu", + "avatar": "https://public-dev-cdn.bambulab.net/avatar/415112594/2023-05-06_1f35259225fad.jpg", + "fanCount": 14, + "followCount": 14, + "createTime": "2022-04-07T09:52:23Z", + "certificated": false, + "handle": "wuyifan", + "level": 11, + "gradeType": 1 + }, + "createTime": "2024-09-20T12:00:13Z", + "nsfw": false, + "hotScore": 2726, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": false, + "pickReason": "", + "isPrintable": true, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": true, + "contest": { + "contestId": 0, + "rank": 0, + "status": 0, + "contestName": "", + "contestStatus": 0, + "comment": "" + }, + "source": 7, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 3, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"7|1\"],\"rk\":\"-0.11|1\"}", + "modelId": "CNQ5da5ab69430323" + }, + { + "id": 374216, + "title": "小迷宫", + "titleTranslated": "mini maze", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/DSM00000000374216/design/2024-09-20_e31bc38f1cef9.webp", + "likeCount": 0, + "collectionCount": 0, + "shareCount": 0, + "printCount": 0, + "downloadCount": 2, + "commentCount": 0, + "readCount": 0, + "designCreator": { + "uid": 415112594, + "name": "Yifan Wu", + "avatar": "https://public-dev-cdn.bambulab.net/avatar/415112594/2023-05-06_1f35259225fad.jpg", + "fanCount": 14, + "followCount": 14, + "createTime": "2022-04-07T09:52:23Z", + "certificated": false, + "handle": "wuyifan", + "level": 11, + "gradeType": 1 + }, + "createTime": "2024-09-20T12:44:02Z", + "nsfw": false, + "hotScore": 1891, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": false, + "pickReason": "", + "isPrintable": true, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": true, + "contest": { + "contestId": 0, + "rank": 0, + "status": 0, + "contestName": "", + "contestStatus": 0, + "comment": "" + }, + "source": 7, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 1, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"7|0.92\"],\"rk\":\"-0.17|2\"}", + "modelId": "CNQ581249e18cec42" + }, + { + "id": 374218, + "title": "运营开启独家未达标用户", + "titleTranslated": "The following content requires translation:\nExclusive unmet user operations have been initiated.", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/CNQf2d9054da20bfe/design/2024-09-23_d4d635adef548.jpg", + "likeCount": 0, + "collectionCount": 0, + "shareCount": 0, + "printCount": 0, + "downloadCount": 11, + "commentCount": 0, + "readCount": 0, + "designCreator": { + "uid": 1375262870, + "name": "XNCS025", + "avatar": "https://oss-cdn.bambulab.com/default-avatar.png", + "fanCount": 1, + "followCount": 1, + "createTime": "2023-03-07T02:14:57Z", + "certificated": false, + "handle": "XNCS025", + "level": 4, + "gradeType": 0 + }, + "createTime": "2024-09-23T07:17:13Z", + "nsfw": false, + "hotScore": 2447, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": false, + "pickReason": "", + "isPrintable": true, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": true, + "contest": { + "contestId": 0, + "rank": 0, + "status": 0, + "contestName": "", + "contestStatus": 0, + "comment": "" + }, + "source": 7, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 0, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"7|0.96\"],\"rk\":\"-0.21|3\"}", + "modelId": "CNQf2d9054da20bfe" + }, + { + "id": 374229, + "title": "测试一下定时任务", + "titleTranslated": "Test the scheduled task", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/CNQe4b47ef2e53023/design/2024-09-23_ed5de35b423cc.webp", + "likeCount": 0, + "collectionCount": 0, + "shareCount": 0, + "printCount": 2, + "downloadCount": 2, + "commentCount": 0, + "readCount": 0, + "designCreator": { + "uid": 1812646376, + "name": "银鱼test2", + "avatar": "https://public-cdn.bblmw.com/default/avatar.png", + "fanCount": 1, + "followCount": 1, + "createTime": "2024-09-12T07:02:50Z", + "certificated": false, + "handle": "user_1812646376", + "level": 10, + "gradeType": 1 + }, + "createTime": "2024-09-23T10:42:15Z", + "nsfw": false, + "hotScore": 1442, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": false, + "pickReason": "", + "isPrintable": true, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": false, + "contest": { + "contestId": 0, + "rank": 0, + "status": 0, + "contestName": "", + "contestStatus": 0, + "comment": "" + }, + "source": 7, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 0, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"7|0.88\"],\"rk\":\"-0.22|4\"}", + "modelId": "CNQe4b47ef2e53023" + }, + { + "id": 371892, + "title": "测试竞赛", + "titleTranslated": "", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/DSM00000000371892/design/2024-03-28_6875c4e16c667.jpg", + "likeCount": 1, + "collectionCount": 1, + "shareCount": 0, + "printCount": 0, + "downloadCount": 1, + "commentCount": 0, + "readCount": 0, + "designCreator": { + "uid": 3185390264, + "name": "fang.nie", + "avatar": "https://public-dev-cdn.bambulab.net/avatar/3185390264/2024-02-26_fc5558ccc29f1.jpg", + "fanCount": 6, + "followCount": 6, + "createTime": "2022-05-11T07:56:50Z", + "certificated": false, + "handle": "fang.nie", + "level": 8, + "gradeType": 1 + }, + "createTime": "2024-03-28T07:59:10Z", + "nsfw": false, + "hotScore": 0, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": true, + "pickReason": "", + "isPrintable": false, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": false, + "contest": { + "contestId": 75, + "rank": 0, + "status": 1, + "contestName": "0306进行中的竞赛", + "contestStatus": 0, + "comment": "" + }, + "source": 4, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 0, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"4|1\"],\"rk\":\"-0.28|5\"}", + "modelId": "" + }, + { + "id": 374114, + "title": "打印时长超过20小时", + "titleTranslated": "Printing duration exceeds 20 hours", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/CNQf47c4b034a745c/design/2024-08-30_2606102d038c5.webp", + "likeCount": 0, + "collectionCount": 0, + "shareCount": 0, + "printCount": 0, + "downloadCount": 0, + "commentCount": 0, + "readCount": 0, + "designCreator": { + "uid": 3345032319, + "name": "Summer_lights", + "avatar": "https://public-cdn.bambulab.com/default/avatar.png", + "fanCount": 2, + "followCount": 2, + "createTime": "2023-08-04T08:43:14Z", + "certificated": true, + "handle": "Summer_lights", + "level": 7, + "gradeType": 1 + }, + "createTime": "2024-08-30T02:52:40Z", + "nsfw": false, + "hotScore": 0, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": true, + "pickReason": "", + "isPrintable": true, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": false, + "contest": { + "contestId": 0, + "rank": 0, + "status": 0, + "contestName": "", + "contestStatus": 0, + "comment": "" + }, + "source": 4, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 0, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"4|0.86\"],\"rk\":\"-0.4|6\"}", + "modelId": "CNQf47c4b034a745c" + }, + { + "id": 374044, + "title": "恐龙模型", + "titleTranslated": "Dinosaur Model", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/DSM00000000374044/design/2024-08-08_0cade4e99b18c.png", + "likeCount": 2, + "collectionCount": 2, + "shareCount": 0, + "printCount": 0, + "downloadCount": 1, + "commentCount": 10, + "readCount": 0, + "designCreator": { + "uid": 3603343695, + "name": "龙井~qa", + "avatar": "https://public-dev-cdn.bambulab.net/avatar/3603343695/2023-11-01_f32d53e210073.jpg", + "fanCount": 12, + "followCount": 12, + "createTime": "2022-08-01T07:37:47Z", + "certificated": false, + "handle": "user_3603343695", + "level": 10, + "gradeType": 1 + }, + "createTime": "2024-08-08T08:09:44Z", + "nsfw": false, + "hotScore": 163, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": true, + "pickReason": "", + "isPrintable": true, + "isOfficial": true, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": false, + "contest": { + "contestId": 0, + "rank": 0, + "status": 0, + "contestName": "", + "contestStatus": 0, + "comment": "" + }, + "source": 4, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 4, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"4|0.79\"],\"rk\":\"-0.43|7\"}", + "modelId": "CNQ1ff72338b76e42" + }, + { + "id": 374224, + "title": "testing1", + "titleTranslated": "", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/CNQ6d8c4e451cb1cb/design/2024-09-23_523ae314284da.webp", + "likeCount": 0, + "collectionCount": 0, + "shareCount": 0, + "printCount": 0, + "downloadCount": 0, + "commentCount": 0, + "readCount": 0, + "designCreator": { + "uid": 899054757, + "name": "user_899054757", + "avatar": "https://public-us-cdn.bambulab.net/avatar/bfe3d810-798b-11ef-bd70-27bc07e67d92.jpg", + "fanCount": 0, + "followCount": 0, + "createTime": "2024-09-20T09:19:40Z", + "certificated": false, + "handle": "user_899054757", + "level": 6, + "gradeType": 0 + }, + "createTime": "2024-09-23T09:48:17Z", + "nsfw": false, + "hotScore": 0, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": false, + "pickReason": "", + "isPrintable": true, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": false, + "contest": { + "contestId": 0, + "rank": 0, + "status": 0, + "contestName": "", + "contestStatus": 0, + "comment": "" + }, + "source": 7, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 0, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"7|0.56\"],\"rk\":\"-0.43|8\"}", + "modelId": "CNQ6d8c4e451cb1cb" + }, + { + "id": 374227, + "title": "test2", + "titleTranslated": "", + "cover": "https://public-dev-cdn.bambulab.net/makerworld/model/DSM00000000374227/design/2024-09-23_ff06b8ab9e468.jpg", + "likeCount": 0, + "collectionCount": 0, + "shareCount": 0, + "printCount": 0, + "downloadCount": 0, + "commentCount": 0, + "readCount": 0, + "designCreator": { + "uid": 899054757, + "name": "user_899054757", + "avatar": "https://public-us-cdn.bambulab.net/avatar/bfe3d810-798b-11ef-bd70-27bc07e67d92.jpg", + "fanCount": 0, + "followCount": 0, + "createTime": "2024-09-20T09:19:40Z", + "certificated": false, + "handle": "user_899054757", + "level": 6, + "gradeType": 0 + }, + "createTime": "2024-09-23T09:51:22Z", + "nsfw": false, + "hotScore": 0, + "status": 1, + "hasCollect": false, + "hasLike": false, + "hasDislike": false, + "isStaffPicked": false, + "pickReason": "", + "isPrintable": false, + "isOfficial": false, + "isPointRedeemable": false, + "pointRedeemDetail": { + "price": 0, + "sku": "", + "status": 0 + }, + "isExclusive": false, + "contest": { + "contestId": 0, + "rank": 0, + "status": 0, + "contestName": "", + "contestStatus": 0, + "comment": "" + }, + "source": 7, + "customizedByMakerLab": false, + "preset": { + "type": "", + "filamentConfig": null, + "printerConfig": null, + "processConfig": null, + "printerSettings": null, + "file": { + "name": "", + "size": 0, + "url": "" + } + }, + "coverLandscape": "", + "coverPortrait": "", + "boostCnt": 0, + "bomsNeeded": false, + "bannerTitle": "", + "ext": "{\"rc\":[\"7|0.68\"],\"rk\":\"-0.49|9\"}", + "modelId": "" + } + ], + "seed": 1149157380, + "surplus": 32 }; \ No newline at end of file diff --git a/resources/web/homepage3/left.html b/resources/web/homepage3/left.html index 7d5f58b..7e384ba 100644 --- a/resources/web/homepage3/left.html +++ b/resources/web/homepage3/left.html @@ -99,10 +99,14 @@
-
Makerlab
+
MakerLab
New
+
+
+
Print History
+
User Manual
diff --git a/resources/web/include/globalapi.js b/resources/web/include/globalapi.js index f0246eb..e21ef58 100644 --- a/resources/web/include/globalapi.js +++ b/resources/web/include/globalapi.js @@ -62,7 +62,7 @@ function GetFullDate() return tDate; } - +//return YYYY-MM-DD function Unixtimestamp2Date( nSecond ) { var d=new Date(nSecond*1000); @@ -93,6 +93,17 @@ function Unixtimestamp2Date( nSecond ) return tDate.strdate; } +function DateToUnixstamp( strDate ) +{ + const date = new Date(strDate); + return Math.floor(date.getTime() / 1000); +} + +function DateToUnixstampMS( strDate ) +{ + const date = new Date(strDate); + return date.getTime(); +} //------------Array Function------------- Array.prototype.in_array = function (e) { @@ -468,10 +479,16 @@ function DisableHotkey( b_CtrlP ) if (e.shiftKey && e.metaKey) OutputKey(e.keyCode, false, true, true); - if (window.event) { - try { e.keyCode = 0; } catch (e) { } - e.returnValue = false; + //F1--F12 + if ( e.keyCode>=112 && e.keyCode<=123 ) + { + e.preventDefault(); } + +// if (window.event) { +// try { e.keyCode = 0; } catch (e) { } +// e.returnValue = false; +// } }; window.addEventListener('mousewheel', function (event) { @@ -479,7 +496,24 @@ function DisableHotkey( b_CtrlP ) event.preventDefault(); } }, { passive: false }); + + DisableDropAction(); } DisableHotkey(); +/*--------Disable Drop Action---------*/ +function DisableDropAction() +{ + document.addEventListener("dragstart", (event) => { + event.preventDefault(); + }); + + document.addEventListener("dragover", (event) => { + event.preventDefault(); + }); + + document.addEventListener("drop", (event) => { + event.preventDefault(); + }); +} \ No newline at end of file diff --git a/resources/web/model/index.html b/resources/web/model/index.html index 5ef0a07..b9ca50b 100644 --- a/resources/web/model/index.html +++ b/resources/web/model/index.html @@ -22,8 +22,6 @@ - -
no model information
diff --git a/resources/web/model/model.css b/resources/web/model/model.css index d52be39..303ef49 100644 --- a/resources/web/model/model.css +++ b/resources/web/model/model.css @@ -4,7 +4,6 @@ padding: 0px; border: 0px; font-family: "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-sans; - user-select: none; } html diff --git a/resources/web/model/model.js b/resources/web/model/model.js index bdc85fe..de923de 100644 --- a/resources/web/model/model.js +++ b/resources/web/model/model.js @@ -144,6 +144,14 @@ function Request3MFInfo() SendWXMessage( JSON.stringify(tSend) ); } +function HtmlDecodeFrom3MF(strInput) +{ + const el = document.createElement('textarea'); + el.innerHTML = strInput; + el.innerHTML = el.value; + return el.value; +} + function HandleStudio(pVal) { let strCmd=pVal['command']; @@ -213,6 +221,7 @@ function ShowModelInfo( pModel ) let UploadType=pModel.upload_type.toLowerCase(); let sLicence=pModel.license.toUpperCase(); let sModelDesc=decodeURIComponent(pModel.description); + sModelDesc=HtmlDecodeFrom3MF( sModelDesc ); if( pModel.hasOwnProperty('model_id') ) { @@ -275,8 +284,8 @@ function ShowModelInfo( pModel ) $('#ModelLicenceImg').hide(); break; } - - $('#Model_Desc').html( html_decode(sModelDesc) ); + + $('#Model_Desc').html( sModelDesc ); let ModelPreviewList=pModel.preview_img; let TotalPreview=ModelPreviewList.length; @@ -490,11 +499,12 @@ function ShowProfilelInfo( pProfile ) let sProfileName=decodeURIComponent(pProfile.name); let sProfileAuthor=decodeURIComponent(pProfile.author); let sProfileDesc=decodeURIComponent(pProfile.description); + sProfileDesc=HtmlDecodeFrom3MF(sProfileDesc); $('#ProfileName').html(sProfileName); $('#ProfileAuthor').html(sProfileAuthor); - $('#Profile_Desc').html( html_decode(sProfileDesc) ); + $('#Profile_Desc').html( sProfileDesc ); let ProfilePreviewList=pProfile.preview_img; let TotalPreview=ProfilePreviewList.length; diff --git a/resources/web/qidi/link_missing_connection.html b/resources/web/qidi/link_missing_connection.html index 11597c6..1d5a78e 100644 --- a/resources/web/qidi/link_missing_connection.html +++ b/resources/web/qidi/link_missing_connection.html @@ -36,10 +36,10 @@

- Connect Device + Connect Device

- Please use the QIDI Link APP to connect to your printer. Once the link is completed, the online device will be synced to the "Link" page. + Please use the QIDI Link APP to connect to your printer. Once the link is completed, the online device will be synced to the "Link" page.

Device Connection Image diff --git a/resources/web/qidi/missing_connection.html b/resources/web/qidi/missing_connection.html index c9eb04f..0e9281e 100644 --- a/resources/web/qidi/missing_connection.html +++ b/resources/web/qidi/missing_connection.html @@ -36,10 +36,10 @@

- Connect Device + Connect Device

- Please set up your printer connection to view the device. + Please set up your printer connection to view the device.

Device Connection Image diff --git a/src/admesh/stl.h b/src/admesh/stl.h index 0f1a0ce..0a4d07f 100644 --- a/src/admesh/stl.h +++ b/src/admesh/stl.h @@ -45,7 +45,8 @@ typedef Eigen::Matrix stl_triangle_vertex_indices static_assert(sizeof(stl_vertex) == 12, "size of stl_vertex incorrect"); static_assert(sizeof(stl_normal) == 12, "size of stl_normal incorrect"); -typedef std::function ImportstlProgressFn; +typedef std::function ImportstlProgressFn; typedef enum { eNormal, // normal face diff --git a/src/admesh/stlinit.cpp b/src/admesh/stlinit.cpp index 8196bf1..96532e2 100644 --- a/src/admesh/stlinit.cpp +++ b/src/admesh/stlinit.cpp @@ -46,6 +46,9 @@ extern void stl_internal_reverse_quads(char *buf, size_t cnt); const int LOAD_STL_UNIT_NUM = 5; static std::string model_id = ""; static std::string country_code = ""; +static std::string ml_name = ""; +static std::string ml_id = ""; +static std::string ml_region = ""; static FILE *stl_open_count_facets(stl_file *stl, const char *file, unsigned int custom_header_length) { @@ -162,30 +165,61 @@ static bool stl_read(stl_file *stl, FILE *fp, int first_facet, bool first, Impor else { rewind(fp); try{ - char solid_name[256]; - int res_solid = fscanf(fp, " solid %[^\n]", solid_name); + char solid_content[256]; + int res_solid = fscanf(fp, " solid %[^\n]", solid_content); if (res_solid == 1) { - char* mw_position = strstr(solid_name, "MW"); - if (mw_position != NULL) { - // Extract the value after "MW" - char version_str[16]; - char model_id_str[128]; - char country_code_str[16]; - int num_values = sscanf(mw_position + 3, "%s %s %s", version_str, model_id_str, country_code_str); - if (num_values == 3) { - if (strcmp(version_str, "1.0") == 0) { - model_id = model_id_str; - country_code = country_code_str; + /*include ml info*/ + std::string ext_content(solid_content); + std::string ml_content; + std::string mw_content; + + size_t pos = ext_content.find('&'); + if (pos != std::string::npos) { + mw_content = ext_content.substr(0, pos); + ml_content = ext_content.substr(pos + 1); + } + + if (ml_content.empty() && ext_content.find("ML") != std::string::npos) { + ml_content = ext_content; + } + + if (mw_content.empty() && ext_content.find("MW") != std::string::npos) { + mw_content = ext_content; + } + + /*parse ml info*/ + if (!ml_content.empty()) { + std::istringstream iss(ml_content); + std::string token; + std::vector result; + while (iss >> token) { + if (token.find(' ') == std::string::npos) { + result.push_back(token); } } - else { - model_id = ""; - country_code = ""; + + if (result.size() == 4 && result[0] == "ML") { + ml_region = result[1]; + ml_name = result[2]; + ml_id = result[3]; } } - else { - model_id = ""; // No MW format found - country_code = ""; + + /*parse mw info*/ + if (!mw_content.empty()) { + std::istringstream iss(mw_content); + std::string token; + std::vector result; + while (iss >> token) { + if (token.find(' ') == std::string::npos) { + result.push_back(token); + } + } + + if (result.size() == 4 && result[0] == "MW") { + model_id = result[2]; + country_code = result[3]; + } } } } @@ -204,7 +238,7 @@ static bool stl_read(stl_file *stl, FILE *fp, int first_facet, bool first, Impor if ((i % unit) == 0) { bool cb_cancel = false; if (stlFn) { - stlFn(i, facets_num, cb_cancel, model_id, country_code); + stlFn(i, facets_num, cb_cancel, model_id, country_code, ml_region, ml_name, ml_id); if (cb_cancel) return false; }