Commit Graph

2375 Commits

Author SHA1 Message Date
Markus Lampert
7ea1bb0cb7 Dealing with 32bit compile error of Voronoi interface. 2020-10-04 22:44:45 -07:00
wmayer
0cc65089c4 Path: [skip ci] fix memory leak in CommandPy::getParameters()
For some background information see: https://forum.freecadweb.org/viewtopic.php?f=15&t=50583
2020-10-04 19:43:54 +02:00
sliptonic
e926e12279 Merge pull request #3879 from sliptonic/feature/vcarve
[Path] Feature/vcarve  using new PathVoronoi from mlampert.  Needs testing
2020-09-30 09:47:31 -05:00
Yorik van Havre
c2cec2c38a Merged crowdin translations 2020-09-30 14:37:02 +02:00
Yorik van Havre
545055f65f Updated ts files 2020-09-30 13:06:53 +02:00
Markus Lampert
a71632b914 More integer type cleanup for the voronoi python interface 2020-09-29 19:50:33 -05:00
Markus Lampert
68fecf9a90 Unified voronoi indices for python to be of type long 2020-09-29 14:58:42 -05:00
sliptonic
d29b2dcd3f whitespace 2020-09-29 14:03:37 -05:00
sliptonic
8b772b03a5 rename OTHER 2020-09-28 14:58:09 -05:00
sliptonic
907a9d9b75 move vcarve out of experimental 2020-09-28 14:58:09 -05:00
sliptonic
1e9cabd53b remove need for cuttingedgeheight
Calculating from diameter and cuttingedgeangle
2020-09-28 14:58:09 -05:00
sliptonic
3ffa3bf285 improve selection and avoid border case with ultra short segments 2020-09-28 14:58:09 -05:00
sliptonic
971e4a9915 Resolve UI issues
taskpanel threshold value
add constants to PathVoronoi calls
check for tool properties
set correct z height coloring exterior lines
2020-09-28 14:58:09 -05:00
sliptonic
315e18c78a Path: Vcarve fixes
formatting fixes
remove reference to old ToolType
2020-09-28 14:58:09 -05:00
sliptonic
bfc37274bc Rewrite for boost voronoi 2020-09-28 14:58:09 -05:00
sliptonic
b9d7dbc380 Path: Vcarve - Added threshold property to remove unwanted segments
code cleanup & debug
2020-09-28 14:58:09 -05:00
sliptonic
f711cfb192 Path: vcarve add feed rate 2020-09-28 14:58:09 -05:00
sliptonic
7a4ad8be71 path: vcarve requires engraver with proper angle
vcarve calculates depth with MIC now
2020-09-28 14:58:09 -05:00
sliptonic
7641a54146 Path: increasing the discretize precision 2020-09-28 14:58:09 -05:00
sliptonic
9c68052d4d Path: add vcarve operation using openvoronoi 2020-09-28 14:58:08 -05:00
Markus Lampert
c3306582bf Added voronoi colorExterior case where one external vertex coincides with a point of an input segment. 2020-09-28 14:58:08 -05:00
Markus Lampert
81a7341632 Added vertex cache to voronoi colorExterior callback processing - cuts execution time in half. 2020-09-28 14:58:08 -05:00
Markus Lampert
67ded9cbfa Added retrieval of points and segments for voronoi diagram 2020-09-28 14:58:08 -05:00
Markus Lampert
3a50f84ba4 Added Index as attribute of all voronoi objects for easier debugging 2020-09-28 14:58:08 -05:00
Markus Lampert
e3adbc0bf9 Simplified and further optimised colinear colorisation 2020-09-28 14:58:08 -05:00
Markus Lampert
65b2cc1f48 Added color -1 to mean resetting all color. 2020-09-28 14:58:08 -05:00
Markus Lampert
32cc97b1a7 Some algorithm optimisations 2020-09-28 14:58:08 -05:00
Markus Lampert
08e73632ec Added callback to colorExterior to also color 'interior' 2020-09-28 14:58:08 -05:00
Markus Lampert
7e6975a154 Added colorColinear and resetColor algorithms 2020-09-28 14:58:08 -05:00
Markus Lampert
10ce91f873 Added optional scaling factor to Voronoi construction. 2020-09-28 14:58:08 -05:00
Markus Lampert
0045a04d4b Added scaling to micro meters 2020-09-28 14:58:08 -05:00
Markus Lampert
afdf41f716 Added support for distances of edge end points. 2020-09-28 14:58:08 -05:00
Markus Lampert
8d68122ec1 Added api calls for coloring all twins and coloring exterior edges and vertices. 2020-09-28 14:58:08 -05:00
Markus Lampert
42b074c0dd Added toGeom for curved edges. 2020-09-28 14:58:08 -05:00
Markus Lampert
8f16b94669 Added geometries for vertices and linear edges. 2020-09-28 14:58:08 -05:00
Markus Lampert
bbd2c049a9 Added support for voronoi cells 2020-09-28 14:58:08 -05:00
Markus Lampert
13742cca41 Added support for voronoi edges. 2020-09-28 14:58:08 -05:00
Markus Lampert
04cf9c2e46 Added python bindings for voronoi diagram construction and accessing the resulting vertices. 2020-09-28 14:58:08 -05:00
sliptonic
922ec0dce5 Merge pull request #3861 from Russ4262/profile_reset_fix
[Path] Fixes #4433 - `Cut Side` reset with certain Base Geometry changes
2020-09-15 14:12:01 -05:00
sliptonic
968ea0061e Merge pull request #3862 from Russ4262/pocketshape_fix
[Path] PocketShape - fix improper path generation
2020-09-15 14:09:57 -05:00
sliptonic
0e21c31d37 Merge pull request #3813 from xform3/feature/base_geometry_multi_object_select
[Path] Enable for selection of multiple objects in Base Geometry list
2020-09-15 13:54:54 -05:00
sliptonic
e1cfe7144b Merge pull request #3849 from Schildkroet/deburr+dressup
[Path] Fixed DeburrOp not moving to safe height
2020-09-15 12:48:33 -05:00
vocx-fc
00dc2c8476 Path: use 4-space indentation, and keep lines short 2020-09-15 00:56:17 -05:00
vocx-fc
ff79e28054 Path: add missing postprocessor to CMakeLists 2020-09-14 22:18:00 -05:00
wmayer
1c9573e8d2 dxf: [skip ci] Coverity: Buffer not null terminated 2020-09-14 14:37:20 +02:00
Russell Johnson
3efe9efb68 [Path] PocketShape - fix improper path generation
Forum identification and discussion at https://forum.freecadweb.org/viewtopic.php?style=3&f=15&t=49513.
2020-09-12 09:35:34 -05:00
Russell Johnson
da44f6cdcc [Path] Fixes #4433 - Cut Side reset with certain Base Geometry changes
`Cut Side` value was hard-coded to reset when Base Geometry was empty.  This disallowed retention of the current value with changes to selected Base Geometry involving the clearing thereof.
Also restored fixed visibility to `Cut Side` option in Task panel editor per forum mention.
2020-09-12 00:24:25 -05:00
Patrick F
79359a7534 Fixed DeburrOp not moving to safe height 2020-09-07 01:30:32 +02:00
luz paz
6f62fd09df Fix typos in various files [skip-ci]
Found via `codespell 2.0.dev0`  
```
codespell -q 2 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,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
```
2020-09-04 10:10:31 +02:00
luz paz
ab7e5fb087 Fix typos in source comments
Found via `codespell`
2020-08-29 19:14:13 +02:00