wmayer
5e5aa51977
fix unit test to compare quantities
2018-02-20 16:18:38 +01:00
luz.paz
b6b9f61548
Misc. typos
...
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
Markus Lampert
e4e5d4e5f5
Fixed path unit test setup for new PathDressup
2018-01-22 19:40:50 +01:00
wmayer
1950bd1512
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
ba7fed2391
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
7448d47b8a
Fixed more python 2/3 unicode issues.
2017-10-22 19:50:30 -07:00
Markus Lampert
eaa7b6f591
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
1a29468094
Replaced spreadsheet with dedicated SetupSheet object in order to better support expression setting.
2017-10-22 11:24:58 -07:00
Markus Lampert
dba05326ff
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
0d8a1500d5
Added template attribute encoding/decoding for setup sheet label changes.
2017-10-22 11:24:58 -07:00
Markus Lampert
8d8fb529dc
Fixed dogbone unit test to deal with expression instead of Lock property.
2017-10-22 11:24:58 -07:00
Markus Lampert
ce22fb30c6
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
6bf9a9758f
Added support for bezier curves for isHorizontal/isVertical.
2017-09-28 11:27:47 -07:00
Markus Lampert
86a8e6eda0
Adapted dogbone unit test to the new depth values.
2017-09-28 11:27:47 -07:00
Markus Lampert
19287fc8a2
Enhanced isVertical/isHorizontal functions accepting a Vector, and Edge or a Face now.
2017-09-28 11:27:46 -07:00
Markus Lampert
d494b9b620
Added script to run pylint for errors.
2017-09-26 10:51:17 -03:00
Markus Lampert
e8a394424a
Fixed and added PathUtil unit tests for dealing with Part.
2017-09-21 11:35:00 -07:00
Markus Lampert
4d37d8bbbe
Fixed up ToolController template arguments and loading for the switch to JSON.
2017-09-21 10:29:35 +02:00
Markus Lampert
aac6419f9d
Added template attrs and setFrom support to Tooltable.
2017-09-21 10:29:35 +02:00
Markus Lampert
c705bcb0f1
Creation of Tool from a templateAttrs dictionary.
2017-09-21 10:29:35 +02:00
Markus Lampert
324dfdd341
Renamed fromTemplate to setFromTemplate.
2017-09-21 10:29:35 +02:00
Markus Lampert
1dd18cc970
Added restore from dictionary to Tool and templateAttrs for their retreival.
2017-09-21 10:29:35 +02:00
sliptonic
3d322773fd
Add test for imperial linuxcnc
2017-09-19 11:12:31 +02:00
Markus Lampert
bfa035aab6
Fixed unit tests for proper R calculation for cylindrical stock.
2017-09-08 12:25:58 +02:00
Markus Lampert
4a735b372e
Added stock support to templates.
2017-09-08 12:25:58 +02:00
Markus Lampert
1c25c1520b
Fixed unit tests.
2017-09-08 12:25:58 +02:00
Markus Lampert
04390300cd
More py3 compatibility, same root cause though.
2017-08-24 20:31:57 -07:00
Markus Lampert
0fff9d416d
Fixed unit test for python3.
2017-08-24 20:31:57 -07:00
Markus Lampert
e0ebe92d1c
Added full unit test to make sure tool chain works correctly.
2017-08-24 20:31:57 -07:00
Markus Lampert
a076179cf0
Start of dogbone unit tests.
2017-08-24 20:31:57 -07:00
Markus Lampert
a9867b4fdc
Removed redundant import.
2017-08-24 20:31:57 -07:00
sliptonic
e8b93ef656
Path: cleanup start points
...
Make sure we're storing path parms for debugging
2017-07-07 16:42:06 -05:00
sliptonic
7ace55029e
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
3093c4cd1b
re-arrange TestPathPost setup to simplify testing muliple posts
2017-07-07 16:42:06 -05:00
sliptonic
a5a88e5b59
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
8b804d71ae
path: more collision support
...
Made depthparams an iterable.
2017-06-28 21:46:44 +02:00
Markus Lampert
2c50fbfef3
Fixed tag unit tests
2017-06-21 11:41:35 -07:00
Markus Lampert
c268c959e8
Adapted unit tests for the new interface.
2017-06-21 11:41:35 -07:00
Markus Lampert
62cf21b473
Added solid detection and consolidated PathJob Base selection option (removed empty option).
2017-06-21 11:41:35 -07:00
Markus Lampert
8d8ea9979f
Renamed LoadTool to ToolController.
2017-06-21 11:41:34 -07:00
Markus Lampert
c4cb45c1b4
Replaced Tooltable with Tool in the TC;
...
Added PropertyTool;
Fixed sanity check.
2017-06-21 11:41:34 -07:00
sliptonic
2147798063
Path: fix potential crash bug.
2017-06-18 17:32:16 +02:00
sliptonic
1065dc5d97
Path: Contour works on clones and other objects with proxy and shape.
2017-06-15 14:42:30 -03:00
sliptonic
dcbfc880ff
Path: add output precision option to linuxcnc post.
...
Modified unit tests to use it.
2017-06-15 14:42:30 -03:00
Markus Lampert
617cea6679
Fixed M6 tool index for linuxcnc and opensbp.
2017-06-03 15:37:41 -07:00
sliptonic
f6e0f06a63
Path: add output precision option to linuxcnc post.
...
Modified unit tests to use it.
2017-05-31 23:38:59 +02:00
sliptonic
69a797b99c
Path: trying to fix unit test again
2017-05-31 23:38:59 +02:00
sliptonic
aad865375b
Path: fixes for unittest
...
Path: precision fix to unittest pathpost
2017-05-31 23:38:59 +02:00
sliptonic
09ac25f089
Path: more bug fixes
2017-03-21 10:27:51 -03:00
ml
886ba74bfd
Fixed G2/3 command generation for flipped arcs.
2017-03-03 11:52:42 -03:00