Roman Telezhynskyi
c137c46e2d
New test cover a rollback case.
...
--HG--
branch : develop
2019-09-02 08:43:02 +03:00
Roman Telezhynskyi
6233ed0daa
Bug fixes for seam allowance angle types.
...
--HG--
branch : develop
2019-09-01 13:01:10 +03:00
Roman Telezhynskyi
27a08641fa
Refactoring. Move class VSAPoint to separate file.
...
--HG--
branch : develop
2019-09-01 12:58:54 +03:00
Roman Telezhynskyi
d12070b146
Fix bug with angle by intersection.
...
Was used wrong point bigLine2.p2() instead of bigLine2.p1().
--HG--
branch : develop
2019-08-31 15:30:07 +03:00
Roman Telezhynskyi
1cede87cc6
Fix function IsOutsidePoint.
...
Not enough just to compare direction. We also must be sure a distance to tested point is bigger than a segment.
--HG--
branch : develop
2019-08-31 09:32:43 +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
8332d4b15b
Serialization a point to json. ref #874 .
...
--HG--
branch : develop
2019-08-07 17:53:18 +03:00
Roman Telezhynskyi
bcea1b69fa
Breaking change. All intersections are now treaded as a loop.
...
--HG--
branch : develop
2019-08-07 12:25:22 +03:00
Roman Telezhynskyi
c2d194c23f
Clazy warning.
...
--HG--
branch : develop
2019-08-06 16:39:14 +03:00
Roman Telezhynskyi
5c84c80039
Refactoring. Reduce modules dependency.
...
--HG--
branch : develop
2019-07-22 17:06:30 +03:00
Roman Telezhynskyi
e37afae597
Allow controlling priority selecting pieces in layout.
...
--HG--
branch : develop
2019-07-19 10:45:57 +03:00
Roman Telezhynskyi
4ab84bce38
Make full serialization/deserialization for class VLayoutPiece.
...
--HG--
branch : develop
2019-07-01 12:26:08 +03:00
Roman Telezhynskyi
a97c90378d
Fix bug in VPiece::IsBufferAllowanceValid.
...
--HG--
branch : develop
2019-06-18 13:48:32 +03:00
Roman Telezhynskyi
12871f0708
Fix issue with artificial loop.
...
--HG--
branch : develop
2019-06-18 13:45:40 +03:00
Roman Telezhynskyi
3b51ccb31d
Refactoring. Move drawing passmarks to separate class.
...
--HG--
branch : develop
2019-05-08 15:19:03 +03:00
Roman Telezhynskyi
52dfb912ee
Resolved issue #965 . Control passmark length with formula.
...
--HG--
branch : develop
2019-04-17 13:02:22 +03:00
Roman Telezhynskyi
a479f3cb40
Improve checking allowance validity.
...
--HG--
branch : develop
2019-02-27 20:33:59 +02:00
Roman Telezhynskyi
77ae13ae18
New pedantic check. Check if allowance path is valid.
...
This check validate seam allowance path and layout allowance path.
--HG--
branch : develop
2019-02-23 18:43:06 +02:00
Roman Telezhynskyi
81bde9bb95
Fix issue with loop clearing.
...
--HG--
branch : develop
2019-02-20 09:59:59 +02:00
Roman Telezhynskyi
883d2c04f6
Resolved issue #937 . Wrong symmetrical seam corners on pieces.
...
(grafted from 8c1b09cc7bc40d6d40e39d931d3e040b0323bd87)
--HG--
branch : develop
2019-02-13 16:32:38 +02:00
Roman Telezhynskyi
dc4fca7a76
Forgot to comment test data dump functions.
...
(grafted from 3f7b9889eedf7ae49f804cf6ace7cebec122fbec)
--HG--
branch : develop
2019-02-12 15:37:38 +02:00
Roman Telezhynskyi
63e402ba8a
Resolved issue #937 . Wrong symmetrical seam corners on pieces.
...
(grafted from f15fbf536959418dcd9a2f2caf7c0267ae46eaee)
--HG--
branch : develop
2019-02-12 14:51:21 +02:00
Roman Telezhynskyi
84c96c35dd
Refactoring layout piece.
...
--HG--
branch : develop
2019-01-28 20:35:10 +02:00
Roman Telezhynskyi
6efc6f11c8
Fixed issue #924 . Valentina produces wrong passmark for rollback case.
...
(grafted from 5ff3a91f41efebed4963d3377cb2f194983cc7f7)
--HG--
branch : develop
2019-01-09 17:46:02 +02:00
Roman Telezhynskyi
60c4e2880f
Fixed issue #923 . Valentina produces wrong seam allowance for rollback case.
...
(grafted from 111ae73392a265baecbb3031cf3963682e0bea77)
--HG--
branch : develop
2019-01-07 18:20:36 +02:00
Roman Telezhynskyi
8c676948ff
Fixing regression. ref #915 .
...
(grafted from 4a1f66408bca3eab9df83d5b9ef46ac9c3cc6278)
--HG--
branch : develop
2018-12-28 21:55:48 +02:00
Roman Telezhynskyi
54418925c6
Fixed issue #915 . Valentina produces wrong seam allowance for acute angle.
...
(grafted from 41a93a0a57ac2dcc731563b7eb759bfa2bc2961e)
--HG--
branch : develop
2018-12-23 18:41:51 +02:00
Roman Telezhynskyi
f44484a364
Optimization for method PointBezier_r().
...
--HG--
branch : develop
2018-11-16 17:44:54 +02:00
Roman Telezhynskyi
1d0b5790ae
Be more pedantic. Show warning for case where Valentina cannot build a seam
...
allowance.
--HG--
branch : develop
2018-10-22 14:43:06 +03:00
Roman Telezhynskyi
2211e2b7ee
Fixed issues with seam allowance.
...
More cases.
(grafted from 7324a77cb8851a215d26269a8db7106a653915fd)
--HG--
branch : develop
2018-10-19 16:54:06 +03:00
Roman Telezhynskyi
81d2eb513a
Fixed issues with seam allowance.
...
(grafted from 79a6fe52de80fc8707e24574eff1ec75eb1cd424)
--HG--
branch : develop
2018-10-17 18:12:39 +03:00
Roman Telezhynskyi
c47193540b
Improve precision of dump functions. It should be close to what debugger gives.
...
(grafted from d94873822ea085f90db8ad6b857dd041cd9654c6)
--HG--
branch : develop
2018-10-17 18:11:32 +03:00
Roman Telezhynskyi
515df843d3
New function VFuzzyComparePoints to compare two points.
...
--HG--
branch : release
2018-09-27 14:52:21 +03:00
Roman Telezhynskyi
9f919ffe8a
Improve seam allowance. Case with custom seam allowance.
...
--HG--
branch : release
2018-09-23 15:51:28 +03:00
Roman Telezhynskyi
252fa3a0de
Suppress warning Wunused-function.
...
Try number 2.
--HG--
branch : release
2018-09-19 20:06:47 +03:00
Roman Telezhynskyi
778d4bebc1
Disable warning Wunused-function.
...
--HG--
branch : release
2018-09-19 18:53:32 +03:00
Roman Telezhynskyi
a4ec72b3bd
Help function to speed up creating tests.
...
--HG--
branch : release
2018-09-19 15:16:29 +03:00
Roman Telezhynskyi
ec79f50e65
Fix float point accuracy issue. ref #883 .
...
--HG--
branch : release
2018-09-19 12:24:24 +03:00
Roman Telezhynskyi
49506c0bf2
Refactring. MaxLocalSA can be part of VSAPoint class.
...
--HG--
branch : release
2018-09-13 17:31:14 +03:00
Roman Telezhynskyi
f57c98b7c3
Refactoring. Move private static methods.
...
--HG--
branch : release
2018-09-13 17:16:40 +03:00
Roman Telezhynskyi
3fe7709c40
Fixed issue #883 . Fix right angle seam allowance angle type.
...
--HG--
branch : release
2018-09-13 16:46:04 +03:00
Roman Telezhynskyi
05a5101115
Fixed issue #808 . Fix broken seam allowance angle type.
...
--HG--
branch : release
2018-09-01 18:56:43 +03:00
Roman Telezhynskyi
ef6dd49202
Resolved issue #861 . Valentina hangs if pattern has too many loops.
...
--HG--
branch : develop
2018-07-12 20:21:24 +03:00
Roman Telezhynskyi
6b6a2632a9
Refactoring. Replacing all Q_FOREACH/foreach loops with the c++ range-based
...
loops.
--HG--
branch : develop
2018-04-03 11:15:58 +03:00
Roman Telezhynskyi
88844ec33f
Resolved issue #783 . Flipping control.
...
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi
7c0d17a7e3
Cppcheck warning.
...
--HG--
branch : develop
2017-10-25 11:56:24 +03:00
Roman Telezhynskyi
ca79c7ff93
Added place label.
...
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi
61172d46c4
Fix typo in headers.
...
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi
cc2b991e78
Performance optimization.
...
--HG--
branch : develop
2017-08-05 08:45:37 +03:00
Roman Telezhynskyi
b166ff83b2
Pieces should be positioned as on Detail mode. ref #660 .
...
--HG--
branch : develop
2017-07-09 22:27:54 +03:00
Roman Telezhynskyi
56dd8ef3b6
Resolved issue #684 . Proposal: Add option to only show outer edges on detail.
...
--HG--
branch : develop
2017-05-16 15:16:50 +03:00
Roman Telezhynskyi
32e3a6340c
Fixed issue #671 . Weird behaviour of the passmark.
...
--HG--
branch : release
2017-04-27 16:37:10 +03:00
Roman Telezhynskyi
585213412c
Fix case with custom piece path as part of main path. ref #668 .
...
--HG--
branch : release
2017-04-25 20:48:32 +03:00
Roman Telezhynskyi
7840bf04eb
Resolved issue #668 . Passmarks on Hems.
...
--HG--
branch : release
2017-04-25 11:42:08 +03:00
Roman Telezhynskyi
ef9f9c6af4
Fixed issue #665 . Passmark not correct.
...
--HG--
branch : release
2017-04-18 21:39:13 +03:00
Roman Telezhynskyi
c0f36dffbe
Resolved issue #652 . Show passmarks for builtin seam allowance.
...
--HG--
branch : develop
2017-04-05 13:22:33 +03:00
Roman Telezhynskyi
4907ce584f
Fixed issue #646 . Wrong seam allowance if node is on line.
...
--HG--
branch : feature
2017-03-30 11:06:47 +03:00
Roman Telezhynskyi
67d69781f3
Remove the code after "return".
...
--HG--
branch : develop
2017-02-22 19:27:53 +02:00
Roman Telezhynskyi
33cdac0db1
Fixed issue #627 . Seam allowance artifacts
...
--HG--
branch : develop
2017-02-12 17:29:54 +02:00
Roman Telezhynskyi
12162e49e8
Port changes from develop branch.
...
--HG--
branch : feature
2017-01-11 14:53:16 +02:00
Roman Telezhynskyi
ff87b32ae9
Port changes for issue #603 .
...
--HG--
branch : feature
2016-12-23 14:00:50 +02:00
Roman Telezhynskyi
854e54ebc0
Handle seam allowance angles.
...
--HG--
branch : feature
2016-11-19 18:27:06 +02:00
Roman Telezhynskyi
7aa7ba8e57
Handle firt default angle type.
...
--HG--
branch : feature
2016-11-19 15:29:54 +02:00
Roman Telezhynskyi
a284ac024e
VSAPoint class should keep data in pixels. Make testing a lot easier.
...
--HG--
branch : feature
2016-11-17 14:08:23 +02:00
Roman Telezhynskyi
afb267c05c
Added several comments.
...
--HG--
branch : feature
2016-11-17 11:37:10 +02:00
Roman Telezhynskyi
4237456228
Fix seam allowance bug.
...
--HG--
branch : feature
2016-11-17 11:00:04 +02:00
Roman Telezhynskyi
cf5afffd60
Fix seam allowance bug. Speacial "dart" case.
...
--HG--
branch : feature
2016-11-16 11:16:16 +02:00
Roman Telezhynskyi
4de969daa2
Much better way to compare bisectors.
...
--HG--
branch : feature
2016-11-13 21:13:55 +02:00
Roman Telezhynskyi
1a9af78bef
Fix seam allowance bug.
...
Fix reverse dart case.
--HG--
branch : feature
2016-11-13 11:23:04 +02:00
Roman Telezhynskyi
3544e5611e
Fix seam allowance bug.
...
Because of local seam allowance width bisector angles now can be not equal.
Enough will be to check if they have a same direction.
--HG--
branch : feature
2016-11-12 16:49:21 +02:00
Roman Telezhynskyi
dd8067e47f
Convert local seam allowance to pixels.
...
--HG--
branch : feature
2016-11-11 20:15:06 +02:00
Roman Telezhynskyi
2fc2491484
Set local seam allowance when building an equdistant.
...
--HG--
branch : feature
2016-11-11 17:58:13 +02:00
Roman Telezhynskyi
faad0419cf
Using class VSAPoint for drawing base seam allowance.
...
--HG--
branch : feature
2016-11-11 17:55:02 +02:00
Roman Telezhynskyi
703c2d589b
Refactoring, prepare to use VSAPoint class.
...
--HG--
branch : feature
2016-11-11 16:26:00 +02:00
Roman Telezhynskyi
f992bb7bbd
Returned visualization of base seam allowance.
...
--HG--
branch : feature
2016-11-10 14:06:09 +02:00
Roman Telezhynskyi
a5fc19d7ec
Returned storing and reading base seam allowance values: width and
...
enable/disable.
--HG--
branch : feature
2016-11-10 12:53:02 +02:00
Roman Telezhynskyi
df20415e9e
Returned "Forbid flipping" feature.
...
--HG--
branch : feature
2016-11-10 11:56:40 +02:00
Roman Telezhynskyi
39d2ea41ac
Returned undocommand "Toggle piece in layout".
...
--HG--
branch : feature
2016-11-09 15:53:22 +02:00
Roman Telezhynskyi
22f9fb1e26
Added class VAbstractPiece.
...
--HG--
branch : feature
2016-11-03 20:15:53 +02:00