Bernd Hahnebach
6fda0a2faa
FEM: python, get rid of bare excepts
2020-10-27 08:24:27 +01:00
sliptonic
70e11ebc52
Merge pull request #3991 from Russ4262/patch-1
...
Path: Fixes ticket #4471
2020-10-26 20:29:23 -05:00
sliptonic
77cb54869f
Merge pull request #3969 from sliptonic/bug/bugfixes
...
[PATH] Minor bugfixes
2020-10-26 08:12:20 -05:00
sliptonic
97fb4d1555
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
f58f808d53
Draft: Added TechDraw patterns
2020-10-26 11:52:14 +01:00
Yorik van Havre
0b609773fe
Arch: fixed placement of Space label on TD pages
2020-10-26 10:35:40 +01:00
Markus Lampert
236f8605cd
Special provisions for py2 - not understanding why though
2020-10-25 18:56:47 -07:00
Markus Lampert
982656babe
Remove app include files from precompile guard
2020-10-25 16:33:13 -07:00
Markus Lampert
318ad0fb65
Include proper model headers for python files.
2020-10-25 16:33:13 -07:00
Markus Lampert
85418c48df
Fixed 'o' and depth issue
2020-10-25 16:33:13 -07:00
Markus Lampert
204ab7e826
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
c581602bf8
Added sorting over all wires, not just the ones of a single face
2020-10-25 16:33:13 -07:00
Markus Lampert
6e0e8541a5
Added sorting of voronoi wires to minimize rapid moves
2020-10-25 16:33:13 -07:00
Markus Lampert
e35a022132
New vcarve wire detection algorithm using the new z-values of toShape
2020-10-25 16:33:13 -07:00
Markus Lampert
3c4bccbf6c
Fixed parabola calculation if vornonoi edge starts close to its location.
2020-10-25 16:33:13 -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
Abdullah Tahiri
00a1aa6225
Part: Geometry - encapsulate construction access
2020-10-25 03:52:51 +01:00
Neinei0k
1a9dcdb3db
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
d30661a189
Gui: [skip ci] move support of SpaceMouse Explorer to its own event handler function
2020-10-24 19:04:28 +02:00
TinkerGnome
bad65c52f4
handle button presses on "Spacemouse Enterprise"
2020-10-24 18:52:18 +02:00
wmayer
b4f17452fe
Add list of all available 3Dconnexion devices
2020-10-24 18:52:03 +02:00
wmayer
46e44a0340
Gui: do not use event handling of SpaceMouse Plus XT for Enterprise model
2020-10-24 18:51:52 +02:00
wmayer
067b51b835
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
a305b3b53f
Sketcher: Capitalize opeCommand() text [skip-ci]
2020-10-24 12:26:35 +02:00
luz paz
8068a5307a
Sketcher: Fix typos [skip-ci]
2020-10-24 12:26:35 +02:00
luz paz
27fc4d6c7e
Fix various typos [skip-ci]
2020-10-24 12:25:46 +02:00
wmayer
cd0dfe1e87
App: [skip ci] fix printing warning for recursive calls of Document::_commitTransaction
2020-10-23 20:50:23 +02:00
wmayer
fbcf8dfa5d
App: [skip ci] fix possible segmentation fault when performing a transaction after an undo
2020-10-23 19:47:33 +02:00
wmayer
13850707ef
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
b5d3ba129c
Sketcher: [skip ci] fix crash when deleting a selected geometry directly with delGeometry()
2020-10-23 11:56:17 +02:00
wmayer
9b806f4ac9
Sketch: [skip ci] handle possible crashes when decreasing degree of a spline
2020-10-23 11:26:15 +02:00
wmayer
d532f8ef33
Sketcher: implement command to decrease degree of a B-spline
2020-10-23 00:36:41 +02:00
wmayer
4fbc693014
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
09c72214e8
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
da46b9de3d
Sketcher: [skip ci] remove superfluous transaction when start/finish editing a sketch
2020-10-22 19:35:20 +02:00
Russell Johnson
a7230d4e13
Path: Fixes ticket #4471
2020-10-22 10:55:51 -05:00
marioalexis
1aa371a819
Draft: Fix logical error in is_line function
2020-10-22 17:14:46 +02:00
wmayer
731f89ccbf
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
ae33d9eb91
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
3a31a36fae
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
fcc9a68f8e
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
f945b4c6ae
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
19978b5e31
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
7cddeb0283
Sketcher: clean up line spacing for VirtualSpace command
2020-10-22 14:53:52 +02:00
vocx-fc
9936004fbc
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
3ce832896d
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
5d37581019
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
b47a0a0a58
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