Commit Graph

16453 Commits

Author SHA1 Message Date
carlopav
4e4218e01a Update DraftTrackers.py
Upate bezier curve tracker to accept a given degree of the curve and to be able to segment the preview in a similar way the curve creator work.
2019-04-08 17:17:21 -03:00
Yorik van Havre
8602c887d8 Create CODE_OF_CONDUCT.md 2019-04-08 16:27:38 -03:00
wmayer
f5b6f3a36d fix -Wmaybe-uninitialized 2019-04-08 15:07:12 +02:00
wmayer
725ffe5217 Fix several compiler warnings:
fix -Wunused-parameter
fix -Winconsistent-missing-override
fix -Wsometimes-uninitialized
2019-04-08 15:04:07 +02:00
Abdullah Tahiri
2fabda1605 Sketcher: Constraint improvements
=================================

Copy constructor made private, as copies are handled via copy() and clone() methods which generate pointers, not objects.
Private copy constructor, used for copy(),  made default implementation.
Destructor made default.
Copy and Clone made non-virtual, as the class does not have children.
Added override to persistance inherited virtual functions.
move operators explicitly disallowed to note that they are not intended in the current implementation.

Perfectly ok to have only private copy constructor for internal use
2019-04-08 14:35:47 +02:00
Abdullah Tahiri
504a687ad6 V1016 CWE-681 2019-04-08 14:35:47 +02:00
Abdullah Tahiri
3926ea18ca V547 CWE-571 2019-04-08 14:35:46 +02:00
Abdullah Tahiri
eebd4cecdb V560 CWE-570 2019-04-08 14:35:46 +02:00
MA-LAPTOP\apeltauer
5407d31c6b Build with Multiple Processes, decreases the build time 2019-04-08 13:21:41 +02:00
Yorik van Havre
7de2248bb5 Draft: Fixed node selection in Draft Edit 2019-04-07 17:24:40 -03:00
Yorik van Havre
4f19a65559 Draft: Added 3-point arc command from BIM WB 2019-04-07 17:23:42 -03:00
Yorik van Havre
2935cbb71a Better vertices comparison 2019-04-07 12:15:50 -03:00
paullee0
6de9183dad Fix findIntersection() can't find coincident points due to overspecifying Precision by user
- Cap Precision in precision()
2019-04-07 12:15:50 -03:00
paullee0
9bce6a4838 OffsetWire() - Seems has repeatedly sortEdges, remark out here
- edges = Part.__sortEdges__(wire.Edges)
2019-04-07 12:15:50 -03:00
paullee0
7d142b16a0 Fix connect() bug - If prev v2 had been calculated, do not calculate again, just use it as current v1
- avoid chance of slight difference in result
2019-04-07 12:15:50 -03:00
paullee0
e3e95e3ea5 Fix offsetWire() bug - first edge vector should depends on geometry (line or arc) 2019-04-07 12:15:50 -03:00
DinoMesina
144ce0dbaf Modify using FreeCAD.Vector.getAngle() 2019-04-07 12:14:25 -03:00
Markus Lampert
8e457a6694 Adding tool tips to pocket extension dialog 2019-04-07 12:20:45 +02:00
markus
a19170ba6a Python3 fix for iterating over dictionary keys 2019-04-07 12:20:45 +02:00
Markus Lampert
01b3f57084 Fixed colour for visibility and changed selection model to extended. 2019-04-07 12:20:45 +02:00
Markus Lampert
902298711c Fixed ExtensionCorners initial value and added it to setup parameters. 2019-04-07 12:20:45 +02:00
Markus Lampert
ae7ffd2be3 Persiste ExtensionCorners state for consistent UI 2019-04-07 12:20:45 +02:00
Markus Lampert
d38a4087de Use expression for pocket extension default length 2019-04-07 12:20:44 +02:00
Markus Lampert
b583439b27 Added Show All pocket extension checkbox for better UX. 2019-04-07 12:20:44 +02:00
Markus Lampert
2fb4196630 Use colour to indicate pocket extension enablement 2019-04-07 12:20:44 +02:00
Markus Lampert
06bafa372f Encapsulating swtich in _Extension class 2019-04-07 12:20:44 +02:00
Markus Lampert
0367c28fbc Added support for global extend corners 2019-04-07 12:20:44 +02:00
Markus Lampert
dcbe97144b Maintain tree collapse state over extension refreshs 2019-04-07 12:20:44 +02:00
Markus Lampert
6df14de1e9 Maintain extension selection over update. 2019-04-07 12:20:43 +02:00
Markus Lampert
6fb98ed5c2 Fixed update of extensions when length changes 2019-04-07 12:20:43 +02:00
Markus Lampert
b01d10055b Switched extension UI to tree view dependent on the base objects. 2019-04-07 12:20:43 +02:00
Markus Lampert
f52a99f752 Fixed Path WB icon path 2019-04-07 12:20:43 +02:00
Markus Lampert
9f618d5ddf Restore pocket selection behaviour 2019-04-07 12:20:43 +02:00
Markus Lampert
9002cd1356 Use start point proximity to determine which wire to select for the extension. 2019-04-07 12:20:42 +02:00
markus
10428fd3cb Using offset2D for properly creating the extension 2019-04-07 12:20:42 +02:00
markus
58f5cfa5ae Disabling length and direction columns for now. 2019-04-07 12:20:42 +02:00
markus
fbdc3dad54 Fixed UI to update dirty state correctly 2019-04-07 12:20:42 +02:00
markus
cfe27f7d39 Add extension faces to removal shape generation. 2019-04-07 12:20:42 +02:00
markus
1b214515d9 Cleanup so artifacts on task panel close. 2019-04-07 12:20:42 +02:00
markus
1c74eee9df Simple visualisation of removal shape extensions. 2019-04-07 12:20:42 +02:00
markus
c8dc0e344d Added extracting the wire of an extension 2019-04-07 12:20:41 +02:00
markus
159f5ae931 Basic UI to add extension features. 2019-04-07 12:20:41 +02:00
markus
068c0724e8 Basic UI for editing pocket shape extensions. 2019-04-07 12:20:41 +02:00
markus
79def8b235 Added UI page pocket extension; changed selection agent. 2019-04-07 12:20:41 +02:00
wmayer
9346d76aa2 fix bug when checking for str type in PropertyEnumeration::setPyObject 2019-04-07 12:16:18 +02:00
Yorik van Havre
35ecc15a80 Draft: Limit preferences precision value to max 10 2019-04-06 16:52:37 -03:00
Joel Graff
7660c428a5 removed all document recompute calls 2019-04-06 16:39:49 -03:00
wandererfan
40d9a13055 DrawBalloon clean up
- resolve linker errors after merge
- expose useful properties
- resolve "ambiguous ancestor" messages after merge
2019-04-05 19:35:26 -04:00
wandererfan
cfb1f0e7ab Fix segfault from dynamic_cast w/o check 2019-04-05 19:35:26 -04:00
wandererfan
afe21f739c Add default parameter for Page Scale 2019-04-05 19:35:26 -04:00