Abdullah Tahiri
af581dc689
Sketcher: GUI command updated to support filleting of bounded curves
2018-10-28 18:34:23 +01:00
Abdullah Tahiri
026459675c
Sketcher: Support for filleting bounded curves
...
==============================================
Generally, bounded curves require that the curves are coincident at one point, the vertex to be filleted.
Trimmed curves, like combinations of line segments, arcs of conics, do not require it, as they are able to extend the trimmed
curve using the basis curve. However, they work fine when there is such a coincidence.
2018-10-28 18:34:12 +01:00
Abdullah Tahiri
0554944923
Part: Geometry New Bounded-Trimmed-curve inheritance
...
====================================================
The new hierarchy is as this:
GeomArcOfConic:GeomTrimmedCurve:GeomBoundedCurve:GeomCurve
A bounded curve is one having a start and endpoint, like an arc, a line segment, or a b-spline
A trimmed curve is one arising from trimming a basis curve, line an arc or a line segment, but NOT a b-spline.
An arc of Conic is one arising from a conic section, line an arc, but neither a line segment, nor a b-spline.
This new hierarchy enables a more consistent handling of geometry and it is closer to the OCCT hierarchy.
2018-10-28 18:33:58 +01:00
Abdullah Tahiri
e5521fe0e1
Part: Geometry - refactoring of intersection code
2018-10-28 18:33:45 +01:00
Abdullah Tahiri
ae3ad1f84c
Part: Geometry - intersection - checkendpoints
...
===============================================
Extrema algorithms sometimes fails when coincident endpoints
I am not sure if it is a bug in OCCT or it is just not intended.
This commits adds an extra check to add endpoints if within tolerance.
https://forum.freecadweb.org/viewtopic.php?f=10&t=31700
2018-10-28 18:33:32 +01:00
Abdullah Tahiri
e189ee78c9
Part: Geometry GeomTrim Geomline segment type
...
=============================================
Make line segment inherit from GeomTrim. This allows seamless management of trimmed curves.
2018-10-28 18:33:19 +01:00
Abdullah Tahiri
22f8c12235
Part: Geometry intersect routines throw when OCCT throws
2018-10-28 18:32:42 +01:00
Abdullah Tahiri
cb5827b140
Sketcher: Inter-trimmed-curve filleting
...
=======================================
Algorithm changed to use offset curves, so as to avoid moving geometry in the sketcher.
2018-10-28 18:32:30 +01:00
Abdullah Tahiri
c3592c8ff4
Part: Geometry Arcs inheriting from GeomTrimmedCurve
2018-10-28 18:32:15 +01:00
Abdullah Tahiri
b3cf67dffe
Sketcher: filleting arcofconic-arcofconic command
2018-10-28 18:32:02 +01:00
Abdullah Tahiri
187f5c9023
Sketcher: Fillet support inter-conics
...
==============================================
Specific support for filleting between conics.
It does not support B-Splines or line segments.
2018-10-28 18:31:48 +01:00
Abdullah Tahiri
e761180872
Part: Geometry refactoring
...
==========================
python c+ wrapper to use twin class c++ function instead of duplicating the code
2018-10-28 18:31:35 +01:00
Abdullah Tahiri
90ae032d6d
Part: Geometry - improvements/bug fixes
...
=======================================
routine for closest parameter to point was failing on endpoints. The former version
used the parameter of the basis curve, which sometimes was giving parameter values
incoherent. This version uses distance to endpoints when a projection on the trimmed
curve can not be found.
2018-10-28 18:31:22 +01:00
Abdullah Tahiri
8a134466ed
Part: New routines for curve intersection
2018-10-28 18:31:06 +01:00
Yorik van Havre
cec4fd1012
Arch: Finished implementing color support for Arch Reference
2018-10-28 13:57:05 -03:00
Yorik van Havre
87c034f666
Arch: Support part colors in Reference
2018-10-28 13:57:05 -03:00
wmayer
54561c5b6e
extend FreeCAD.getUserMacroDir to accept boolean to either return actual or default macro directory
2018-10-28 17:10:10 +01:00
lorenz
0d9b20adb4
py3: Fem: remove extra b'ees
...
https://forum.freecadweb.org/viewtopic.php?f=18&t=30954
2018-10-28 15:13:30 +01:00
wmayer
d077c7333f
fix crash in debug mode in sketcher in case the equation matrix has rank zero
2018-10-28 14:51:14 +01:00
wmayer
7cfbf5d428
Raytracing: Fixed search locations of povray
2018-10-28 13:09:25 +01:00
wmayer
193c253289
add module for Qt translation stuff
2018-10-28 12:58:14 +01:00
Yorik van Havre
cab232a97f
AddonManager: minor bugfix
2018-10-27 16:15:55 -03:00
Yorik van Havre
ce0f871cba
py3 compatibility fixes
2018-10-27 16:04:51 -03:00
wmayer
cacab69204
fix crash with Py3 when releasing memory buffer
2018-10-27 19:58:54 +02:00
wmayer
0048778f80
remove trailing whitespaces
2018-10-27 18:12:36 +02:00
wmayer
550d62bb6a
replace deprecated failUnless with assertEqual
2018-10-27 17:44:37 +02:00
ickby
64d9f38d95
Persistence: Incorporate review feedback
2018-10-27 16:15:39 +02:00
ickby
d5cbee5543
Persistence: Test cases for content dump
...
It turned our that the document could not be dumped as the xml specifier was used as first element. As the dumping added the <content> element around it was invalid. However, content is required to read properties. Hence the xml element generation was moved.
2018-10-27 16:15:30 +02:00
ickby
13bcf5fae4
Persistence: Avoid copy of data on binary restore
2018-10-27 16:15:20 +02:00
ickby
59283c40b8
Persistence: Enable binary dumps of properties
2018-10-27 16:15:09 +02:00
ickby
9820fca6a5
Persistence: Implement dumping of binary content
2018-10-27 16:14:59 +02:00
wmayer
81ec84356f
unit test for / operator of Quantity
2018-10-27 15:58:40 +02:00
wmayer
1106404b1e
implement true divide handler of the number protocol for Quantity
2018-10-27 15:27:27 +02:00
George Shuklin
fb1b60a825
Add support for dLabel.ViewObject.Line
...
If it's false, do not draw line (and arrow), text only
2018-10-26 19:25:44 -03:00
George Shuklin
15f4ae54f4
Add arrows to dLabel getSVG, minor style cleanup
2018-10-26 19:25:44 -03:00
George Shuklin
97aa6930a5
Add line for annotation (no arrow yet)
2018-10-26 19:25:44 -03:00
George Shuklin
ec1e837871
Initial work, only text (no lines)
2018-10-26 19:25:44 -03:00
wmayer
39babc560f
improve call tips window
2018-10-26 19:37:16 +02:00
wmayer
622203bb97
add functions to customize NaviCube
2018-10-26 15:51:03 +02:00
triplus
8150d39a25
Hide Draft tray toolbar
...
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=3&t=31720
2018-10-26 04:26:20 +02:00
wandererfan
89275b883b
Respect "InvertZoom" parameter
2018-10-26 00:49:53 +02:00
wandererfan
26d0a134db
Fix delayed rotation of DVP based Views
2018-10-26 00:49:53 +02:00
wandererfan
957328ee18
Workaround for #3332
2018-10-26 00:49:52 +02:00
luz.paz
7948cccd9a
Reverting partial commit 34c4ceb82
2018-10-26 00:47:18 +02:00
wmayer
c9f01fe75f
make the methods highlightSelection/unhighlightSelection virtual
2018-10-26 00:40:20 +02:00
wmayer
cfb04647b2
Do not use a view provider's bounding box node when handling BoundBox selection style because it leads to some inconsistent behaviour.
...
Instead let SoBoxSelectionRenderAction render the bounding box.
2018-10-26 00:39:15 +02:00
Yorik van Havre
8eb3e2a103
Arch: Make section planes claim their children in the tree
2018-10-25 12:13:16 -03:00
Yorik van Havre
dc50823f5f
AddonManager: Fixed missing files in cmake
2018-10-25 12:02:46 -03:00
Yorik van Havre
ba1174f793
Arch: Fixed bug in Site
2018-10-25 11:59:22 -03:00
luz.paz
5f34122514
Another typo fix
2018-10-25 11:06:28 -03:00