Commit Graph

1375 Commits

Author SHA1 Message Date
Roman Telezhynskyi
1a73a1f870 Set clear button for field Name.
--HG--
branch : feature
2016-11-23 18:43:31 +02:00
Roman Telezhynskyi
524e98d372 Get active pattern piece list of pieces.
--HG--
branch : feature
2016-11-23 18:41:01 +02:00
Roman Telezhynskyi
965e588a9d New piece attribute "united".
--HG--
branch : feature
2016-11-23 18:40:27 +02:00
Roman Telezhynskyi
826411d595 Make method GetActivDrawElement protected.
--HG--
branch : feature
2016-11-23 18:38:08 +02:00
Roman Telezhynskyi
34e5fd2ceb Check size of pieces list in "Create mode".
--HG--
branch : feature
2016-11-23 18:36:37 +02:00
Roman Telezhynskyi
6793bb69f1 Some updates for dialog.
--HG--
branch : feature
2016-11-23 14:50:30 +02:00
Roman Telezhynskyi
bb39410296 Added visualization creating a path.
--HG--
branch : feature
2016-11-23 13:57:12 +02:00
Roman Telezhynskyi
5d5e677e2c Added class VPiecePath.
--HG--
branch : feature
2016-11-23 12:54:46 +02:00
Roman Telezhynskyi
6b89f43e87 Tool button connected to tool dialog.
--HG--
branch : feature
2016-11-22 14:33:08 +02:00
Roman Telezhynskyi
f741e1387c Added DialogPiecePath class. Not finished.
--HG--
branch : feature
2016-11-22 13:04:34 +02:00
Roman Telezhynskyi
f60c710ee1 Changes angle type allowed only for point nodes.
--HG--
branch : feature
2016-11-19 18:52:47 +02:00
Roman Telezhynskyi
cc3d97a015 Change order the angle "by first edge symmetry".
--HG--
branch : feature
2016-11-19 18:28:07 +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
c614a2783e Merge with develop
--HG--
branch : feature
2016-11-19 13:44:22 +02:00
Roman Telezhynskyi
c21aedc541 A seam allowance node angle. Read, write and set in the dialog. Not handled in
seam allowance itself.

--HG--
branch : feature
2016-11-19 13:44:12 +02:00
Roman Telezhynskyi
6b519092f6 VObjPaintDevice new enum PdmDevicePixelRatioScaled.
--HG--
branch : develop
2016-11-19 10:13:51 +02:00
Roman Telezhynskyi
af1061635a Qt 5.6 new constant for SVG.
--HG--
branch : develop
2016-11-19 10:07:02 +02:00
Roman Telezhynskyi
d38f318569 Cppcheck warnings.
--HG--
branch : feature
2016-11-18 13:24:19 +02:00
Roman Telezhynskyi
726d8614dc Unit tests for testing seam allowance.
--HG--
branch : feature
2016-11-18 12:58:47 +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
98dad0fb72 Fixed bug the Detail remains in Group list after the detail is deleted in
Details mode.

--HG--
branch : feature
2016-11-16 09:15:16 +02:00
Roman Telezhynskyi
3d835a1a2a Merge with develop
--HG--
branch : feature
2016-11-14 20:35:22 +02:00
Roman Telezhynskyi
0cd7a023a2 Trying to understand why tests failing on bitbucket pipelines.
--HG--
branch : develop
2016-11-14 20:34:26 +02:00
Roman Telezhynskyi
fd02a71c14 Fix building with Qt 5.1.
--HG--
branch : develop
2016-11-14 19:41:12 +02:00
Roman Telezhynskyi
4de969daa2 Much better way to compare bisectors.
--HG--
branch : feature
2016-11-13 21:13:55 +02:00
Roman Telezhynskyi
ae7405d44f Method VPiece::CurveSeamAllowanceSegment. When start and end of a curve segment
has standard seam allowance setup only first and last points.

--HG--
branch : feature
2016-11-13 20:13:05 +02:00
Roman Telezhynskyi
314ae2eb4c Method VAbstractCurve::IsPointOnCurve use QPoint instead QPointF for more
accurate result.

--HG--
branch : feature
2016-11-13 20:11:00 +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
585bfec12f Fix bug Tool seam allowance. The tool returned to previous position after
selecting Apply or Ok buttons in the tool's dialog.

--HG--
branch : feature
2016-11-12 15:41:15 +02:00
Roman Telezhynskyi
878fdb6156 Disable Group Nodes if the main list doesn't contain points.
--HG--
branch : feature
2016-11-12 14:05:47 +02:00
Roman Telezhynskyi
caba2db95b Make sure that a point is really lies on curve.
--HG--
branch : feature
2016-11-12 14:00:07 +02:00
Roman Telezhynskyi
e1d559e1d3 Use information about local seam allowance when generating seam allowance in
VPiece class.

--HG--
branch : feature
2016-11-12 13:31:37 +02:00
Roman Telezhynskyi
d0b0f55d19 Read and write local seam allowance width (before and after).
--HG--
branch : feature
2016-11-12 13:18:16 +02:00
Roman Telezhynskyi
6706f3b39d Use QDoubleSpinBox setSuffix() method instead independent label.
--HG--
branch : feature
2016-11-12 12:45:53 +02:00
Roman Telezhynskyi
c5536ab38a Control seam allowance before and after values in a dialog.
--HG--
branch : feature
2016-11-12 12:41:04 +02:00
Roman Telezhynskyi
7490e3f8d6 Calc local seam allowance for curve segment.
--HG--
branch : feature
2016-11-11 20:17:39 +02:00
Roman Telezhynskyi
ebd58376d9 Use method VAbstractCurve::PathLength to get length.
--HG--
branch : feature
2016-11-11 20:15:44 +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
b84b9cf387 New class VSAPoint;
--HG--
branch : feature
2016-11-11 12:54:17 +02:00
Roman Telezhynskyi
49208a640d Fix few bugs with apllying changes for seam allowance.
--HG--
branch : feature
2016-11-10 14:15:43 +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