mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 23:48:44 +03:00
update
This commit is contained in:
@@ -190,7 +190,7 @@ physical_printer_settings_id =
|
||||
post_process =
|
||||
print_settings_id = 0.20mm QUALITY @MK3
|
||||
printer_model = MK3
|
||||
printer_notes = Don't remove the following keywords! These keywords are used in the "compatible printer" condition of the print and filament profiles to link the particular print and filament profiles to this printer profile.\nPRINTER_VENDOR_PRUSA3D\nPRINTER_MODEL_MK3\n
|
||||
printer_notes = Don't remove the following keywords! These keywords are used in the "compatible printer" condition of the print and filament profiles to link the particular print and filament profiles to this printer profile.\nPRINTER_VENDOR_QIDI3D\nPRINTER_MODEL_MK3\n
|
||||
printer_settings_id = Original QIDI i3 MK3
|
||||
printer_technology = FFF
|
||||
printer_variant = 0.4
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "prusaparts.hpp"
|
||||
|
||||
const TestData PRUSA_PART_POLYGONS =
|
||||
const TestData QIDI_PART_POLYGONS =
|
||||
{
|
||||
{
|
||||
{-5000000, 8954050},
|
||||
@@ -594,7 +594,7 @@ const TestData PRUSA_PART_POLYGONS =
|
||||
},
|
||||
};
|
||||
|
||||
const TestData PRUSA_STEGOSAUR_POLYGONS =
|
||||
const TestData QIDI_STEGOSAUR_POLYGONS =
|
||||
{
|
||||
{
|
||||
{113210205, 107034095},
|
||||
@@ -2540,7 +2540,7 @@ struct MyPoly {
|
||||
operator ExPolygon () { return poly; }
|
||||
};
|
||||
|
||||
const TestDataEx PRUSA_PART_POLYGONS_EX = {
|
||||
const TestDataEx QIDI_PART_POLYGONS_EX = {
|
||||
ExPolygons{
|
||||
// "x-carriage.stl":
|
||||
MyPoly{{
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
using TestData = std::vector<Slic3r::Polygon>;
|
||||
using TestDataEx = std::vector<Slic3r::ExPolygons>;
|
||||
|
||||
extern const TestData PRUSA_PART_POLYGONS;
|
||||
extern const TestData PRUSA_STEGOSAUR_POLYGONS;
|
||||
extern const TestDataEx PRUSA_PART_POLYGONS_EX;
|
||||
extern const TestData QIDI_PART_POLYGONS;
|
||||
extern const TestData QIDI_STEGOSAUR_POLYGONS;
|
||||
extern const TestDataEx QIDI_PART_POLYGONS_EX;
|
||||
|
||||
#endif // PRUSAPARTS_H
|
||||
|
||||
@@ -10,7 +10,7 @@ SCENARIO("Placeholder parser scripting", "[PlaceholderParser]") {
|
||||
auto config = DynamicPrintConfig::full_print_config();
|
||||
|
||||
config.set_deserialize_strict( {
|
||||
{ "printer_notes", " PRINTER_VENDOR_PRUSA3D PRINTER_MODEL_MK2 " },
|
||||
{ "printer_notes", " PRINTER_VENDOR_QIDI3D PRINTER_MODEL_MK2 " },
|
||||
{ "nozzle_diameter", "0.6;0.6;0.6;0.6" },
|
||||
{ "temperature", "357;359;363;378" }
|
||||
});
|
||||
@@ -158,9 +158,9 @@ SCENARIO("Placeholder parser scripting", "[PlaceholderParser]") {
|
||||
SECTION("boolean expression parser: one_of(\"abcdef\", ~\".*f.*\", ~\".*c.*\")") { REQUIRE(boolean_expression("one_of(\"abcdef\", ~\".*f.*\", ~\".*c.*\")")); }
|
||||
SECTION("boolean expression parser: one_of(\"ghij\", /.*f.*/, /.*c.*/)") { REQUIRE(! boolean_expression("one_of(\"ghij\", /.*f.*/, /.*c.*/)")); }
|
||||
SECTION("boolean expression parser: one_of(\"ghij\", ~\".*f.*\", ~\".*c.*\")") { REQUIRE(! boolean_expression("one_of(\"ghij\", ~\".*f.*\", ~\".*c.*\")")); }
|
||||
SECTION("complex expression") { REQUIRE(boolean_expression("printer_notes=~/.*PRINTER_VENDOR_PRUSA3D.*/ and printer_notes=~/.*PRINTER_MODEL_MK2.*/ and nozzle_diameter[0]==0.6 and num_extruders>1")); }
|
||||
SECTION("complex expression2") { REQUIRE(boolean_expression("printer_notes=~/.*PRINTER_VEwerfNDOR_PRUSA3D.*/ or printer_notes=~/.*PRINTertER_MODEL_MK2.*/ or (nozzle_diameter[0]==0.6 and num_extruders>1)")); }
|
||||
SECTION("complex expression3") { REQUIRE(! boolean_expression("printer_notes=~/.*PRINTER_VEwerfNDOR_PRUSA3D.*/ or printer_notes=~/.*PRINTertER_MODEL_MK2.*/ or (nozzle_diameter[0]==0.3 and num_extruders>1)")); }
|
||||
SECTION("complex expression") { REQUIRE(boolean_expression("printer_notes=~/.*PRINTER_VENDOR_QIDI3D.*/ and printer_notes=~/.*PRINTER_MODEL_MK2.*/ and nozzle_diameter[0]==0.6 and num_extruders>1")); }
|
||||
SECTION("complex expression2") { REQUIRE(boolean_expression("printer_notes=~/.*PRINTER_VEwerfNDOR_QIDI3D.*/ or printer_notes=~/.*PRINTertER_MODEL_MK2.*/ or (nozzle_diameter[0]==0.6 and num_extruders>1)")); }
|
||||
SECTION("complex expression3") { REQUIRE(! boolean_expression("printer_notes=~/.*PRINTER_VEwerfNDOR_QIDI3D.*/ or printer_notes=~/.*PRINTertER_MODEL_MK2.*/ or (nozzle_diameter[0]==0.3 and num_extruders>1)")); }
|
||||
SECTION("enum expression") { REQUIRE(boolean_expression("gcode_flavor == \"marlin\"")); }
|
||||
|
||||
SECTION("write to a scalar variable") {
|
||||
|
||||
Reference in New Issue
Block a user