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
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