Commit Graph

102 Commits

Author SHA1 Message Date
Markus Lampert
e3952867a9 Renamed Path Chamfer op to Deburr. 2018-09-17 10:27:49 +02:00
Markus Lampert
256d42e2de Fixed unit tests to support multiple base models. 2018-09-11 07:24:31 +02:00
markus
4cf08f685d Fixing unit tests for more conservative height settings. 2018-09-02 00:32:22 -07:00
luz.paz
a1ffb0fa3c 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
5087bfc5b5 Make sure the offset wire is oriented predictably. 2018-07-06 22:08:47 -07:00
Markus Lampert
9744cb697e 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
16457af708 Some tests to figure out Travis failures 2018-07-06 22:08:47 -07:00
Markus Lampert
2e372f3fd5 Renamed PathGeomOp to PathOpTools. 2018-07-06 22:08:47 -07:00
Markus Lampert
753b483811 Fixed direction for offsetting holes. 2018-07-06 22:08:46 -07:00
Markus Lampert
3232d79335 Fixed flipping of an arc if the arc is rotated. 2018-07-06 22:08:46 -07:00
Markus Lampert
7f38777377 Fixed open wire offsetting and orienting. 2018-07-06 22:08:46 -07:00
Markus Lampert
3798cf1d10 Refactored geom functions into PathGeomOp. 2018-07-06 22:08:46 -07:00
Markus Lampert
d8394df08e Extracted and added tests for chamfer tool depth and offset calculations. 2018-07-06 22:08:46 -07:00
Markus Lampert
9f21e7d2eb More chamfer unit tests. 2018-07-06 22:08:46 -07:00
Markus Lampert
46a8ad149c Fixed wire offsetting and orientation and added more test cases. 2018-07-06 22:08:46 -07:00
Markus Lampert
e1af026933 Added basic chamfer test case for offsetting a wire. 2018-07-06 22:08:46 -07:00
Markus Lampert
cfd2c5ad96 Fixed flipping of b-spline and enabled unit test for it. 2018-07-06 22:08:46 -07:00
Markus Lampert
06bc9a120b Added flipping of edge to PathGeom. 2018-07-06 22:08:46 -07:00
Markus Lampert
bf46c47616 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
Markus Lampert
644e4afc77 Add support for full circles to PathGeom. 2018-06-15 11:32:06 -03:00
luz.paz
2d5cc6a1ed Path: misc. source comment typos 2018-04-25 11:03:10 +02:00
Markus Lampert
3a1cf6d811 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
7be4f35cee fix unit test to compare quantities 2018-02-20 16:18:38 +01:00
luz.paz
1d5799e5b3 Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
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