Commit Graph

20196 Commits

Author SHA1 Message Date
wandererfan
d210c14167 [TD]GeomHatch - handle empty parameter 2020-03-20 18:42:48 -04:00
wandererfan
54cd3b8130 [TD]Hatch - handle empty parameter - use default 2020-03-20 18:42:48 -04:00
Zheng, Lei
fa8c7ee0a3 PartDesign: allow making new ProfileBased feature using multiple faces 2020-03-20 16:38:00 +01:00
Zheng, Lei
46618410ce PartDesign: allow multiple faces in feature ProfileBased 2020-03-20 16:38:00 +01:00
donovaly
6f2f6018c6 TaskBalloon.ui: add and correct tooltips 2020-03-20 11:34:03 -04:00
donovaly
e68116f448 - add missing update on changed color
- some minor code rearrangements and wording changes
2020-03-20 11:34:03 -04:00
donovaly
76fb23d69f [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
018af63363 FEM: z88 icon, replace with svg 2020-03-20 15:42:24 +01:00
Zheng, Lei
a657e54450 PartDesign: fix SubShapeBinder solids fuse 2020-03-20 15:02:20 +01:00
Zheng, Lei
ce6eff0a22 PartDesign: improve SubShapeBinder make command 2020-03-20 15:02:20 +01:00
Zheng, Lei
7ee0ccbcf3 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
af119b9ca6 PartDesign: improve SubShapeBinder property documentation 2020-03-20 15:02:20 +01:00
Zheng, Lei
4364efca47 PartDesign: change SubShapeBinder claim children behavior 2020-03-20 15:02:20 +01:00
Zheng, Lei
709cc591fd 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
0795ca671a PartDesign: fix dressup AddSubShape transformation
AddSubShape must not have local transformation.
2020-03-20 14:50:59 +01:00
wandererfan
64e6bca2c4 [TD]update balloon test case for OriginIsSet 2020-03-20 08:56:07 -04:00
wmayer
32d8718639 Gui: [skip ci] fix bug in Placement dialog when leaving with Esc 2020-03-20 13:34:48 +01:00
wandererfan
9defe5440e [TD]avoid crash on cancel of section edit 2020-03-20 07:28:33 -04:00
wandererfan
cddb3fda75 [TD]make geom hatch lines on property change 2020-03-20 07:28:33 -04:00
wandererfan
252293adaf [TD]add separate property for geom hatch 2020-03-20 07:28:33 -04:00
wandererfan
4bc0718a3b [TD]common preference getters for hatches 2020-03-20 07:28:33 -04:00
vocx-fc
6a92cb968d Draft: update unit test for gui_snapper 2020-03-20 08:11:04 -03:00
vocx-fc
580270ce4a 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
6b87a416fd 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
3ac2e079bc 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
00142c9b32 [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
b50529e5d1 Gui: [skip ci] fix tab ordering in document settings page 2020-03-20 11:55:03 +01:00
M G Berberich
7e9c20c949 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
0e8c23257b Gui: [skip ci] fix regression in tab order caused by 7ecb29133 2020-03-20 10:38:07 +01:00
Bernd Hahnebach
a100774034 FEM: sort equation commands 2020-03-19 21:23:33 +01:00
wmayer
a4935643e2 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
b15e448bac TechDraw: use only plural instead of Line(s) 2020-03-19 12:12:17 -04:00
donovaly
a59495fd59 [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
0penBrain
247a2a9579 Extend sketch grid boundaries by 1/2 step so it displays without border 2020-03-19 12:37:34 -03:00
UR-0
03b652930c DRAFT: import DXF version R12 minimalistic file with legacy importer 2020-03-19 12:21:39 -03:00
vocx-fc
f73de9912c Draft, Arch: coding conventions for the workbench 2020-03-19 12:20:03 -03:00
wmayer
6f80d466ad Gui: [skip ci] make it configurable to set size of thumbnails 2020-03-19 16:16:17 +01:00
vocx-fc
e836811e3c Draft: improve the README files with links 2020-03-19 12:11:16 -03:00
vocx-fc
33092ce82c Draft: recompute before using radial dimension in the unit test
This solves a small bug in the radial dimension
unit test introduced in 7917b82c09, where a circle shape
is used before it is recomputed.

```
drafttests/test_creation.DraftCreation.test_dimension_radial
```
2020-03-19 12:10:56 -03:00
wmayer
522eefba4f Gui: move handing of style sheets to Application::setStyleSheet to avoid code duplication 2020-03-19 15:57:20 +01:00
donovaly
ed2b456818 TaskCenterLine.h: correct line endings 2020-03-19 09:33:31 -04:00
donovaly
00e5c48b3c [TD] cleanup and fixes for Centerlines
- merge the flip Ends option to the main dialog
- use a QuantitySpinBox with angular unit for the angle
- store the state of the flipping correctly
- cleanup UI of dialog to avoid vertical whitespace
2020-03-19 09:33:31 -04:00
donovaly
c374a1213a [TD] fix LeaderLine dialog
- remove unnecessary layouts and avoid vertical whitespace
2020-03-19 09:29:40 -04:00
donovaly
865f2af0da [TD] use enum for line style
see https://forum.freecadweb.org/viewtopic.php?f=10&t=44268#p377798
2020-03-19 09:28:39 -04:00
donovaly
7251e586d1 DrawViewBalloon.cpp: add missing renaming routine 2020-03-19 09:26:50 -04:00
donovaly
7f58c979b7 [TD] use uniform naming for balloon outline
- in the prefs we call the outline "shape" and this describes it better than "symbol" (it is the shape of the bubble). The line end, however, has a symbol so "Shape" makes clear that is is something different.
2020-03-19 09:26:50 -04:00
triplus
873769d021 Use relative path to stylesheet fix #4130 2020-03-19 14:25:03 +01:00
wmayer
3079fea303 MeshGui: workaround for bug in Coin3d 2020-03-19 14:17:52 +01:00
wmayer
ed04d40e2b Sketcher: modify PR 3201 a bit
+ remove unneeded class members from EditData class
+ do not include ui-header from within header files
+ fix possible memory leak in EditDatumDialog
+ when canceling dialog make sure sketch will be updated
2020-03-19 13:45:52 +01:00
0penBrain
d520de1aba [Sketcher] Constraint driving/driven status integration in dimension edition dialog
This integrates the ability to manage dimensional constraint driving/driven status
 in the constraint edition dialog box.
 It adds a checkbox in the dialog to show/select whether a constraint is driving or
 driven. When the constraint value is modified, it is automatically set as driving.
 Main focus is to allow to edit name (alias) of reference (driven) constraints
 directly in the constraint edition box.

 Resolves #3793, #3978
2020-03-19 13:45:52 +01:00