mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 23:05:01 -06:00
Merge remote-tracking branch 'upstream/master' into Rigid3D
This commit is contained in:
commit
522aec56ca
20 changed files with 566 additions and 15 deletions
198
resources/definitions/trimaker_cosmosII.def.json
Normal file
198
resources/definitions/trimaker_cosmosII.def.json
Normal file
|
@ -0,0 +1,198 @@
|
|||
{
|
||||
"version": 2,
|
||||
"name": "Trimaker Cosmos II",
|
||||
"inherits": "fdmprinter",
|
||||
"metadata": {
|
||||
"visible": true,
|
||||
"author": "Trimaker",
|
||||
"manufacturer": "Trimaker",
|
||||
"file_formats": "text/x-gcode",
|
||||
"platform": "trimaker_cosmosII_platform.stl",
|
||||
"platform_offset": [-110.5, -28.3, 134],
|
||||
|
||||
"has_machine_quality": true,
|
||||
"preferred_quality_type": "normal",
|
||||
"preferred_material": "redd_pla",
|
||||
|
||||
"has_materials": true,
|
||||
"machine_extruder_trains": {"0": "trimaker_cosmosII_extruder"},
|
||||
"exclude_materials": [
|
||||
"chromatik_pla",
|
||||
"dsm_arnitel2045_175",
|
||||
"dsm_novamid1070_175",
|
||||
"emotiontech_abs",
|
||||
"emotiontech_absx",
|
||||
"emotiontech_asax",
|
||||
"emotiontech_bvoh",
|
||||
"emotiontech_hips",
|
||||
"emotiontech_petg",
|
||||
"emotiontech_pla",
|
||||
"emotiontech_pva-m",
|
||||
"emotiontech_pva-oks",
|
||||
"emotiontech_pva-s",
|
||||
"emotiontech_tpu98a",
|
||||
"eSUN_PETG_Black",
|
||||
"eSUN_PETG_Grey",
|
||||
"eSUN_PETG_Purple",
|
||||
"eSUN_PLA_PRO_Black",
|
||||
"eSUN_PLA_PRO_Grey",
|
||||
"eSUN_PLA_PRO_Purple",
|
||||
"eSUN_PLA_PRO_White",
|
||||
"fabtotum_abs",
|
||||
"fabtotum_nylon",
|
||||
"fabtotum_pla",
|
||||
"fabtotum_tpu",
|
||||
"fiberlogy_hd_pla",
|
||||
"filo3d_pla",
|
||||
"filo3d_pla_green",
|
||||
"filo3d_pla_red",
|
||||
"generic_abs_175",
|
||||
"generic_bam",
|
||||
"generic_cffcpe",
|
||||
"generic_cffpa",
|
||||
"generic_cpe",
|
||||
"generic_cpe_175",
|
||||
"generic_cpe_plus",
|
||||
"generic_gffcpe",
|
||||
"generic_gffpa",
|
||||
"generic_hips",
|
||||
"generic_hips_175",
|
||||
"generic_nylon",
|
||||
"generic_nylon_175",
|
||||
"generic_pc",
|
||||
"generic_pc_175",
|
||||
"generic_petg",
|
||||
"generic_petg_175",
|
||||
"generic_pla",
|
||||
"generic_pla_175",
|
||||
"generic_pp",
|
||||
"generic_pva",
|
||||
"generic_pva_175",
|
||||
"generic_tough_pla",
|
||||
"generic_tpu",
|
||||
"generic_tpu_175",
|
||||
"imade3d_petg_175",
|
||||
"imade3d_pla_175",
|
||||
"innofill_innoflex60_175",
|
||||
"leapfrog_abs_natural",
|
||||
"leapfrog_epla_natural",
|
||||
"leapfrog_pva_natural",
|
||||
"octofiber_pla",
|
||||
"polyflex_pla",
|
||||
"polymax_pla",
|
||||
"polyplus_pla",
|
||||
"polywood_pla",
|
||||
"structur3d_dap100silicone",
|
||||
"tizyx_abs",
|
||||
"tizyx_flex",
|
||||
"tizyx_petg",
|
||||
"tizyx_pla",
|
||||
"tizyx_pla_bois",
|
||||
"tizyx_pva",
|
||||
"ultimaker_abs_black",
|
||||
"ultimaker_abs_blue",
|
||||
"ultimaker_abs_green",
|
||||
"ultimaker_abs_grey",
|
||||
"ultimaker_abs_orange",
|
||||
"ultimaker_abs_pearl-gold",
|
||||
"ultimaker_abs_red",
|
||||
"ultimaker_abs_silver-metallic",
|
||||
"ultimaker_abs_white",
|
||||
"ultimaker_abs_yellow",
|
||||
"ultimaker_bam",
|
||||
"ultimaker_cpe_black",
|
||||
"ultimaker_cpe_blue",
|
||||
"ultimaker_cpe_dark-grey",
|
||||
"ultimaker_cpe_green",
|
||||
"ultimaker_cpe_light-grey",
|
||||
"ultimaker_cpe_plus_black",
|
||||
"ultimaker_cpe_plus_transparent",
|
||||
"ultimaker_cpe_plus_white",
|
||||
"ultimaker_cpe_red",
|
||||
"ultimaker_cpe_transparent",
|
||||
"ultimaker_cpe_white",
|
||||
"ultimaker_cpe_yellow",
|
||||
"ultimaker_nylon_black",
|
||||
"ultimaker_nylon_transparent",
|
||||
"ultimaker_pc_black",
|
||||
"ultimaker_pc_transparent",
|
||||
"ultimaker_pc_white",
|
||||
"ultimaker_pla_black",
|
||||
"ultimaker_pla_blue",
|
||||
"ultimaker_pla_green",
|
||||
"ultimaker_pla_magenta",
|
||||
"ultimaker_pla_orange",
|
||||
"ultimaker_pla_pearl-white",
|
||||
"ultimaker_pla_red",
|
||||
"ultimaker_pla_silver-metallic",
|
||||
"ultimaker_pla_transparent",
|
||||
"ultimaker_pla_white",
|
||||
"ultimaker_pla_yellow",
|
||||
"ultimaker_pp_transparent",
|
||||
"ultimaker_pva",
|
||||
"ultimaker_tough_pla_black",
|
||||
"ultimaker_tough_pla_green",
|
||||
"ultimaker_tough_pla_red",
|
||||
"ultimaker_tough_pla_white",
|
||||
"ultimaker_tpu_black",
|
||||
"ultimaker_tpu_blue",
|
||||
"ultimaker_tpu_red",
|
||||
"ultimaker_tpu_white",
|
||||
"verbatim_bvoh_175",
|
||||
"Vertex_Delta_ABS",
|
||||
"Vertex_Delta_PET",
|
||||
"Vertex_Delta_PLA",
|
||||
"Vertex_Delta_PLA_Glitter",
|
||||
"Vertex_Delta_PLA_Mat",
|
||||
"Vertex_Delta_PLA_Satin",
|
||||
"Vertex_Delta_PLA_Wood",
|
||||
"Vertex_Delta_TPU",
|
||||
"zyyx_pro_flex",
|
||||
"zyyx_pro_pla"
|
||||
]
|
||||
},
|
||||
|
||||
"overrides": {
|
||||
|
||||
"machine_name": {"default_value": "Trimaker Cosmos II"},
|
||||
"machine_width": {"default_value": 200},
|
||||
"machine_depth": {"default_value": 200},
|
||||
"machine_height": {"default_value": 200},
|
||||
|
||||
"layer_height": {"default_value": 0.2},
|
||||
"material_flow": {"value": 100},
|
||||
"xy_offset": {"default_value": 0},
|
||||
"xy_offset_layer_0": {"value": -0.1},
|
||||
"wall_thickness": {"value": "line_width * 3" },
|
||||
"top_bottom_thickness": {"value": "layer_height * 6"},
|
||||
"infill_sparse_density": {"default_value": 25},
|
||||
"infill_pattern": {"value": "'grid'"},
|
||||
"infill_sparse_thickness": {"value": "resolveOrValue('layer_height')"},
|
||||
"default_material_bed_temperature": {"default_value": 60},
|
||||
"default_material_print_temperature": {"default_value": 200},
|
||||
"speed_print": {"default_value": 45},
|
||||
"speed_travel": {"value": "speed_print if magic_spiralize else 100"},
|
||||
"speed_wall_0": {"value": 35},
|
||||
"speed_wall_x": {"value": 45},
|
||||
"retraction_enable": {"default_value": true},
|
||||
"retraction_amount": {"default_value": 1},
|
||||
"retraction_speed": {"default_value": 45},
|
||||
"cool_fan_enabled": {"default_value": true},
|
||||
"cool_fan_speed": {"value": "100.0 if cool_fan_enabled else 0.0"},
|
||||
"support_enable": {"default_value": true},
|
||||
"support_type": {"default_value": "everywhere"},
|
||||
"support_angle": {"default_value": 50},
|
||||
"support_pattern": {"default_value": "zigzag"},
|
||||
"support_z_distance": {"default_value": 0.17},
|
||||
"support_xy_distance": {"default_value": 0.7},
|
||||
"adhesion_type": {"default_value": "skirt"},
|
||||
|
||||
"gantry_height": {"value": 2},
|
||||
"machine_start_gcode": {"default_value": ";Start GCode - Cosmos II - 3.x.x_SEGcTK_1.1\n M104 S120; Comienzo a calentar extrusor\n G21; Unidades en mm\n G90; absolute positioning\n M82; set extruder to absolute mode\n M107; Apagar FAN\n G28; Home\n M190 S{material_bed_temperature_layer_0}\n G29; Senso la cama\n M500\n G1 F5000 X0.5 Y0.5\n M109 S{material_print_temperature}\n M900 K0.04\n G1 F200 Z10\n G92 E0; Defino cero en la posición del actual del extrusor\n G1 F200 X0.5 Y0.5 Z0.300; Posiciono antes de hacer una línea\n G1 F900 X0.5 Y51.5 E2.56436; Hago una línea\n "},
|
||||
"machine_end_gcode": {"default_value": ";CODIGO FINAL\n M107; Fan off\n G90; Set to absolute positioning\n G1 X0 Y0 Z201; Get extruder out of way\n G92 E0; Reset extruder position\n G1 E-1; Reduce filament pressure\n G92 E0; Reset extruder position again\n M140 S0; Disable heated bed\n M104 S0; Disable extruder\n M84; Turn steppers off"},
|
||||
"machine_heated_bed": {"default_value": true},
|
||||
"material_diameter": {"default_value": 1.75},
|
||||
"machine_center_is_zero": {"default_value": false}
|
||||
|
||||
}
|
||||
}
|
198
resources/definitions/trimaker_nebula.def.json
Normal file
198
resources/definitions/trimaker_nebula.def.json
Normal file
|
@ -0,0 +1,198 @@
|
|||
{
|
||||
"version": 2,
|
||||
"name": "Trimaker Nebula",
|
||||
"inherits": "fdmprinter",
|
||||
"metadata": {
|
||||
"visible": true,
|
||||
"author": "Trimaker",
|
||||
"manufacturer": "Trimaker",
|
||||
"file_formats": "text/x-gcode",
|
||||
"platform": "trimaker_nebula_platform.stl",
|
||||
|
||||
"has_machine_quality": true,
|
||||
"preferred_quality_type": "normal",
|
||||
"preferred_material": "redd_pla",
|
||||
|
||||
"platform_offset": [-117.5, -40, 147.5],
|
||||
"has_materials": true,
|
||||
"machine_extruder_trains": {"0": "trimaker_nebula_extruder"},
|
||||
"exclude_materials": [
|
||||
"chromatik_pla",
|
||||
"dsm_arnitel2045_175",
|
||||
"dsm_novamid1070_175",
|
||||
"emotiontech_abs",
|
||||
"emotiontech_absx",
|
||||
"emotiontech_asax",
|
||||
"emotiontech_bvoh",
|
||||
"emotiontech_hips",
|
||||
"emotiontech_petg",
|
||||
"emotiontech_pla",
|
||||
"emotiontech_pva-m",
|
||||
"emotiontech_pva-oks",
|
||||
"emotiontech_pva-s",
|
||||
"emotiontech_tpu98a",
|
||||
"eSUN_PETG_Black",
|
||||
"eSUN_PETG_Grey",
|
||||
"eSUN_PETG_Purple",
|
||||
"eSUN_PLA_PRO_Black",
|
||||
"eSUN_PLA_PRO_Grey",
|
||||
"eSUN_PLA_PRO_Purple",
|
||||
"eSUN_PLA_PRO_White",
|
||||
"fabtotum_abs",
|
||||
"fabtotum_nylon",
|
||||
"fabtotum_pla",
|
||||
"fabtotum_tpu",
|
||||
"fiberlogy_hd_pla",
|
||||
"filo3d_pla",
|
||||
"filo3d_pla_green",
|
||||
"filo3d_pla_red",
|
||||
"generic_abs_175",
|
||||
"generic_bam",
|
||||
"generic_cffcpe",
|
||||
"generic_cffpa",
|
||||
"generic_cpe",
|
||||
"generic_cpe_175",
|
||||
"generic_cpe_plus",
|
||||
"generic_gffcpe",
|
||||
"generic_gffpa",
|
||||
"generic_hips",
|
||||
"generic_hips_175",
|
||||
"generic_nylon",
|
||||
"generic_nylon_175",
|
||||
"generic_pc",
|
||||
"generic_pc_175",
|
||||
"generic_petg",
|
||||
"generic_petg_175",
|
||||
"generic_pla",
|
||||
"generic_pla_175",
|
||||
"generic_pp",
|
||||
"generic_pva",
|
||||
"generic_pva_175",
|
||||
"generic_tough_pla",
|
||||
"generic_tpu",
|
||||
"generic_tpu_175",
|
||||
"imade3d_petg_175",
|
||||
"imade3d_pla_175",
|
||||
"innofill_innoflex60_175",
|
||||
"leapfrog_abs_natural",
|
||||
"leapfrog_epla_natural",
|
||||
"leapfrog_pva_natural",
|
||||
"octofiber_pla",
|
||||
"polyflex_pla",
|
||||
"polymax_pla",
|
||||
"polyplus_pla",
|
||||
"polywood_pla",
|
||||
"structur3d_dap100silicone",
|
||||
"tizyx_abs",
|
||||
"tizyx_flex",
|
||||
"tizyx_petg",
|
||||
"tizyx_pla",
|
||||
"tizyx_pla_bois",
|
||||
"tizyx_pva",
|
||||
"ultimaker_abs_black",
|
||||
"ultimaker_abs_blue",
|
||||
"ultimaker_abs_green",
|
||||
"ultimaker_abs_grey",
|
||||
"ultimaker_abs_orange",
|
||||
"ultimaker_abs_pearl-gold",
|
||||
"ultimaker_abs_red",
|
||||
"ultimaker_abs_silver-metallic",
|
||||
"ultimaker_abs_white",
|
||||
"ultimaker_abs_yellow",
|
||||
"ultimaker_bam",
|
||||
"ultimaker_cpe_black",
|
||||
"ultimaker_cpe_blue",
|
||||
"ultimaker_cpe_dark-grey",
|
||||
"ultimaker_cpe_green",
|
||||
"ultimaker_cpe_light-grey",
|
||||
"ultimaker_cpe_plus_black",
|
||||
"ultimaker_cpe_plus_transparent",
|
||||
"ultimaker_cpe_plus_white",
|
||||
"ultimaker_cpe_red",
|
||||
"ultimaker_cpe_transparent",
|
||||
"ultimaker_cpe_white",
|
||||
"ultimaker_cpe_yellow",
|
||||
"ultimaker_nylon_black",
|
||||
"ultimaker_nylon_transparent",
|
||||
"ultimaker_pc_black",
|
||||
"ultimaker_pc_transparent",
|
||||
"ultimaker_pc_white",
|
||||
"ultimaker_pla_black",
|
||||
"ultimaker_pla_blue",
|
||||
"ultimaker_pla_green",
|
||||
"ultimaker_pla_magenta",
|
||||
"ultimaker_pla_orange",
|
||||
"ultimaker_pla_pearl-white",
|
||||
"ultimaker_pla_red",
|
||||
"ultimaker_pla_silver-metallic",
|
||||
"ultimaker_pla_transparent",
|
||||
"ultimaker_pla_white",
|
||||
"ultimaker_pla_yellow",
|
||||
"ultimaker_pp_transparent",
|
||||
"ultimaker_pva",
|
||||
"ultimaker_tough_pla_black",
|
||||
"ultimaker_tough_pla_green",
|
||||
"ultimaker_tough_pla_red",
|
||||
"ultimaker_tough_pla_white",
|
||||
"ultimaker_tpu_black",
|
||||
"ultimaker_tpu_blue",
|
||||
"ultimaker_tpu_red",
|
||||
"ultimaker_tpu_white",
|
||||
"verbatim_bvoh_175",
|
||||
"Vertex_Delta_ABS",
|
||||
"Vertex_Delta_PET",
|
||||
"Vertex_Delta_PLA",
|
||||
"Vertex_Delta_PLA_Glitter",
|
||||
"Vertex_Delta_PLA_Mat",
|
||||
"Vertex_Delta_PLA_Satin",
|
||||
"Vertex_Delta_PLA_Wood",
|
||||
"Vertex_Delta_TPU",
|
||||
"zyyx_pro_flex",
|
||||
"zyyx_pro_pla"
|
||||
]
|
||||
},
|
||||
|
||||
"overrides": {
|
||||
|
||||
"machine_name": {"default_value": "Trimaker Nebula"},
|
||||
"machine_width": {"default_value": 230},
|
||||
"machine_depth": {"default_value": 230},
|
||||
"machine_height": {"default_value": 260},
|
||||
|
||||
"layer_height": {"default_value": 0.2},
|
||||
"material_flow": {"value": 100},
|
||||
"xy_offset": {"default_value": 0},
|
||||
"xy_offset_layer_0": {"value": -0.1},
|
||||
"wall_thickness": {"value": "line_width * 3" },
|
||||
"top_bottom_thickness": {"value": "layer_height * 6"},
|
||||
"infill_sparse_density": {"default_value": 25},
|
||||
"infill_pattern": {"value": "'grid'"},
|
||||
"infill_sparse_thickness": {"value": "resolveOrValue('layer_height')"},
|
||||
"default_material_bed_temperature": {"default_value": 60},
|
||||
"default_material_print_temperature": {"default_value": 200},
|
||||
"speed_print": {"default_value": 45},
|
||||
"speed_travel": {"value": "speed_print if magic_spiralize else 100"},
|
||||
"speed_wall_0": {"value": 35},
|
||||
"speed_wall_x": {"value": 45},
|
||||
"retraction_enable": {"default_value": true},
|
||||
"retraction_amount": {"default_value": 1},
|
||||
"retraction_speed": {"default_value": 45},
|
||||
"cool_fan_enabled": {"default_value": true},
|
||||
"cool_fan_speed": {"value": "100.0 if cool_fan_enabled else 0.0"},
|
||||
"support_enable": {"default_value": true},
|
||||
"support_type": {"default_value": "everywhere"},
|
||||
"support_angle": {"default_value": 50},
|
||||
"support_pattern": {"default_value": "zigzag"},
|
||||
"support_z_distance": {"default_value": 0.17},
|
||||
"support_xy_distance": {"default_value": 0.7},
|
||||
"adhesion_type": {"default_value": "skirt"},
|
||||
|
||||
"gantry_height": {"value": 2},
|
||||
"machine_start_gcode": {"default_value": ";Trimaker Nebula Start Code\n G21; Unidades en mm\n G90; Posicion absoluta\n M82; Extrusor en modo absoluto\n M107; Fan apagado\n G28 X Y Z; Enviamos a home a todos los ejes\n M900 K=0; Linear advance desactivado\n M104 S110; Precalentamos el extrusor hasta 110 grados\n M190 S{material_bed_temperature_layer_0}; Calentamos cama y esperamos\n M109 S{material_print_temperature}; Calentamos extrusor y esperamos\n G92 E0; E=0\n G1 F200 X0.5 Y0.5 Z0.300\n G1 F900 X0.5 Y51.5 E2.56436; Hacemos una linea para limpiar extrusor\n"},
|
||||
"machine_end_gcode": {"default_value": ";Trimaker Nebula End Code\n M107; Apagamos fan\n G90\n G92 E0\n G1 X0 Y200\n G91\n G1 Z5\n G92 E0\n M140 S0; Enfriamos\n M104 S0; Enfriamos\n M84\n G90\n M117 Impresion finalizada\n M300 S440 P700\n"},
|
||||
"machine_heated_bed": {"default_value": true},
|
||||
"material_diameter": {"default_value": 1.75},
|
||||
"machine_center_is_zero": {"default_value": false}
|
||||
|
||||
}
|
||||
}
|
15
resources/extruders/trimaker_cosmosII_extruder.def.json
Normal file
15
resources/extruders/trimaker_cosmosII_extruder.def.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"version": 2,
|
||||
"name": "Extruder 1",
|
||||
"inherits": "fdmextruder",
|
||||
"metadata": {
|
||||
"machine": "trimaker_cosmosII",
|
||||
"position": "0"
|
||||
},
|
||||
|
||||
"overrides": {
|
||||
"extruder_nr": { "default_value": 0 },
|
||||
"machine_nozzle_size": { "default_value": 0.4 },
|
||||
"material_diameter": { "default_value": 1.75 }
|
||||
}
|
||||
}
|
15
resources/extruders/trimaker_nebula_extruder.def.json
Normal file
15
resources/extruders/trimaker_nebula_extruder.def.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"version": 2,
|
||||
"name": "Extruder 1",
|
||||
"inherits": "fdmextruder",
|
||||
"metadata": {
|
||||
"machine": "trimaker_nebula",
|
||||
"position": "0"
|
||||
},
|
||||
|
||||
"overrides": {
|
||||
"extruder_nr": { "default_value": 0 },
|
||||
"machine_nozzle_size": { "default_value": 0.4 },
|
||||
"material_diameter": { "default_value": 1.75 }
|
||||
}
|
||||
}
|
BIN
resources/meshes/trimaker_cosmosII_platform.stl
Normal file
BIN
resources/meshes/trimaker_cosmosII_platform.stl
Normal file
Binary file not shown.
BIN
resources/meshes/trimaker_nebula_platform.stl
Normal file
BIN
resources/meshes/trimaker_nebula_platform.stl
Normal file
Binary file not shown.
|
@ -691,6 +691,9 @@ UM.MainWindow
|
|||
|
||||
function handleOpenFiles(selectedMultipleFiles, hasProjectFile, fileUrlList, projectFileUrlList)
|
||||
{
|
||||
// Make sure the files opened through the openFilesIncludingProjectDialog are added to the recent files list
|
||||
openFilesIncludingProjectsDialog.addToRecent = true;
|
||||
|
||||
// we only allow opening one project file
|
||||
if (selectedMultipleFiles && hasProjectFile)
|
||||
{
|
||||
|
@ -717,6 +720,7 @@ UM.MainWindow
|
|||
{
|
||||
// ask whether to open as project or as models
|
||||
askOpenAsProjectOrModelsDialog.fileUrl = projectFile;
|
||||
askOpenAsProjectOrModelsDialog.addToRecent = true;
|
||||
askOpenAsProjectOrModelsDialog.show();
|
||||
}
|
||||
}
|
||||
|
@ -776,6 +780,7 @@ UM.MainWindow
|
|||
onOpenProjectFile:
|
||||
{
|
||||
askOpenAsProjectOrModelsDialog.fileUrl = project_file;
|
||||
askOpenAsProjectOrModelsDialog.addToRecent = add_to_recent_files;
|
||||
askOpenAsProjectOrModelsDialog.show();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,7 @@ UM.Dialog
|
|||
modality: Qt.WindowModal
|
||||
|
||||
property var fileUrl
|
||||
property var addToRecent: true //Whether to add this file to the recent files list after reading it.
|
||||
|
||||
// load the entire project
|
||||
function loadProjectFile() {
|
||||
|
@ -37,8 +38,7 @@ UM.Dialog
|
|||
UM.Preferences.setValue("cura/choice_on_open_project", "open_as_project")
|
||||
}
|
||||
|
||||
var addToRecent = UM.WorkspaceFileHandler.getAddToRecentFilesHint(base.fileUrl);
|
||||
UM.WorkspaceFileHandler.readLocalFile(base.fileUrl, addToRecent);
|
||||
UM.WorkspaceFileHandler.readLocalFile(base.fileUrl, base.addToRecent);
|
||||
|
||||
base.hide()
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ UM.Dialog
|
|||
UM.Preferences.setValue("cura/choice_on_open_project", "open_as_model")
|
||||
}
|
||||
|
||||
CuraApplication.readLocalFile(base.fileUrl, "open_as_model")
|
||||
CuraApplication.readLocalFile(base.fileUrl, "open_as_model", base.addToRecent)
|
||||
|
||||
base.hide()
|
||||
}
|
||||
|
|
|
@ -28,19 +28,19 @@ UM.Dialog
|
|||
modality: Qt.WindowModal
|
||||
|
||||
property var fileUrls: []
|
||||
property var addToRecent: true
|
||||
property int spacerHeight: 10 * screenScaleFactor
|
||||
|
||||
function loadProjectFile(projectFile)
|
||||
{
|
||||
var addToRecent = UM.WorkspaceFileHandler.getAddToRecentFilesHint(projectFile);
|
||||
UM.WorkspaceFileHandler.readLocalFile(projectFile, addToRecent);
|
||||
UM.WorkspaceFileHandler.readLocalFile(projectFile, base.addToRecent);
|
||||
}
|
||||
|
||||
function loadModelFiles(fileUrls)
|
||||
{
|
||||
for (var i in fileUrls)
|
||||
{
|
||||
CuraApplication.readLocalFile(fileUrls[i], "open_as_model");
|
||||
CuraApplication.readLocalFile(fileUrls[i], "open_as_model", base.addToRecent);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
[general]
|
||||
version = 4
|
||||
name = Fast
|
||||
definition = trimaker_cosmosII
|
||||
|
||||
[metadata]
|
||||
setting_version = 16
|
||||
type = quality
|
||||
quality_type = fast
|
||||
weight = 1
|
||||
global_quality = True
|
||||
|
||||
[values]
|
||||
layer_height = 0.3
|
||||
speed_print = 60
|
|
@ -0,0 +1,15 @@
|
|||
[general]
|
||||
version = 4
|
||||
name = Normal
|
||||
definition = trimaker_cosmosII
|
||||
|
||||
[metadata]
|
||||
setting_version = 16
|
||||
type = quality
|
||||
quality_type = normal
|
||||
weight = 0
|
||||
global_quality = True
|
||||
|
||||
[values]
|
||||
layer_height = 0.2
|
||||
speed_print = 45
|
|
@ -0,0 +1,15 @@
|
|||
[general]
|
||||
version = 4
|
||||
name = Slow
|
||||
definition = trimaker_cosmosII
|
||||
|
||||
[metadata]
|
||||
setting_version = 16
|
||||
type = quality
|
||||
quality_type = slow
|
||||
weight = -1
|
||||
global_quality = True
|
||||
|
||||
[values]
|
||||
layer_height = 0.1
|
||||
speed_print = 30
|
|
@ -0,0 +1,15 @@
|
|||
[general]
|
||||
version = 4
|
||||
name = Fast
|
||||
definition = trimaker_nebula
|
||||
|
||||
[metadata]
|
||||
setting_version = 16
|
||||
type = quality
|
||||
quality_type = fast
|
||||
weight = 1
|
||||
global_quality = True
|
||||
|
||||
[values]
|
||||
layer_height = 0.3
|
||||
speed_print = 60
|
|
@ -0,0 +1,15 @@
|
|||
[general]
|
||||
version = 4
|
||||
name = Normal
|
||||
definition = trimaker_nebula
|
||||
|
||||
[metadata]
|
||||
setting_version = 16
|
||||
type = quality
|
||||
quality_type = normal
|
||||
weight = 0
|
||||
global_quality = True
|
||||
|
||||
[values]
|
||||
layer_height = 0.2
|
||||
speed_print = 45
|
|
@ -0,0 +1,15 @@
|
|||
[general]
|
||||
version = 4
|
||||
name = Slow
|
||||
definition = trimaker_nebula
|
||||
|
||||
[metadata]
|
||||
setting_version = 16
|
||||
type = quality
|
||||
quality_type = slow
|
||||
weight = -1
|
||||
global_quality = True
|
||||
|
||||
[values]
|
||||
layer_height = 0.1
|
||||
speed_print = 30
|
Loading…
Add table
Add a link
Reference in a new issue