fix(back-end): update profile inheritance
This commit is contained in:
3
backend/profiles/bambu_a1.json
Normal file
3
backend/profiles/bambu_a1.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"inherits": "Bambu Lab A1 0.4 nozzle"
|
||||
}
|
||||
3
backend/profiles/draft.json
Normal file
3
backend/profiles/draft.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"inherits": "0.28mm Extra Draft @BBL A1"
|
||||
}
|
||||
3
backend/profiles/extra_fine.json
Normal file
3
backend/profiles/extra_fine.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"inherits": "0.08mm High Quality @BBL A1"
|
||||
}
|
||||
3
backend/profiles/pla_basic.json
Normal file
3
backend/profiles/pla_basic.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"inherits": "Bambu PLA Basic @BBL A1"
|
||||
}
|
||||
3
backend/profiles/standard.json
Normal file
3
backend/profiles/standard.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"inherits": "0.20mm Standard @BBL A1"
|
||||
}
|
||||
@@ -20,9 +20,9 @@ public class QuoteController {
|
||||
private final QuoteCalculator quoteCalculator;
|
||||
|
||||
// Defaults
|
||||
private static final String DEFAULT_MACHINE = "Bambu_Lab_A1_machine";
|
||||
private static final String DEFAULT_FILAMENT = "Bambu_PLA_Basic";
|
||||
private static final String DEFAULT_PROCESS = "Bambu_Process_0.20_Standard";
|
||||
private static final String DEFAULT_MACHINE = "bambu_a1";
|
||||
private static final String DEFAULT_FILAMENT = "pla_basic";
|
||||
private static final String DEFAULT_PROCESS = "standard";
|
||||
|
||||
public QuoteController(SlicerService slicerService, QuoteCalculator quoteCalculator) {
|
||||
this.slicerService = slicerService;
|
||||
|
||||
@@ -67,8 +67,7 @@ export class QuoteEstimatorService {
|
||||
|
||||
return new Observable(observer => {
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
formData.append('machine', 'bambu_a1');
|
||||
formData.append('file', file);
|
||||
formData.append('filament', this.mapMaterial(request.material));
|
||||
formData.append('quality', this.mapQuality(request.quality));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user