Yorik van Havre
c78ebdec42
Draft: Set normal direction of dimensions to (0,0,1) by default
2018-10-23 22:18:26 -03:00
looooo
44c2f19e38
py3: Draft: use proper way to test if property is available
...
if the attribute is not available py3 raises: `<class 'AssertionError'>: The enum is empty`. For py2 hasattr simple returns False. Similar changes should be applied also to other places.
2018-10-22 15:25:00 -03:00
Amritpal Singh
ff05101b68
Fixed FreeCAD crashes.
2018-10-10 10:45:57 -03:00
Mark Ganson TheMarkster
41102edf67
fix bug in draft path array
...
put lnodes.normalize() inside try/except block
replace hard-coded 1e-6 with Vector3d::epsilon() in VectorPy::normalize()
2018-09-11 11:11:39 +02:00
luz.paz
36faeb247a
Cosmetically change mentions of Teigha to ODA
...
Ref: https://forum.freecadweb.org/viewtopic.php?p=255339#p255339
This PR is superficial as it doesn't actually change the path to the newly named executable.
2018-09-11 07:29:18 +02:00
Yorik van Havre
ef0fe57328
Draft: Allow to switch the line of Draft Labels on/off
2018-09-03 16:03:10 -03:00
Yorik van Havre
5f025587a0
Draft: Fixed bug in WorkingPlaneProxy color
2018-08-30 17:11:40 -03:00
Yorik van Havre
682650b0b2
Draft: Fixed adding points in Wires
2018-08-29 21:49:56 -03:00
Yorik van Havre
b469c237b5
Arch: cache svg calculations in section planes/techdraw views for better performance
2018-08-28 21:03:25 -03:00
wmayer
404b42d0a6
unit tests of Arch and Draft require GUI, improve output of units tests
2018-08-28 19:39:34 +02:00
wmayer
67b5ee0931
now each module registers its unit tests itself
2018-08-28 13:14:16 +02:00
Yorik van Havre
6f06345634
Draft: Fixed DXF support for new Draft texts
2018-08-27 12:11:38 -03:00
Yorik van Havre
f0d6a43d3d
Arch: Using transparent style during walls and structs draw
2018-08-24 15:23:00 -03:00
Yorik van Havre
af30700b14
Draft: Fixed leftover scene callbacks in snapping
2018-08-24 15:16:35 -03:00
Yorik van Havre
83351faebc
Draft: Ability to set working plane from PartDesign datum planes
2018-08-20 21:56:08 -03:00
wmayer
16295d4121
CMake 2.8.12 and lower allowed the SOURCE signature in add_custom_command
...
In CMake 3.0 the policy CMP0050 was introduced where it could be set to OLD to keep this behaviour while for NEW an error was raised.
Since CMake 3.5.2 a warning comes up when using the OLD behaviour and that it will be removed in a future version.
In FreeCAD we switched to the new behaviour now and removed the SOURCE signature from add_custom_command which affects the macros
fc_copy_sources, fc_target_copy_resource and fc_target_copy_resource_flat and their usage.
It's not possible any more to add files to a target by using the macros. Now a file must be added to the target before using the macros.
This commit fixes it for Arch, Draft, OpenSCAD, Material, Plot and Ship
2018-08-20 11:47:39 +02:00
luz.paz
321b159f27
More typos
2018-08-18 21:48:43 +02:00
luz.paz
a981753d2c
Trailing whitespace fixes
2018-08-18 21:48:42 +02:00
luz.paz
781d007321
Misc. typos
...
Found via `codespell`
Trivial typos
Found via `codespell`
2018-08-18 21:48:42 +02:00
luz.paz
baa6d89328
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
Yorik van Havre
123e9d210d
Draft: Allow to turn off Draft verbose output in preferences
2018-08-03 19:07:59 -03:00
Yorik van Havre
ee517cf184
Draft: better tooltip for copy mode option
2018-08-01 21:50:44 -03:00
Benjamin Alterauge
20d3ebca86
Update Draft.py
2018-08-01 19:22:45 -03:00
Yorik van Havre
e45a3674f0
Arch: bugfixes in IFC exporter
2018-07-26 19:23:48 -03:00
Yorik van Havre
98af9aabd9
Draft: Snap to BuildingPart base points
2018-07-25 20:25:11 -03:00
Yorik van Havre
d034c0083c
Draft: Added variable to be able to start Move command in copy mode
2018-07-25 12:55:55 -03:00
Yorik van Havre
1885036139
Arch: Added preference option for screen helpers color (axes, grids, etc...)
2018-07-25 10:56:12 -03:00
Yorik van Havre
111c0496b4
Draft: Minor bugfix
2018-07-24 17:10:18 -03:00
Mark Ganson TheMarkster
5a39efa771
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
fa32af7025
convert tabs to spaces
2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
dc79a93dde
save current color so it can be reverted on cancel
2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
1cb114e256
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
c9b29dc63b
Revert "Added support in DraftGui.todo.delay function to accept any number of arguments."
...
This reverts commit dc4fa6e804 .
2018-07-11 21:31:57 -03:00
JimStar
348ae51772
Extended global marker size to be used for other modes
2018-07-11 21:22:28 -03:00
Amritpal Singh
dc4fa6e804
Added support in DraftGui.todo.delay function to accept any number of arguments.
2018-07-11 21:12:27 -03:00
Amritpal Singh
f0252c80c2
Show color of object wrt to its transparency while exporting SVG file.
2018-07-05 19:10:17 -03:00
JimStar
e5dc8bfffa
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
2f6fe25971
Arch: Support of IfcBuildingElement and IfcPropertySets in ifc import/export
2018-07-04 14:49:31 -03:00
Yorik van Havre
10dee3f420
Draft: applied patch #1530 from easyw
2018-06-29 12:20:04 -03:00
Yorik van Havre
1314210a4c
Arch: Handle cloning of BuildingParts
2018-06-29 12:12:54 -03:00
Yorik van Havre
43bf3bc0cb
Arch: Handle placement change in BuildingPart + view management
2018-06-28 18:44:07 -03:00
Yorik van Havre
2bef80dcc4
Arch: initial BuildingPart development
2018-06-28 18:44:07 -03:00
Yorik van Havre
fae0de5858
Arch: Fixed export of included windows to IFC
2018-06-18 22:14:05 -03:00
ageeye
64fee7817b
Simple blocks now are possible as container.
2018-06-18 20:38:10 -03:00
ageeye
ec16d82c96
Add a new array type: PointArray.
2018-06-18 20:38:10 -03:00
Yorik van Havre
0fcb378f02
Arch/Draft: Fixed bugs in non-GUI mode
2018-06-11 21:44:23 -03:00
ageeye
15685136e7
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
c6c4a06778
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
08910e71e4
Arch: Added pref option to base new walls on Draft lines
2018-06-06 18:34:14 -03:00
Yorik van Havre
23f58f1afc
Draft: Fixed Draft texts not appearing on file load
2018-06-02 14:31:12 -03:00