Markus Lampert
0d063d91f1
Fixed path unit test setup for new PathDressup
2018-01-22 19:40:50 +01:00
wmayer
1494addfcb
fix assertPlacement for unit tests
...
do not explicitly check for angles as they can be quite different for even identical quaternions
2018-01-01 17:48:05 +01:00
plgarcia
da79e1ff86
Very minor problem. Test of sheets is impacted by the locale. The decimal separator may be , instead of .
...
An assertEqualLocale function has been added to replace , by . in the values impacted by the locale with before comparison with the expected string containing a . as decimal separator.
Works fine
2017-11-18 22:04:57 +01:00
Markus Lampert
3e9d9ab428
Fixed more python 2/3 unicode issues.
2017-10-22 19:50:30 -07:00
Markus Lampert
97799f0e9e
Fixed all ops to use Op...Depth in order to not mess with the expressions.
2017-10-22 11:24:58 -07:00
Markus Lampert
e2b48fa229
Replaced spreadsheet with dedicated SetupSheet object in order to better support expression setting.
2017-10-22 11:24:58 -07:00
Markus Lampert
1c2bf878af
Reverted back to using the spreadsheet Name for the expression, since it has less issues than using the Label.
2017-10-22 11:24:58 -07:00
Markus Lampert
f4405d51d5
Added template attribute encoding/decoding for setup sheet label changes.
2017-10-22 11:24:58 -07:00
Markus Lampert
59c998c3b9
Fixed dogbone unit test to deal with expression instead of Lock property.
2017-10-22 11:24:58 -07:00
Markus Lampert
3d76f01ea3
Disableing bezier unit tests which seem to break depending on the version of occ/oce being used.
2017-09-28 11:27:47 -07:00
Markus Lampert
8786432651
Added support for bezier curves for isHorizontal/isVertical.
2017-09-28 11:27:47 -07:00
Markus Lampert
059b3a4b42
Adapted dogbone unit test to the new depth values.
2017-09-28 11:27:47 -07:00
Markus Lampert
fd3b2220a5
Enhanced isVertical/isHorizontal functions accepting a Vector, and Edge or a Face now.
2017-09-28 11:27:46 -07:00
Markus Lampert
27290dddfe
Added script to run pylint for errors.
2017-09-26 10:51:17 -03:00
Markus Lampert
939c7d11ec
Fixed and added PathUtil unit tests for dealing with Part.
2017-09-21 11:35:00 -07:00
Markus Lampert
1263aecdaf
Fixed up ToolController template arguments and loading for the switch to JSON.
2017-09-21 10:29:35 +02:00
Markus Lampert
4110fdbb5b
Added template attrs and setFrom support to Tooltable.
2017-09-21 10:29:35 +02:00
Markus Lampert
1d1636d1cf
Creation of Tool from a templateAttrs dictionary.
2017-09-21 10:29:35 +02:00
Markus Lampert
ddec11cf24
Renamed fromTemplate to setFromTemplate.
2017-09-21 10:29:35 +02:00
Markus Lampert
b70086feaa
Added restore from dictionary to Tool and templateAttrs for their retreival.
2017-09-21 10:29:35 +02:00
sliptonic
996adcacd4
Add test for imperial linuxcnc
2017-09-19 11:12:31 +02:00
Markus Lampert
3173461288
Fixed unit tests for proper R calculation for cylindrical stock.
2017-09-08 12:25:58 +02:00
Markus Lampert
69048cb436
Added stock support to templates.
2017-09-08 12:25:58 +02:00
Markus Lampert
b05a6e1945
Fixed unit tests.
2017-09-08 12:25:58 +02:00
Markus Lampert
648468a7d6
More py3 compatibility, same root cause though.
2017-08-24 20:31:57 -07:00
Markus Lampert
c399accb29
Fixed unit test for python3.
2017-08-24 20:31:57 -07:00
Markus Lampert
504e4b7109
Added full unit test to make sure tool chain works correctly.
2017-08-24 20:31:57 -07:00
Markus Lampert
6e1f42606f
Start of dogbone unit tests.
2017-08-24 20:31:57 -07:00
Markus Lampert
06db436a5f
Removed redundant import.
2017-08-24 20:31:57 -07:00
sliptonic
4063609e89
Path: cleanup start points
...
Make sure we're storing path parms for debugging
2017-07-07 16:42:06 -05:00
sliptonic
cb6a27f469
Path: simplify the test fixture
...
Instead of creating a file from scratch, a test file
is included. Post processing the file from the gui
should give the same results as the test script.
2017-07-07 16:42:06 -05:00
sliptonic
f444f96c7d
re-arrange TestPathPost setup to simplify testing muliple posts
2017-07-07 16:42:06 -05:00
sliptonic
7532011104
Path: remove obsolete code from cmake
...
also refactored depthparams and fixes to depths
on various operations
2017-06-28 21:46:44 +02:00
sliptonic
ae29107aa9
path: more collision support
...
Made depthparams an iterable.
2017-06-28 21:46:44 +02:00
Markus Lampert
c5e91d1df7
Fixed tag unit tests
2017-06-21 11:41:35 -07:00
Markus Lampert
e42c1473a9
Adapted unit tests for the new interface.
2017-06-21 11:41:35 -07:00
Markus Lampert
1ce3b242f2
Added solid detection and consolidated PathJob Base selection option (removed empty option).
2017-06-21 11:41:35 -07:00
Markus Lampert
fb5ca9d77b
Renamed LoadTool to ToolController.
2017-06-21 11:41:34 -07:00
Markus Lampert
a22b314a99
Replaced Tooltable with Tool in the TC;
...
Added PropertyTool;
Fixed sanity check.
2017-06-21 11:41:34 -07:00
sliptonic
5305247140
Path: fix potential crash bug.
2017-06-18 17:32:16 +02:00
sliptonic
b28ed1de02
Path: Contour works on clones and other objects with proxy and shape.
2017-06-15 14:42:30 -03:00
sliptonic
5dc321dd8a
Path: add output precision option to linuxcnc post.
...
Modified unit tests to use it.
2017-06-15 14:42:30 -03:00
Markus Lampert
57fed76be7
Fixed M6 tool index for linuxcnc and opensbp.
2017-06-03 15:37:41 -07:00
sliptonic
c2d5a63e2d
Path: add output precision option to linuxcnc post.
...
Modified unit tests to use it.
2017-05-31 23:38:59 +02:00
sliptonic
78983d9dd2
Path: trying to fix unit test again
2017-05-31 23:38:59 +02:00
sliptonic
31a697a350
Path: fixes for unittest
...
Path: precision fix to unittest pathpost
2017-05-31 23:38:59 +02:00
sliptonic
d3fb9fbfe2
Path: more bug fixes
2017-03-21 10:27:51 -03:00
ml
c2abaf2232
Fixed G2/3 command generation for flipped arcs.
2017-03-03 11:52:42 -03:00
Kunda
a7414e5789
source typo fixes pt1 (only on py3 merged code)
...
issue 0002914
2017-02-27 11:32:47 +01:00
Markus Lampert
bdeeee48b3
Fixed unit tests for the case where LineOld is not set to false.
2017-01-28 11:46:17 -08:00