Commit Graph

245 Commits

Author SHA1 Message Date
dismine
4a9e69d32f Saving the layout paper sheets.
--HG--
branch : feature
2015-01-23 12:07:58 +02:00
dismine
c84caa349d Clear layout paper.
--HG--
branch : feature
2015-01-22 16:23:23 +02:00
dismine
2388d8ef29 Avoid window freaze.
--HG--
branch : feature
2015-01-22 16:13:25 +02:00
dismine
ef73b351ed New options: rotatate and rotation increase.
--HG--
branch : feature
2015-01-22 16:11:50 +02:00
dismine
dd098506dd Move rotation to separate method. Preparetion for working with new setting.
--HG--
branch : feature
2015-01-22 13:47:20 +02:00
dismine
0d1725fc11 Allow user more quick stop generation.
--HG--
branch : feature
2015-01-22 13:39:04 +02:00
dismine
d538f2af73 Give program time update GUI.
--HG--
branch : feature
2015-01-22 13:35:12 +02:00
dismine
7a9447f7af Don't set information for debug if no need.
--HG--
branch : feature
2015-01-22 13:29:40 +02:00
dismine
2aa9de5f94 For rotation check only two positions 180 and 0 degree.
--HG--
branch : feature
2015-01-22 13:26:09 +02:00
dismine
9210d31c25 First realization multithreading.
--HG--
branch : feature
2015-01-21 23:49:38 +02:00
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
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
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
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
a72e1459e8 Updated translations.
--HG--
branch : develop
2014-12-31 14:28:08 +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
4e6b5a8f24 Return support for pattern format version 0.1.0.
--HG--
branch : develop
2014-12-27 13:15:34 +02:00
dismine
955b0148e9 Disable SCASSERT function if debugging is not set.
--HG--
branch : develop
2014-12-24 11:54:56 +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
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
dfd1b35562 Windows build.
--HG--
branch : develop
2014-12-18 13:34:32 +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
ad96323e29 Preparation for new changes in pattern format.
--HG--
branch : feature
2014-12-16 09:42:24 +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
dd0d3faae6 Rules for creation version.
--HG--
branch : develop
2014-12-12 11:47:12 +02:00
dismine
1d1b3e3670 Method Convert.
--HG--
branch : feature
2014-12-11 22:54:33 +02:00
dismine
1d9fd7109d Validate file by using xsd schema for this version.
--HG--
branch : feature
2014-12-11 22:19:17 +02:00
dismine
941b43b5b5 Path to file version sxd schema.
--HG--
branch : feature
2014-12-11 22:16:03 +02:00
dismine
1c4af06343 Check version number.
--HG--
branch : feature
2014-12-11 21:44:48 +02:00
dismine
fb8849f798 Convert version string to number.
--HG--
branch : feature
2014-12-11 20:40:26 +02:00
dismine
71f070a509 Validation version.
--HG--
branch : feature
2014-12-11 18:14:02 +02:00
dismine
51b89a5497 Get version information.
--HG--
branch : feature
2014-12-11 17:51:24 +02:00
dismine
fb405d5754 Move XSD files to library.
--HG--
branch : feature
2014-12-11 17:12:16 +02:00
dismine
21d1a781fd Converter inherits class VDomDocument.
--HG--
branch : feature
2014-12-10 20:33:20 +02:00
dismine
394d54e9c1 Convertor need throw exceptions.
--HG--
branch : feature
2014-12-10 20:01:33 +02:00
dismine
c97668d3d3 Initial commit for new static library IFC (internal format converter).
--HG--
branch : feature
2014-12-10 19:18:22 +02:00
dismine
2ccb7ca797 First attempt fix issue #197.
--HG--
branch : develop
2014-12-07 13:31:34 +02:00
dismine
daaece92c9 Updated translations. From now one strings for translation also available for
whole project: binary and libraries.

--HG--
branch : develop
2014-12-05 14:00:18 +02:00
dismine
44ce1b4e83 Mark that we made some little changes and added class QmuTranslation.
--HG--
branch : develop
2014-12-04 19:57:22 +02:00
dismine
91bc32b71f Use little trick for translation error strings from math parser.
--HG--
branch : develop
2014-12-04 19:28:47 +02:00
dismine
2aaf530e85 Translation will not work for class that inherits VProperty if class doesn't
containe macross Q_OBJECT.

--HG--
branch : develop
2014-12-04 13:34:48 +02:00
dismine
7e86dcc97f One TS file for whole project.
Main reason make posible translate strings from qmuparser library.

--HG--
branch : develop
2014-12-03 16:11:57 +02:00
dismine
013a8d7cfd Broken make install path for library if prefix doesn't default.
--HG--
branch : develop
2014-11-21 14:01:35 +02:00
dismine
163295f0f5 Broken 'sudo make install' on Linux.
--HG--
branch : develop
2014-11-20 22:13:05 +02:00
dismine
c05480b7c4 Do not hide debug messages in release mode.
--HG--
branch : develop
2014-11-20 14:30:57 +02:00
dismine
1f0521ea30 Catch exceptions on Winows if using Mingw compiler.
--HG--
branch : develop
2014-11-13 14:14:00 +02:00
dismine
e1ff009771 Check if stack is empty like in origin muparser.
--HG--
branch : develop
2014-11-09 16:28:44 +02:00
dismine
ebfe0b4fc3 Comments in qmake scripts. Broken installation on macx.
--HG--
branch : develop
2014-10-27 16:29:31 +02:00
dismine
d2f0fb993b Use postfix .txt for text files, usefull for Windows systems.
--HG--
branch : develop
2014-10-25 14:06:30 +03:00
dismine
2bd82fa340 Refactoring. Do not use QStringLiteral for empty strings.
--HG--
branch : develop
2014-10-24 17:27:41 +03:00
MitSchoko
e9124f4f71 added include to avoid compile error on ubuntu
--HG--
branch : develop
2014-10-23 20:03:42 +02:00
dismine
c717196199 GCC warnings. Fixed bug with string concatenation in MSVC.
--HG--
branch : develop
2014-10-18 13:51:40 +02:00
dismine
a06a162100 Support build with MSVC.
--HG--
branch : develop
2014-10-17 22:26:30 +02:00
dismine
72f66ceca3 Path to Qt headers.
--HG--
branch : develop
2014-10-16 16:55:02 +03:00
dismine
0a7c8b17d4 Correct paths for make install.
--HG--
branch : develop
2014-10-15 20:57:50 +03:00
dismine
7960b6e00e Soft prefix.
--HG--
branch : develop
2014-10-15 19:56:14 +03:00
dismine
a2e839532b Disable compile with debug information on mac.
--HG--
branch : develop
2014-10-06 00:07:20 +03:00
dismine
ee26922f94 Add '-x' to strip when stripping dynamic libraries on OS X.
--HG--
branch : develop
2014-10-05 23:11:00 +03:00
dismine
1f2439ef65 Strip on Mac.
--HG--
branch : develop
2014-10-05 22:43:31 +03:00
dismine
8561b3bc32 Path to target for gobjcopy on Mac.
--HG--
branch : develop
2014-10-05 22:22:41 +03:00
dismine
8e2f8f67eb Fix for build on Mac.
--HG--
branch : develop
2014-10-04 22:23:37 +03:00
dismine
d066c6ed84 Use gobjcopy on mac.
--HG--
branch : develop
2014-10-04 09:55:52 +03:00
dismine
7aa9c0464e Disable precompiled headers for clang in linux.
--HG--
branch : develop
2014-10-04 09:31:34 +03:00