Commit Graph

1117 Commits

Author SHA1 Message Date
dismine
62aa898742 Refactoring. Prepare for support multithreading.
--HG--
branch : feature
2015-01-21 20:56:59 +02:00
dismine
8655460d6e Refactoring.
--HG--
branch : feature
2015-01-21 16:33:06 +02:00
dismine
dac95d00fe Combine edges not enough for all cases. Was added checking position after
rotation around point.

--HG--
branch : feature
2015-01-20 22:58:30 +02:00
dismine
7970678575 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-20 14:50:24 +02:00
dismine
2355e435a5 Fix for method Crossing.
--HG--
branch : feature
2015-01-19 20:07:32 +02:00
dismine
366519781b Fix for method InsideContour.
--HG--
branch : feature
2015-01-19 20:01:42 +02:00
dismine
120f4cf565 Speed optimization.
--HG--
branch : feature
2015-01-19 16:13:26 +02:00
dismine
3c76f32bed Alwayse first check if workpiece inside of paper sheet rect.
--HG--
branch : feature
2015-01-19 12:36:27 +02:00
dismine
dc2620e0df Need additional point on each edge for check if workpiece inside of global
contour.

--HG--
branch : feature
2015-01-19 12:14:54 +02:00
dismine
2937a9e594 Wrong rule for check true intersection.
--HG--
branch : feature
2015-01-18 22:21:20 +02:00
dismine
c191059ddd Changed Point-In-Polygon Algorithm. Additional field for saving mirror state.
--HG--
branch : feature
2015-01-18 20:56:01 +02:00
dismine
c044b334d7 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-17 22:51:17 +02:00
dismine
696aaa413b Fixes for method Mirror and debug system.
--HG--
branch : feature
2015-01-17 19:23:54 +02:00
dismine
1d1ae1acb4 Fixed creation global contour.
--HG--
branch : feature
2015-01-17 16:00:46 +02:00
dismine
56aa09a639 Don't save last options for creation a layout.
--HG--
branch : feature
2015-01-17 15:14:28 +02:00
dismine
28b2f97aaa Fixed getting seam allowence points.
--HG--
branch : feature
2015-01-16 21:35:50 +02:00
dismine
b04d1f92e7 Forgot save paper after creation.
--HG--
branch : feature
2015-01-16 21:34:37 +02:00
dismine
f849d16018 Choose first best result.
--HG--
branch : feature
2015-01-16 21:33:18 +02:00
dismine
f8d210e720 Better check more frequently if user want cancel creation layout.
--HG--
branch : feature
2015-01-16 16:45:56 +02:00
dismine
4fb5a048ca Ignore intersection in vertices of edges.
--HG--
branch : feature
2015-01-16 16:22:42 +02:00
dismine
040b9e607b Method Mirror now should work.
--HG--
branch : feature
2015-01-16 15:20:15 +02:00
dismine
ab2b894d69 Better round points if we want avoid errors. Correct way working with QMatrix in
methods translate and rotate.

--HG--
branch : feature
2015-01-16 14:54:37 +02:00
dismine
3d1100bc3d Send arranged count of workpieces.
--HG--
branch : feature
2015-01-16 14:53:14 +02:00
dismine
ce67acc6ff Dialog must do not allow values smaller than 1 pixel.
--HG--
branch : feature
2015-01-15 19:31:42 +02:00
dismine
00e42b4368 Fixed broken seam allowence.
--HG--
branch : feature
2015-01-15 16:24:37 +02:00
dismine
79325fe91f Changes for table widows. All prepare for begin testing.
--HG--
branch : feature
2015-01-15 15:10:05 +02:00
dismine
f6380cf739 Dialog for showing progress of creation.
--HG--
branch : feature
2015-01-14 19:52:16 +02:00
dismine
a121845407 Dialog layout settings.
--HG--
branch : feature
2015-01-14 16:14:51 +02:00
dismine
3ed87757c4 Return QGraphicsItems with sheet and all details for show on scene.
--HG--
branch : feature
2015-01-13 12:38:51 +02:00
dismine
166f2fbcdb Save each frame to png file for debuging creation layout.
--HG--
branch : feature
2015-01-12 22:35:32 +02:00
dismine
789dcea6bc Standard way arrange first detail on paper not always allow find position. For
such cases best way is rotate detail around vertex.

--HG--
branch : feature
2015-01-12 17:59:15 +02:00
dismine
8dec59ef00 Also check shift for each edge.
--HG--
branch : feature
2015-01-12 17:23:25 +02:00
dismine
98d5dde2e1 Class that drive all process, also speak with outside world.
--HG--
branch : feature
2015-01-12 14:12:15 +02:00
dismine
b53d32225a Class that handle choose next detail.
--HG--
branch : feature
2015-01-11 15:11:56 +02:00
dismine
007bc1466f Layout paper. Main algorithm.
--HG--
branch : feature
2015-01-10 15:47:46 +02:00
dismine
9effd8af02 Layout detail.
--HG--
branch : feature
2015-01-07 18:54:43 +02:00
dismine
0b80c2b9f8 We alwayse need information about “the current parent of the working directory”.
--HG--
branch : develop
2015-01-04 18:11:00 +02:00
dismine
06e945d8a3 Detail must return contour points and seam allowence points yourself.
--HG--
branch : feature
2015-01-03 14:22:55 +02:00
dismine
4ba488d0c0 VAbstractDetail parent class for VDetail.
--HG--
branch : feature
2015-01-02 19:02:07 +02:00
dismine
112dbd7f4e Class for abstract detail.
--HG--
branch : feature
2015-01-02 18:32:26 +02:00
dismine
67c93e2b5b Initial commit for class VLayoutDetail.
--HG--
branch : feature
2015-01-02 16:14:28 +02:00
dismine
44372c7e6b Initial commit for static library VLayout.
--HG--
branch : feature
2015-01-02 15:53:36 +02:00
dismine
7d6f22d01b Better use method here.
--HG--
branch : develop
2015-01-02 13:13:14 +02:00
dismine
4bb5930cad Default value for seam allowence is 1 cm. But pattern have different units, so
just set 1 in dialog not enough.

--HG--
branch : develop
2015-01-02 13:08:24 +02:00
dismine
1a59396196 Method CheckLoops return wrong list of points if points less then 4.
--HG--
branch : develop
2015-01-02 13:00:20 +02:00
dismine
d59bfb8a56 Url to user manual for unstable builds.
--HG--
branch : develop
2015-01-01 14:00:17 +02:00
dismine
eb2e3ea799 By default on Windows font point size 8 points we need 11 like on Linux.
--HG--
branch : develop
2014-12-31 16:54:11 +02:00
dismine
6221833f45 Version 0.2.9.
--HG--
branch : develop
2014-12-31 15:55:41 +02:00
dismine
db3b35af46 Url to user manual for stable release.
--HG--
branch : develop
2014-12-31 15:48:43 +02:00
dismine
a72e1459e8 Updated translations.
--HG--
branch : develop
2014-12-31 14:28:08 +02:00
dismine
2efc995496 Fixed broken build on Windows.
--HG--
branch : develop
2014-12-31 13:28:55 +02:00
dismine
8bbfacabb4 Since Qt 5.4.0 the source code location is recorded only in debug builds.
We need this information also in release builds. For this need define
QT_MESSAGELOGCONTEXT.

--HG--
branch : develop
2014-12-31 13:25:22 +02:00
dismine
eb17d6b37e Command for taking build revision number now work on Windows.
--HG--
branch : develop
2014-12-30 23:21:59 +02:00
dismine
7da26995c3 Patrick in list of contributors.
--HG--
branch : develop
2014-12-30 21:42:58 +02:00
dismine
08f8fc70e1 Same lenght to point label for draw and detail.
--HG--
branch : develop
2014-12-29 20:19:23 +02:00
dismine
56653c7943 Changes in version policy. Major.Minor.Debug.Distance.
Also now we save build revision number.

--HG--
branch : develop
2014-12-29 18:06:09 +02:00
dismine
3febdd31fb Check if log file empty.
--HG--
branch : develop
2014-12-27 21:12:45 +02:00
dismine
4e6b5a8f24 Return support for pattern format version 0.1.0.
--HG--
branch : develop
2014-12-27 13:15:34 +02:00
dismine
541d3d2eac Fixed issue #214.
--HG--
branch : develop
2014-12-26 15:56:07 +02:00
dismine
64f0d13449 Fixed issue #213.
--HG--
branch : develop
2014-12-26 13:17:11 +02:00
dismine
8563234dae More log information.
--HG--
branch : develop
2014-12-25 21:29:04 +02:00
dismine
13f87b66f4 More log information.
--HG--
branch : develop
2014-12-25 21:04:10 +02:00
dismine
ccd06caef9 Fix for line to label.
--HG--
branch : develop
2014-12-25 19:19:31 +02:00
dismine
141ec30b8c Make visiable amied axis.
--HG--
branch : develop
2014-12-25 18:22:32 +02:00
dismine
e431388be8 Don't scale points.
--HG--
branch : develop
2014-12-25 18:21:56 +02:00
dismine
a49606a0de Fixed issue #211.
--HG--
branch : develop
2014-12-25 18:21:01 +02:00
dismine
163200a8c5 Better don't be silent.
--HG--
branch : develop
2014-12-25 17:50:46 +02:00
dismine
100857ab21 Don't use scaling factor for circle.
--HG--
branch : develop
2014-12-25 16:06:50 +02:00
dismine
44b3064290 Undo moving label.
--HG--
branch : develop
2014-12-25 13:33:27 +02:00
dismine
c978a8c090 Set undo stack clean after each document save.
--HG--
branch : develop
2014-12-25 12:28:42 +02:00
dismine
45aebc627e Delete previous file name from restore list after save as action.
--HG--
branch : develop
2014-12-24 16:39:44 +02:00
dismine
a1bb140bb5 Hide objects before they need.
--HG--
branch : develop
2014-12-24 15:13:13 +02:00
dismine
4fe796f508 Crash. Forgot check event type.
--HG--
branch : develop
2014-12-24 14:11:47 +02:00
dismine
586b541aec Lite parse each time was changed active pattern piece.
--HG--
branch : develop
2014-12-24 14:08:08 +02:00
dismine
955b0148e9 Disable SCASSERT function if debugging is not set.
--HG--
branch : develop
2014-12-24 11:54:56 +02:00
dismine
2beb229f9c Some systems use special name for lrelease. For example opensuse 13.2 has
lrelease-qt5.

--HG--
branch : develop
2014-12-23 14:00:29 +02:00
dismine
a706f2fb58 Set to prefix (/usr) if library prefix (/usr/lib) is empty and not just to
default prefix.

--HG--
branch : develop
2014-12-23 00:13:25 +02:00
dismine
9bfe1f3cd9 Minimal Qt version 5.2.0.
--HG--
branch : develop
2014-12-22 21:46:36 +02:00
dismine
42275e32b0 First try create rpm package.
--HG--
branch : develop
2014-12-22 19:06:24 +02:00
dismine
5d12cf5e99 Coverity Scan warnings.
--HG--
branch : develop
2014-12-21 22:33:31 +02:00
dismine
d8dfa651ff Cppcheck warnings.
--HG--
branch : develop
2014-12-21 13:35:12 +02:00
dismine
bd6cf95340 GCC warnings.
--HG--
branch : develop
2014-12-21 12:56:31 +02:00
dismine
f62b78bd9b Compile debug build with gcc's Address Sanitizer.
--HG--
branch : develop
2014-12-20 20:18:00 +02:00
dismine
a94d7b4066 Fixed issue #200.
--HG--
branch : develop
2014-12-19 09:19:26 +02:00
dismine
dfd1b35562 Windows build.
--HG--
branch : develop
2014-12-18 13:34:32 +02:00
dismine
934ccce310 Added translation for library vobj.
--HG--
branch : develop
2014-12-18 12:52:39 +02:00
dismine
0e6188d847 Application crash.
--HG--
branch : feature
2014-12-17 14:57:17 +02:00
dismine
d6c78ca1a1 All points in detail should go clockwise. This mean in some cases need reverse
curves that go anticlockwise. Old method reversing curves doesn't work
correct in all cases. I don't see now way automatically handle this. That's
why now user can choose himself need reverse points for this curve or not.

Also this mean increment in format version to 0.1.2.

--HG--
branch : feature
2014-12-17 14:56:14 +02:00
dismine
fa9a1d7807 Cutting too long an acute angle.
--HG--
branch : feature
2014-12-17 12:02:45 +02:00
dismine
8fac8f87ae Fixed disappearing curve in detail if path counterclockwise.
--HG--
branch : feature
2014-12-16 15:33:00 +02:00
dismine
ad96323e29 Preparation for new changes in pattern format.
--HG--
branch : feature
2014-12-16 09:42:24 +02:00
dismine
9621904b97 By default seam allowence for the detail is 1 pattern's units.
--HG--
branch : feature
2014-12-15 16:28:03 +02:00
dismine
aed090aed3 New better way select objects for creation a detail.
Now the detail cutting points and use only cutted part for creation paths.

--HG--
branch : feature
2014-12-15 16:25:40 +02:00
dismine
30d1fad26f Static library for export a layout to Wavefront OBJ file.
--HG--
branch : develop
2014-12-12 16:08:31 +02:00
dismine
0efbe1745c Fixed issue #198.
--HG--
branch : develop
2014-12-12 14:35:54 +02:00
dismine
8c2a06e63f If not get all list of details user will not show all details for creation a
layout. For this change mode from Draw to Details and than prepare details.

--HG--
branch : develop
2014-12-12 12:30:02 +02:00
dismine
3293916d50 Don't open new window if user canceled opening file.
--HG--
branch : develop
2014-12-12 11:56:26 +02:00
dismine
dd0d3faae6 Rules for creation version.
--HG--
branch : develop
2014-12-12 11:47:12 +02:00
dismine
3ebb56a40c Add conversion when openning pattern.
--HG--
branch : feature
2014-12-11 22:56:59 +02:00
dismine
1d1b3e3670 Method Convert.
--HG--
branch : feature
2014-12-11 22:54:33 +02:00