From b2e0c20b94c36a664bd59f60f3e86e06eb063c6c Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 21 Jul 2024 15:28:02 +0300 Subject: [PATCH] Fixed generation of mirror side of piece based on fold line. --- ChangeLog.txt | 1 + src/libs/ifc/schema.qrc | 1 + src/libs/ifc/schema/pattern/v0.9.7.xsd | 1259 +++++++++++++++++ src/libs/ifc/xml/vpatternconverter.cpp | 54 +- src/libs/ifc/xml/vpatternconverter.h | 5 +- src/libs/vlayout/vabstractpiece.h | 92 +- src/libs/vpatterndb/vpiece.cpp | 4 +- src/libs/vpatterndb/vpiecepath.cpp | 8 +- .../tools/piece/dialogseamallowance.cpp | 8 +- .../input.json | 232 +++ .../output.json | 456 ++++++ .../input.json | 231 +++ .../output.json | 444 ++++++ .../input.json | 232 +++ .../output.json | 442 ++++++ .../input.json | 226 +++ .../output.json | 430 ++++++ .../input.json | 268 ++++ .../output.json | 454 ++++++ .../input.json | 268 ++++ .../output.json | 454 ++++++ .../input.json | 268 ++++ .../output.json | 908 ++++++++++++ .../input.json | 268 ++++ .../output.json | 908 ++++++++++++ .../share/full_seam_path_case_4/output.json | 62 +- src/test/ValentinaTest/share/test_data.qrc | 16 + src/test/ValentinaTest/tst_vabstractpiece.cpp | 57 +- 28 files changed, 7996 insertions(+), 60 deletions(-) create mode 100644 src/libs/ifc/schema/pattern/v0.9.7.xsd create mode 100644 src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_1/input.json create mode 100644 src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_1/output.json create mode 100644 src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_2/input.json create mode 100644 src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_2/output.json create mode 100644 src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_3/input.json create mode 100644 src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_3/output.json create mode 100644 src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_4/input.json create mode 100644 src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_4/output.json create mode 100644 src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_1/input.json create mode 100644 src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_1/output.json create mode 100644 src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_2/input.json create mode 100644 src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_2/output.json create mode 100644 src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_3/input.json create mode 100644 src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_3/output.json create mode 100644 src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_4/input.json create mode 100644 src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_4/output.json diff --git a/ChangeLog.txt b/ChangeLog.txt index f01d7924e..6c0c87398 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,7 @@ - Fix regression. Formula wizard dialog doesn't show item alias in a list. - Fix parsing SVG fonts. - Add "Twin Sans" single stroke font. +- Fixed generation of mirror side of piece based on fold line. # Valentina 0.7.53 June 25, 2024 - Fix layout sheet export with empty name. diff --git a/src/libs/ifc/schema.qrc b/src/libs/ifc/schema.qrc index bb8935924..f1ae34613 100644 --- a/src/libs/ifc/schema.qrc +++ b/src/libs/ifc/schema.qrc @@ -72,6 +72,7 @@ schema/pattern/v0.9.4.xsd schema/pattern/v0.9.5.xsd schema/pattern/v0.9.6.xsd + schema/pattern/v0.9.7.xsd schema/multisize_measurements/v0.3.0.xsd schema/multisize_measurements/v0.4.0.xsd schema/multisize_measurements/v0.4.1.xsd diff --git a/src/libs/ifc/schema/pattern/v0.9.7.xsd b/src/libs/ifc/schema/pattern/v0.9.7.xsd new file mode 100644 index 000000000..a5d483c68 --- /dev/null +++ b/src/libs/ifc/schema/pattern/v0.9.7.xsd @@ -0,0 +1,1259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libs/ifc/xml/vpatternconverter.cpp b/src/libs/ifc/xml/vpatternconverter.cpp index eed686025..3558f8515 100644 --- a/src/libs/ifc/xml/vpatternconverter.cpp +++ b/src/libs/ifc/xml/vpatternconverter.cpp @@ -62,8 +62,8 @@ class QDomElement; */ const QString VPatternConverter::PatternMinVerStr = QStringLiteral("0.1.4"); // NOLINT -const QString VPatternConverter::PatternMaxVerStr = QStringLiteral("0.9.6"); // NOLINT -const QString VPatternConverter::CurrentSchema = QStringLiteral("://schema/pattern/v0.9.6.xsd"); // NOLINT +const QString VPatternConverter::PatternMaxVerStr = QStringLiteral("0.9.7"); // NOLINT +const QString VPatternConverter::CurrentSchema = QStringLiteral("://schema/pattern/v0.9.7.xsd"); // NOLINT // VPatternConverter::PatternMinVer; // <== DON'T FORGET TO UPDATE TOO!!!! // VPatternConverter::PatternMaxVer; // <== DON'T FORGET TO UPDATE TOO!!!! @@ -137,6 +137,7 @@ Q_GLOBAL_STATIC_WITH_ARGS(const QString, strNodes, ("nodes"_L1)) // Q_GLOBAL_STATIC_WITH_ARGS(const QString, strData, ("data"_L1)) // NOLINT Q_GLOBAL_STATIC_WITH_ARGS(const QString, strPatternInfo, ("patternInfo"_L1)) // NOLINT Q_GLOBAL_STATIC_WITH_ARGS(const QString, strGrainline, ("grainline"_L1)) // NOLINT +Q_GLOBAL_STATIC_WITH_ARGS(const QString, strMirrorLine, ("mirrorLine"_L1)) // NOLINT Q_GLOBAL_STATIC_WITH_ARGS(const QString, strReverse, ("reverse"_L1)) // NOLINT Q_GLOBAL_STATIC_WITH_ARGS(const QString, strMx, ("mx"_L1)) // NOLINT Q_GLOBAL_STATIC_WITH_ARGS(const QString, strMy, ("my"_L1)) // NOLINT @@ -182,6 +183,8 @@ Q_GLOBAL_STATIC_WITH_ARGS(const QString, strLastToCountour, ("lastToCountour"_L1 Q_GLOBAL_STATIC_WITH_ARGS(const QString, strLastToContour, ("lastToContour"_L1)) // NOLINT Q_GLOBAL_STATIC_WITH_ARGS(const QString, strVisible, ("visible"_L1)) // NOLINT Q_GLOBAL_STATIC_WITH_ARGS(const QString, strEnabled, ("enabled"_L1)) // NOLINT +Q_GLOBAL_STATIC_WITH_ARGS(const QString, strP1, ("p1"_L1)) // NOLINT +Q_GLOBAL_STATIC_WITH_ARGS(const QString, strP2, ("p2"_L1)) // NOLINT QT_WARNING_POP } // anonymous namespace @@ -269,7 +272,8 @@ auto VPatternConverter::XSDSchemas() -> QHash std::make_pair(FormatVersion(0, 9, 3), QStringLiteral("://schema/pattern/v0.9.3.xsd")), std::make_pair(FormatVersion(0, 9, 4), QStringLiteral("://schema/pattern/v0.9.4.xsd")), std::make_pair(FormatVersion(0, 9, 5), QStringLiteral("://schema/pattern/v0.9.5.xsd")), - std::make_pair(FormatVersion(0, 9, 6), CurrentSchema)}; + std::make_pair(FormatVersion(0, 9, 6), QStringLiteral("://schema/pattern/v0.9.6.xsd")), + std::make_pair(FormatVersion(0, 9, 7), CurrentSchema)}; return schemas; } @@ -393,9 +397,12 @@ void VPatternConverter::ApplyPatches() case (FormatVersion(0, 9, 4)): case (FormatVersion(0, 9, 5)): ToV0_9_6(); - ValidateXML(CurrentSchema); Q_FALLTHROUGH(); case (FormatVersion(0, 9, 6)): + ToV0_9_7(); + ValidateXML(CurrentSchema); + Q_FALLTHROUGH(); + case (FormatVersion(0, 9, 7)): break; default: InvalidVersion(m_ver); @@ -413,7 +420,7 @@ void VPatternConverter::DowngradeToCurrentMaxVersion() auto VPatternConverter::IsReadOnly() const -> bool { // Check if attribute readOnly was not changed in file format - Q_STATIC_ASSERT_X(VPatternConverter::PatternMaxVer == FormatVersion(0, 9, 6), "Check attribute readOnly."); + Q_STATIC_ASSERT_X(VPatternConverter::PatternMaxVer == FormatVersion(0, 9, 7), "Check attribute readOnly."); // Possibly in future attribute readOnly will change position etc. // For now position is the same for all supported format versions. @@ -600,6 +607,18 @@ void VPatternConverter::ToV0_9_6() Save(); } +//--------------------------------------------------------------------------------------------------------------------- +void VPatternConverter::ToV0_9_7() +{ + // TODO. Delete if minimal supported version is 0.9.7 + Q_STATIC_ASSERT_X(VPatternConverter::PatternMinVer < FormatVersion(0, 9, 7), "Time to refactor the code."); + + ConvertMirrorLineToV0_9_7(); + + SetVersion(QStringLiteral("0.9.7")); + Save(); +} + //--------------------------------------------------------------------------------------------------------------------- void VPatternConverter::TagUnitToV0_2_0() { @@ -2241,6 +2260,31 @@ void VPatternConverter::ConvertGrainlineToV0_9_6() } } +//--------------------------------------------------------------------------------------------------------------------- +void VPatternConverter::ConvertMirrorLineToV0_9_7() +{ + // TODO. Delete if minimal supported version is 0.9.7 + Q_STATIC_ASSERT_X(VPatternConverter::PatternMinVer < FormatVersion(0, 9, 7), "Time to refactor the code."); + + const QDomNodeList mirrorLines = this->elementsByTagName(*strMirrorLine); + for (int i = 0; i < mirrorLines.size(); ++i) + { + QDomElement domElement = mirrorLines.at(i).toElement(); + + if (domElement.isNull()) + { + continue; + } + + if (domElement.hasAttribute(*strP1) && domElement.hasAttribute(*strP2)) + { + QString const p1 = domElement.attribute(*strP1); + domElement.setAttribute(*strP1, domElement.attribute(*strP2)); + domElement.setAttribute(*strP2, p1); + } + } +} + //--------------------------------------------------------------------------------------------------------------------- void VPatternConverter::TagUnionDetailsToV0_4_0() { diff --git a/src/libs/ifc/xml/vpatternconverter.h b/src/libs/ifc/xml/vpatternconverter.h index 64ea3f857..954dfa25f 100644 --- a/src/libs/ifc/xml/vpatternconverter.h +++ b/src/libs/ifc/xml/vpatternconverter.h @@ -54,7 +54,7 @@ public: static const QString PatternMaxVerStr; static const QString CurrentSchema; static constexpr const unsigned PatternMinVer = FormatVersion(0, 1, 4); - static constexpr const unsigned PatternMaxVer = FormatVersion(0, 9, 6); + static constexpr const unsigned PatternMaxVer = FormatVersion(0, 9, 7); static auto XSDSchemas() -> QHash; @@ -92,6 +92,7 @@ private: void ToV0_9_1(); void ToV0_9_2(); void ToV0_9_6(); + void ToV0_9_7(); void TagUnitToV0_2_0(); void TagIncrementToV0_2_0(); @@ -155,6 +156,8 @@ private: void ConvertPathAttributesToV0_9_2(); void ConvertGrainlineToV0_9_6(); + + void ConvertMirrorLineToV0_9_7(); }; //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vlayout/vabstractpiece.h b/src/libs/vlayout/vabstractpiece.h index 17898d892..864a3549d 100644 --- a/src/libs/vlayout/vabstractpiece.h +++ b/src/libs/vlayout/vabstractpiece.h @@ -190,7 +190,7 @@ public: template static auto FullSeamPath(QVector points, const QLineF &mirrorLine, const QString &pieceName) -> QVector; template - static auto FullSeamAllowancePath(const QVector &points, const QLineF &mirrorLine, const QString &pieceName) + static auto FullSeamAllowancePath(const QVector &points, QLineF mirrorLine, const QString &pieceName) -> QVector; template @@ -222,6 +222,9 @@ private: QSharedDataPointer d; template static auto MakeTurnPoint(const QPointF &p) -> T; + + template + static auto CorrectSAMirrolLine(const QVector &points, const QLineF &mirrorLine, bool &reverse) -> QLineF; }; Q_DECLARE_TYPEINFO(VAbstractPiece, Q_MOVABLE_TYPE); // NOLINT @@ -877,6 +880,8 @@ inline auto VAbstractPiece::FullSeamPath(QVector points, const QLineF &mirror return points; } + points = RemoveDublicates(points, false); + if (points.size() <= 3) { return points; @@ -909,8 +914,6 @@ inline auto VAbstractPiece::FullSeamPath(QVector points, const QLineF &mirror return points; } - sub2 += points.constFirst(); - QVector sub3; QVector sub4; if (!VAbstractPiece::SubdividePath(points, mirrorLine.p2(), sub3, sub4)) @@ -922,7 +925,7 @@ inline auto VAbstractPiece::FullSeamPath(QVector points, const QLineF &mirror return points; } - base = sub2 + sub3; + base = sub4 + sub1; } QVector fullPath = MirrorPath(base, mirrorLine); @@ -936,8 +939,8 @@ inline auto VAbstractPiece::FullSeamPath(QVector points, const QLineF &mirror //--------------------------------------------------------------------------------------------------------------------- template -inline auto VAbstractPiece::FullSeamAllowancePath(const QVector &points, const QLineF &mirrorLine, - const QString &pieceName) -> QVector +inline auto VAbstractPiece::FullSeamAllowancePath(const QVector &points, QLineF mirrorLine, const QString &pieceName) + -> QVector { // DumpVector(points, QStringLiteral("input.json.XXXXXX")); // Uncomment for dumping test data @@ -954,6 +957,9 @@ inline auto VAbstractPiece::FullSeamAllowancePath(const QVector &points, cons QVector base; base.reserve(points.size()); + bool reverse = false; + mirrorLine = CorrectSAMirrolLine(points, mirrorLine, reverse); + QVector sub1; QVector sub2; if (!VAbstractPiece::SubdividePath(points, mirrorLine.p1(), sub1, sub2)) @@ -967,39 +973,29 @@ inline auto VAbstractPiece::FullSeamAllowancePath(const QVector &points, cons QVector subPath; CastTo(sub2, subPath); - if (VAbstractCurve::IsPointOnCurve(subPath, mirrorLine.p2())) + + std::reverse(sub2.begin(), sub2.end()); + + QVector sub3; + QVector sub4; + if (!VAbstractPiece::SubdividePath(sub2, mirrorLine.p2(), sub3, sub4)) { - std::reverse(sub2.begin(), sub2.end()); + const QString errorMsg = QObject::tr("Piece '%1'. Unable to generate full seam allowance path.").arg(pieceName); + VAbstractApplication::VApp()->IsPedantic() + ? throw VException(errorMsg) + : qWarning() << VAbstractApplication::warningMessageSignature + errorMsg; + return points; + } - QVector sub3; - QVector sub4; - if (!VAbstractPiece::SubdividePath(sub2, mirrorLine.p2(), sub3, sub4)) - { - const QString errorMsg = - QObject::tr("Piece '%1'. Unable to generate full seam allowance path.").arg(pieceName); - VAbstractApplication::VApp()->IsPedantic() - ? throw VException(errorMsg) - : qWarning() << VAbstractApplication::warningMessageSignature + errorMsg; - return points; - } - - std::reverse(sub4.begin(), sub4.end()); - base = sub4; + if (!reverse) + { + std::reverse(sub3.begin(), sub3.end()); + base = sub3 + sub1; } else { - std::reverse(sub1.begin(), sub1.end()); - - QVector sub3; - QVector sub4; - if (!VAbstractPiece::SubdividePath(sub1, mirrorLine.p2(), sub3, sub4)) - { - return points; - } - std::reverse(sub4.begin(), sub4.end()); - - base = sub2 + sub4; + base = sub4; } QVector fullPath = MirrorPath(base, mirrorLine); @@ -1040,4 +1036,34 @@ template auto VAbstractPiece::MapPoint(T obj, const QTransform &mat } } +//--------------------------------------------------------------------------------------------------------------------- +template +inline auto VAbstractPiece::CorrectSAMirrolLine(const QVector &points, const QLineF &mirrorLine, bool &reverse) + -> QLineF +{ + if (points.isEmpty() || points.size() < 2) + { + reverse = false; + return mirrorLine; + } + + for (qint32 i = 0; i < points.count() - 1; ++i) + { + if (VGObject::IsPointOnLineSegment(mirrorLine.p1(), points.at(i), points.at(i + 1))) + { + reverse = false; + return mirrorLine; + } + + if (VGObject::IsPointOnLineSegment(mirrorLine.p2(), points.at(i), points.at(i + 1))) + { + reverse = true; + return {mirrorLine.p2(), mirrorLine.p1()}; + } + } + + reverse = false; + return mirrorLine; +} + #endif // VABSTRACTPIECE_H diff --git a/src/libs/vpatterndb/vpiece.cpp b/src/libs/vpatterndb/vpiece.cpp index 4024c19dd..2587d1a65 100644 --- a/src/libs/vpatterndb/vpiece.cpp +++ b/src/libs/vpatterndb/vpiece.cpp @@ -778,11 +778,11 @@ auto VPiece::SeamAllowancePointsWithRotation(const VContainer *data, vsizetype m { if (VFuzzyComparePoints(ekvPoint, mirrorLine.p1())) { - ekvPoint.SetSABefore(0); + ekvPoint.SetSAAfter(0); } else if (VFuzzyComparePoints(ekvPoint, mirrorLine.p2())) { - ekvPoint.SetSAAfter(0); + ekvPoint.SetSABefore(0); } } diff --git a/src/libs/vpatterndb/vpiecepath.cpp b/src/libs/vpatterndb/vpiecepath.cpp index a752b8083..e900b32b7 100644 --- a/src/libs/vpatterndb/vpiecepath.cpp +++ b/src/libs/vpatterndb/vpiecepath.cpp @@ -1159,11 +1159,11 @@ auto VPiecePath::CurveSeamAllowanceSegment(const VContainer *data, const QVector { if (VFuzzyComparePoints(begin, mirrorLine.p1())) { - begin.SetSABefore(0); + begin.SetSAAfter(0); } else if (VFuzzyComparePoints(begin, mirrorLine.p2())) { - begin.SetSAAfter(0); + begin.SetSABefore(0); } } @@ -1172,11 +1172,11 @@ auto VPiecePath::CurveSeamAllowanceSegment(const VContainer *data, const QVector { if (VFuzzyComparePoints(end, mirrorLine.p1())) { - end.SetSABefore(0); + end.SetSAAfter(0); } else if (VFuzzyComparePoints(end, mirrorLine.p2())) { - end.SetSAAfter(0); + end.SetSABefore(0); } } diff --git a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp index 302839644..856b9c2e1 100644 --- a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp +++ b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp @@ -702,10 +702,10 @@ auto DialogSeamAllowance::GetMirrorLineStartPoint() const -> quint32 if (const int next = FindNotExcludedNeighborNodeDown(uiTabPaths->listWidgetMainPath, nextIndex); next >= 0 && RowNode(uiTabPaths->listWidgetMainPath, next).GetId() == endPoint) { - return endPoint; + return startPoint; } - return startPoint; + return endPoint; } //--------------------------------------------------------------------------------------------------------------------- @@ -734,10 +734,10 @@ auto DialogSeamAllowance::GetMirrorLineEndPoint() const -> quint32 if (const int prev = FindNotExcludedNeighborNodeUp(uiTabPaths->listWidgetMainPath, prevIndex); prev >= 0 && RowNode(uiTabPaths->listWidgetMainPath, prev).GetId() == startPoint) { - return startPoint; + return endPoint; } - return endPoint; + return startPoint; } //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_1/input.json b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_1/input.json new file mode 100644 index 000000000..8db95030c --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_1/input.json @@ -0,0 +1,232 @@ +{ + "vector": [ + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2513.686211434831, + "y": 2898.1554212516676 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2488.6571293745287, + "y": 2851.985668658959 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2466.278578515486, + "y": 2807.370321893456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2445.9309944698116, + "y": 2764.3863492480564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2427.3154972897046, + "y": 2722.6800408661597 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2410.1517646324032, + "y": 2681.9371509805733 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2386.3372067275413, + "y": 2621.712441161804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2342.6409844631225, + "y": 2500.5206885962343 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2297.568935995614, + "y": 2370.4560975547324 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2262.786585993967, + "y": 2274.5389545113517 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.3677394455713, + "y": 2221.1965791390344 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.457067852507, + "y": 2359.207999510588 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1899.9867376652578, + "y": 2394.6182079729892 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1923.9645550930609, + "y": 2461.7548145391315 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1955.4359830578737, + "y": 2557.176303006076 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1990.2830039775388, + "y": 2670.338196066855 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.4172468322554, + "y": 2742.701997958664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2028.461955513843, + "y": 2784.9958710628393 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.982938909024, + "y": 2817.614263176753 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2055.2764266255763, + "y": 2844.5575670440053 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2070.011632744116, + "y": 2870.3704682869957 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2086.040645820414, + "y": 2895.042192048095 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2103.2065089989683, + "y": 2918.5379465960186 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2121.3558650720975, + "y": 2940.823916314734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2140.338757821938, + "y": 2961.866590705196 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2160.0084676857527, + "y": 2981.6323010430174 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.2214530606016, + "y": 3000.086912417409 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.837456338996, + "y": 3017.19561397874 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2221.719833766278, + "y": 3032.9227460564452 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2242.7361811662067, + "y": 3047.231591883887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2263.75935432596, + "y": 3060.084034720374 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2284.669023769138, + "y": 3071.43992335647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2305.353954909289, + "y": 3081.2558732352973 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2325.5545735681026, + "y": 3089.418085250468 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2351.251815701749, + "y": 3098.2184958611047 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_1/output.json b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_1/output.json new file mode 100644 index 000000000..0af380913 --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_1/output.json @@ -0,0 +1,456 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.682898625589, + "y": 2222.0199037691846 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2222.1243714924367, + "y": 2169.6772261649644 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2183.1495725544905, + "y": 2075.3857883299834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2128.7533987083752, + "y": 1948.9368117949643 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2079.3228544190442, + "y": 1829.9686563021764 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.3101851005986, + "y": 1769.4329982831305 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.519383953391, + "y": 1727.769957150922 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.1513180883353, + "y": 1684.4166230530018 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.2011729442424, + "y": 1638.9519166167456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1999.6512347686562, + "y": 1590.9131002179765 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1987.010989728954, + "y": 1539.9393304084997 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1974.1751435222857, + "y": 1488.176768227666 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1974.1751435222857, + "y": 1488.176768227666 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1732.1643866234515, + "y": 1501.6852374910177 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1719.1179258807638, + "y": 1525.5092871526635 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1709.7008969662184, + "y": 1545.1563293117779 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1701.041062805443, + "y": 1566.3512938223475 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1693.2534194404461, + "y": 1588.8351345475885 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1686.3908738017428, + "y": 1612.500817802607 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1680.5152299247384, + "y": 1637.2375664971823 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1675.6946966328421, + "y": 1662.931511877112 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1672.0023114603282, + "y": 1689.4662730787363 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1669.5149558610756, + "y": 1716.723391797826 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1668.312752648989, + "y": 1744.582600306364 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1668.4787058210225, + "y": 1772.9219161449582 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1670.098480833183, + "y": 1801.6175586901727 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1673.2602403340895, + "y": 1830.5436821307503 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1678.0544531683481, + "y": 1859.5719224639843 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1684.573588735362, + "y": 1888.5707679822995 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1692.9196271026988, + "y": 1917.432543439193 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1704.9236055145527, + "y": 1950.6391843165466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.325094441666, + "y": 1992.0191691472046 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1754.0240178391562, + "y": 2061.0618463268884 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1804.5769122459305, + "y": 2168.133475506482 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1845.6629307317671, + "y": 2259.8267158482486 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1873.2148003139087, + "y": 2325.5774128205753 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.7717217796142, + "y": 2360.0315200625732 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.7717217796137, + "y": 2360.0315200625723 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1899.9867376652578, + "y": 2394.6182079729892 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1923.9645550930609, + "y": 2461.7548145391315 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1955.4359830578737, + "y": 2557.176303006076 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1990.2830039775388, + "y": 2670.338196066855 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.4172468322554, + "y": 2742.701997958664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2028.461955513843, + "y": 2784.9958710628393 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.982938909024, + "y": 2817.614263176753 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2055.2764266255763, + "y": 2844.5575670440053 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2070.011632744116, + "y": 2870.3704682869957 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2086.040645820414, + "y": 2895.042192048095 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2103.2065089989683, + "y": 2918.5379465960186 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2121.3558650720975, + "y": 2940.823916314734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2140.338757821938, + "y": 2961.866590705196 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2160.0084676857527, + "y": 2981.6323010430174 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.2214530606016, + "y": 3000.086912417409 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.837456338996, + "y": 3017.19561397874 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2221.719833766278, + "y": 3032.9227460564452 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2242.7361811662067, + "y": 3047.231591883887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2263.75935432596, + "y": 3060.084034720374 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2284.669023769138, + "y": 3071.43992335647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2305.353954909289, + "y": 3081.2558732352973 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2325.5545735681026, + "y": 3089.418085250468 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2351.251815701749, + "y": 3098.2184958611047 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2513.686211434831, + "y": 2898.1554212516676 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2488.6571293745287, + "y": 2851.985668658959 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2466.278578515486, + "y": 2807.370321893456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2445.9309944698116, + "y": 2764.3863492480564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2427.3154972897046, + "y": 2722.6800408661597 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2410.1517646324032, + "y": 2681.9371509805733 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2386.3372067275413, + "y": 2621.712441161804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2342.6409844631225, + "y": 2500.5206885962343 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2297.568935995614, + "y": 2370.4560975547324 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2262.786585993967, + "y": 2274.5389545113517 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.6828986255887, + "y": 2222.0199037691837 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_2/input.json b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_2/input.json new file mode 100644 index 000000000..8cf770b7a --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_2/input.json @@ -0,0 +1,231 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.3677394455713, + "y": 2221.1965791390344 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.457067852507, + "y": 2359.207999510588 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1899.9867376652578, + "y": 2394.6182079729892 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1923.9645550930609, + "y": 2461.7548145391315 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1955.4359830578737, + "y": 2557.176303006076 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1990.2830039775388, + "y": 2670.338196066855 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.4172468322554, + "y": 2742.701997958664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2028.461955513843, + "y": 2784.9958710628393 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.982938909024, + "y": 2817.614263176753 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2055.2764266255763, + "y": 2844.5575670440053 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2070.011632744116, + "y": 2870.3704682869957 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2086.040645820414, + "y": 2895.042192048095 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2103.2065089989683, + "y": 2918.5379465960186 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2121.3558650720975, + "y": 2940.823916314734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2140.338757821938, + "y": 2961.866590705196 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2160.0084676857527, + "y": 2981.6323010430174 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.2214530606016, + "y": 3000.086912417409 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.837456338996, + "y": 3017.19561397874 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2221.719833766278, + "y": 3032.9227460564452 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2242.7361811662067, + "y": 3047.231591883887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2263.75935432596, + "y": 3060.084034720374 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2284.669023769138, + "y": 3071.43992335647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2305.353954909289, + "y": 3081.2558732352973 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2325.5545735681026, + "y": 3089.418085250468 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2351.251815701749, + "y": 3098.2184958611047 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2513.256870807876, + "y": 2898.388171075533 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2488.6571293745287, + "y": 2851.985668658959 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2466.278578515486, + "y": 2807.370321893456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2445.9309944698116, + "y": 2764.3863492480564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2427.3154972897046, + "y": 2722.6800408661597 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2410.1517646324032, + "y": 2681.9371509805733 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2386.3372067275413, + "y": 2621.712441161804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2342.6409844631225, + "y": 2500.5206885962343 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2297.568935995614, + "y": 2370.4560975547324 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2262.786585993967, + "y": 2274.5389545113517 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.3677394455713, + "y": 2221.1965791390344 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_2/output.json b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_2/output.json new file mode 100644 index 000000000..979b37994 --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_2/output.json @@ -0,0 +1,444 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.682898625588, + "y": 2222.0199037691837 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2222.124371492436, + "y": 2169.6772261649635 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2183.14957255449, + "y": 2075.3857883299825 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2128.7533987083743, + "y": 1948.9368117949634 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2079.3228544190433, + "y": 1829.9686563021755 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.310185100598, + "y": 1769.4329982831296 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.5193839533904, + "y": 1727.769957150921 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.1513180883348, + "y": 1684.4166230530009 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.2011729442418, + "y": 1638.9519166167447 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1999.6512347686555, + "y": 1590.9131002179756 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1986.5369757033354, + "y": 1540.0568742640635 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1974.1751435222852, + "y": 1488.176768227665 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1732.164386623451, + "y": 1501.6852374910168 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1719.1179258807629, + "y": 1525.5092871526622 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1709.7008969662174, + "y": 1545.156329311777 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1701.0410628054428, + "y": 1566.3512938223462 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1693.2534194404457, + "y": 1588.8351345475876 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1686.390873801742, + "y": 1612.5008178026055 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1680.5152299247377, + "y": 1637.237566497182 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1675.6946966328414, + "y": 1662.931511877111 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1672.0023114603275, + "y": 1689.4662730787354 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1669.5149558610747, + "y": 1716.7233917978251 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1668.3127526489884, + "y": 1744.582600306362 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1668.4787058210218, + "y": 1772.9219161449573 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1670.0984808331823, + "y": 1801.6175586901718 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1673.2602403340888, + "y": 1830.5436821307494 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1678.0544531683474, + "y": 1859.5719224639824 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1684.5735887353612, + "y": 1888.5707679822985 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1692.9196271026979, + "y": 1917.4325434391922 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1704.9236055145518, + "y": 1950.6391843165457 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.3250944416652, + "y": 1992.0191691472037 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1754.0240178391555, + "y": 2061.0618463268875 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1804.5769122459296, + "y": 2168.1334755064804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1845.6629307317662, + "y": 2259.8267158482477 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1873.214800313908, + "y": 2325.5774128205744 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.7717217796135, + "y": 2360.0315200625723 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.7717217796137, + "y": 2360.0315200625723 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1899.9867376652578, + "y": 2394.6182079729892 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1923.9645550930609, + "y": 2461.7548145391315 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1955.4359830578737, + "y": 2557.176303006076 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1990.2830039775388, + "y": 2670.338196066855 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.4172468322554, + "y": 2742.701997958664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2028.461955513843, + "y": 2784.9958710628393 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.982938909024, + "y": 2817.614263176753 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2055.2764266255763, + "y": 2844.5575670440053 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2070.011632744116, + "y": 2870.3704682869957 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2086.040645820414, + "y": 2895.042192048095 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2103.2065089989683, + "y": 2918.5379465960186 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2121.3558650720975, + "y": 2940.823916314734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2140.338757821938, + "y": 2961.866590705196 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2160.0084676857527, + "y": 2981.6323010430174 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.2214530606016, + "y": 3000.086912417409 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.837456338996, + "y": 3017.19561397874 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2221.719833766278, + "y": 3032.9227460564452 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2242.7361811662067, + "y": 3047.231591883887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2263.75935432596, + "y": 3060.084034720374 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2284.669023769138, + "y": 3071.43992335647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2305.353954909289, + "y": 3081.2558732352973 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2325.5545735681026, + "y": 3089.418085250468 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2351.251815701749, + "y": 3098.2184958611047 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2513.256870807876, + "y": 2898.388171075533 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2488.6571293745287, + "y": 2851.985668658959 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2466.278578515486, + "y": 2807.370321893456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2445.9309944698116, + "y": 2764.3863492480564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2427.3154972897046, + "y": 2722.6800408661597 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2410.1517646324032, + "y": 2681.9371509805733 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2386.3372067275413, + "y": 2621.712441161804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2342.6409844631225, + "y": 2500.5206885962343 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2297.568935995614, + "y": 2370.4560975547324 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2262.786585993967, + "y": 2274.5389545113517 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.6828986255887, + "y": 2222.0199037691837 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_3/input.json b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_3/input.json new file mode 100644 index 000000000..7761e226c --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_3/input.json @@ -0,0 +1,232 @@ +{ + "vector": [ + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.457067852507, + "y": 2359.207999510588 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1899.4768995364127, + "y": 2394.804686188886 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1923.9645550930609, + "y": 2461.7548145391315 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1955.4359830578737, + "y": 2557.176303006076 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1990.2830039775388, + "y": 2670.338196066855 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.4172468322554, + "y": 2742.701997958664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2028.461955513843, + "y": 2784.9958710628393 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.982938909024, + "y": 2817.614263176753 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2055.2764266255763, + "y": 2844.5575670440053 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2070.011632744116, + "y": 2870.3704682869957 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2086.040645820414, + "y": 2895.042192048095 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2103.2065089989683, + "y": 2918.5379465960186 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2121.3558650720975, + "y": 2940.823916314734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2140.338757821938, + "y": 2961.866590705196 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2160.0084676857527, + "y": 2981.6323010430174 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.2214530606016, + "y": 3000.086912417409 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.837456338996, + "y": 3017.19561397874 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2221.719833766278, + "y": 3032.9227460564452 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2242.7361811662067, + "y": 3047.231591883887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2263.75935432596, + "y": 3060.084034720374 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2284.669023769138, + "y": 3071.43992335647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2305.353954909289, + "y": 3081.2558732352973 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2325.5545735681026, + "y": 3089.418085250468 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2351.251815701749, + "y": 3098.2184958611047 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2513.256870807876, + "y": 2898.388171075533 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2488.6571293745287, + "y": 2851.985668658959 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2466.278578515486, + "y": 2807.370321893456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2445.9309944698116, + "y": 2764.3863492480564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2427.3154972897046, + "y": 2722.6800408661597 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2410.1517646324032, + "y": 2681.9371509805733 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2386.3372067275413, + "y": 2621.712441161804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2342.6409844631225, + "y": 2500.5206885962343 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2297.568935995614, + "y": 2370.4560975547324 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2262.786585993967, + "y": 2274.5389545113517 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.3677394455713, + "y": 2221.1965791390344 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.457067852507, + "y": 2359.207999510588 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_3/output.json b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_3/output.json new file mode 100644 index 000000000..0de05f002 --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_3/output.json @@ -0,0 +1,442 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.6828986255896, + "y": 2222.019903769183 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2222.1243714924367, + "y": 2169.6772261649626 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2183.149572554491, + "y": 2075.3857883299816 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2128.7533987083752, + "y": 1948.9368117949625 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2079.3228544190442, + "y": 1829.9686563021746 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.3101851005995, + "y": 1769.4329982831287 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.5193839533918, + "y": 1727.7699571509202 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.1513180883362, + "y": 1684.4166230530004 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.2011729442431, + "y": 1638.9519166167433 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1999.6512347686569, + "y": 1590.9131002179747 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1986.536975703337, + "y": 1540.0568742640626 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1974.1751435222866, + "y": 1488.176768227664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1732.1643866234529, + "y": 1501.6852374910159 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1719.1179258807647, + "y": 1525.5092871526613 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1709.7008969662193, + "y": 1545.156329311776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1701.041062805444, + "y": 1566.3512938223457 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1693.253419440447, + "y": 1588.8351345475867 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1686.3908738017435, + "y": 1612.5008178026046 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1680.515229924739, + "y": 1637.2375664971805 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1675.6946966328428, + "y": 1662.9315118771092 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1672.0023114603287, + "y": 1689.466273078734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1669.5149558610763, + "y": 1716.7233917978238 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1668.3127526489898, + "y": 1744.5826003063612 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1668.4787058210231, + "y": 1772.9219161449564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1670.0984808331834, + "y": 1801.6175586901704 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1673.2602403340902, + "y": 1830.5436821307485 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1678.0544531683488, + "y": 1859.5719224639815 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1684.5735887353624, + "y": 1888.5707679822972 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1692.9196271026992, + "y": 1917.4325434391908 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1704.923605514553, + "y": 1950.6391843165447 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.3250944416664, + "y": 1992.0191691472028 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1754.0240178391566, + "y": 2061.0618463268866 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1804.5769122459308, + "y": 2168.133475506479 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1845.6629307317671, + "y": 2259.8267158482467 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1872.7125274486514, + "y": 2325.7834007120973 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.759948283433, + "y": 2360.036085469176 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.7599482834323, + "y": 2360.0360854691767 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1899.4768995364127, + "y": 2394.804686188886 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1923.9645550930609, + "y": 2461.7548145391315 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1955.4359830578737, + "y": 2557.176303006076 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1990.2830039775388, + "y": 2670.338196066855 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.4172468322554, + "y": 2742.701997958664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2028.461955513843, + "y": 2784.9958710628393 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.982938909024, + "y": 2817.614263176753 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2055.2764266255763, + "y": 2844.5575670440053 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2070.011632744116, + "y": 2870.3704682869957 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2086.040645820414, + "y": 2895.042192048095 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2103.2065089989683, + "y": 2918.5379465960186 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2121.3558650720975, + "y": 2940.823916314734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2140.338757821938, + "y": 2961.866590705196 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2160.0084676857527, + "y": 2981.6323010430174 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.2214530606016, + "y": 3000.086912417409 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.837456338996, + "y": 3017.19561397874 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2221.719833766278, + "y": 3032.9227460564452 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2242.7361811662067, + "y": 3047.231591883887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2263.75935432596, + "y": 3060.084034720374 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2284.669023769138, + "y": 3071.43992335647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2305.353954909289, + "y": 3081.2558732352973 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2325.5545735681026, + "y": 3089.418085250468 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2351.251815701749, + "y": 3098.2184958611047 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2513.256870807876, + "y": 2898.388171075533 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2488.6571293745287, + "y": 2851.985668658959 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2466.278578515486, + "y": 2807.370321893456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2445.9309944698116, + "y": 2764.3863492480564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2427.3154972897046, + "y": 2722.6800408661597 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2410.1517646324032, + "y": 2681.9371509805733 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2386.3372067275413, + "y": 2621.712441161804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2342.6409844631225, + "y": 2500.5206885962343 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2297.568935995614, + "y": 2370.4560975547324 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2262.786585993967, + "y": 2274.5389545113517 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.6828986255887, + "y": 2222.0199037691837 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_4/input.json b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_4/input.json new file mode 100644 index 000000000..4ec157338 --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_4/input.json @@ -0,0 +1,226 @@ +{ + "vector": [ + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.4639780662317, + "y": 2359.205319938191 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1924.000142748901, + "y": 2461.8627164460645 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1955.4359830578737, + "y": 2557.176303006076 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1990.2830039775388, + "y": 2670.338196066855 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.4172468322554, + "y": 2742.701997958664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2028.461955513843, + "y": 2784.9958710628393 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.982938909024, + "y": 2817.614263176753 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2055.2764266255763, + "y": 2844.5575670440053 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2070.011632744116, + "y": 2870.3704682869957 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2086.040645820414, + "y": 2895.042192048095 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2103.2065089989683, + "y": 2918.5379465960186 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2121.3558650720975, + "y": 2940.823916314734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2140.338757821938, + "y": 2961.866590705196 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2160.0084676857527, + "y": 2981.6323010430174 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.2214530606016, + "y": 3000.086912417409 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.837456338996, + "y": 3017.19561397874 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2221.719833766278, + "y": 3032.9227460564452 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2242.7361811662067, + "y": 3047.231591883887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2263.75935432596, + "y": 3060.084034720374 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2284.669023769138, + "y": 3071.43992335647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2305.353954909289, + "y": 3081.2558732352973 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2325.5545735681026, + "y": 3089.418085250468 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2351.251815701749, + "y": 3098.2184958611047 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2513.256870807876, + "y": 2898.388171075533 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2488.6571293745287, + "y": 2851.985668658959 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2466.278578515486, + "y": 2807.370321893456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2445.9309944698116, + "y": 2764.3863492480564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2427.3154972897046, + "y": 2722.6800408661597 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2410.1517646324032, + "y": 2681.9371509805733 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2386.3372067275413, + "y": 2621.712441161804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2342.6409844631225, + "y": 2500.5206885962343 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2297.568935995614, + "y": 2370.4560975547324 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2262.786585993967, + "y": 2274.5389545113517 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.3677394455713, + "y": 2221.1965791390344 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.4639780662317, + "y": 2359.205319938191 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_4/output.json b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_4/output.json new file mode 100644 index 000000000..e58d57224 --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_allowance_path_blazer_for_women_with_one_button_case_4/output.json @@ -0,0 +1,430 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.682898625588, + "y": 2222.0199037691846 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2222.124371492436, + "y": 2169.6772261649644 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2183.149572554489, + "y": 2075.3857883299834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2128.753398708374, + "y": 1948.9368117949643 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2079.3228544190424, + "y": 1829.968656302177 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.3101851005977, + "y": 1769.4329982831305 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.5193839533897, + "y": 1727.769957150922 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.151318088334, + "y": 1684.4166230530022 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.201172944241, + "y": 1638.9519166167456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1999.6512347686546, + "y": 1590.9131002179765 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1986.5369757033345, + "y": 1540.0568742640644 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1974.175143522284, + "y": 1488.176768227666 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1732.16438662345, + "y": 1501.6852374910181 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1719.1179258807622, + "y": 1525.509287152664 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1709.700896966217, + "y": 1545.1563293117783 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1701.0410628054417, + "y": 1566.351293822348 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1693.2534194404445, + "y": 1588.8351345475894 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1686.3908738017412, + "y": 1612.5008178026073 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1680.5152299247368, + "y": 1637.2375664971833 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1675.6946966328408, + "y": 1662.931511877112 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1672.0023114603266, + "y": 1689.4662730787368 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1669.5149558610742, + "y": 1716.7233917978265 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1668.3127526489877, + "y": 1744.582600306364 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1668.478705821021, + "y": 1772.9219161449587 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1670.0984808331816, + "y": 1801.6175586901727 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1673.2602403340882, + "y": 1830.5436821307512 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1678.054453168347, + "y": 1859.5719224639843 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1684.5735887353605, + "y": 1888.5707679823 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1692.9196271026974, + "y": 1917.4325434391935 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1704.9236055145514, + "y": 1950.6391843165475 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.3250944416648, + "y": 1992.019169147205 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1754.024017839155, + "y": 2061.061846326889 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1804.5769122459294, + "y": 2168.133475506482 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1845.6164709687282, + "y": 2259.7230298164686 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.7667753528249, + "y": 2360.033438137645 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1886.7667753528253, + "y": 2360.0334381376438 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1924.000142748901, + "y": 2461.8627164460645 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1955.4359830578737, + "y": 2557.176303006076 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1990.2830039775388, + "y": 2670.338196066855 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2013.4172468322554, + "y": 2742.701997958664 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2028.461955513843, + "y": 2784.9958710628393 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2041.982938909024, + "y": 2817.614263176753 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2055.2764266255763, + "y": 2844.5575670440053 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2070.011632744116, + "y": 2870.3704682869957 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2086.040645820414, + "y": 2895.042192048095 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2103.2065089989683, + "y": 2918.5379465960186 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2121.3558650720975, + "y": 2940.823916314734 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2140.338757821938, + "y": 2961.866590705196 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2160.0084676857527, + "y": 2981.6323010430174 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.2214530606016, + "y": 3000.086912417409 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.837456338996, + "y": 3017.19561397874 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2221.719833766278, + "y": 3032.9227460564452 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2242.7361811662067, + "y": 3047.231591883887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2263.75935432596, + "y": 3060.084034720374 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2284.669023769138, + "y": 3071.43992335647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2305.353954909289, + "y": 3081.2558732352973 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2325.5545735681026, + "y": 3089.418085250468 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2351.251815701749, + "y": 3098.2184958611047 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2539.1026054217386, + "y": 2945.0396265671916 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2513.256870807876, + "y": 2898.388171075533 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2488.6571293745287, + "y": 2851.985668658959 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2466.278578515486, + "y": 2807.370321893456 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2445.9309944698116, + "y": 2764.3863492480564 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2427.3154972897046, + "y": 2722.6800408661597 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2410.1517646324032, + "y": 2681.9371509805733 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2386.3372067275413, + "y": 2621.712441161804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2342.6409844631225, + "y": 2500.5206885962343 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2297.568935995614, + "y": 2370.4560975547324 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2262.786585993967, + "y": 2274.5389545113517 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2242.6828986255887, + "y": 2222.0199037691837 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_1/input.json b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_1/input.json new file mode 100644 index 000000000..ec3955e38 --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_1/input.json @@ -0,0 +1,268 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_1/output.json b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_1/output.json new file mode 100644 index 000000000..9f0caa86b --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_1/output.json @@ -0,0 +1,454 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.9515729213244 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2194.1808126731303, + "y": 2181.2265356235425 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2155.3741280712293, + "y": 2087.3337468256977 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2100.831429628567, + "y": 1960.5382199493351 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2051.223875911136, + "y": 1841.144042743279 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.9282938694823, + "y": 1779.8641725850675 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2012.9187182119203, + "y": 1737.5848827904065 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1998.3441570599366, + "y": 1693.6084822861994 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.1939740559037, + "y": 1647.4918354948868 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1970.457532842196, + "y": 1598.79180683891 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1957.1241970611873, + "y": 1547.0652607407105 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1950.6215011335307, + "y": 1519.7747629157661 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1750.6178647574097, + "y": 1530.9384938555231 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1746.0306180413322, + "y": 1539.3152326300824 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1737.3530357536486, + "y": 1557.419544148334 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1729.3425240532995, + "y": 1577.0252904072431 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.0777242891388, + "y": 1597.9996202709262 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1715.637277810021, + "y": 1620.209682603494 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1710.0998259648006, + "y": 1643.5226262690603 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1705.5440101023314, + "y": 1667.805600131739 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1702.0484715714697, + "y": 1692.9257530556429 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1699.6918517210684, + "y": 1718.750233904886 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.5527918999821, + "y": 1745.1461915435812 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.709933457065, + "y": 1771.980774835842 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1700.2419177411723, + "y": 1799.1211326457815 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1703.2273861011581, + "y": 1826.4344138375118 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1707.744979885877, + "y": 1853.7877672751492 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1713.8733404441825, + "y": 1881.048341822804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1721.6911091249299, + "y": 1908.0832863445921 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1726.3334040221412, + "y": 1921.4569269187496 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1733.0957187962936, + "y": 1939.6318917077433 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1750.00769868614, + "y": 1979.8478453097282 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1781.3659378578632, + "y": 2048.1526078463003 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1832.0469984876884, + "y": 2155.4956946045113 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1873.4069197304525, + "y": 2247.800214214673 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1901.2298255159806, + "y": 2314.197720987846 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.9630096123738, + "y": 2349.099789191767 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_2/input.json b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_2/input.json new file mode 100644 index 000000000..f3805557a --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_2/input.json @@ -0,0 +1,268 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_2/output.json b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_2/output.json new file mode 100644 index 000000000..9f0caa86b --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_2/output.json @@ -0,0 +1,454 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.9515729213244 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2194.1808126731303, + "y": 2181.2265356235425 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2155.3741280712293, + "y": 2087.3337468256977 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2100.831429628567, + "y": 1960.5382199493351 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2051.223875911136, + "y": 1841.144042743279 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.9282938694823, + "y": 1779.8641725850675 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2012.9187182119203, + "y": 1737.5848827904065 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1998.3441570599366, + "y": 1693.6084822861994 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.1939740559037, + "y": 1647.4918354948868 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1970.457532842196, + "y": 1598.79180683891 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1957.1241970611873, + "y": 1547.0652607407105 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1950.6215011335307, + "y": 1519.7747629157661 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1750.6178647574097, + "y": 1530.9384938555231 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1746.0306180413322, + "y": 1539.3152326300824 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1737.3530357536486, + "y": 1557.419544148334 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1729.3425240532995, + "y": 1577.0252904072431 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.0777242891388, + "y": 1597.9996202709262 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1715.637277810021, + "y": 1620.209682603494 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1710.0998259648006, + "y": 1643.5226262690603 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1705.5440101023314, + "y": 1667.805600131739 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1702.0484715714697, + "y": 1692.9257530556429 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1699.6918517210684, + "y": 1718.750233904886 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.5527918999821, + "y": 1745.1461915435812 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.709933457065, + "y": 1771.980774835842 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1700.2419177411723, + "y": 1799.1211326457815 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1703.2273861011581, + "y": 1826.4344138375118 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1707.744979885877, + "y": 1853.7877672751492 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1713.8733404441825, + "y": 1881.048341822804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1721.6911091249299, + "y": 1908.0832863445921 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1726.3334040221412, + "y": 1921.4569269187496 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1733.0957187962936, + "y": 1939.6318917077433 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1750.00769868614, + "y": 1979.8478453097282 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1781.3659378578632, + "y": 2048.1526078463003 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1832.0469984876884, + "y": 2155.4956946045113 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1873.4069197304525, + "y": 2247.800214214673 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1901.2298255159806, + "y": 2314.197720987846 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.9630096123738, + "y": 2349.099789191767 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_3/input.json b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_3/input.json new file mode 100644 index 000000000..9e94d5ddd --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_3/input.json @@ -0,0 +1,268 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_3/output.json b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_3/output.json new file mode 100644 index 000000000..54232290e --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_3/output.json @@ -0,0 +1,908 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.9515729213244 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2194.1808126731303, + "y": 2181.2265356235425 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2155.3741280712293, + "y": 2087.3337468256977 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2100.831429628567, + "y": 1960.5382199493351 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2051.223875911136, + "y": 1841.144042743279 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.9282938694823, + "y": 1779.8641725850675 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2012.9187182119203, + "y": 1737.5848827904065 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1998.3441570599366, + "y": 1693.6084822861994 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.1939740559037, + "y": 1647.4918354948868 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1970.457532842196, + "y": 1598.79180683891 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1957.1241970611873, + "y": 1547.0652607407105 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1950.6215011335307, + "y": 1519.7747629157661 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1750.6178647574097, + "y": 1530.9384938555231 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1746.0306180413322, + "y": 1539.3152326300824 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1737.3530357536486, + "y": 1557.419544148334 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1729.3425240532995, + "y": 1577.0252904072431 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.0777242891388, + "y": 1597.9996202709262 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1715.637277810021, + "y": 1620.209682603494 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1710.0998259648006, + "y": 1643.5226262690603 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1705.5440101023314, + "y": 1667.805600131739 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1702.0484715714697, + "y": 1692.9257530556429 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1699.6918517210684, + "y": 1718.750233904886 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.5527918999821, + "y": 1745.1461915435812 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.709933457065, + "y": 1771.980774835842 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1700.2419177411723, + "y": 1799.1211326457815 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1703.2273861011581, + "y": 1826.4344138375118 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1707.744979885877, + "y": 1853.7877672751492 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1713.8733404441825, + "y": 1881.048341822804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1721.6911091249299, + "y": 1908.0832863445921 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1726.3334040221412, + "y": 1921.4569269187496 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1733.0957187962936, + "y": 1939.6318917077433 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1750.00769868614, + "y": 1979.8478453097282 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1781.3659378578632, + "y": 2048.1526078463003 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1832.0469984876884, + "y": 2155.4956946045113 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1873.4069197304525, + "y": 2247.800214214673 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1901.2298255159806, + "y": 2314.197720987846 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.9630096123738, + "y": 2349.099789191767 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.9515729213244 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2194.1808126731303, + "y": 2181.2265356235425 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2155.3741280712293, + "y": 2087.3337468256977 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2100.831429628567, + "y": 1960.5382199493351 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2051.223875911136, + "y": 1841.144042743279 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.9282938694823, + "y": 1779.8641725850675 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2012.9187182119203, + "y": 1737.5848827904065 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1998.3441570599366, + "y": 1693.6084822861994 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.1939740559037, + "y": 1647.4918354948868 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1970.457532842196, + "y": 1598.79180683891 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1957.1241970611873, + "y": 1547.0652607407105 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1950.6215011335307, + "y": 1519.7747629157661 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1750.6178647574097, + "y": 1530.9384938555231 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1746.0306180413322, + "y": 1539.3152326300824 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1737.3530357536486, + "y": 1557.419544148334 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1729.3425240532995, + "y": 1577.0252904072431 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.0777242891388, + "y": 1597.9996202709262 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1715.637277810021, + "y": 1620.209682603494 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1710.0998259648006, + "y": 1643.5226262690603 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1705.5440101023314, + "y": 1667.805600131739 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1702.0484715714697, + "y": 1692.9257530556429 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1699.6918517210684, + "y": 1718.750233904886 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.5527918999821, + "y": 1745.1461915435812 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.709933457065, + "y": 1771.980774835842 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1700.2419177411723, + "y": 1799.1211326457815 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1703.2273861011581, + "y": 1826.4344138375118 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1707.744979885877, + "y": 1853.7877672751492 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1713.8733404441825, + "y": 1881.048341822804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1721.6911091249299, + "y": 1908.0832863445921 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1726.3334040221412, + "y": 1921.4569269187496 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1733.0957187962936, + "y": 1939.6318917077433 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1750.00769868614, + "y": 1979.8478453097282 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1781.3659378578632, + "y": 2048.1526078463003 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1832.0469984876884, + "y": 2155.4956946045113 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1873.4069197304525, + "y": 2247.800214214673 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1901.2298255159806, + "y": 2314.197720987846 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.9630096123738, + "y": 2349.099789191767 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_4/input.json b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_4/input.json new file mode 100644 index 000000000..43f3d833d --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_4/input.json @@ -0,0 +1,268 @@ +{ + "vector": [ + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_4/output.json b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_4/output.json new file mode 100644 index 000000000..54232290e --- /dev/null +++ b/src/test/ValentinaTest/share/full_seam_path_blazer_for_women_with_one_button_case_4/output.json @@ -0,0 +1,908 @@ +{ + "vector": [ + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.9515729213244 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2194.1808126731303, + "y": 2181.2265356235425 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2155.3741280712293, + "y": 2087.3337468256977 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2100.831429628567, + "y": 1960.5382199493351 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2051.223875911136, + "y": 1841.144042743279 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.9282938694823, + "y": 1779.8641725850675 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2012.9187182119203, + "y": 1737.5848827904065 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1998.3441570599366, + "y": 1693.6084822861994 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.1939740559037, + "y": 1647.4918354948868 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1970.457532842196, + "y": 1598.79180683891 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1957.1241970611873, + "y": 1547.0652607407105 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1950.6215011335307, + "y": 1519.7747629157661 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1750.6178647574097, + "y": 1530.9384938555231 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1746.0306180413322, + "y": 1539.3152326300824 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1737.3530357536486, + "y": 1557.419544148334 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1729.3425240532995, + "y": 1577.0252904072431 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.0777242891388, + "y": 1597.9996202709262 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1715.637277810021, + "y": 1620.209682603494 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1710.0998259648006, + "y": 1643.5226262690603 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1705.5440101023314, + "y": 1667.805600131739 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1702.0484715714697, + "y": 1692.9257530556429 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1699.6918517210684, + "y": 1718.750233904886 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.5527918999821, + "y": 1745.1461915435812 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.709933457065, + "y": 1771.980774835842 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1700.2419177411723, + "y": 1799.1211326457815 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1703.2273861011581, + "y": 1826.4344138375118 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1707.744979885877, + "y": 1853.7877672751492 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1713.8733404441825, + "y": 1881.048341822804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1721.6911091249299, + "y": 1908.0832863445921 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1726.3334040221412, + "y": 1921.4569269187496 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1733.0957187962936, + "y": 1939.6318917077433 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1750.00769868614, + "y": 1979.8478453097282 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1781.3659378578632, + "y": 2048.1526078463003 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1832.0469984876884, + "y": 2155.4956946045113 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1873.4069197304525, + "y": 2247.800214214673 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1901.2298255159806, + "y": 2314.197720987846 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.9630096123738, + "y": 2349.099789191767 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.9515729213244 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2194.1808126731303, + "y": 2181.2265356235425 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2155.3741280712293, + "y": 2087.3337468256977 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2100.831429628567, + "y": 1960.5382199493351 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2051.223875911136, + "y": 1841.144042743279 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2027.9282938694823, + "y": 1779.8641725850675 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2012.9187182119203, + "y": 1737.5848827904065 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1998.3441570599366, + "y": 1693.6084822861994 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.1939740559037, + "y": 1647.4918354948868 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1970.457532842196, + "y": 1598.79180683891 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1957.1241970611873, + "y": 1547.0652607407105 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1950.6215011335307, + "y": 1519.7747629157661 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1750.6178647574097, + "y": 1530.9384938555231 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1746.0306180413322, + "y": 1539.3152326300824 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1737.3530357536486, + "y": 1557.419544148334 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1729.3425240532995, + "y": 1577.0252904072431 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1722.0777242891388, + "y": 1597.9996202709262 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1715.637277810021, + "y": 1620.209682603494 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1710.0998259648006, + "y": 1643.5226262690603 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1705.5440101023314, + "y": 1667.805600131739 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1702.0484715714697, + "y": 1692.9257530556429 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1699.6918517210684, + "y": 1718.750233904886 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.5527918999821, + "y": 1745.1461915435812 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1698.709933457065, + "y": 1771.980774835842 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1700.2419177411723, + "y": 1799.1211326457815 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1703.2273861011581, + "y": 1826.4344138375118 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1707.744979885877, + "y": 1853.7877672751492 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1713.8733404441825, + "y": 1881.048341822804 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1721.6911091249299, + "y": 1908.0832863445921 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1726.3334040221412, + "y": 1921.4569269187496 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1733.0957187962936, + "y": 1939.6318917077433 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1750.00769868614, + "y": 1979.8478453097282 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1781.3659378578632, + "y": 2048.1526078463003 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1832.0469984876884, + "y": 2155.4956946045113 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1873.4069197304525, + "y": 2247.800214214673 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1901.2298255159806, + "y": 2314.197720987846 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.9630096123738, + "y": 2349.099789191767 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -1914.963009612374, + "y": 2349.0997891917677 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1928.3498427848913, + "y": 2384.1361618343194 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1952.5635373673008, + "y": 2451.9332118196526 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -1984.2447717626633, + "y": 2547.9908341765295 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2019.1801399690316, + "y": 2661.4396253980776 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2042.0685261869273, + "y": 2733.0287413687956 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2056.690022757555, + "y": 2774.1328752965 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2063.9485072003226, + "y": 2792.1154404577887 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2069.5358920772433, + "y": 2805.1226036518365 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2081.987957039595, + "y": 2830.3605078955566 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2095.8398941663963, + "y": 2854.6261124756206 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2110.9440566956873, + "y": 2877.8743139582466 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2127.1527978655085, + "y": 2900.0600089096506 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2144.3184709139023, + "y": 2921.1380938960515 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2162.293429078909, + "y": 2941.063465483666 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2180.9300255985686, + "y": 2959.791020238711 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2200.080613710922, + "y": 2977.2756547274043 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2219.5975466540103, + "y": 2993.472265515963 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2239.333177665875, + "y": 3008.3357491706042 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2259.139859984556, + "y": 3021.821002257546 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2278.869946848094, + "y": 3033.882921343005 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2298.375791494531, + "y": 3044.476402993199 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2317.5097471619056, + "y": 3053.556343774345 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2336.124167088261, + "y": 3061.0776402526603 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2345.159536290278, + "y": 3064.1719395779696 + }, + { + "curvePoint": true, + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2500.404044929328, + "y": 2937.5811579641927 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2486.8084103373544, + "y": 2913.0410877543827 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2461.783732078249, + "y": 2865.848091533264 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2439.0971600555768, + "y": 2820.6186535733386 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2418.4578021878087, + "y": 2777.0183130112687 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2399.5747663934153, + "y": 2734.7126089837147 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2382.1571605908675, + "y": 2693.3670806273367 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2358.049831719907, + "y": 2632.4019813985647 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2314.197134477833, + "y": 2510.7762444793834 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2268.9996726700974, + "y": 2380.356916788278 + }, + { + "curvePoint": true, + "type": "VLayoutPoint", + "x": -2234.361913580572, + "y": 2284.847544456113 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": -2214.4917699559637, + "y": 2232.951572921326 + } + ] +} diff --git a/src/test/ValentinaTest/share/full_seam_path_case_4/output.json b/src/test/ValentinaTest/share/full_seam_path_case_4/output.json index 6aaa23fec..f29e51c31 100644 --- a/src/test/ValentinaTest/share/full_seam_path_case_4/output.json +++ b/src/test/ValentinaTest/share/full_seam_path_case_4/output.json @@ -3,26 +3,74 @@ { "turnPoint": true, "type": "VLayoutPoint", - "x": 785.9055118110235, - "y": 417.9526299212598 + "x": 785.9055118110238, + "y": 417.9526299212599 }, { "turnPoint": true, "type": "VLayoutPoint", - "x": 963.7656322371464, + "x": 963.7656322371467, "y": 751.4403557202411 }, { "turnPoint": true, "type": "VLayoutPoint", - "x": 296.79018063918403, - "y": 1107.1605965724868 + "x": 296.79018063918437, + "y": 1107.160596572487 }, { "turnPoint": true, "type": "VLayoutPoint", - "x": 29.99999999999966, - "y": 606.9290078740152 + "x": 29.999999999999886, + "y": 606.9290078740154 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": 785.9055118110238, + "y": 417.9526299212599 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": 963.7656322371467, + "y": 751.4403557202411 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": 296.79018063918437, + "y": 1107.160596572487 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": 29.999999999999886, + "y": 606.9290078740154 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": 29.9999999999999, + "y": 606.9290078740157 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": 30, + "y": 39.999874015748034 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": 785.9055118110236, + "y": 39.999874015748034 + }, + { + "turnPoint": true, + "type": "VLayoutPoint", + "x": 785.9055118110236, + "y": 417.95262992125987 }, { "turnPoint": true, diff --git a/src/test/ValentinaTest/share/test_data.qrc b/src/test/ValentinaTest/share/test_data.qrc index c77a4980f..7214f8118 100644 --- a/src/test/ValentinaTest/share/test_data.qrc +++ b/src/test/ValentinaTest/share/test_data.qrc @@ -196,5 +196,21 @@ full_seam_allowance_path_case_5/input.json winter_coat/input.json winter_coat/output.json + full_seam_path_blazer_for_women_with_one_button_case_1/input.json + full_seam_path_blazer_for_women_with_one_button_case_1/output.json + full_seam_path_blazer_for_women_with_one_button_case_2/input.json + full_seam_path_blazer_for_women_with_one_button_case_2/output.json + full_seam_path_blazer_for_women_with_one_button_case_3/input.json + full_seam_path_blazer_for_women_with_one_button_case_3/output.json + full_seam_path_blazer_for_women_with_one_button_case_4/input.json + full_seam_path_blazer_for_women_with_one_button_case_4/output.json + full_seam_allowance_path_blazer_for_women_with_one_button_case_1/input.json + full_seam_allowance_path_blazer_for_women_with_one_button_case_1/output.json + full_seam_allowance_path_blazer_for_women_with_one_button_case_2/input.json + full_seam_allowance_path_blazer_for_women_with_one_button_case_2/output.json + full_seam_allowance_path_blazer_for_women_with_one_button_case_3/input.json + full_seam_allowance_path_blazer_for_women_with_one_button_case_3/output.json + full_seam_allowance_path_blazer_for_women_with_one_button_case_4/input.json + full_seam_allowance_path_blazer_for_women_with_one_button_case_4/output.json diff --git a/src/test/ValentinaTest/tst_vabstractpiece.cpp b/src/test/ValentinaTest/tst_vabstractpiece.cpp index 755fff02d..57d394b18 100644 --- a/src/test/ValentinaTest/tst_vabstractpiece.cpp +++ b/src/test/ValentinaTest/tst_vabstractpiece.cpp @@ -1293,7 +1293,7 @@ void TST_VAbstractPiece::TestFullSeamPath_data() const QTest::newRow(title) << basePoints << fullPathPoints << mirrorLine; }; - QLineF mirrorLine(QPointF(29.9999999999999, 606.9290078740157), QPointF(785.9055118110236, 417.95262992125987)); + QLineF mirrorLine(QPointF(785.9055118110236, 417.95262992125987), QPointF(29.9999999999999, 606.9290078740157)); // See file src/app/share/collection/bugs/fold_line.val ASSERT_TEST_CASE("Piece full path. Case 1", QStringLiteral("://full_seam_path_case_1/input.json"), @@ -1309,10 +1309,35 @@ void TST_VAbstractPiece::TestFullSeamPath_data() const QStringLiteral("://full_seam_path_case_4/output.json"), mirrorLine); // See file valentina_private_collection/bugs/full_piece/Basic_Darted_Bodice_Block.val (private collection) - mirrorLine = QLineF(QPointF(37.795275590551185, 655.1181102362208), QPointF(37.79527559055022, 4578.897637795276)); + mirrorLine = QLineF(QPointF(37.79527559055022, 4578.897637795276), QPointF(37.795275590551185, 655.1181102362208)); ASSERT_TEST_CASE("Basic Darted Bodice Block", QStringLiteral("://full_seam_path_case_5/input.json"), QStringLiteral("://full_seam_path_case_5/output.json"), mirrorLine); + + // See file valentina_private_collection/bugs/blazer_for_women_with_one_button/Blazer for women with one button.val + // (private collection) + mirrorLine = + QLineF(QPointF(-2214.4917699559637, 2232.951572921326), QPointF(-1914.963009612374, 2349.0997891917677)); + + ASSERT_TEST_CASE("Blazer for women with one button. Full seam path case 1", + QStringLiteral("://full_seam_path_blazer_for_women_with_one_button_case_1/input.json"), + QStringLiteral("://full_seam_path_blazer_for_women_with_one_button_case_1/output.json"), + mirrorLine); + + ASSERT_TEST_CASE("Blazer for women with one button. Full seam path case 2", + QStringLiteral("://full_seam_path_blazer_for_women_with_one_button_case_2/input.json"), + QStringLiteral("://full_seam_path_blazer_for_women_with_one_button_case_2/output.json"), + mirrorLine); + + ASSERT_TEST_CASE("Blazer for women with one button. Full seam path case 3", + QStringLiteral("://full_seam_path_blazer_for_women_with_one_button_case_3/input.json"), + QStringLiteral("://full_seam_path_blazer_for_women_with_one_button_case_3/output.json"), + mirrorLine); + + ASSERT_TEST_CASE("Blazer for women with one button. Full seam path case 4", + QStringLiteral("://full_seam_path_blazer_for_women_with_one_button_case_4/input.json"), + QStringLiteral("://full_seam_path_blazer_for_women_with_one_button_case_4/output.json"), + mirrorLine); } //--------------------------------------------------------------------------------------------------------------------- @@ -1346,7 +1371,7 @@ void TST_VAbstractPiece::TestFullSeamAllowancePath_data() const QTest::newRow(title) << basePoints << fullPathPoints << mirrorLine; }; - QLineF mirrorLine(QPointF(-7.795275590551569, 616.3778267716535), QPointF(823.7007874015749, 408.503811023622)); + QLineF mirrorLine(QPointF(823.7007874015749, 408.503811023622), QPointF(-7.795275590551569, 616.3778267716535)); // See file src/app/share/collection/bugs/fold_line.val ASSERT_TEST_CASE("Piece full path. Case 1", QStringLiteral("://full_seam_allowance_path_case_1/input.json"), @@ -1362,10 +1387,34 @@ void TST_VAbstractPiece::TestFullSeamAllowancePath_data() const QStringLiteral("://full_seam_allowance_path_case_4/output.json"), mirrorLine); // See file valentina_private_collection/bugs/full_piece/Basic_Darted_Bodice_Block.val (private collection) - mirrorLine = QLineF(QPointF(37.79527559055132, 604.4628631137784), QPointF(37.79527559055033, 4616.693036243291)); + mirrorLine = QLineF(QPointF(37.79527559055033, 4616.693036243291), QPointF(37.79527559055132, 604.4628631137784)); ASSERT_TEST_CASE("Basic Darted Bodice Block", QStringLiteral("://full_seam_allowance_path_case_5/input.json"), QStringLiteral("://full_seam_allowance_path_case_5/output.json"), mirrorLine); + + // See file valentina_private_collection/bugs/blazer_for women_with_one_button/Blazer for women with one button.val + mirrorLine = + QLineF(QPointF(-2242.6828986255887, 2222.0199037691837), QPointF(-1886.7717217796137, 2360.0315200625723)); + + ASSERT_TEST_CASE("Blazer for women with one button. Full seam allowance path case 1", + QStringLiteral("://full_seam_allowance_path_blazer_for_women_with_one_button_case_1/input.json"), + QStringLiteral("://full_seam_allowance_path_blazer_for_women_with_one_button_case_1/output.json"), + mirrorLine); + + ASSERT_TEST_CASE("Blazer for women with one button. Full seam allowance path case 2", + QStringLiteral("://full_seam_allowance_path_blazer_for_women_with_one_button_case_2/input.json"), + QStringLiteral("://full_seam_allowance_path_blazer_for_women_with_one_button_case_2/output.json"), + mirrorLine); + + ASSERT_TEST_CASE("Blazer for women with one button. Full seam allowance path case 3", + QStringLiteral("://full_seam_allowance_path_blazer_for_women_with_one_button_case_3/input.json"), + QStringLiteral("://full_seam_allowance_path_blazer_for_women_with_one_button_case_3/output.json"), + mirrorLine); + + ASSERT_TEST_CASE("Blazer for women with one button. Full seam allowance path case 4", + QStringLiteral("://full_seam_allowance_path_blazer_for_women_with_one_button_case_4/input.json"), + QStringLiteral("://full_seam_allowance_path_blazer_for_women_with_one_button_case_4/output.json"), + mirrorLine); } //---------------------------------------------------------------------------------------------------------------------