Bernd Hahnebach
d0eb71517c
FEM: python, get rid of bare excepts
2020-10-27 08:24:27 +01:00
sliptonic
7f83281551
Merge pull request #3991 from Russ4262/patch-1
...
Path: Fixes ticket #4471
2020-10-26 20:29:23 -05:00
sliptonic
3c307b7a3c
Merge pull request #3969 from sliptonic/bug/bugfixes
...
[PATH] Minor bugfixes
2020-10-26 08:12:20 -05:00
sliptonic
66d3f7b057
Merge pull request #3978 from mlampert/feature/path-voronoi-vcarve-refactor
...
Path: Feature/path voronoi vcarve refactor
2020-10-26 08:11:34 -05:00
Yorik van Havre
0fdd157394
Draft: Added TechDraw patterns
2020-10-26 11:52:14 +01:00
Yorik van Havre
9a3fcfd8ca
Arch: fixed placement of Space label on TD pages
2020-10-26 10:35:40 +01:00
Markus Lampert
1e687bb1fd
Special provisions for py2 - not understanding why though
2020-10-25 18:56:47 -07:00
Markus Lampert
1f8201bbc3
Remove app include files from precompile guard
2020-10-25 16:33:13 -07:00
Markus Lampert
e878eb56e2
Include proper model headers for python files.
2020-10-25 16:33:13 -07:00
Markus Lampert
09e6552fbb
Fixed 'o' and depth issue
2020-10-25 16:33:13 -07:00
Markus Lampert
4c16bef132
Allow voronoi edges to be traversed in any direction and use that to sort the sequence of milling the wires.
2020-10-25 16:33:13 -07:00
Markus Lampert
fb2a747aee
Added sorting over all wires, not just the ones of a single face
2020-10-25 16:33:13 -07:00
Markus Lampert
2046db0990
Added sorting of voronoi wires to minimize rapid moves
2020-10-25 16:33:13 -07:00
Markus Lampert
ebe5bb0e71
New vcarve wire detection algorithm using the new z-values of toShape
2020-10-25 16:33:13 -07:00
Markus Lampert
d40c18b315
Fixed parabola calculation if vornonoi edge starts close to its location.
2020-10-25 16:33:13 -07:00
Markus Lampert
d563849a75
Fixed voronoi parabola creation with correct orientation.
2020-10-25 16:33:13 -07:00
Markus Lampert
6a9f0f592e
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
8f45deea96
Added equal/not equal comparison to voronoi python objects with unit tests.
2020-10-25 16:33:13 -07:00
Abdullah Tahiri
1f46b72491
Part: Geometry - encapsulate construction access
2020-10-25 03:52:51 +01:00
Neinei0k
bc2d3e9d2b
Sketcher: Fix ticket #4399
...
The reason for this behaviour is that root point (origin) and axes are not treated as fixed geometry. Every external geometry has negative ID which is at most GeoEnum::RefExt defined as -3 in the file src/Mod/Sketcher/App/SketchObject.cpp. Ids of root point and axes are also defined in this file with id -1 for root point and horizontal axis, and -2 for vertical axis. To fix the problem, GeoEnum::RefExt id was replaced by root point id in the condition checking for the largest id of fixed geometry.
2020-10-25 02:27:06 +01:00
wmayer
3598da57ac
Gui: [skip ci] move support of SpaceMouse Explorer to its own event handler function
2020-10-24 19:04:28 +02:00
TinkerGnome
0b1cc83c8e
handle button presses on "Spacemouse Enterprise"
2020-10-24 18:52:18 +02:00
wmayer
d3f0ed247e
Add list of all available 3Dconnexion devices
2020-10-24 18:52:03 +02:00
wmayer
c5895e1a02
Gui: do not use event handling of SpaceMouse Plus XT for Enterprise model
2020-10-24 18:51:52 +02:00
wmayer
690cc3e180
Gui: [skip ci] let view provider to decide to whether open a transaction on double-click
...
The sketcher view provider doesn't need a transaction on double-click or otherwise shows a useless entry in the undo dialog which when undoing leads to weird behaviour
2020-10-24 15:37:04 +02:00
luz paz
f16f974048
Sketcher: Capitalize opeCommand() text [skip-ci]
2020-10-24 12:26:35 +02:00
luz paz
e73ea7d244
Sketcher: Fix typos [skip-ci]
2020-10-24 12:26:35 +02:00
luz paz
9f74b422a9
Fix various typos [skip-ci]
2020-10-24 12:25:46 +02:00
wmayer
73ba306169
App: [skip ci] fix printing warning for recursive calls of Document::_commitTransaction
2020-10-23 20:50:23 +02:00
wmayer
cda1205c3e
App: [skip ci] fix possible segmentation fault when performing a transaction after an undo
2020-10-23 19:47:33 +02:00
wmayer
3415401916
Sketcher: [skip ci] fix changing multiplicity of a spline for Windows builds if PCH is enabled
2020-10-23 13:43:42 +02:00
wmayer
aeb0c17e6e
Sketcher: [skip ci] fix crash when deleting a selected geometry directly with delGeometry()
2020-10-23 11:56:17 +02:00
wmayer
4a8201a237
Sketch: [skip ci] handle possible crashes when decreasing degree of a spline
2020-10-23 11:26:15 +02:00
wmayer
fc89f4eb0c
Sketcher: implement command to decrease degree of a B-spline
2020-10-23 00:36:41 +02:00
wmayer
c5d5d69c91
Part: [skip ci] add method to approximate a B-spline curve with a given max. degree
2020-10-23 00:06:31 +02:00
wmayer
0001cb0fb4
Sketcher: [skip ci] remove AutoTransaction from ViewProviderSketch::mouseButtonPressed because it breaks the open/commit transaction logic
2020-10-22 19:35:31 +02:00
wmayer
a2a1f04f23
Sketcher: [skip ci] remove superfluous transaction when start/finish editing a sketch
2020-10-22 19:35:20 +02:00
Russell Johnson
88f0ea629d
Path: Fixes ticket #4471
2020-10-22 10:55:51 -05:00
marioalexis
318312be75
Draft: Fix logical error in is_line function
2020-10-22 17:14:46 +02:00
wmayer
cd4901bf51
Sketcher: [skip ci] do not create dialog on heap if not needed to improve exception-safety and reduce possible memory leaks
2020-10-22 16:01:22 +02:00
vocx-fc
8b983e6361
Part: update the Part_Thickness icon
...
This is the same as the `PartDesign_Thickness` but without
the red highlights in order to match the rest of the Part icons.
2020-10-22 15:12:59 +02:00
vocx-fc
bc0cfdfda2
Draft: use new name of the icon Part_3D_object
...
It is defined in the Part Workbench. Before, it was called `Tree_Part`.
2020-10-22 15:11:45 +02:00
vocx-fc
587475fc8a
Arch: use new name of the icon Part_3D_object
...
It is defined in the Part Workbench. Before, it was called `Tree_Part`.
2020-10-22 15:11:45 +02:00
vocx-fc
15408b2132
Part: rename the basic Part 2D and 3D icons
...
The basic icons for the basic features are renamed,
`Tree_Part` to `Part_3D_object`, `Tree_Part2D` to `Part_2D_object`.
2020-10-22 15:11:45 +02:00
vocx-fc
a1e89da8fd
Sketcher: add BSplineDecreaseDegree although with an empty implementation
...
Currently there is a command to increase the degree of a B-spline
but the corresponding command to reduce the degree does not exist.
So this command is a placeholder for when the full implementation
is added in the future by somebody.
2020-10-22 14:53:52 +02:00
vocx-fc
7f52d8bcb8
Sketcher: clean up line spacing for VirtualSpace command
2020-10-22 14:53:52 +02:00
vocx-fc
a2913050e9
Sketcher: clean up the sketcher B-spline tooltips
...
Also clean up linespacing and whitespaces to make the code more
readable. Extremely long lines are broken to be 80 to 100 characters
long when possible.
2020-10-22 14:53:52 +02:00
vocx-fc
dcc6483817
Sketcher: clean up the sketcher tools tooltips
...
Also clean up linespacing and whitespaces to make the code more
readable. Extremely long lines are broken to be 80 to 100 characters
long when possible.
'DrawSketchHandlerCopy' and 'DrawSketchHandlerRectangularArray'
are de-indented so that they start at column 1.
2020-10-22 14:53:52 +02:00
wmayer
ee79991c46
Sketcher: fix regression in CmdSketcherValidateSketch
...
Do not enable the command if another task dialog is still active
2020-10-22 14:53:52 +02:00
vocx-fc
9bd31637d7
Sketcher: clean up general commands tooltips
...
* `MapOnSketch` is active only when there is a sketch available
in the document.
* `ReorientSketch` and `ValidateSketch` are active only when one,
and only one, sketch is selected.
* `MergeSketch` is active only when there is at least two sketches
selected.
* `MirrorSketch` is active only when there is at least one sketch selected.
Clean up the lines so they are not extremely long.
2020-10-22 14:53:52 +02:00