vocx-fc
1093187c06
Surface: upgraded Surface icons
...
The `Surface_Workbench` icon is the same as `Surface_Surface`,
which is now an SVG and not XPM.
The lines are thicker and the colors have been adjusted
with a gradient, instead of being solid and plain looking.
Also the following were updated: `BSplineSurface`,
`BezierSurface`, `Cut`, `Filling`, `Sewing.
The `BezierSurface`, `Cut`, and `Sewing` icons are not currently used
in the workbench, but they were still updated in case
a future command uses them.
2020-09-30 12:32:36 +02:00
vocx-fc
7bf6f72259
Surface: new SVG icon for the workbench, rename others
...
Replace the hard-coded XPM icon in `InitGui.py` for the workbench
with an SVG file, which at this time is identical to the `Surface` icon.
Change `CMakeLists.txt` to properly install this new icon.
Rename all icons, so that all have the `Surface_` prefix.
Use the new icon names in the viewproviders and task panels.
2020-09-30 12:32:36 +02:00
John Yani
7208e757b9
Fix indentation
2020-09-30 12:31:15 +02:00
John Yani
a76bdab449
HiDPI cursors: Support Qt < 5
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?p=433621#p433621
2020-09-30 12:31:15 +02:00
Chrismettal
f686ed16e5
[Stylesheet] Add new "behave" dark stylesheet
...
Modified stylesheet based on one of the "darker" stylesheets to fit the Behave color theme
2020-09-30 12:29:19 +02:00
vocx-fc
f23bb43004
Draft: importSVG considers Shape-less objects for export
...
If the object has a `Shape` it uses its bounding box to enlarge
the page size of the SVG. If it does not have a `Shape`
("Draft Text", "Draft Dimension", other `App::FeaturePython`)
it uses `Draft.get_bbox` to calculate one bounding box
from the viewprovider if possible.
2020-09-30 12:06:48 +02:00
vocx-fc
49e1ff1bcf
Draft: get_bbox function to get the bounding box from RootNode
...
Normally the bounding box is taken from `Shape.BoundBox`.
Certain objects don't have a `Shape`, like `App::FeaturePythons`,
so the bounding box is calculated from `ViewObject.RootNode`.
2020-09-30 12:06:48 +02:00
Markus Lampert
e97f7a8a54
More integer type cleanup for the voronoi python interface
2020-09-29 19:50:33 -05:00
wmayer
312a4652f6
Part: [skip ci] expose BRepOffsetAPI_MakeFilling to Python
2020-09-30 01:19:30 +02:00
Markus Lampert
e3c476af21
Unified voronoi indices for python to be of type long
2020-09-29 14:58:42 -05:00
sliptonic
ebae99c9e0
whitespace
2020-09-29 14:03:37 -05:00
Amritpal Singh
21e1dff25c
Adopted vocx-fc comment.
2020-09-29 18:50:30 +02:00
Amritpal Singh
c64d0bf991
Fixed bug: In exporting IFC with shared clone shapes geometry, clone of clone object displaced because of bug in Draft.get_clone_base function.
2020-09-29 18:50:30 +02:00
sliptonic
af1dacf57f
rename OTHER
2020-09-28 14:58:09 -05:00
sliptonic
81dc724b4a
move vcarve out of experimental
2020-09-28 14:58:09 -05:00
sliptonic
1492aa01b5
remove need for cuttingedgeheight
...
Calculating from diameter and cuttingedgeangle
2020-09-28 14:58:09 -05:00
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