Commit Graph

15681 Commits

Author SHA1 Message Date
Yorik van Havre
f0d7360319 Draft: Added area property to 'closeable' Draft objects 2019-04-18 11:54:45 -03:00
senjabl
6bacc2d8ac Update QGIViewBalloon.cpp
Removed obsolete comment
2019-04-18 06:56:46 -04:00
babaroga
cc823c429c FIX:TD-fixed baloon cursor hotspot to be on arrow tip 2019-04-18 06:56:46 -04:00
wmayer
b67b82f4c9 Py3: fix reading/writing from/to OBJ file 2019-04-18 12:02:07 +02:00
Yorik van Havre
0607e64140 Arch: Fixed IFC export of object attributes 2019-04-17 18:50:37 -03:00
Yorik van Havre
364960723e Arch: Misc fixes in Arch spaces 2019-04-17 17:11:14 -03:00
Franck Jullien
1136c5d16d TechDraw: force user to place its balloon 2019-04-17 08:42:51 -04:00
Franck Jullien
a7d2c15086 TechDraw: add separator for Rectangle balloons 2019-04-17 08:42:51 -04:00
babaroga
2cc85fed64 FIX: Prevent situation where default format entered in preferences, overwrites prefixes on eg. circular dimensions 2019-04-17 08:26:47 -04:00
wmayer
da1481a2f3 improve mesh repair functions 2019-04-16 17:25:36 +02:00
Yorik van Havre
83b92eb93c Draft: Exposing the Normal property of dimensions 2019-04-15 11:14:30 -03:00
Yorik van Havre
6e57726532 Draft: Fixed wrong display of Draft texts on restore 2019-04-15 11:02:03 -03:00
wmayer
0521860740 rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options 2019-04-15 13:31:31 +02:00
Yorik van Havre
4be3448372 Arch: Minor bugfixes in IFC export 2019-04-14 14:18:46 -03:00
wmayer
d46f86fb53 Py3 fix: correctly convert a Python str to const char* 2019-04-14 13:00:13 +02:00
wandererfan
6a37cca6b1 Fix Draft.getSVG for TechDraw DraftView 2019-04-13 19:15:48 -04:00
wmayer
4082b42f6b improve mesh repair functions 2019-04-12 21:31:46 +02:00
Yorik van Havre
413e6f7d56 Arch: Mix attribute fixes in IFC import 2019-04-12 12:21:25 -03:00
Yorik van Havre
e635428f55 Arch: Allow for several IFC properties with same name (in different psets) 2019-04-11 18:03:44 -03:00
Yorik van Havre
2050ac6b50 Arch: Misc dynamic properties-related bugfixes to IFC exporter 2019-04-11 16:40:59 -03:00
Yorik van Havre
55cba6d598 Arch: Support for multi-color objects and transparency in IFC export 2019-04-11 16:01:11 -03:00
Jakub Tyszkowski
af734bbbc6 NaviCube: Improve the widget style
This resizes down the cube, adjusts transparency and
text readability. Arrows and cube corners sizes were
adjusted.
2019-04-11 11:57:36 -03:00
wandererfan
ae8dea56fb Fix selection problem in Front view 2019-04-10 06:46:01 -04:00
Yorik van Havre
b7c6ac57c1 Arch: Allow to switch IFC schema when using ifcopenshell v0.6 2019-04-09 18:26:08 -03:00
Yorik van Havre
40a893e52f Gui: Added Gui.doc.view.viewer.setBackgroundColor() py method 2019-04-09 16:52:08 -03:00
Yorik van Havre
506cfd9bd2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Jakub Tyszkowski
9d386f8f9a TestDraft: Fix testRotate and testOffset cases
Wire needs to be recomputed to update it's dimensions.
2019-04-09 12:08:45 -03:00
Yorik van Havre
0af6e0c5a1 Arch: Minor bugfixes in IFC import 2019-04-09 10:56:01 -03:00
wmayer
3962cb856e fix import of ply meshes with Vs 2017 2019-04-09 14:52:02 +02:00
Yorik van Havre
d410d3dd57 Draft: Shape2DView can now fuse Arch Walls and Structures 2019-04-08 18:18:11 -03:00
Yorik van Havre
d01ecef12e Draft: re-added recomputes where needed in Draft GUI tools 2019-04-08 18:17:44 -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
carlopav
7a37dc35de Update DraftTools.py
cleanup
2019-04-08 17:17:21 -03:00
carlopav
8677d2c986 Update DraftTools.py
minor fixes and cleanup to bezier creation tool
2019-04-08 17:17:21 -03:00
carlopav
f7a1c313e7 Update DraftTools.py
Added the parameter self.degree and allow the segmentation of the curve while drawing it. If set to none, nothing change in the tool.
2019-04-08 17:17:21 -03:00
carlopav
251915ad0d 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
wmayer
0d027392a6 fix -Wmaybe-uninitialized 2019-04-08 15:07:12 +02:00
wmayer
881b04a979 Fix several compiler warnings:
fix -Wunused-parameter
fix -Winconsistent-missing-override
fix -Wsometimes-uninitialized
2019-04-08 15:04:07 +02:00
Abdullah Tahiri
78965d27d6 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
5c6ab3d8c8 V1016 CWE-681 2019-04-08 14:35:47 +02:00
Abdullah Tahiri
befbc1d634 V547 CWE-571 2019-04-08 14:35:46 +02:00
Abdullah Tahiri
77a81817fb V560 CWE-570 2019-04-08 14:35:46 +02:00
Yorik van Havre
6463e46bd4 Draft: Fixed node selection in Draft Edit 2019-04-07 17:24:40 -03:00
Yorik van Havre
05b7892109 Draft: Added 3-point arc command from BIM WB 2019-04-07 17:23:42 -03:00
Yorik van Havre
c4d61de818 Better vertices comparison 2019-04-07 12:15:50 -03:00
paullee0
b4618137c9 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
25afa7ae36 OffsetWire() - Seems has repeatedly sortEdges, remark out here
- edges = Part.__sortEdges__(wire.Edges)
2019-04-07 12:15:50 -03:00
paullee0
ca0db24704 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
11cba4f715 Fix offsetWire() bug - first edge vector should depends on geometry (line or arc) 2019-04-07 12:15:50 -03:00
DinoMesina
9c25e45eb7 Modify using FreeCAD.Vector.getAngle() 2019-04-07 12:14:25 -03:00