Commit Graph

1185 Commits

Author SHA1 Message Date
Yorik van Havre
2d0432d711 Draft: Added variable to be able to start Move command in copy mode 2018-07-25 12:55:55 -03:00
Yorik van Havre
42384e1a58 Arch: Added preference option for screen helpers color (axes, grids, etc...) 2018-07-25 10:56:12 -03:00
Yorik van Havre
a1bc8dbc9a Draft: Minor bugfix 2018-07-24 17:10:18 -03:00
Mark Ganson TheMarkster
5fe5ea923f Fix typo
I figure this should be Z instead of Y, but even if I'm wrong there's no reason to check for hasattr(pts,'Y') twice.
2018-07-23 12:46:16 -03:00
Mark Ganson TheMarkster
7484412d47 convert tabs to spaces 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
51fdef4193 save current color so it can be reverted on cancel 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
012db7a0b1 handle user cancel color dialog
Currently, when user cancels line color or face color selection dialog current color gets changed to black, as opposed to retaining the status quo.  https://forum.freecadweb.org/viewtopic.php?f=3&t=29762

The fix is to test QColor.isValid(color), which returns false when the user cancels the QColor dialog.
2018-07-16 12:03:45 -03:00
Yorik van Havre
808a7b675e Revert "Added support in DraftGui.todo.delay function to accept any number of arguments."
This reverts commit 7d0334302eed6bfd3af873870f0c16ff3c192d39.
2018-07-11 21:31:57 -03:00
JimStar
6a5ad383ab Extended global marker size to be used for other modes 2018-07-11 21:22:28 -03:00
Amritpal Singh
1c8402dd78 Added support in DraftGui.todo.delay function to accept any number of arguments. 2018-07-11 21:12:27 -03:00
Amritpal Singh
399cc982df Show color of object wrt to its transparency while exporting SVG file. 2018-07-05 19:10:17 -03:00
JimStar
5a7a765ed6 Implemented a global setting for marker size and support of it for snapping in "Draft" workbench. In future this setting can be used for other markers too, to be able to set them all to comfortable size by just one global setting.
Before that (e.g. on MacBook Pro) it was very hard to see the microscopic selection-circle hidden behind much bigger cursor arrow when trying to snap e.g. a line to some vertex. Now this setting can be used for such displays to increase the marker size and make it clearly visible behind the cursor.
The already existing "sketcher marker size" property is intended to be used for sketcher only, so it's not suitable for global setup of all the markers' sizes uniformly...
2018-07-05 19:05:19 -03:00
Yorik van Havre
334f2df65f Arch: Support of IfcBuildingElement and IfcPropertySets in ifc import/export 2018-07-04 14:49:31 -03:00
Yorik van Havre
c36d84ba6c Draft: applied patch #1530 from easyw 2018-06-29 12:20:04 -03:00
Yorik van Havre
2a116ff4f1 Arch: Handle cloning of BuildingParts 2018-06-29 12:12:54 -03:00
Yorik van Havre
ef2425732e Arch: Handle placement change in BuildingPart + view management 2018-06-28 18:44:07 -03:00
Yorik van Havre
fcd778e8c1 Arch: initial BuildingPart development 2018-06-28 18:44:07 -03:00
Yorik van Havre
c5a7a69166 Arch: Fixed export of included windows to IFC 2018-06-18 22:14:05 -03:00
ageeye
3832943567 Simple blocks now are possible as container. 2018-06-18 20:38:10 -03:00
ageeye
7d8f4f1a33 Add a new array type: PointArray. 2018-06-18 20:38:10 -03:00
Yorik van Havre
4514ad4260 Arch/Draft: Fixed bugs in non-GUI mode 2018-06-11 21:44:23 -03:00
ageeye
d48aa2e75b Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view. 2018-06-11 09:58:22 -03:00
ageeye
bb6959904d Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view. 2018-06-11 09:58:22 -03:00
Yorik van Havre
94e689a9b6 Arch: Added pref option to base new walls on Draft lines 2018-06-06 18:34:14 -03:00
Yorik van Havre
988c1f616d Draft: Fixed Draft texts not appearing on file load 2018-06-02 14:31:12 -03:00
Yorik van Havre
693d66eb7e Draft: Support new-style Draft texts in TechDraw 2018-06-01 11:05:15 -03:00
Mark Ganson TheMarkster
0980b1c168 Remove extra definition of obj.IntervalZ
Remove extra definition of obj.IntervalZ in Draft array object.

Was:
obj.IntervalZ = Vector(0,0,1)
obj.IntervalZ = Vector(0,0,0)

Now:
obj.IntervalZ = Vector(0,0,1)
2018-05-31 10:58:58 +02:00
Yorik van Havre
6a837c1ebe Draft: Fixed draft2sketch not working with ellipses 2018-05-25 18:48:04 -03:00
Mark Ganson TheMarkster
1701af26ee fix copy/paste error, add back 3 lines
Good catch, Yorik.  I never intended to remove those lines.  Must have happened when I was editing the documentation string.
2018-05-25 17:26:00 -03:00
Mark Ganson TheMarkster
33f15e7d6f Update Draft.py 2018-05-25 17:26:00 -03:00
Mark Ganson TheMarkster
0fd1f732ba Update Draft.py 2018-05-25 17:26:00 -03:00
luz.paz
3534ebfbda Add source comment typo fix 2018-05-19 12:06:34 -04:00
Yorik van Havre
8da0c7050d Draft: added ConvertDraftSketches() convenience function to convert App::Annotations to the new Draft Text object 2018-05-16 16:27:12 -03:00
Yorik van Havre
f7da2b38db Draft: More streamlined console output 2018-05-14 18:57:57 -03:00
Yorik van Havre
096af04a57 Draft: Show in-command shortcuts on buttons and in console 2018-05-14 18:57:28 -03:00
Yorik van Havre
3198ee8af3 Draft: Added 'Flatten' context menu entry to Draft Wires 2018-05-14 16:49:25 -03:00
Yorik van Havre
03908877fc Draft: Catch deleted objects in DraftGui.todo 2018-05-11 12:01:22 -03:00
Yorik van Havre
b36816f4bb Draft: Draft Text now uses its own python object instead of App::Annotation 2018-05-10 17:43:16 -03:00
Yorik van Havre
8a7ee4de52 Draft: Added reference mode to Draft Scale task panel 2018-05-09 22:38:51 -03:00
Yorik van Havre
d49a194279 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
looooo
52a0eb8f13 draft: fix snapping with images 2018-05-07 12:18:43 -03:00
Yorik van Havre
0b1a8c96ae Draft: Fixed syntax error 2018-05-03 10:46:00 -03:00
wandererfan
066a8b0b47 Point Draft importDXF to Mod/Import/ImpExpDxf
- also add "deprecated" message to DraftUtils.readDXF
2018-05-02 22:09:46 +02:00
luz.paz
e9a34e20ff Draft: move newlines out of translations 2018-05-02 00:50:06 -04:00
luz.paz
a463c94796 Crowdin: fix in different WBs 2018-05-02 00:50:06 -04:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
looooo
149f068075 draft: fix diameter-dimension 2018-04-25 09:38:12 -03:00
looooo
6dacc3bdb0 py3: draft fixes (grid)
integer-division (please remember using // for integer division ;)
+ use same color for arrow and line
2018-04-22 07:53:20 +02:00
Yorik van Havre
08286c407e fixed missing py2 case 2018-04-18 10:05:49 -03:00
Adrian Schröter
9c17bc53c3 fix runtime error creating a wire from string with python3
Tested against version 0.17
2018-04-18 10:05:49 -03:00