Commit Graph

100 Commits

Author SHA1 Message Date
vocx-fc
cd744eaac0 Draft: new Draft_OrthoArray command
It replaces the older `Draft_Array` command, and provides
a task panel to select the properties, similar to the
`Draft_PolarArray` and `Draft_CircularArray` commands.

It can also create `App::Links` directly from this task
panel, so it also replaces the `Draft_LinkArray`
introduced by the LinkMerge.
2020-03-03 08:34:36 -03:00
vocx-fc
adfc58580d Draft, Arch: group the array tools 2020-03-02 11:41:22 -03:00
vocx-fc
ccebb92258 Draft: added init_tools to create the toolbars 2020-02-10 11:02:28 +01:00
vocx-fc
a083fea057 Draft: explicitly import modules in the initialization
Also other small fixes: cleanup for getting the icon
of the workbench; we don't need to test for PySide because
it should already exist as part of the system
for the entire interface to work; cleanup of the printing
functions.
2020-02-10 11:02:28 +01:00
carlopav
21f8b80f55 [Draft] Context menu bugfix
If "Line" is not translated, the menu is not appended
2020-01-29 09:32:52 +01:00
carlopav
c5f2845eb5 [Draft] Reorganize menu & toolbars
According to what experimented in BIM WB.
2020-01-27 10:06:33 +01:00
vocx-fc
ab6976c5db Draft: add new command for Draft CircularArray
Added object, viewprovider, icon; gui command definition, task panel,
add command to InitGui; add callbacks, and delay system.
2020-01-08 15:16:07 +01:00
vocx-fc
1336381eec Draft: new command for Draft PolarArray
Added object, viewprovider, icon; gui command definition, task panel,
add command to InitGui; add callbacks, and delay system.
2020-01-07 07:18:39 -03: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
vocx-fc
6626b52b5f Draft: rename SubelementModify to SubelementHighlight 2019-11-11 18:04:10 -03:00
vocx-fc
b9a6c0dd2b Draft: renamed the command Draft_Edit_Improved to Draft_SubelementModify because the previous name was confusing; also provide a new icon 2019-10-10 19:13:28 -03:00
vocx-fc
eddbfc1e7d Draft: DraftFillet, improved the tool, now the radius of the tool can be selected when launched; the tool should work without needing to import DraftFillet manually 2019-09-04 23:14:55 -03:00
vocx-fc
4c5e719e45 Draft: added DraftFillet.py to the sources, also InitGui.py, Draft.py, DraftTools.py, and CMakeLists.txt 2019-08-22 10:54:41 -03:00
Zheng, Lei
88b5b2a845 Draft/Arch related changes
* Add Draft_LinkArray and Draft_PathLinkArray that uses link for both
  data and visualization, which supports linking external objects

* Add link group support for draft snap

* Fix ArchWindows expression ambiguity
2019-08-17 15:32:47 +02:00
Yorik van Havre
4d3f24a5b8 Draft: Reorganizing DraftEdit and future Draft command modules 2019-08-12 21:30:45 -03:00
vocx-fc
149c219e14 Draft: improved the style of the code, checked with flake8 2019-07-26 10:54:01 -03:00
carlopav
4ee893b78a [Draft] Update DraftEdit PR with Yorik suggestions
Cleanings of import at the beginning of new module.
Moved command setup in InitGui and removed import DraftEdit from DraftTools.
2019-06-17 16:39:56 -03:00
Yorik van Havre
2c918366e4 Draft: Introduced Layers system (former VisGroup) 2019-06-05 18:47:01 -03:00
Yorik van Havre
601b09bb83 Draft: Removed annoying an unuseful verbose command line output 2019-05-16 15:31:57 -03:00
carlopav
00daa50ee3 [Draft] Insert the arc group in the draft toolbar
small fix to add the arc group to the toolbar.
2019-05-14 11:20:27 -03:00
Dion Moult
bc0dc26b5a Add new edit tool icon, shortcut, and basic modes.
* It allows you to select multiple objects to edit instead of just one.
 * It highlights the object lines and the points in red.
 * It stays in the mode and allows you to run other modifiers.
 * A very hackish hook into the move modifier is added as a proof of concept.
2019-05-08 10:26:54 -03:00
carlopav
442ba9e2c1 Split the command in two
With this commit 2 commands are created, one for current bezier curve tool behaviour, the other for cubic bezier in inkscape style...
grouped in a dropdown button in the toolbar.
2019-04-08 17:17:21 -03:00
Yorik van Havre
05b7892109 Draft: Added 3-point arc command from BIM WB 2019-04-07 17:23:42 -03:00
Dion Moult
c3e73d925d Add split tool 2019-01-31 10:54:36 -02:00
Dion Moult
40c5dbf15f Add new draft join tool 2019-01-31 10:54:36 -02: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
wmayer
844165c062 unit tests of Arch and Draft require GUI, improve output of units tests 2018-08-28 19:39:34 +02:00
ageeye
7d8f4f1a33 Add a new array type: PointArray. 2018-06-18 20:38:10 -03:00
Yorik van Havre
cddc22f24e Arch/Draft: Less clutter in output window 2018-03-02 12:29:58 -03:00
Yorik van Havre
d98c1640d1 Draft: Added a utility command to add selected objects tothe construction group 2017-11-27 13:38:30 -02:00
Yorik van Havre
28f315f4f6 Draft: First version of Draft Label object 2017-05-29 16:57:25 -03:00
Yorik van Havre
9daf12c6b2 Draft: Added utilities -> create Working Plane Proxy command 2017-02-25 20:34:43 -03:00
Yorik van Havre
009859ddf3 Draft: AutoGroup system 2017-01-25 14:55:14 -02:00
Yorik van Havre
72afcde8db Draft: Added stretch tool - fixes #1163 2017-01-13 11:25:25 -02:00
Yorik van Havre
99312f0e9a Updated appendMenu() functions in py workbenches 2016-12-26 12:06:17 -02:00
Yorik van Havre
e75d34daed Draft: Added Draft Slope command - allows to change the slope of a selected Line or Wire 2016-08-22 17:34:38 -03:00
Yorik van Havre
031bf0ec10 Arch: Added specials snap
* Remove Arch option to snap to wall base (reimplemented below)
* Added new Specials snap button
* Special snap snaps to wall baselines, structure basepoints, and contents of SnapPoints property, if existing
2016-08-22 13:49:54 -03:00
Yorik van Havre
1321b205ff Draft/Arch: cleanup of startup scripts 2016-05-18 16:01:38 -03:00
triplus
93c7a6bcac Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
aca192083a Draft: Added mirror tool (more graphical version of Part Mirror) - fixes #2215 2015-12-05 14:19:35 -02:00
Yorik van Havre
4721aeda21 Draft: Removed the 'Hide Draft Workbench' Draft preference since we now have full WB customization 2015-05-23 13:17:50 -03:00
Yorik van Havre
ac5efd335d Arch / Draft: reorganized preferences files 2015-05-07 17:06:56 -03:00
Yorik van Havre
228e29244e Draft: re-added Draft-Drawing tool to DraftWB 2015-02-09 12:26:41 -02:00
Yorik van Havre
aa28666817 Moved Draft-Drawing tool to the Drawing WB (renamed Draft View) 2015-01-16 17:16:39 -02:00
Yorik van Havre
203fcb7a1b Draft: Adapted Draft module for python3 compatibility - issue #995 2014-10-05 19:40:14 -03:00
Yorik van Havre
b30517256e Draft: Removed leftovers from the macros menu 2014-08-08 11:21:37 -03:00
Yorik van Havre
80fe67584a Draft: removed macros menu - fixes #490
The macros menu code is on http://www.freecadweb.org/wiki/index.php?title=Macro_MacroMenu
2014-08-07 11:07:22 -03:00
Yorik van Havre
8da3e7b9e8 Arch: improvements in Space object
* Better text control
* Text position editable with Draft Edit
* Additional properties such as finish types
2014-08-05 16:19:39 -03:00
Yorik van Havre
0ccb4fefc2 Transferred import-export related preference pages to a separate group 2014-07-20 12:58:15 -03:00
Yorik van Havre
a2e261bb25 Draft: Renamed Layer to VisGroup 2014-06-10 10:21:01 -03:00