Commit Graph

289 Commits

Author SHA1 Message Date
Roman Telezhynskyi
cb30d5e3f4 Seam allowance not correct at intersection curve and axis. Closes #145 2021-09-24 12:51:39 +03:00
Roman Telezhynskyi
816f9f02a3 When we search point of intersection curve and axis select the base point only at the end. 2021-07-24 16:36:17 +03:00
Roman Telezhynskyi
8656e9f633 GCC warning. 2021-07-24 12:35:22 +03:00
Roman Telezhynskyi
8ffc2447dd Fix finding point of intersection curve and axis.
Add case where the axis's point lies on the curve.
2021-07-24 11:27:50 +03:00
Roman Telezhynskyi
a6d9194051 New warnings. Warn a user about incorrect cut curve segment length. 2021-07-24 11:15:48 +03:00
Roman Telezhynskyi
3c27c3ee46 Fix incorrect seam allowance. Closes #133 2021-06-22 19:04:13 +03:00
Roman Telezhynskyi
3ae13febd3 Incorrect behavior of empty arc and elliptical arc. Closes #129 2021-05-31 12:07:28 +03:00
Roman Telezhynskyi
1cccaf097c Fix incorrect elliptical arc end angle. Closes #121 2021-04-20 19:56:30 +03:00
Roman Telezhynskyi
197a4a54e1 Fix incorrect seam allowance. Closes #120 2021-04-10 19:18:28 +03:00
Roman Telezhynskyi
bfe2cfb0e1 Fix incorrect seam allowance. Closes #114 2021-03-30 20:21:42 +03:00
Roman Telezhynskyi
9f940ba7cf Fix bug in seam allowance. 2021-02-23 16:08:12 +02:00
Roman Telezhynskyi
2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi
3c0c624682 Don't check warnings for a legacy mac os x build. 2020-12-26 19:44:55 +02:00
Roman Telezhynskyi
abe92c667d Temporary enable full output for macosx. 2020-12-25 09:40:18 +02:00
Roman Telezhynskyi
80d9fbc107 New function Warning. 2020-11-20 13:18:38 +02:00
Roman Telezhynskyi
99985d43e0 Alias support for group operations. 2020-11-07 15:02:30 +02:00
Roman Telezhynskyi
38e60d5905 Fix name for history with alias. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
a5f65c319c Alias field for tool Cubic Bezier. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
c77d4c9bd2 Improve object name translation. 2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
1246aba24d Alias field for tool Arc. 2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
788aa92d44 Add alias attribute for geometric object. 2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
92028ddbc4 Fix issue in VAbstractCurve::CurveIntersectAxis.
Add normalization of the axis angle. Value must positive value between 0 and 359 degree.
2020-10-26 10:00:57 +02:00
Roman Telezhynskyi
49d3ad1f80 Merge branch 'multisize-measurements-tables-improvement' into develop 2020-10-16 14:45:35 +03:00
Roman Telezhynskyi
4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi
8c0bcfec37 Fix regression in VAbstractCurve::CurveIntersectLine. 2020-10-13 12:12:52 +03:00
Roman Telezhynskyi
1483f7a0cc Improve warning about error in calculating a curve segment.
Added in the message information about the path name.

(cherry picked from commit 75e296e839)
2020-10-05 16:50:14 +03:00
Roman Telezhynskyi
75e296e839 Improve warning about error in calculating a curve segment.
Added in the message information about the path name.
2020-10-05 16:39:01 +03:00
Roman Telezhynskyi
f150428925 Fix bug in VAbstractCurve::CurveIntersectLine.
QLineF::intersects not always accurate on edge cases. We must provide additional check.
2020-09-22 17:05:18 +03:00
Roman Telezhynskyi
07858f7fcb Refactoring. 2020-08-01 11:55:56 +03:00
Roman Telezhynskyi
9389cb546c Refactoring. Redesign a container reversing method. 2020-07-13 16:28:59 +03:00
Roman Telezhynskyi
5618df2b66 Fix build. Add missing headers. Closes #54 2020-07-10 20:15:46 +03:00
Roman Telezhynskyi
a887fcb3df New warning. Error calculating segment of curve. 2020-07-04 15:13:45 +03:00
Roman Telezhynskyi
c263060fd0 Invalid name of arc in modeling mode. Closes smart-pattern/valentina#40. 2020-06-02 18:11:52 +03:00
Roman Telezhynskyi
31db32b2b1 Fix generating a seam allowance. Closes smart-pattern/valentina#36. 2020-06-02 13:49:44 +03:00
Roman Telezhynskyi
475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi
716192e520 Refactoring. Hide compatibility layer behind a function.
constLast(), move(), append().

--HG--
branch : develop
2020-01-17 15:14:00 +02:00
Roman Telezhynskyi
98a88ed529 Refactoring. Hide compatibility layer behind a function.
QLineF::intersects.

--HG--
branch : develop
2020-01-16 17:34:08 +02:00
Roman Telezhynskyi
74218e82bc Try another way to fix build.
--HG--
branch : develop
2020-01-12 13:25:35 +02:00
Roman Telezhynskyi
c81faf3537 Fix regressions. ref #989
(grafted from 1bbf6a73a6e3bf5fd9dc2b962bd1428f391da68b)

--HG--
branch : develop
2020-01-11 14:51:25 +02:00
Roman Telezhynskyi
680e66c4cd Fixed issue #989. Elliptical arc tool not behaving correctly.
(grafted from 09f4c4e0d4a44df54dd7d3267b7c7922a2c150aa)

--HG--
branch : develop
2020-01-10 13:44:27 +02:00
Roman Telezhynskyi
5658e0b0d5 Fix copy paste error.
--HG--
branch : develop
2020-01-07 14:21:47 +02:00
Roman Telezhynskyi
cf1e383d7b Don't use 'char' as a type of enum class.
QDataStream doesn't support serialization for this type.

--HG--
branch : develop
2020-01-07 12:54:01 +02:00
Roman Telezhynskyi
5177057be1 Since Qt 5.14 enumerations can be serialized through QDataStream without the
need of manually defining streaming operators. Enum classes are
serialized using the declared size.

--HG--
branch : develop
2020-01-07 09:45:26 +02:00
Roman Telezhynskyi
d74225e63e QLineF::IntersectType QLineF::intersect(const QLineF&, QPointF*) const' is
deprecated: Use intersects() instead.
(grafted from b8646bf40865848ad48eae89cae8419483d56f6b)

--HG--
branch : develop
2020-01-06 18:34:35 +02:00
Roman Telezhynskyi
84001dac61 Refactoring. Added move constructor.
--HG--
branch : develop
2019-12-30 17:13:18 +02:00
Roman Telezhynskyi
74bb3e4369 Fix move sematic.
(grafted from fb8691f522f3515d7c3014a0ea90b60b352a444e)

--HG--
branch : develop
2019-12-30 13:00:57 +02:00
Roman Telezhynskyi
5dc735b5f4 New test case "Loop for start point on line".
--HG--
branch : develop
2019-08-29 15:14:17 +03:00
Roman Telezhynskyi
df3684d2a1 VPiece to JSON.
Strict version to support Unit tests.

--HG--
branch : develop
2019-08-29 15:01:27 +03:00
Roman Telezhynskyi
a667fdce1c New function IsLineSegmentOnLineSegment().
Helps to find if two segments are on same line have real intersection.

--HG--
branch : develop
2019-08-06 16:37:55 +03:00
Roman Telezhynskyi
95b9c3ed19 New function VFuzzyOnAxis.
--HG--
branch : develop
2019-07-21 15:22:09 +03:00