Commit Graph

22562 Commits

Author SHA1 Message Date
sliptonic
d22bfecdad improve selection and avoid border case with ultra short segments 2020-09-28 14:58:09 -05:00
sliptonic
8758cfce9f 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
b1e5b5a902 Path: Vcarve fixes
formatting fixes
remove reference to old ToolType
2020-09-28 14:58:09 -05:00
sliptonic
a1852d1106 Rewrite for boost voronoi 2020-09-28 14:58:09 -05:00
sliptonic
f63d0fadcb Path: Vcarve - Added threshold property to remove unwanted segments
code cleanup & debug
2020-09-28 14:58:09 -05:00
sliptonic
d9d4387b1d Path: vcarve add feed rate 2020-09-28 14:58:09 -05:00
sliptonic
5df1f176e6 path: vcarve requires engraver with proper angle
vcarve calculates depth with MIC now
2020-09-28 14:58:09 -05:00
sliptonic
0b7eec6b79 Path: increasing the discretize precision 2020-09-28 14:58:09 -05:00
sliptonic
c141f41887 Path: add vcarve operation using openvoronoi 2020-09-28 14:58:08 -05:00
Markus Lampert
33beb4110a 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
d9f09b1716 Added vertex cache to voronoi colorExterior callback processing - cuts execution time in half. 2020-09-28 14:58:08 -05:00
Markus Lampert
7777e0f265 Added retrieval of points and segments for voronoi diagram 2020-09-28 14:58:08 -05:00
Markus Lampert
6d43d75028 Added Index as attribute of all voronoi objects for easier debugging 2020-09-28 14:58:08 -05:00
Markus Lampert
a95ecd69a9 Simplified and further optimised colinear colorisation 2020-09-28 14:58:08 -05:00
Markus Lampert
1109691393 Added color -1 to mean resetting all color. 2020-09-28 14:58:08 -05:00
Markus Lampert
d68b5064cf Some algorithm optimisations 2020-09-28 14:58:08 -05:00
Markus Lampert
07f3e6c521 Added callback to colorExterior to also color 'interior' 2020-09-28 14:58:08 -05:00
Markus Lampert
952c94cb50 Added colorColinear and resetColor algorithms 2020-09-28 14:58:08 -05:00
Markus Lampert
f860339658 Added optional scaling factor to Voronoi construction. 2020-09-28 14:58:08 -05:00
Markus Lampert
94a44bcbfe Added scaling to micro meters 2020-09-28 14:58:08 -05:00
Markus Lampert
38ff7fcdae Added support for distances of edge end points. 2020-09-28 14:58:08 -05:00
Markus Lampert
926d254849 Added api calls for coloring all twins and coloring exterior edges and vertices. 2020-09-28 14:58:08 -05:00
Markus Lampert
5ad3bb17fd Added toGeom for curved edges. 2020-09-28 14:58:08 -05:00
Markus Lampert
10e5fce11c Added geometries for vertices and linear edges. 2020-09-28 14:58:08 -05:00
Markus Lampert
9ba8817382 Added support for voronoi cells 2020-09-28 14:58:08 -05:00
Markus Lampert
6fc2af2adc Added support for voronoi edges. 2020-09-28 14:58:08 -05:00
Markus Lampert
27238c3813 Added python bindings for voronoi diagram construction and accessing the resulting vertices. 2020-09-28 14:58:08 -05:00
wmayer
39cd29c0d7 Part: [skip ci] include OCC hesder to PCHs, fix compiler warning when trying to delete void pointer 2020-09-28 20:23:33 +02:00
wmayer
00e0e7745c Part: expose GeomPlate algorithm to Python 2020-09-28 18:46:35 +02:00
wmayer
14fa8dafb3 Part: [skip ci] add functions makeFromTrimmedCurve2d and makeFromCurveAdaptor2d 2020-09-28 17:24:48 +02:00
wmayer
218d61768a Part: converter from Adaptor3d_Curve to GeomCurve 2020-09-28 14:53:42 +02:00
wmayer
af8ff5c491 Part: [skip ci] add missing methods to RectangularTrimmedSurface 2020-09-28 13:18:47 +02:00
wmayer
afd6f39197 Base: [skip ci] allow to replace twin object of PyObjectBase 2020-09-28 11:21:20 +02:00
wmayer
2a510a23b4 Gui: [skip ci] suppress debug messages when older SpaceMouse/Joystick is connected 2020-09-28 08:06:41 +02:00
wmayer
a4176fa15f Surface: [skip ci] add icon for sections command 2020-09-28 07:57:00 +02:00
wmayer
a6c55acdb1 Part: improve Python interface
+ rename getCurve2dFromGeom2d to makeFromCurve2d
+ add function makeFromCurve and makeFromTrimmedCurve like makeFromSurface
+ implement OffsetCurve.BasisCurve
+ fix memory leak in BRepOffsetAPI_MakePipeShellPy
2020-09-27 23:34:45 +02:00
Clayton McCray
1ef31842c9 Conda doesn't export functions to subshells
build_unix_dev_conda.sh fails to activate the freecad_dev
environment. This is issue #7980 on the conda github. This has
one of the suggested work arounds added.
2020-09-27 13:02:40 +02:00
vocx-fc
53e2d35ee9 Part: change command name Part_MakeTube to Part_Tube
This follows the style of the other Part commands which don't
have the word `Make` just the name of the noun, `Box`, `Cylinder`,
`Sphere`, etc.
2020-09-27 13:01:16 +02:00
Zheng, Lei
f9aed763e4 App: fix recursive App::getLinksTo() 2020-09-27 12:59:38 +02:00
wmayer
25fbb95a9a Sketcher: [skip ci] fix computing of hotspot of XPM icons on Windows/macOS
Add a cross to copy and array icons.
2020-09-27 12:06:26 +02:00
Bernd Hahnebach
d8e476ef42 FEM: object unit tests, improve some comments 2020-09-26 23:29:38 +02:00
Bernd Hahnebach
331fd91e7c FEM: z88 solver, use same object type schema as for all other solver objects 2020-09-26 23:17:36 +02:00
Bernd Hahnebach
1ad4417b03 FEM: python code formating 2020-09-26 23:17:27 +02:00
wmayer
6d03265729 Gui: [skip ci] fix initialization of Python-based view providers in FreeCADGui.subgraphFromObject 2020-09-26 22:39:18 +02:00
wmayer
3a8a6aae1b Surface: add command to create surface from sections 2020-09-26 16:32:42 +02:00
wmayer
7616153b3c Part: add method to add a wire (e.g. to create a hole) to a face 2020-09-25 16:00:01 +02:00
wmayer
da6cdb94a1 Part: add method to return a reversed shape 2020-09-25 15:59:08 +02:00
wmayer
92fe662d65 Part: implement BSplineSurface.buildFromNSections based on GeomFill_NSections 2020-09-25 15:07:47 +02:00
wmayer
b44d20dbd8 Part: [skip ci] fix shape builder to create filled face from vertexes 2020-09-25 13:42:39 +02:00
wmayer
bf262b4188 Gui: [skip -ci] fix Document::toggleInSceneGraph() to avoid to add a node twice 2020-09-25 13:05:45 +02:00