Commit Graph

116 Commits

Author SHA1 Message Date
Markus Lampert
ef8b0ef871 Reduced helix tests - they never caught anything. 2019-11-28 17:41:23 -08:00
Markus Lampert
7438623869 Added Ballend and Bullnose shapes and consolidated shape names. 2019-11-28 17:31:37 -08:00
Markus Lampert
3b1aa48c11 Added support for relative/absolute path mgmt for stored files. 2019-11-28 17:31:37 -08:00
Markus Lampert
b182d7b169 Fixed some pylint issues and whitelisted some 2019-11-28 17:31:36 -08:00
Markus Lampert
3a23ea25bb Added search path and preferences support for tools 2019-11-28 17:31:35 -08:00
markus
65a4b27047 Added unit tests for orientWire. 2019-09-27 14:18:09 +02:00
Markus Lampert
66804ae993 Unit test helix based on a clone 2019-08-22 18:03:18 +02:00
Markus Lampert
5a4fc83fe3 More helix unit tests 2019-08-22 18:03:03 +02:00
Markus Lampert
915a7ae226 Added basic test case for PathHelix 2019-08-22 18:02:35 +02:00
Zheng, Lei
1d274f6697 Test cases changes
Slight adjustment of various test cases due to various API changes.
2019-08-17 15:32:48 +02:00
Markus Lampert
eaa36b0338 pylint3 cleanup of unit tests 2019-07-09 21:41:33 -07:00
Markus Lampert
285efa3379 Dressup gui import cleanup 2019-06-02 11:30:18 -07:00
luz.paz
4cfda0c3a5 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Markus Lampert
af4026bcd5 Added support for feeds and speeds to to cmdsForEdge. 2019-01-24 10:13:44 -02:00
Markus Lampert
97ad1b687f Renamed Path Chamfer op to Deburr. 2018-09-17 10:27:49 +02:00
Markus Lampert
524380cd12 Fixed unit tests to support multiple base models. 2018-09-11 07:24:31 +02:00
markus
9cc08cee0f Fixing unit tests for more conservative height settings. 2018-09-02 00:32:22 -07:00
luz.paz
be5e93ddfe Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
Markus Lampert
1a952af89c Make sure the offset wire is oriented predictably. 2018-07-06 22:08:47 -07:00
Markus Lampert
41ca2b3b6c Changed OpTools and unit tests to not rely on Part.Face creation to determine wire orientation. 2018-07-06 22:08:47 -07:00
Markus Lampert
d2efdc4080 Some tests to figure out Travis failures 2018-07-06 22:08:47 -07:00
Markus Lampert
c4c30fba9d Renamed PathGeomOp to PathOpTools. 2018-07-06 22:08:47 -07:00
Markus Lampert
559d480457 Fixed direction for offsetting holes. 2018-07-06 22:08:46 -07:00
Markus Lampert
664b2da2ee Fixed flipping of an arc if the arc is rotated. 2018-07-06 22:08:46 -07:00
Markus Lampert
c4ae92cf3c Fixed open wire offsetting and orienting. 2018-07-06 22:08:46 -07:00
Markus Lampert
4a8653b1c6 Refactored geom functions into PathGeomOp. 2018-07-06 22:08:46 -07:00
Markus Lampert
34aaeff312 Extracted and added tests for chamfer tool depth and offset calculations. 2018-07-06 22:08:46 -07:00
Markus Lampert
028d76f000 More chamfer unit tests. 2018-07-06 22:08:46 -07:00
Markus Lampert
324a30831a Fixed wire offsetting and orientation and added more test cases. 2018-07-06 22:08:46 -07:00
Markus Lampert
1b6d14a8df Added basic chamfer test case for offsetting a wire. 2018-07-06 22:08:46 -07:00
Markus Lampert
a605b6ea73 Fixed flipping of b-spline and enabled unit test for it. 2018-07-06 22:08:46 -07:00
Markus Lampert
d101111f64 Added flipping of edge to PathGeom. 2018-07-06 22:08:46 -07:00
Markus Lampert
b24e95b7c1 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
Markus Lampert
36a82c690d Add support for full circles to PathGeom. 2018-06-15 11:32:06 -03:00
luz.paz
5f7df347f8 Path: misc. source comment typos 2018-04-25 11:03:10 +02:00
Markus Lampert
51d0d4e19e Using UserString for comparison instead of the actual value to avoid rounding errors depending on the unit-system used. 2018-03-25 12:34:51 +02:00
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