Commit Graph

17158 Commits

Author SHA1 Message Date
wmayer
d1d10231b5 Add methods to get intersections of mesh edges, project point on edge 2019-06-27 19:27:12 +02:00
Yorik van Havre
e23288425f Arch: Removed log message in DAE exporter 2019-06-27 11:54:15 -03:00
luz.paz
69d4e40c51 [AddonManager] Add DynamicData WB Logo 2019-06-27 11:51:11 -03:00
carlopav
aa124266f9 [Draft] Cleaned code in arc 3Points preview
Arc tracker during creation is computed by arc tracker new method.
2019-06-27 11:50:45 -03:00
carlopav
630f0ba906 [Draft] Fixed a bug in arc editing and added preview
Fixed a bug so arc editing take correctly the placement into account.
Added preliminary support for preview during arc editing. To be improved in the future.
2019-06-27 11:50:45 -03:00
carlopav
78309c6b3f [Draft] Arc Tracker by 3points method
Added arcBy3Points method to arc tracker
2019-06-27 11:50:45 -03:00
Syres916
cc6209d909 [AddonManager] Improve handling of Wb Readme images
...with particular regard to Windows character limit.
2019-06-27 11:49:44 -03:00
furti
019d209199 Fix some problems with ArchFence
The commit that introduces the colorization option added some problems.
First the "sectionFaceNumbers" property is only set when an execute is
performed. When this does not happen, an exception is thrown when the
document is saved that contains a fence created with an older version
of FreeCAD.

Also the new Props on the ViewProvider where not set because the
"onDocumentRestored" is not reckognized for ViewProviders.
2019-06-27 11:48:50 -03:00
furti
5be63a94e2 Fix possible colorization problem
When we set "UseOriginalColors" to true, it is possible that we cant
calculate the exact number of diffuse colors, because the "applyShape"
method optimized the shape somewhat. That operations could remove faces.

To fix this for now, we simply set the shape without further optimizations.
2019-06-27 11:48:50 -03:00
paullee0
a8c5acbeaa Fix offsetWire() to treat wire with 1 edge (circle e.g) correctly (no need to connect()) 2019-06-27 11:30:59 -03:00
Bernd Hahnebach
274c803452 FEM: flake8, lgtm, try to get them both quiet 2019-06-27 13:23:48 +02:00
Bernd Hahnebach
e5ba35735b FEM: gui objects, catch a syntax error, if the user triggers the OK button with a wrong input 2019-06-27 00:21:46 +02:00
Bernd Hahnebach
26a538f824 FEM: gui objects, fix problems because off different Attribute names of part to mesh in mesh objs 2019-06-27 00:21:40 +02:00
Bernd Hahnebach
a8413f10fd FEM: utils, add a method to get the Part to mesh 2019-06-27 00:21:34 +02:00
Bernd Hahnebach
7fe5b00860 FEM: gui, commands, typo the second one :-) 2019-06-26 21:35:46 +02:00
wmayer
929210fd1d add method to project points on mesh 2019-06-26 16:57:14 +02:00
wandererfan
db257df76c [TD]Remove tracker on Cancel 2019-06-26 08:19:12 -04:00
mwganson
6a1eb75373 TaskCheckGeometry -- log geometry check errors to report view 2019-06-26 12:13:23 +02:00
mwganson
b837ba0c61 TaskCheckGeometry settings panel with runBOPCheck option 2019-06-26 12:02:43 +02:00
Zheng, Lei
47f1f504c3 BrowserView: fix QWebEngine focus problem 2019-06-26 11:10:51 +02:00
luz.paz
3c3176067b [AddonManager] Add Inventor Loader logo to icons/
Relevant thread https://forum.freecadweb.org/viewtopic.php?f=9&t=36556&hilit=addon+manager&start=30#p314729
2019-06-26 11:02:31 +02:00
wmayer
2830652a39 workaround in PyCXX classes due to removed support of old-style classes 2019-06-25 18:15:10 +02:00
Bernd Hahnebach
9336302858 FEM: gui commands, typo in comment 2019-06-25 14:02:12 +02:00
Bernd Hahnebach
ebe41eb52c FEM: gmsh tools, comment not used variable 2019-06-25 00:14:43 +02:00
Bernd Hahnebach
40e66cae6f FEM: mesh tools, quad4, fix mesh area (this has been wrong for years :-() 2019-06-25 00:14:43 +02:00
Bernd Hahnebach
76d436d1c3 FEM: lgtm, red rid of unnecessary assignments 2019-06-25 00:14:43 +02:00
Bernd Hahnebach
7d2e1da194 Materials: code formating, flake8 2019-06-25 00:14:43 +02:00
Bernd Hahnebach
bdd9204392 FEM: vtk post processing, fix result type names in linearization plot 2019-06-25 00:14:43 +02:00
Bernd Hahnebach
b7ca26cd50 FEM: gmsh mesh tools, do not use error message to print some log 2019-06-25 00:14:43 +02:00
Bernd Hahnebach
9cd85623f0 FEM: gmsh mesh tools, add some comments 2019-06-25 00:14:43 +02:00
wmayer
447294f8a0 fixes #0003993: Memory leak with Python3 2019-06-24 14:30:12 +02:00
sliptonic
ab3821823f Merge pull request #2282 from sliptonic/lgtmcleanup
Lgtmcleanup
2019-06-23 17:29:40 -05:00
wmayer
95ab3281c1 suppress warnings caused by netgen 2019-06-23 22:53:51 +02:00
wmayer
d43ca8a692 Fix a couple of gcc compiler warnings:
-Wint-in-bool-context
-Wunused-function
2019-06-23 15:35:49 +02:00
wmayer
cb53719821 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
Abdullah Tahiri
0912fd0ee7 Sketcher: Fix Carbon copy leads to unsolvable sketch
====================================================

fixes #3973

https://forum.freecadweb.org/viewtopic.php?p=316251#p316198

This commit disables an old "axis orientation correction mode", which tried to
solve a problem with orientation of the axis. It never worked fine and it should
have never been introduced, as everything it intends to do should be done by
setting the appropriate placement offset.
2019-06-23 15:15:46 +02:00
wmayer
eaf591c594 fix -Winconsistent-missing-override 2019-06-23 10:37:28 +02:00
Abdullah Tahiri
3c2dad7f6b ViewProviderAttachExtension: check for attach extension 2019-06-23 01:03:37 +02:00
Abdullah Tahiri
18a5ff2bf5 Part Gui: Update attachment icon on attach extension change 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
d2d6a4bde2 PartDesign Gui: Extend ViewProviderDatum with Part::ViewProviderAttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
3f63b164eb PartDesign Gui: Extend ViewProvider with Part::ViewProviderAttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
dd841c9810 Part Gui: New ViewProvider extension for overlaying icons related to Part::AttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
489f48a223 Gui::Add mergeoverlay function to ViewProviderExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
561475a780 Gui: BitmapFactory new static function to make icon overlays with pixmaps 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
9d805452f9 Pixmap: Make bigger attachment icon 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
813e9040ac PartDesign: Refactor set/remove tip in the new Gui::ViewProvider mechanism 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
d28ef3bd54 PartDesign: Extend Datums ViewProvider to overlay attachment status 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
79b54c3494 Gui: Extend ViewProvider to enable merging of overlays on icon 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
9fd2a2d9ff Sketcher: Fix carbon copy construction points
=============================================

fixes #3926

Points made of construction type are special non-constrainable points, such as (current) bspline knots.

This was not intended in Carbon Copy.
2019-06-22 23:15:07 +02:00
Abdullah Tahiri
7d0f8e2fa9 Sketcher: Polyline snap arc to 45 degrees bug fix
=================================================

fixes #3974

Snapping to 45 degrees during arc creation (hold ctrl during an arc within a polyline), resulted in
reduced precision, because Gui::Command::doCommand %f defaults only to six decimal positions, which is
a poor representation in radians of, for example, 90 degrees.

A work-around could have been to hardcode a higher number of decimals, as in %0.Xf. However, I do not like
such magic numbers.

The solution chosen is to use an App.Quantity object using as units degrees, which leads to no loss of precision.
2019-06-22 17:22:40 +02:00