Commit Graph

20245 Commits

Author SHA1 Message Date
wmayer
c32c9d5658 Part: [skip ci] commit and open transaction when clicking Apply in Attachment dialog (Python version) 2020-03-23 13:06:38 +01:00
vocx-fc
ffb802d72c Arch: import from draftutils instead of DraftTools
These functions were moved from DraftTools and DraftGui
to individual modules precisely to make them easy to import.
Otherwise we have to import the entire DraftTools and DraftGui
modules which creates dependency problems when we want to use
some functions without the graphical interface.
2020-03-23 12:14:58 +01:00
vocx-fc
a150b3048d Draft: use functions from the utils module, not DraftGui
These functions were moved from DraftGui to individual
modules precisely to make them easy to import.
Otherwise we have to import the entire DraftGui module
which creates dependency problems when we want to use
some functions without the graphical interface.
2020-03-23 12:14:58 +01:00
vocx-fc
a86e2a69b1 Draft: ImageTools, import new gui_trackers module 2020-03-23 12:14:33 +01:00
vocx-fc
791f799626 Draft: update unit test for new gui_trackers module 2020-03-23 12:14:33 +01:00
vocx-fc
439d021dd7 Draft: Snapper class with new gui_trackers module
Also change the imports in `DraftFillet.py`
and `DraftEdit.py` so the trackers are found.
2020-03-23 12:14:33 +01:00
vocx-fc
b38dcd9ff6 Draft: move DraftTrackers to another module.
Properly import the tracker classes. Avoid star imports,
and use the classes prefixed with the name of the module.
The BIM Workbench also has to be updated to use the new
module.
```
import draftguitools.gui_trackers as DraftTrackers
```
2020-03-23 12:14:33 +01:00
Kurt Kremitzki
9f766102f6 Correct usage of SOURCE_DATE_EPOCH 2020-03-22 15:22:01 +01:00
mwganson
40f50736f7 [Spreadsheet] [skip ci] fix bug where aliases renamed in the spreadsheet were not getting renamed in sketcher constraints 2020-03-22 15:20:53 +01:00
Bernd Hahnebach
4d9090f9e9 FEM: all objects unit test, add result mesh to result obj 2020-03-22 14:57:03 +01:00
donovaly
0224206c62 [TD] Hatch: use more useful step size 2020-03-22 09:38:38 -04:00
donovaly
41789e58c6 [TD] make GeomHatch dialog show changes immediately
also change SpineEdit step to better values
2020-03-22 09:37:42 -04:00
donovaly
47fda412bb [TD] make LeaderLine dialog show changes immediately 2020-03-22 09:37:04 -04:00
donovaly
1d8df25e32 [TD] missing arrow style change
I missed this change in PR #3221
2020-03-22 09:34:45 -04:00
donovaly
58b926e308 forbid negative width and size
- also uniform line endings
2020-03-22 09:33:38 -04:00
donovaly
b0fc725077 [TD] make balloon dialog show changes
see https://forum.freecadweb.org/viewtopic.php?f=35&t=44362
2020-03-22 09:33:38 -04:00
donovaly
f7940677d2 [TD] deny input of negative lengths in pref dialogs
see https://forum.freecadweb.org/viewtopic.php?f=35&t=44374&p=379207#p379207
2020-03-22 09:31:45 -04:00
wandererfan
8316b0a959 [TD]properly initialize Unit Widgets in Prefs 2020-03-22 09:31:08 -04:00
Bernd Hahnebach
bbf295a30e FEM: python base constraint, do not add stats as Type 2020-03-22 13:58:05 +01:00
Bernd Hahnebach
9749d08d89 FEM: 2D FEM example, update result, shell thickness and material object 2020-03-22 13:42:20 +01:00
Bernd Hahnebach
0b889e6e8d FEM: 3D FEM example, update result and material object 2020-03-22 13:42:15 +01:00
Bernd Hahnebach
af773b566e FEM: unit test, improve all objects test 2020-03-22 13:42:09 +01:00
Bernd Hahnebach
6875b0e32a FEM: solver Z88, fix icon 2020-03-22 13:42:05 +01:00
wmayer
751873ff16 Gui: [skip ci] make log messages distinguishable to see if X11 or polling API if spacenav is used 2020-03-22 12:55:52 +01:00
Bernd Hahnebach
e25cdd2d04 FEM: gmsh mesh VP, some comments 2020-03-22 11:37:13 +01:00
Bernd Hahnebach
039c25300b FEM: mesh result object, use the new Python Gui base object without display mode setting 2020-03-22 11:25:58 +01:00
Bernd Hahnebach
01c2386a19 FEM: Python Gui Base object without display modes 2020-03-22 11:25:58 +01:00
Bernd Hahnebach
3ff9d36e92 FEM: result mechanical, change obj type 2020-03-22 11:25:58 +01:00
Bernd Hahnebach
158e076f1f FEM: result mesh, change obj type 2020-03-22 11:25:58 +01:00
Bernd Hahnebach
f6d9850750 FEM: Python base constraint VP, better log in get icon 2020-03-22 11:25:58 +01:00
Bernd Hahnebach
e5ec4f3165 FEM: typo, pep8 2020-03-22 10:36:44 +01:00
Bernd Hahnebach
894b55aa95 FEM: examples, new lines 2020-03-22 09:51:32 +01:00
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