Commit Graph

165 Commits

Author SHA1 Message Date
luz paz
63138c67ea Path: fix file header uniformity 2021-12-10 02:36:56 +01:00
sliptonic
8a5aaf35a3 Merge pull request #5217 from sliptonic/feature/rotationgenerator
[PATH] rotation generator and tests
2021-12-02 15:40:06 -06:00
sliptonic
4c31c729c0 draft generator and tests 2021-12-01 13:15:09 -06:00
sliptonic
3b9dfeb672 Merge pull request #5205 from sliptonic/bug/depthsteps
[PATH]  depthparams handles negative steps and finish step correctly. Unit tests
2021-11-26 20:24:25 -06:00
sliptonic
03f05b5ef9 make sure depthparams handles negative steps and finish step correctly
revised test
2021-11-26 13:27:44 -06:00
Zheng, Lei
27f24c069d Test: fix test case
Adding dynamic property with an invalid name or existing name is now an
error, because there is no easy way for Python code to find out the name
of a property if it is auto renamed.
2021-11-21 19:03:53 -06:00
sliptonic
3c094e3d38 Drill Generator and testing 2021-11-08 18:57:16 -06:00
Przemo Firszt
f950cfab7b [UnitTest] Replace deg symbol with deg
unittest cannot handle the symbol on some systems. deg is a safe
solution.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-09-21 15:16:13 +02:00
luz paz
c1a8d2cb02 Path: fix various typos and superfluous whitespace
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-07-30 11:53:22 -04:00
Russell Johnson
249b3f5133 Path: Close Adaptive geometry source file upon unit test completion 2021-07-24 21:59:05 -05:00
Russell Johnson
6b822558e6 Path: Improve comments and docStrings 2021-07-24 11:00:17 -05:00
Russell Johnson
33650efbe8 Path: Delete dead code and comments 2021-07-24 10:59:43 -05:00
sliptonic
9d5c9cdc80 Merge pull request #4917 from Russ4262/fix/Adaptive_process_edges
[Path] Adaptive: Correct the processing of selected edges
2021-07-23 12:35:08 -05:00
Russell Johnson
6108f9982e Path: Add some Adaptive unit tests
Also includes alphabetical sort of affected lists in CMakeLists and TestPathApp files.

Unit tests focus around feature selection capabilities.
2021-07-22 23:16:53 -05:00
Schildkroet
3e801a02eb Merge branch 'master' into deburr_improve 2021-05-29 21:40:11 +02:00
Markus Lampert
a589be64d9 Dogbone resiliency against noop moves 2021-03-15 22:39:27 -07:00
Markus Lampert
eb91c02925 Dogbone resiliency against comments between moves 2021-03-15 22:39:18 -07:00
Markus Lampert
02c0a6dd7b Don't insert dogbone between two straight segments 2021-03-15 22:39:09 -07:00
mlampert
11bfb431d2 Merge branch 'master' into bugfix/toolbit-properties-alignment 2021-02-15 16:03:28 -08:00
Markus Lampert
0342e6360d Removed obsolete preference api 2021-02-15 22:15:17 +01:00
Markus Lampert
abca623803 Only use IconViewProvider in PathStock when required. 2021-02-15 12:21:33 -08:00
sliptonic
08ea37c3b4 Merge pull request #4443 from mlampert/bugfix/deburr-offset-part
[Path]: Added support for Part.OffsetCurve to flipEdge.
2021-02-14 17:36:01 -06:00
Patrick F
5c119906cf [PATH] Fixed tests 2021-02-13 22:02:10 +01:00
Markus Lampert
8bd4f0889b Added support for Part.OffsetCurve to flipEdge. 2021-02-11 22:58:37 -08:00
Markus Lampert
eeb91c6798 Fixed segmentation for unknown shapes, leaving that to the experts. 2021-02-11 21:29:52 -08:00
Markus Lampert
82a519277d Added support for deleting empty groups from the property bag's group tracking. 2021-01-26 19:46:06 -08:00
Markus Lampert
57689bd2cd Added commit to explain the purpose of dumping the directory tree 2021-01-26 18:14:09 -08:00
Markus Lampert
1c3f08d4eb Added test case to determine directory layout. 2021-01-26 18:14:09 -08:00
Markus Lampert
fccc7e6875 Adapted client code to use new findTool... api and fixed test cases. 2021-01-26 18:14:09 -08:00
Markus Lampert
495732ae6c Changed tool-bit search path to either absolute, local install or relative to context path 2021-01-26 18:14:09 -08:00
Markus Lampert
89b63f4d53 Fixed unit test for ToolTable rename 2020-12-31 20:43:40 -08:00
Markus Lampert
2f73055825 Use job.ToolTable.Group instead of job.ToolController. 2020-12-31 15:38:18 -08:00
sliptonic
3754ae123a Merge branch 'master' into feature/suppress-warnings-preferences 2020-12-18 11:12:48 -06:00
Markus Lampert
08f708d2bd Added provision for gcc peculiarities in unit tests 2020-12-17 23:11:02 -08:00
Markus Lampert
bb74714235 Print deburr tool info only once. 2020-12-15 21:55:27 -08:00
Markus Lampert
1622a8bcaf Fixed v-carve depth calculation in the presence of a bottom diameter, added unit tests and cleaned up the v-bit parameter naming. 2020-12-13 11:31:58 -08:00
Markus Lampert
ac4af399c3 Added support for imperial threads to thread milling 2020-12-03 18:15:36 -08:00
Markus Lampert
310f72145d Added thread milling radii calculation 2020-12-03 18:15:36 -08:00
luz paz
60c055e62d Path: Fix header uniformity and remove trailing whitespace
This PR fixes header uniformity across all Path files. It also removes all trailing whitespace.
2020-11-05 19:57:21 +01:00
Markus Lampert
236f8605cd Special provisions for py2 - not understanding why though 2020-10-25 18:56:47 -07:00
Markus Lampert
0d747d7abd Fixed voronoi parabola creation with correct orientation. 2020-10-25 16:33:13 -07:00
Markus Lampert
35da5c890c Replaced toGeom with toPoint for VoronoiVertex and toShape for VoronoiEdge - results in arbitrary orientation of parabola for multiple z 2020-10-25 16:33:13 -07:00
Markus Lampert
d3615f7e54 Added equal/not equal comparison to voronoi python objects with unit tests. 2020-10-25 16:33:13 -07:00
markus
d00d402efd Fixed ToolBit template generation and adapted TC unit test to deal with Tool and ToolBit. 2020-04-29 14:27:51 -07:00
Eric Trombly
8b32c0c469 change dogbone test to not check for the number of dogbones, just location. Due to the path changing 2020-04-25 14:58:42 -05:00
wmayer
b846b30643 Path: use round() to force to show only one decimal when converting to string 2020-03-02 11:38:11 +01:00
Markus Lampert
dc9e0dca5b Improved precision and stability of splitting an arc 2020-02-03 20:47:05 -08:00
Markus Lampert
d6c47715f3 Fix Path.Length calculation. 2020-01-16 22:53:39 -08:00
Markus Lampert
81bbb0066d Removed dead code for debugging shortcut warnings. 2020-01-03 23:13:55 -08:00
Markus Lampert
5c4447032e Reduced helix tests - they never caught anything. 2019-11-28 17:41:23 -08:00