Commit Graph

18539 Commits

Author SHA1 Message Date
Grey Christoforo
5690909e49 fix brick01 file name 2019-12-29 21:25:14 +01:00
carlopav
a3d650b386 [Draft] Auto add new object to App::Part
Auto add object to part container if active and if no other autogroup object is selected by the user.
Note that object placement is automatically corrected to not jump over space.
[Draft] App::Part autogroup point object
2019-12-29 20:25:50 +01:00
wmayer
a5630bc689 fix some const correctness 2019-12-29 17:13:18 +01:00
wandererfan
bb45c7b97e [TD]adjust symbol location for font and text 2019-12-29 09:39:47 -05:00
wandererfan
42b3358f13 [TD]fix #4234 initial display of section label 2019-12-29 09:39:47 -05:00
carlopav
d4e32c1607 [Draft] getGroupContents and App::Part
App::Part contained objects should not be moved if also App::Part is moved
2019-12-29 15:24:14 +01:00
wmayer
c5c3b41c8f Gui: add virtual method containsViewProvider to MDIView and re-implement it in some sub-classes
Improve Document::setActiveView to not always switch to the first 3D view but check the currently active view before
2019-12-29 15:00:35 +01:00
wmayer
c66622e4d6 set explicit utf-8 encoding for some Python modules 2019-12-29 14:00:08 +01:00
wmayer
75fb8886ac declare getMDIView and getMDIViewPage as const 2019-12-29 13:55:39 +01:00
carlopav
f0d21a8755 [Draft] Move and Rotate documentation of recent changes
[Draft] Edit: small typo fix
2019-12-29 11:46:02 +01:00
wmayer
7f77b1e6c9 TechDraw: [skip ci] fix -Winconsistent-missing-override 2019-12-29 00:02:15 +01:00
carlopav
100dd0bfcc [Draft] Edit, changed endEdit
Before behaviour when user click and when user input coordinates:
1- mousePressed -> endEditing -> numericInput -> update
2- numericInput -> update
Now:
1- mousePressed -> endEditing -> update
2- numericInput -> endEditing -> update
2019-12-28 15:59:26 -03:00
carlopav
af8671caa2 [Draft] Edit Documentation
Documented better the whole tool.
Changed the name of self.call to self. selection_callback for easier code reading.
[Draft] Edit small bugfix

Deleted a bunch of code I PR by error
2019-12-28 15:59:26 -03:00
vocx-fc
1b45c3da7e Draft: fix CMakeLists to install files in directories 2019-12-28 15:56:02 -03:00
wmayer
b00f8b0226 Gui: allow user to set an expression for property editor of vectors 2019-12-28 17:36:41 +01:00
wmayer
a92cf1a785 Base: [skip ci] do not normalize axis when changing angle of a Rotation object 2019-12-28 14:04:02 +01:00
WandererFan
5bd578d6eb [TD]update property name in Balloon test case 2019-12-27 20:27:19 -05:00
WandererFan
eb46f15159 [TD]fix overload warning 2019-12-27 20:27:19 -05:00
WandererFan
a6b3de4220 [TD]fix Balloon placement issues
- contributed by @lidiriel
2019-12-27 20:27:19 -05:00
Yorik van Havre
e6fbf55a0c Arch: Fixed bug in materials merging 2019-12-27 21:32:33 -03:00
carlopav
36340068ec [Draft] Draft.rotate() add support for App::Part 2019-12-27 22:44:07 +01:00
wmayer
13b6961943 Sketcher: [skip ci] force redraw after using rubberband selection 2019-12-27 21:18:27 +01:00
wmayer
7f720e9318 [skip ci] scale grabbed image to defined width 2019-12-27 21:00:34 +01:00
carlopav
f2792f9fc6 [Draft] Draft.move() add support for App::Part
Added getGlobalPlacement to vector calculation.
[Draft] Move bug fix
2019-12-27 20:41:04 +01:00
wmayer
674952d0aa Gui: [skip ci] allow to pass multi-sampling in Python wrapper 2019-12-27 15:19:19 +01:00
vocx-fc
11f4fabf2f Draft: add GuiCommandBase class to serve as the parent class of all DraftTools
Prepare auxiliary directories to restructure all graphical tools
for objects, viewproviders, gui commands, and taskpanels.
2019-12-27 11:01:34 -03:00
wmayer
4a373effb4 Gui: [skip ci] show navi cube also when rendering as framebuffer or GL image 2019-12-27 13:57:21 +01:00
wmayer
194fa49bfa Gui: [skip ci] add option to grab 3D view as is 2019-12-27 13:52:34 +01:00
luz.paz
8cfa85cf18 Draft: [skip ci] Fix header uniformity
This PR fixes header uniformity across all Draft files
2019-12-27 00:16:12 +01:00
wmayer
5557e7b41b TechDraw: [skip ci] fix warnings -Wunused-private-field and -Winconsistent-missing-override 2019-12-26 20:13:52 +01:00
Zheng, Lei
ad3167137d Draft: fix array restore 2019-12-26 15:56:31 -03:00
ageeye
2a5328b693 Use DraftVecUtils.tup only two times. 2019-12-26 15:54:10 -03:00
ageeye
0f81a0dd68 Fix the Draft Array polar type. Rotate first global and then object own rotation(spin) of placement. 2019-12-26 15:54:10 -03:00
Syres916
e96dcda79d [Draft] ImportDXF Bug upgrading from 0.16
See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=41879
2019-12-26 15:52:30 -03:00
luz.paz
8af8689d73 Arch: [skip ci] fix header uniformity
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
luz.paz
a4127f3c14 ReverseEngineering: [skip ci] Fix header uniformity
This PR fixes header uniformity across all ReverseEngineering files
2019-12-26 18:22:37 +01:00
luz.paz
fd89a73b8a Robot: [skip ci] fix header uniformity + trailing whitespace
This PR fixes header uniformity across all Robot files
2019-12-26 18:22:03 +01:00
carlopav
b14dca0918 [Draft] Edit further cleanup
[Draft] Edit fix minor bug
2019-12-26 13:31:06 -03:00
carlopav
6ab4a8a202 [Draft] Edit _ code cleanup
According to @vocx_fc suggestions, this commit is a first cleanup of the code.
2019-12-26 13:31:06 -03:00
carlopav
81862dd280 [Draft] Edit: improved Draft Circle editing
Now Draft circle editing works also with App::Part
2019-12-26 13:31:06 -03:00
carlopav
4c065fb782 [Arch] Added Draft Edit Command to toolbar 2019-12-26 13:31:06 -03:00
carlopav
64314e557a [Draft] Edit _ improved rectangle editing
Improved rectangle editing to use 3 nodes. Now it works also inside App::Part
2019-12-26 13:31:06 -03:00
carlopav
7042446504 [Draft] Edit: general refactor
Changed names of several methods from set to get, changed the general set of nodes, improved placement calculation to use getGlobalPlacement instead of Placement.
2019-12-26 13:31:06 -03:00
vocx-fc
050b13e10c Arch: division including a float to obtain correct result 2019-12-26 13:22:35 -03:00
wandererfan
0b3ad7b17b [TD]fix Py2/Qt4 errors 2019-12-26 08:56:21 -05:00
wandererfan
119bb2d7e5 [TD]format RichAnno frame 2019-12-26 08:56:21 -05:00
wandererfan
b3a926f1d4 [TD]make symbol text adjustable
- also fix QGIWeldSymbol bounding rect
2019-12-26 08:56:21 -05:00
wandererfan
983c038949 [TD] remove obsolete code 2019-12-26 08:56:21 -05:00
wandererfan
29138d7225 [TD]fix Leader position override by QGIView 2019-12-26 08:56:21 -05:00
wandererfan
14913bb581 [TD]add static routine for default line weights 2019-12-26 08:56:21 -05:00