Commit Graph

1301 Commits

Author SHA1 Message Date
carlopav
d6b703a68d Update DraftTools.py
Update Edit tool to edit wall base objects.
2019-02-09 20:00:38 -02:00
Yorik van Havre
3cc1a327ce Updated master translation files 2019-02-08 19:16:21 -02:00
luz.paz
cb4a0adf71 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Dion Moult
0802908e52 Move hardcoded tab shortcut for cycling elsewhere in prep for refactor 2019-02-08 10:59:26 -02:00
Dion Moult
0498a4c619 Allow tabbing to cycle through objects to snap
To do this, the object snapping code has been refactored into a snapToObject function. This allows it to be called on different objects easily. A new base class which handles the tab event has been added.
2019-02-08 10:59:26 -02:00
Yorik van Havre
95dda429eb Updated translations 2019-02-01 13:54:10 -02:00
Yorik van Havre
4c0f75c936 Draft: Fixed UI focus in arc tool 2019-02-01 12:16:52 -02:00
Dion Moult
dc9293fdf2 Fix to take into account joining an object into a closed wire. 2019-01-31 10:54:36 -02:00
Dion Moult
63d24f9eba Support splitting closed wires as well as open wires 2019-01-31 10:54:36 -02:00
Dion Moult
34fccb163d Add beautiful icons thanks to bitacovir
https://forum.freecadweb.org/viewtopic.php?p=283187
2019-01-31 10:54:36 -02:00
Dion Moult
962dd52d46 This type of tool only works on wires 2019-01-31 10:54:36 -02:00
Dion Moult
c3e73d925d Add split tool 2019-01-31 10:54:36 -02:00
Dion Moult
fe463cb1ad Make join modifier actually talk about joining 2019-01-31 10:54:36 -02:00
Dion Moult
1be2c76f80 I think being explicit is clearer, and prevents the liklihood of random falsy values 2019-01-31 10:54:36 -02:00
Dion Moult
6e5378b17d Add some docstrings for joinwires and jointwowires 2019-01-31 10:54:36 -02:00
Dion Moult
954cc2faad Now you can join multiple wires all at once 2019-01-31 10:54:36 -02:00
Dion Moult
7e7e298efb Sorry I can't believe I committed and pushed that 2019-01-31 10:54:36 -02:00
Dion Moult
40c5dbf15f Add new draft join tool 2019-01-31 10:54:36 -02:00
Yorik van Havre
aabf11926c Draft: Reverted 5ccc656 2019-01-31 10:53:40 -02:00
Yorik van Havre
d439aa407f Draft: edit fix for wires works for bsplines too 2019-01-31 10:53:40 -02:00
Dion Moult
128bcd6708 Adding new points on wires tests the edge you clicked on instead of an overcomplicated curve parameter check
* Makes adding points on wires and closed wires simpler and more reliable
 * Minor code cleanup to reduce the nesting of "if" statements
2019-01-31 10:53:40 -02:00
luz.paz
414f166662 Crowdin: Draft/Resources/ui/preferences-dxf.ui grammar fix 2019-01-30 11:08:03 -02:00
luz.paz
11a1a8f52c Crowdin: Draft/Draft.py fix grammar 2019-01-30 11:08:03 -02:00
carlopav
34356a683e Update DraftTools.py
Small fix to edit tool when editing arcs.
2019-01-27 23:26:22 -02:00
Yorik van Havre
40034890da Draft: Small fix to Edit tool 2019-01-26 18:47:51 -02:00
Yorik van Havre
1115f55184 Draft: Fixed regression in snapping 2019-01-23 13:27:22 -02:00
Yorik van Havre
519120c634 Draft: Small cosmetic fix in edit points 2019-01-22 00:10:31 -02:00
Yorik van Havre
2c77c78562 Draft: Fixed small bug in Snap Nearest command 2019-01-18 17:39:33 -02:00
Yorik van Havre
58d85a5e47 Draft: small bugfix in trackers 2019-01-14 11:32:34 -02:00
Syres916
0cd59fedb8 Py3 Fix to import Airfoil DAT files
To prevent error message as per https://forum.freecadweb.org/viewtopic.php?f=3&t=33309#p278902

As it's my first PR, I've tried to follow the advice @triplus gave in https://forum.freecadweb.org/viewtopic.php?f=10&t=30340&start=300#p279079 but please let me know if I'm not providing sufficient information.
2019-01-10 10:19:30 -02:00
Yorik van Havre
7d0d870b67 Draft: Fixed grid not appearing on working plane setup 2019-01-08 11:43:36 -02:00
cclauss
00d8f39840 Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00
easyw
2da5a78d86 minor fix on SVG import 2019-01-07 12:26:34 -02:00
cclauss
7f30f15c0d Undefined name: Typo ‘newob‘ —> ‘newobj’
Discovered via #1883
2019-01-07 12:26:07 -02:00
Yorik van Havre
22e78cd592 Draft: Fixed wrong Qt import 2019-01-07 11:18:49 -02:00
Yorik van Havre
06acc2545d Draft: fixed bug in arc tracker 2019-01-02 18:05:34 -02:00
Yorik van Havre
bfb0a85ab5 Arch: Lowered tolerance of planar profiles for Arch structures 2018-12-27 12:29:03 -02:00
Yorik van Havre
6297a58a1e Draft: Added ON/OFF status to the tooltip of snapping buttons 2018-12-26 12:59:50 -02:00
Yorik van Havre
39d446f60f Updated translations from crowdin 2018-12-23 13:54:30 -02:00
George Shuklin
97d6aea8c0 Draft/getSVG: Fix missed variable gui, fix bad call to getProj 2018-12-19 10:24:29 -02:00
Yorik van Havre
2b8745c6bb Draft: minor bugfix 2018-12-18 11:01:14 -02:00
Yorik van Havre
12cb1baec7 Draft: Fixed tolerance problem in snapping to intersections 2018-12-17 12:58:21 -02:00
Yorik van Havre
68f95b90c3 Draft: Fixed wrong formatting of DXF importer url 2018-12-17 11:06:10 -02:00
George Shuklin
dce109309d Include getSVG.py into Draft_SRCS 2018-12-17 09:37:51 -03:00
George Shuklin
b7748f1522 made getLineStyle to accepts scale parameter 2018-12-17 09:37:51 -03:00
George Shuklin
496a48c904 move getDiscretized and getPattern outside of getSVG() 2018-12-17 09:37:51 -03:00
George Shuklin
7270e2508d move getProj outside of getSVG, make 'plane' explicit. 2018-12-17 09:37:51 -03:00
George Shuklin
92be1c239f Move getLineStyle to a separate function 2018-12-17 09:37:51 -03:00
George Shuklin
e51c7ec404 Move getSVG into a separate file to further refactoring.
All internal dependencies (getrgb, getType) are reimported.
2018-12-17 09:37:51 -03:00
wmayer
07b070c8c6 fixes 0003732: Menu groups in Draft menu are not translated even though translated strings exist 2018-12-16 17:20:26 +01:00