Commit Graph

20213 Commits

Author SHA1 Message Date
Bernd Hahnebach
efb5cd9828 FEM: typo 2020-03-22 09:51:27 +01:00
Bernd Hahnebach
96c293073c FEM: fix contact shell shell example 2020-03-22 09:51:22 +01:00
Bernd Hahnebach
ac8b5db1c3 FEM: tetgen exporter, get rid of active document 2020-03-22 09:51:17 +01:00
Bernd Hahnebach
c9bca5bd15 FEM: examples, better choose active document for fit view 2020-03-22 09:51:13 +01:00
sliptonic
5fc4a26a00 Merge pull request #3224 from Russ4262/Fix_rotation_breaks_job
[Path] Fix failed Job creation due `EnableRotation` property error
2020-03-21 19:02:57 -05:00
Zheng, Lei
18054d95f3 PartDesign: fix SubShapeBinder make command 2020-03-21 22:12:27 +01:00
donovaly
172e28b6b4 [PD] add expressions to primitive dialog
see https://forum.freecadweb.org/viewtopic.php?f=3&t=36458
(a step forward to fix bug https://tracker.freecadweb.org/view.php?id=3981 )
2020-03-21 22:06:40 +01:00
Bernd Hahnebach
a345d7cbf4 FEM: fix link in coding conventions 2020-03-21 22:03:48 +01:00
wmayer
6008aa3ae3 App: add documentation to PropertyCleaner
move global variables static variables of PropertyCleaner
add unit test for removal of property in onBeforeChange
2020-03-21 18:33:08 +01:00
Russell Johnson
9bdbfc2a69 Fix failed Job creation due EnableRotation property error
PathAreaOp:   Add SetupProperties() function
PathPocketBase:   Modify SetupProperties() function to include return from same in PathAreaOp.
PathPocketShape:  remove blank indents
PathProfileBase:  Modify SetupProperties() function to include return from same in PathAreaOp.
PathProfileFaces:  fix `EnableRotation` issue
2020-03-21 11:05:46 -05:00
Zheng, Lei
34c35f8eff Gui: fix property editor crash on remove dynamic property
The crash happens when the dynamic property is removed due changes of
the very same property.
2020-03-21 15:43:12 +01:00
Zheng, Lei
d441a9ded5 App: make deleting dynamic property safer
Dynamic property can be removed at any time, even during triggering of
onChanged() signal of the removing property. This patch introduced
static function Property::destroy() to make it safer by queueing any
removed property, and only deleting them when no onChanged() call is
active.
2020-03-21 15:43:03 +01:00
donovaly
1102195a9a fix typos 2020-03-21 09:46:04 -04:00
donovaly
c77b63d2bd [TD] add property for section line style
see https://forum.freecadweb.org/viewtopic.php?f=35&t=44320
2020-03-21 09:46:04 -04:00
donovaly
6fa80d8cbf [TD] fix order of arrow heads
see https://forum.freecadweb.org/viewtopic.php?f=35&t=44334#p378675
2020-03-21 09:44:07 -04:00
wandererfan
30a0047cd4 [TD]Fix handling of CL flip parameter 2020-03-21 09:40:22 -04:00
wmayer
1cfe6d2cc7 Part: [skip ci] support of expressions of Euler angles in attachment dialog 2020-03-21 14:27:53 +01:00
wandererfan
92d005b26f [TD]GeomHatch - handle empty parameter 2020-03-20 18:42:48 -04:00
wandererfan
4a0ab015f6 [TD]Hatch - handle empty parameter - use default 2020-03-20 18:42:48 -04:00
Zheng, Lei
509cbfa53c PartDesign: allow making new ProfileBased feature using multiple faces 2020-03-20 16:38:00 +01:00
Zheng, Lei
4dd16c58ed PartDesign: allow multiple faces in feature ProfileBased 2020-03-20 16:38:00 +01:00
donovaly
cf69517aa8 TaskBalloon.ui: add and correct tooltips 2020-03-20 11:34:03 -04:00
donovaly
7e60dcd734 - add missing update on changed color
- some minor code rearrangements and wording changes
2020-03-20 11:34:03 -04:00
donovaly
14fbda341c [TD] Balloon fixes
- remove the unused property OriginIsSet
- refurbish TaskDialog and add new settings:
  - use SpinBox for Shape Scale
  - add Font Size
  - add Text Color
  - add Line Width
  - add Kink Length
- correct and add tooltips
2020-03-20 11:34:03 -04:00
Bernd Hahnebach
7f6dde209f FEM: z88 icon, replace with svg 2020-03-20 15:42:24 +01:00
Zheng, Lei
5eb298ddcd PartDesign: fix SubShapeBinder solids fuse 2020-03-20 15:02:20 +01:00
Zheng, Lei
3366a245f5 PartDesign: improve SubShapeBinder make command 2020-03-20 15:02:20 +01:00
Zheng, Lei
b3835cd69d PartDesign: remove SubShapeBinder.Support hidden status
Change Immutable status to ReadOnly, which makes it easy to set value
in script, but still block editing in property view by default. This is
to discourage user editing support using property editor, because
SubShapeBinder requires relative link correction.
2020-03-20 15:02:20 +01:00
Zheng, Lei
179a2c2547 PartDesign: improve SubShapeBinder property documentation 2020-03-20 15:02:20 +01:00
Zheng, Lei
d949447f89 PartDesign: change SubShapeBinder claim children behavior 2020-03-20 15:02:20 +01:00
Zheng, Lei
4a26bd0b2f PartDesign: disable SupportTransform on legacy dressup feature
Because in order to SupportTransform, dressup must calculate its
AddSubShape, which is empty for existing legacy dressup feature.
2020-03-20 14:50:59 +01:00
Zheng, Lei
974267bc6e PartDesign: fix dressup AddSubShape transformation
AddSubShape must not have local transformation.
2020-03-20 14:50:59 +01:00
wandererfan
dd794a9e34 [TD]update balloon test case for OriginIsSet 2020-03-20 08:56:07 -04:00
wmayer
544bb22221 Gui: [skip ci] fix bug in Placement dialog when leaving with Esc 2020-03-20 13:34:48 +01:00
wandererfan
080c658ab1 [TD]avoid crash on cancel of section edit 2020-03-20 07:28:33 -04:00
wandererfan
072b6f11b1 [TD]make geom hatch lines on property change 2020-03-20 07:28:33 -04:00
wandererfan
3c0d9d3d98 [TD]add separate property for geom hatch 2020-03-20 07:28:33 -04:00
wandererfan
7a9a87fa6c [TD]common preference getters for hatches 2020-03-20 07:28:33 -04:00
vocx-fc
69af481235 Draft: update unit test for gui_snapper 2020-03-20 08:11:04 -03:00
vocx-fc
699624fd26 Draft: move DraftSnap to another module
And do not load the `Snapper` in `DraftGui`.
The Snapper should be initialized by the module
that imports `DraftGui`, most probably `DraftTools`
or even by the `InitGui` of the workbench.
2020-03-20 08:11:04 -03:00
vocx-fc
d80ee4a820 Draft: properly import the Snapper class
Avoid star imports, and prepend the module name,
`DraftSnap.Snapper()`.
2020-03-20 08:11:04 -03:00
vocx-fc
f1a3e14226 Draft: move snap commands to an individual module
This way we remove lines from `DraftTools.py`
and we can more easily identify where the snapping
commands are defined.
2020-03-20 08:11:04 -03:00
0penBrain
71d4eedf0a [Sketcher] Remove 'Hexagonal profile' menu ; fixes #4290
Menu creation has been removed (commented) but all other profile feature are kept
 for compatibility.
2020-03-20 12:10:35 +01:00
wmayer
bce7e55e19 Gui: [skip ci] fix tab ordering in document settings page 2020-03-20 11:55:03 +01:00
M G Berberich
8e118a9e33 Gui: [skip ci] added thumbnail size to UI
Added a spinbox for the thumbnail-size to the document preference.
2020-03-20 11:15:05 +01:00
wmayer
c314a98a01 Gui: [skip ci] fix regression in tab order caused by 1b957e581 2020-03-20 10:38:07 +01:00
Bernd Hahnebach
5b644edea2 FEM: sort equation commands 2020-03-19 21:23:33 +01:00
wmayer
1fc309bb58 Gui: [skip ci] simplify Application::setStyleSheet and directly check if the passed file name exists 2020-03-19 19:37:49 +01:00
vocx-fc
111777fa0a TechDraw: use only plural instead of Line(s) 2020-03-19 12:12:17 -04:00
donovaly
1b957e5811 [GUI] some preferences cleanup
as requested and discussed in https://forum.freecadweb.org/viewtopic.php?f=27&t=43984#p376950
and following
2020-03-19 16:57:37 +01:00