Commit Graph

15430 Commits

Author SHA1 Message Date
donovaly
ec05f120fb another improvement 2020-03-13 09:01:43 -04:00
donovaly
c9b6078239 [TD] wording fixes and improvement for advanced prefs 2020-03-13 09:01:43 -04:00
donovaly
8c9a568d2c better UI names for arrow ends,
see https://forum.freecadweb.org/viewtopic.php?f=35&t=21857&p=376366#p376381
2020-03-13 09:01:06 -04:00
donovaly
a219f92711 [TD] fix arrow end None for dimensions
This was not merged from my PR to PR #3153

- also uniform the combobox appearance in the preferences
2020-03-13 09:01:06 -04:00
wandererfan
37b578bf49 [TD]support App::Link in View Source 2020-03-13 09:00:14 -04:00
Bernd Hahnebach
8705a6f3cf FEM: examples, some code improvements 2020-03-13 09:19:27 +01:00
Bernd Hahnebach
2b12bbe274 FEM: extend code conventions 2020-03-13 09:19:20 +01:00
Bernd Hahnebach
23b5cebe7c FEM: typo 2020-03-13 06:52:22 +01:00
mwganson
520b5cc0aa [Spreadsheet] fix bug where duplicate / bad aliases were being allowed. 2020-03-12 15:47:54 +01:00
mwganson
c337cfeec2 [Spreadsheet] add alias line edit next to contents line edit -- add back in some inadvertently removed code 2020-03-12 15:47:54 +01:00
mwganson
de1cc43b0b [Spreadsheet] add alias line edit next to contents line edit 2020-03-12 15:47:54 +01:00
Yorik van Havre
1fb999be37 Arch: Fixed regression in layers 2020-03-12 11:33:07 -03:00
triplus
c676a817b8 Draft - enable toggle grid command in edit mode
Some people would like to have more control over draft grid visibility  while in Sketcher edit mode.  Hence this PR enables the usage of Draft ToggleGrid  command in Sketcher edit mode.

Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=34&t=43265&start=20#p374747
2020-03-12 09:26:48 -03:00
danreb25
728fdfb06a getColors BUG correction
correction proposed as explained in the forum topic https://forum.freecadweb.org/viewtopic.php?f=3&t=42191
2020-03-12 09:25:05 -03:00
vocx-fc
e41915e638 Draft: add new viewprovider icon for radius dimension
If it is a linear dimension show the older icon;
if it is a radius or diameter dimension show a new icon.

These three modes use the same Proxy class
and the same viewprovider class. Depending on the linked geometry
one icon or the other will be shown.
2020-03-12 09:12:11 -03:00
vocx-fc
3e3ed47367 Draft: add new viewprovider icons for specific objects
When there are many Draft objects in the tree view
the icon can be used to tell different objects apart quickly.
One icon is used for objects that are "straight lines",
whose Proxy is of type `Line`, `Wire` or `Polyline`; another icon
for "regular geometrical" shapes of type `Rectangle` or `Polygon`;
and another icon for "curved" objects of type `Circle`,
`Ellipse`, `BSpline`, `BezCurve`, or `Fillet`.

Other objects use the older default icon.
2020-03-12 09:12:11 -03:00
carlopav
8fd55eb6ff [Draft] Remove AddPoint and DelPoint commands from UI
[Draft] Edit: Remove Bezcurve interface from Edit Ui


[Draft] Edit: cleanup


small improvement to tooltip
2020-03-12 09:11:34 -03:00
carlopav
e79c1e6c99 [Draft] Uniform length and xyz inputfield behaviour
Single returnPressed to accept point if cursor is parallel to xyz axis for bot setfocus on x and on length inputfields.
[Draft] Edit_updated tooltip


[Draft] DraftGui Further cleanup and bugfix
2020-03-12 09:11:34 -03:00
carlopav
f5f43913e0 [Draft] DraftGui and DraftEdit Cleanup to remove AddPoint & DelPoint
Lines to be deleted in DraftGui in the future, are now commented.
2020-03-12 09:11:34 -03:00
carlopav
6182aea46b [Draft] DraftGui Bugfix on selecting inputfields
https://forum.freecadweb.org/viewtopic.php?f=23&t=43145&p=367517#p367517
2020-03-12 09:11:34 -03:00
vocx-fc
215c29caf1 Draft: implement unit test for angular dimension
Previously the `makeAngularDimension` function produced
error messages in the report view due to internal rounding
of `App::PropertyAngles`.
This was fixed in `Base::Quantity`, which now supports
Python's `__round__` function.
2020-03-12 09:06:11 -03:00
vocx-fc
81c2896928 Draft: implement unit test for radial dimension 2020-03-12 09:06:11 -03:00
vocx-fc
422d5f9d1f Draft: cleanup of unit tests code 2020-03-12 09:06:11 -03:00
vocx-fc
efd5367d94 Draft: unit test for arc by 3 points 2020-03-12 09:06:11 -03:00
vocx-fc
fb4a992ce0 Draft: add script to produce a test file as example
The test script can be run by the program's executable
or run as a macro.
```
freecad draft_test_objects.py
```

It can also be used as a Python module within the program
to create a test file on demand.
```
import drafttests.draft_test_objects as dt
dt.create_test_file()
```

The produced test file will be added in a different commit
once this commit is merged.
The idea is to have a test file created by a certain
stable version of the master branch. Then as the code
continues to change and grow, this file can be opened
with future versions of the program to test for compatibility
and regressions.
2020-03-12 09:06:11 -03:00
wandererfan
5a443e8df3 [TD]accept QGraphicsItem from Python 2020-03-12 07:58:38 -04:00
wmayer
e9aeef17ab fixes #0004286: PartDesign hole: angle of the tapered hole does not match the tapered angle specified [skip ci]
See https://forum.freecadweb.org/viewtopic.php?f=13&t=44056#p375915
2020-03-12 11:39:09 +01:00
Bernd Hahnebach
0e04844053 FEM: improve Python type checking and Python imports 2020-03-12 10:02:33 +01:00
Bernd Hahnebach
8ddbd110b6 FEM: qrc, add comment 2020-03-12 05:28:44 +01:00
Bernd Hahnebach
204563c255 FEM: result mesh vp, automate get icon 2020-03-12 05:28:32 +01:00
Bernd Hahnebach
fb3c54ab45 FEM: rename icon, mesh result object 2020-03-12 05:28:24 +01:00
wandererfan
0ab6ba7a5c [TD]remove Hatches from Display when deleted 2020-03-11 18:17:46 -04:00
wandererfan
b7146a5ea3 [TD]fix crash on RenderMode = NONE 2020-03-11 18:17:46 -04:00
wandererfan
f181c882e9 [TD]GOST welding symbols 64x64 2020-03-11 18:17:46 -04:00
wmayer
dce426bf8f PartDesign: [skip ci] New sketch function doesn't try any more to edit a selected sketch 2020-03-11 15:14:18 +01:00
wandererfan
c1d50ec3e4 [TD]Fix Balloon tool tip 2020-03-11 09:33:54 -04:00
wandererfan
2fa671d097 [TD]SymbolScale property to FloatConstaint 2020-03-11 09:33:54 -04:00
wandererfan
9c8c3a2e67 [TD]remove hard coded arrow types from UIs 2020-03-11 09:33:54 -04:00
wandererfan
ebf6d1ca2b [TD]make Arrow enums translatable 2020-03-11 09:33:54 -04:00
wandererfan
dcef41782e [TD]harmonize Arrow enums 2020-03-11 09:33:54 -04:00
Bernd Hahnebach
00733f4f76 FEM: result mesh, fix icon in tree view 2020-03-11 07:53:16 +01:00
Bernd Hahnebach
6cbb2e62f7 FEM: fluid material, use correct icon in tree view 2020-03-10 23:13:20 +01:00
Bernd Hahnebach
550b5a0965 FEM: gmsh mesh vp, use gmsh mesh icon in tree 2020-03-10 22:44:25 +01:00
Bernd Hahnebach
2a0ba98c09 FEM: constraint body heat source vp, fix tree view icon 2020-03-10 22:27:34 +01:00
Bernd Hahnebach
2c47e52c75 FEM: mesh gmsh vp, comment 2020-03-10 22:23:00 +01:00
Bernd Hahnebach
9882cb53f6 FEM: mesh region, change type 2020-03-10 22:21:01 +01:00
Bernd Hahnebach
35b8d5dbb0 FEM: mesh group, change type 2020-03-10 22:20:08 +01:00
Bernd Hahnebach
d230895c9f FEM: mesh boundary layer, change type 2020-03-10 22:19:14 +01:00
Bernd Hahnebach
f41a942b0e FEM: Python base view object, reactivate get icon method 2020-03-10 22:00:27 +01:00
Bernd Hahnebach
55bfa9dd7c FEM: Python base object fix regression added with 062d782236 by readding getstate method 2020-03-10 18:16:48 +01:00