From 40a7d2fecce1380bf94fd0bf8800c1b796add25a Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Wed, 22 Mar 2017 09:33:17 +0100 Subject: [PATCH] Added not supported quality profiles. CURA-3555 --- cura/BuildVolume.py | 7 ++++++- .../um3_aa0.8_PC_Not_Supported_Quality.inst.cfg | 13 +++++++++++++ .../um3_aa0.8_TPU_Not_Supported_Quality.inst.cfg | 13 +++++++++++++ .../um3_bb0.4_CPEP_Not_Supported_Quality.inst.cfg | 13 +++++++++++++ .../um3_bb0.4_PC_Not_Supported_Quality.inst.cfg | 13 +++++++++++++ .../um3_bb0.4_TPU_Not_Supported_Quality.inst.cfg | 13 +++++++++++++ .../um3_bb0.8_CPEP_Not_Supported_Quality.inst.cfg | 13 +++++++++++++ .../um3_bb0.8_PC_Not_Supported_Quality.inst.cfg | 13 +++++++++++++ .../um3_bb0.8_TPU_Not_Supported_Quality.inst.cfg | 13 +++++++++++++ 9 files changed, 110 insertions(+), 1 deletion(-) create mode 100755 resources/quality/ultimaker3/um3_aa0.8_PC_Not_Supported_Quality.inst.cfg create mode 100755 resources/quality/ultimaker3/um3_aa0.8_TPU_Not_Supported_Quality.inst.cfg create mode 100755 resources/quality/ultimaker3/um3_bb0.4_CPEP_Not_Supported_Quality.inst.cfg create mode 100755 resources/quality/ultimaker3/um3_bb0.4_PC_Not_Supported_Quality.inst.cfg create mode 100755 resources/quality/ultimaker3/um3_bb0.4_TPU_Not_Supported_Quality.inst.cfg create mode 100755 resources/quality/ultimaker3/um3_bb0.8_CPEP_Not_Supported_Quality.inst.cfg create mode 100755 resources/quality/ultimaker3/um3_bb0.8_PC_Not_Supported_Quality.inst.cfg create mode 100755 resources/quality/ultimaker3/um3_bb0.8_TPU_Not_Supported_Quality.inst.cfg diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 7c969b19cd..cbd076bc85 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -632,8 +632,13 @@ class BuildVolume(SceneNode): prime_y = prime_y + machine_depth / 2 prime_polygon = Polygon.approximatedCircle(PRIME_CLEARANCE) - prime_polygon = prime_polygon.translate(prime_x, prime_y) prime_polygon = prime_polygon.getMinkowskiHull(Polygon.approximatedCircle(border_size)) + + #prime_polygon2 = prime_polygon.translate(18, 0) + + #prime_polygon = prime_polygon2.intersectionConvexHulls(prime_polygon) + + prime_polygon = prime_polygon.translate(prime_x, prime_y) result[extruder.getId()] = [prime_polygon] return result diff --git a/resources/quality/ultimaker3/um3_aa0.8_PC_Not_Supported_Quality.inst.cfg b/resources/quality/ultimaker3/um3_aa0.8_PC_Not_Supported_Quality.inst.cfg new file mode 100755 index 0000000000..454ded5afa --- /dev/null +++ b/resources/quality/ultimaker3/um3_aa0.8_PC_Not_Supported_Quality.inst.cfg @@ -0,0 +1,13 @@ +[general] +version = 2 +name = Not Supported +definition = ultimaker3 + +[metadata] +weight = 0 +type = quality +quality_type = normal +material = generic_pc_ultimaker3_AA_0.8 +supported = false + +[values] diff --git a/resources/quality/ultimaker3/um3_aa0.8_TPU_Not_Supported_Quality.inst.cfg b/resources/quality/ultimaker3/um3_aa0.8_TPU_Not_Supported_Quality.inst.cfg new file mode 100755 index 0000000000..461d5a8b8a --- /dev/null +++ b/resources/quality/ultimaker3/um3_aa0.8_TPU_Not_Supported_Quality.inst.cfg @@ -0,0 +1,13 @@ +[general] +version = 2 +name = Not Supported +definition = ultimaker3 + +[metadata] +weight = 0 +type = quality +quality_type = normal +material = generic_tpu_ultimaker3_AA_0.8 +supported = false + +[values] diff --git a/resources/quality/ultimaker3/um3_bb0.4_CPEP_Not_Supported_Quality.inst.cfg b/resources/quality/ultimaker3/um3_bb0.4_CPEP_Not_Supported_Quality.inst.cfg new file mode 100755 index 0000000000..e25fd9e032 --- /dev/null +++ b/resources/quality/ultimaker3/um3_bb0.4_CPEP_Not_Supported_Quality.inst.cfg @@ -0,0 +1,13 @@ +[general] +version = 2 +name = Not Supported +definition = ultimaker3 + +[metadata] +type = quality +quality_type = normal +material = generic_cpe_plus_ultimaker3_BB_0.4 +weight = 0 +supported = false + +[values] diff --git a/resources/quality/ultimaker3/um3_bb0.4_PC_Not_Supported_Quality.inst.cfg b/resources/quality/ultimaker3/um3_bb0.4_PC_Not_Supported_Quality.inst.cfg new file mode 100755 index 0000000000..b8d8df597e --- /dev/null +++ b/resources/quality/ultimaker3/um3_bb0.4_PC_Not_Supported_Quality.inst.cfg @@ -0,0 +1,13 @@ +[general] +version = 2 +name = Not Supported +definition = ultimaker3 + +[metadata] +type = quality +quality_type = normal +material = generic_pc_ultimaker3_BB_0.4 +weight = 0 +supported = false + +[values] diff --git a/resources/quality/ultimaker3/um3_bb0.4_TPU_Not_Supported_Quality.inst.cfg b/resources/quality/ultimaker3/um3_bb0.4_TPU_Not_Supported_Quality.inst.cfg new file mode 100755 index 0000000000..a61f0adb1a --- /dev/null +++ b/resources/quality/ultimaker3/um3_bb0.4_TPU_Not_Supported_Quality.inst.cfg @@ -0,0 +1,13 @@ +[general] +version = 2 +name = Not Supported +definition = ultimaker3 + +[metadata] +type = quality +quality_type = normal +material = generic_tpu_ultimaker3_BB_0.4 +weight = 0 +supported = false + +[values] diff --git a/resources/quality/ultimaker3/um3_bb0.8_CPEP_Not_Supported_Quality.inst.cfg b/resources/quality/ultimaker3/um3_bb0.8_CPEP_Not_Supported_Quality.inst.cfg new file mode 100755 index 0000000000..80875c2bec --- /dev/null +++ b/resources/quality/ultimaker3/um3_bb0.8_CPEP_Not_Supported_Quality.inst.cfg @@ -0,0 +1,13 @@ +[general] +version = 2 +name = Not Supported +definition = ultimaker3 + +[metadata] +type = quality +quality_type = normal +material = generic_cpe_plus_ultimaker3_BB_0.8 +weight = 0 +supported = false + +[values] diff --git a/resources/quality/ultimaker3/um3_bb0.8_PC_Not_Supported_Quality.inst.cfg b/resources/quality/ultimaker3/um3_bb0.8_PC_Not_Supported_Quality.inst.cfg new file mode 100755 index 0000000000..5d83d019e3 --- /dev/null +++ b/resources/quality/ultimaker3/um3_bb0.8_PC_Not_Supported_Quality.inst.cfg @@ -0,0 +1,13 @@ +[general] +version = 2 +name = Not Supported +definition = ultimaker3 + +[metadata] +type = quality +quality_type = normal +material = generic_pc_ultimaker3_BB_0.8 +weight = 0 +supported = false + +[values] diff --git a/resources/quality/ultimaker3/um3_bb0.8_TPU_Not_Supported_Quality.inst.cfg b/resources/quality/ultimaker3/um3_bb0.8_TPU_Not_Supported_Quality.inst.cfg new file mode 100755 index 0000000000..f45dd326a4 --- /dev/null +++ b/resources/quality/ultimaker3/um3_bb0.8_TPU_Not_Supported_Quality.inst.cfg @@ -0,0 +1,13 @@ +[general] +version = 2 +name = Not Supported +definition = ultimaker3 + +[metadata] +type = quality +quality_type = normal +material = generic_tpu_ultimaker3_BB_0.8 +weight = 0 +supported = false + +[values]