Compare commits
4 Commits
master
...
feature/sl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7f4983d0d | ||
| 891b679230 | |||
| 8ae218321f | |||
| ada027bc04 |
82
.gitea/ISSUE_TEMPLATE/bug_report.ym
Normal file
82
.gitea/ISSUE_TEMPLATE/bug_report.ym
Normal file
@@ -0,0 +1,82 @@
|
||||
name: "Bug Report"
|
||||
about: "Report a problem or error"
|
||||
title: "[BUG] "
|
||||
labels:
|
||||
- bug
|
||||
body:
|
||||
- type: dropdown
|
||||
id: os
|
||||
attributes:
|
||||
label: "Operating System"
|
||||
options:
|
||||
- "Windows 10"
|
||||
- "Windows 11"
|
||||
- "Ubuntu / Debian"
|
||||
- "Fedora / RHEL"
|
||||
- "Arch Linux"
|
||||
- "macOS"
|
||||
- "Other"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: install_type
|
||||
attributes:
|
||||
label: "Installation Type"
|
||||
options:
|
||||
- "Docker / Docker Compose"
|
||||
- "EXE / Binary (Windows)"
|
||||
- "Binary (Linux)"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: slicer
|
||||
attributes:
|
||||
label: "Slicer"
|
||||
options:
|
||||
- "OrcaSlicer (KX-Patch)"
|
||||
- "OrcaSlicer (Standard)"
|
||||
- "BambuStudio"
|
||||
- "PrusaSlicer"
|
||||
- "Other"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: slicer_version
|
||||
attributes:
|
||||
label: "Slicer Version"
|
||||
placeholder: "e.g. 2.4.0-dev-kx1"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: bridge_version
|
||||
attributes:
|
||||
label: "KX-Bridge Version"
|
||||
placeholder: "e.g. v0.9.20"
|
||||
description: "Found in the web interface or in the logs at startup."
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: "Problem Description"
|
||||
description: "What is happening? What did you expect to happen?"
|
||||
placeholder: |
|
||||
What happened:
|
||||
|
||||
What was expected:
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: "Logs / Error Message"
|
||||
description: "Relevant output from the KX-Bridge logs. Docker: `docker logs <container>`"
|
||||
render: text
|
||||
validations:
|
||||
required: false
|
||||
85
.gitea/ISSUE_TEMPLATE/bug_report.yml
Normal file
85
.gitea/ISSUE_TEMPLATE/bug_report.yml
Normal file
@@ -0,0 +1,85 @@
|
||||
name: Bug Report
|
||||
about: File a bug report
|
||||
title: "[Bug]: "
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Please fill out all required fields to help us resolve your issue faster.
|
||||
|
||||
- type: dropdown
|
||||
id: os
|
||||
attributes:
|
||||
label: Operating System
|
||||
options:
|
||||
- Windows 10
|
||||
- Windows 11
|
||||
- Ubuntu / Debian
|
||||
- Fedora / RHEL
|
||||
- Arch Linux
|
||||
- macOS
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: install_type
|
||||
attributes:
|
||||
label: Installation Type
|
||||
options:
|
||||
- Docker / Docker Compose
|
||||
- EXE / Binary (Windows)
|
||||
- Binary (Linux)
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: slicer
|
||||
attributes:
|
||||
label: Slicer
|
||||
options:
|
||||
- OrcaSlicer (KX-Patch)
|
||||
- OrcaSlicer (Standard)
|
||||
- BambuStudio
|
||||
- PrusaSlicer
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: slicer_version
|
||||
attributes:
|
||||
label: Slicer Version
|
||||
placeholder: "e.g. 2.4.0-dev-kx1"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: bridge_version
|
||||
attributes:
|
||||
label: KX-Bridge Version
|
||||
description: "Found in the web interface or in the logs at startup."
|
||||
placeholder: "e.g. v0.9.20"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Problem Description
|
||||
description: What is happening? What did you expect to happen?
|
||||
placeholder: |
|
||||
What happened:
|
||||
|
||||
What was expected:
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Logs / Error Message
|
||||
description: "Relevant output from the KX-Bridge logs. Docker: `docker logs <container>`"
|
||||
render: shell
|
||||
validations:
|
||||
required: false
|
||||
82
bug_report.yml
Normal file
82
bug_report.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
name: "Bug Report"
|
||||
about: "Problem oder Fehler melden"
|
||||
title: "[BUG] "
|
||||
labels:
|
||||
- bug
|
||||
body:
|
||||
- type: dropdown
|
||||
id: os
|
||||
attributes:
|
||||
label: "Betriebssystem"
|
||||
options:
|
||||
- "Windows 10"
|
||||
- "Windows 11"
|
||||
- "Ubuntu / Debian"
|
||||
- "Fedora / RHEL"
|
||||
- "Arch Linux"
|
||||
- "macOS"
|
||||
- "Anderes"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: install_type
|
||||
attributes:
|
||||
label: "Installationsart"
|
||||
options:
|
||||
- "Docker / Docker Compose"
|
||||
- "EXE / Binary (Windows)"
|
||||
- "Binary (Linux)"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: slicer
|
||||
attributes:
|
||||
label: "Slicer"
|
||||
options:
|
||||
- "OrcaSlicer (KX-Patch)"
|
||||
- "OrcaSlicer (Standard)"
|
||||
- "BambuStudio"
|
||||
- "PrusaSlicer"
|
||||
- "Anderer"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: slicer_version
|
||||
attributes:
|
||||
label: "Slicer Version"
|
||||
placeholder: "z.B. 2.4.0-dev-kx1"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: bridge_version
|
||||
attributes:
|
||||
label: "KX-Bridge Version"
|
||||
placeholder: "z.B. v0.9.20"
|
||||
description: "Zu finden im Webinterface oder in den Logs beim Start."
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: "Problembeschreibung"
|
||||
description: "Was passiert? Was hast du erwartet?"
|
||||
placeholder: |
|
||||
Was ist passiert:
|
||||
|
||||
Was wurde erwartet:
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: "Logs / Fehlermeldung"
|
||||
description: "Relevante Ausgabe aus den KX-Bridge Logs. Docker: `docker logs <container>`"
|
||||
render: text
|
||||
validations:
|
||||
required: false
|
||||
@@ -1193,6 +1193,7 @@ function doProfileImportUpload(files){
|
||||
var _slotEditIndex=-1;
|
||||
var _slotEditLoaded=false;
|
||||
var _MAT_PRESETS=['PLA','PETG','ABS','ASA','TPU','PA','PC','HIPS'];
|
||||
var _BASE_MATERIAL_TYPES=['PLA','PETG','ABS','ASA','TPU','TPE','PA','PC','HIPS','PEI','PEEK'];
|
||||
function updateSlotEditFeedButton(){
|
||||
var btn=document.getElementById('btn-slot-edit-feed');
|
||||
if(!btn)return;
|
||||
@@ -2332,6 +2333,20 @@ function _normalizeMaterialKey(material){
|
||||
var key=(material||'').toUpperCase().replace(/[^A-Z0-9+]/g,'');
|
||||
// Orca often uses PLA for PLA+, while AMS may report PLA+.
|
||||
if(key==='PLA+'||key==='PLAPLUS') return 'PLA';
|
||||
// Handle modifier+base patterns in either order: "Matte PLA", "Silk PETG",
|
||||
// "PLA Silk", "PLA Matte". OrcaSlicer always writes the base type in GCode
|
||||
// (filament_type = PLA), but users label slots with the full product-style name.
|
||||
// Scan each space-separated word; return the first one that is a known base material.
|
||||
// Dash-suffix variants ("PLA-CF", "PETG-CF") contain no space and fall through
|
||||
// unchanged, preserving correct incompatibility with their base types.
|
||||
var trimmed=(material||'').trim();
|
||||
if(trimmed.indexOf(' ')>=0){
|
||||
var words=trimmed.toUpperCase().split(/\s+/);
|
||||
for(var i=0;i<words.length;i++){
|
||||
var w=words[i].replace(/[^A-Z0-9+]/g,'');
|
||||
if(_BASE_MATERIAL_TYPES.indexOf(w)>=0) return w;
|
||||
}
|
||||
}
|
||||
return key;
|
||||
}
|
||||
function _materialsCompatible(a,b){
|
||||
|
||||
Reference in New Issue
Block a user