Commit Graph

20526 Commits

Author SHA1 Message Date
sliptonic
19151cc547 Merge pull request #3336 from dubstar-04/chamferFixes
[PATH] Deburr Gui Fixes
2020-04-13 08:47:19 -05:00
sliptonic
47325c2ec0 Merge pull request #3339 from realthunder/FixPathSort
Path: fix path sort
2020-04-13 08:46:31 -05:00
wandererfan
4b416241c1 [TD]GlobalPlacement for loose 2D objects 2020-04-13 09:43:21 -04:00
wmayer
752272a8cb Tools: [skip ci] implement method to get commit number, date and branch name from sha 2020-04-13 13:32:32 +02:00
Sebastian Bachmann
19d090fe77 Resolve SyntaxWarning literal comparison in py3.8
Comparison with literals should be done using != and == and not 'is
not' and 'is'.
Found the files using:
find . -name \*.py -exec pylint --disable=all --enable=R0123 --score=no {} \;

Python 3.8 prints out SyntaxWarnings when reading the files, this
would happen for example on every installation.
2020-04-13 11:40:16 +02:00
Jean-Marie Verdun
5ff2d0513b Use "simpler" naming convention per user request 2020-04-13 11:39:14 +02:00
lorenz
e6266e2716 Draft: dwg-export: allow overwriting of files 2020-04-13 11:38:25 +02:00
vocx-fc
587781221c Draft: new ShapeString icon for the tree view 2020-04-13 11:36:47 +02:00
Zheng, Lei
1becccb152 Path: fix path sort 2020-04-13 14:34:18 +08:00
wandererfan
b174c380c2 [TD]"<" symbol embedded in html 2020-04-12 08:40:28 -04:00
Daniel Wood
82bee09bb7 Ensure join type is shown 2020-04-12 08:04:32 +01:00
Daniel Wood
54ce85acdf Deburr: signal for update when values are changed 2020-04-12 06:33:34 +01:00
WandererFan
05b17ccbfc [TD]apply global placement 2020-04-11 15:40:15 -04:00
wandererfan
093b6d9901 [Draft]support BSplineCurve in getNormal 2020-04-10 12:52:52 -04:00
Yorik van Havre
19744a9f83 Arch: Export ortho arrays to IFC 2020-04-10 14:31:14 +02:00
vocx-fc
9574c5698b Draft: parameters to control array options in the task panel
Use the value of the parameters `Draft_array_fuse`
and `Draft_array_Link` to set the default value
of the `Fuse` and `Link array` checkboxes in the task panels.
These default to `False` and `True`, respectively.

Whenever the user toggles a checkbox
the new value of the parameter is stored so that when
the command is used again the last state of the checkbox
is remembered.
2020-04-10 13:19:22 +02:00
vocx-fc
cd7f9c960d Draft: polararray .ui file, Link array by default 2020-04-10 13:19:22 +02:00
vocx-fc
a24f86ef75 Draft: gui_ and task_polararray cleanup 2020-04-10 13:19:22 +02:00
vocx-fc
81fc0e3089 Draft: orthoarray .ui file, Link array by default 2020-04-10 13:19:22 +02:00
vocx-fc
b43612787d Draft: gui_ and task_orthoarray cleanup 2020-04-10 13:19:22 +02:00
vocx-fc
7fe3281023 Draft: circulararray .ui file, Link array by default
Also small additions to the tooltips.
2020-04-10 13:19:22 +02:00
vocx-fc
68e3ab8dd1 Draft: gui_ and task_circulararray cleanup 2020-04-10 13:19:22 +02:00
wandererfan
3a81ca8fdd [TD]expose SymbolScale preference 2020-04-09 20:45:54 -04:00
wandererfan
88f45c2390 [TD]fix preference key for SectionEdges 2020-04-09 20:45:54 -04:00
Yorik van Havre
2175eb0939 Draft: Added convenience methods to the Draft Working Plane to set top, front and side positions 2020-04-09 16:59:01 +02:00
mwganson
c5c595226d add getCommandInfo() rename getShortcut to getCommandShortcut 2020-04-09 11:43:50 +02:00
mwganson
82d70a114d [skip ci] Add getShortcut(string) command to Gui, returns string value representing shortcut key accelerator for this command 2020-04-09 11:43:50 +02:00
vocx-fc
a1e8f97be2 Draft: move WorkingPlaneProxy to separate module
Previously it was in the `gui_selectplane` module
but we prefer to place it in its own module
so that the files are as small as possible.
2020-04-09 11:41:45 +02:00
vocx-fc
fd00904b9e Draft: add WorkingPlaneProxy button to the toolbar
We also rename it from `Draft_SetWorkingPlaneProxy`
to `Draft_WorkingPlaneProxy` as we want to indicate a new object
is created.
2020-04-09 11:41:45 +02:00
vocx-fc
824199c9b8 Draft: move SelectPlane task panel to a separate module 2020-04-09 11:41:45 +02:00
Bernd Hahnebach
9e0a668a12 Arch: rebar, fix code error 2020-04-08 21:02:03 +02:00
wandererfan
2cfb124ac6 [TD]dialog for Detail #4221 2020-04-08 13:23:28 -04:00
Yorik van Havre
595bfdabf5 Arch: Ability to add windows presets 2020-04-08 18:55:49 +02:00
Yorik van Havre
8f2c4e4d6a Arch: Added Wall Thickness property to Arch Pipes 2020-04-08 18:45:51 +02:00
wmayer
a5fbf61dea Base: [skip ci] support of spheres in InventorBuilder 2020-04-08 18:01:13 +02:00
0penBrain
6edcc8e95a [Mesh] Deviation preference can't be 0 ; fixes #4171
Prevent user to involuntarily set deviation value to 0 which makes FC to lag
https://forum.freecadweb.org/viewtopic.php?f=3&t=40214
2020-04-08 15:54:24 +02:00
sliptonic
d06df87c4b Merge pull request #3314 from Russ4262/SpinBox_Issues
[Path] Fix broken `Gui::QuantitySpinBox` class issues
2020-04-08 08:30:08 -05:00
Bernd Hahnebach
d7e3ed178e Arch: rebar, allow to make rebars from an edge too 2020-04-08 14:38:17 +02:00
vocx-fc
27be059164 Draft: polararray, clean up imports, docstrings, and checks 2020-04-08 11:08:29 +02:00
vocx-fc
a749c94196 Draft: orthoarray, add strictly rectangular arrays 2020-04-08 11:08:29 +02:00
vocx-fc
af46040e68 Draft: orthoarray, clean up imports, docstrings, and checks 2020-04-08 11:08:29 +02:00
vocx-fc
65acf43391 Draft: circulararray, clean up imports, docstrings, and checks 2020-04-08 11:08:29 +02:00
vocx-fc
144ecfce89 Draft: arc_3points, clean up imports and checks 2020-04-08 11:08:29 +02:00
vocx-fc
c6743999ec Draft: utils, add function to log calls 2020-04-08 11:08:29 +02:00
vocx-fc
d40bf0d5e8 Draft: moved some unit tests to TestDraftGui
Those unit tests that are registered in `Init.py` will always run,
while those that are registerd in `InitGui.py` will only run
when the graphical interface is available.

This allows us to more clearly distinguish functions that
should be able to run always, from those that may run only
when the interfce is available.
2020-04-08 11:07:51 +02:00
vocx-fc
b74841a5b1 Draft: Coin (Pivy) tests only when the graphical interface is up 2020-04-08 11:07:51 +02:00
vocx-fc
4ed4e2d496 Draft: unit tests registered in Init.py
This means that now the unit tests will run from
the console mode when using
```
FreeCADCmd -t 0
FreeCAD --console -t 0
```

This will allow us to catch errors more easily,
as we separate better the behavior of non-GUI
and GUI-required modules.

Also small spacing fixes and position of the license.
2020-04-08 11:07:51 +02:00
Russell Johnson
db18f3322a Path: PEP8 cleanup
line endings fix
2020-04-07 22:17:37 -05:00
Russell Johnson
bf114b606a Path: Fix broken Gui::QuantitySpinBox class
Now, custom expressions are applied to spinbox.
Spinbox now updates, after clicking elsewhere.
Path: Shorten for loop search
2020-04-07 22:17:37 -05:00
Bernd Hahnebach
b2d78ee95a Arch: rebar, add error prints 2020-04-07 21:12:33 +02:00