Commit Graph

26030 Commits

Author SHA1 Message Date
wmayer
014e5985fd Gui: [skip ci] reformat code 2021-10-09 15:17:24 +02:00
wmayer
86208783a8 Part: fix bug in Part::Tools::getPointNormals for OCCT 7.6 2021-10-09 14:34:04 +02:00
wmayer
a7f9c2f1b9 OCCT: port FreeCAD sources to version 7.6
SMESH is not yet ported
Although FreeCAD code compiles with OCCT 7.6 it doesn't work at the moment
2021-10-09 13:49:02 +02:00
wmayer
f4e4ed0c25 PD: simplify code to display add/sub shape 2021-10-09 11:38:25 +02:00
wmayer
87c70167be Part: add convenience function to convert TColgp_Array1OfDir to std::vector 2021-10-09 11:37:18 +02:00
Chris Hennes
d61887c10b Merge pull request #4992 from chennes/hiddenPrefToLockToolbars
[Gui] Add hidden pref to lock toolbars
2021-10-08 17:47:45 -05:00
wmayer
f0aa77c96d PD: simplify code to display rejected shape and move it to its own function 2021-10-08 22:32:26 +02:00
wmayer
9aa287ba7b Part: remove ViewProviderPartExt::getNormals 2021-10-08 19:34:48 +02:00
wmayer
27d65eca51 PD: do not enforce a reference axis when no profile is used to pad a face 2021-10-08 18:21:42 +02:00
wmayer
12ef275264 PD: do not set ReferenceAxis when no profile is used to pad a face 2021-10-08 17:45:59 +02:00
wmayer
eba9360c1c Part: copy ViewProviderPartExt::getNormals to Tools class 2021-10-08 16:55:09 +02:00
wmayer
77537fb1da Part: in Part.getFacets() use functions of Tools class 2021-10-08 15:32:41 +02:00
wmayer
5ddaa470da Part: in TopoShape::getDomains use functions of Tools class 2021-10-08 15:32:19 +02:00
wmayer
ad370b4789 Raytracing: in PovTools/LuxTools use functions of Tools class 2021-10-08 15:29:36 +02:00
wmayer
bc1bec296e Part: add methods to get the point normals of the triangulation or surface 2021-10-08 15:28:22 +02:00
Yorik van Havre
1027ef56ce Merge pull request #5078 from chennes/femRemoveExtraTranslations
[Fem] Clean up Fem.ts to remove extra translations
2021-10-08 14:46:04 +02:00
Yorik van Havre
2d10bd6dca Merge pull request #5088 from Roy-043/Draft-improvements-for-Draft_Hatch
Draft: improvements for Draft_Hatch
2021-10-08 14:42:46 +02:00
Yorik van Havre
feb7faf173 Merge pull request #5092 from Roy-043/Draft-Draft_Text-should-use-working-plane
Draft: Draft_Text should be aligned with working plane
2021-10-08 14:39:15 +02:00
wmayer
50d3abc182 Part: change TopoShape::exportFaceSet and TopoShape::exportLineSet to use the functions of the Tools class 2021-10-08 12:43:06 +02:00
wmayer
538ae87875 Part: add convenience functions to retrieve triangulation of a face or edge 2021-10-08 12:41:07 +02:00
Roy-043
b537a2351d Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:53 +02:00
Roy-043
9b634a2a75 Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:06 +02:00
Roy-043
f10a6de031 Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:07:12 +02:00
wmayer
6fad3d0392 SMESH: [skip ci] do not undefine the guard of a header file 2021-10-07 11:10:12 +02:00
wmayer
97ac224ce6 Part: [skip ci] fix build failure when using PCH 2021-10-07 10:19:49 +02:00
Chris Hennes
7d42d528d2 Merge pull request #5093 from Roy-043/Arch-InitGui-draft_line_commands-not-used
Arch housekeeping: InitGui self.draft_line_commands not used
2021-10-06 21:15:59 -05:00
Chris Hennes
aa4e96594c Merge pull request #5094 from Roy-043/Draft-housekeeping-gui_rectangles-use-make_rectangle
Draft housekeeping: gui_rectangles.py should use make_rectangle
2021-10-06 21:09:51 -05:00
Chris Hennes
27df77cc4f Merge pull request #5096 from luzpaz/typos
Fix user facing typos [skip ci]
2021-10-06 17:24:05 -05:00
luz paz
b18e2a7e35 Tools: fix updatecrowdin.py variable typo [skip ci] 2021-10-06 18:15:53 -04:00
luz paz
be693528be Fix user facing typos [skip ci]
Typos in Draft and OpenSCAD code.
2021-10-06 18:11:48 -04:00
Noah
c482e90efc Mesh: fix WildMagic4 build on Darwin AArch64 (Apple M1)
A previous fix from 2012 excluded the x86_64 platfrom from using 32-bit Carbon APIs.

- https://tracker.freecadweb.org/view.php?id=656 (WildMagic4 doesn't build on 64-bit Mac OS)

Apply the same fix for AArch64 to ensure that the Mesh module can be built on Apple M1.
2021-10-06 22:47:48 +02:00
wmayer
2fe6ffcaf6 Mesh: [skip ci] add unit test for corrupted facets 2021-10-06 21:58:37 +02:00
wmayer
94516cb0a6 Sketcher: [skip ci] fix -Wunused-lambda-capture 2021-10-06 19:46:57 +02:00
wmayer
5612c1a58d Part: add function Geometry.toShell 2021-10-06 19:44:53 +02:00
wmayer
9eedb17b70 App: use consistent spelling of SubElement 2021-10-06 18:09:53 +02:00
Roy-043
b6565da274 Draft housekeeping: gui_rectangles.py should use make_rectangle 2021-10-06 17:54:30 +02:00
Chris Hennes
766e9cffb1 Merge pull request #5089 from mwganson/addonmanager
[AddonManager] -- put Restart now and Restart later as button text in…
2021-10-06 10:51:49 -05:00
Roy-043
14596740f6 Arch: InitGui draft_line_commands not used 2021-10-06 17:46:25 +02:00
wmayer
b5c012a301 Mesh: implement sub-element handling 2021-10-06 17:19:38 +02:00
Abdullah Tahiri
ca65026246 Sketcher: New constraint special filter, filter selection
=========================================================

It filters the constraint list to the selected constraints.

It observes selection changes and reacts to new selections.

Forum:
https://forum.freecadweb.org/viewtopic.php?p=537028#p537028
2021-10-06 13:44:06 +02:00
Abdullah Tahiri
eff309b591 Sketcher: use addSelections for group selecions in TaskSketcherElements 2021-10-06 13:44:06 +02:00
Abdullah Tahiri
e953c8e0e6 Sketcher: user addSelections for group selection in SketcherTools 2021-10-06 13:44:06 +02:00
Roy-043
50b8ed49a5 Draft: Draft_Text should be aligned toworking plane 2021-10-06 13:15:10 +02:00
luz paz
eab07e3c5b Fix trivial typos 2021-10-06 07:54:05 +02:00
luz paz
ea7e1d9670 [FEM] Rename menuetext -> menutext 2021-10-06 07:53:58 +02:00
mwganson
40a0bbae7c [AddonManager] -- put Restart now and Restart later as button text instead of in the dialog text 2021-10-05 22:38:00 -05:00
wmayer
bcaa8d1c00 App: [skip ci] make Matrix a dynamic attribute of ComplexGeoDataPy 2021-10-05 19:18:12 +02:00
Roy-043
5dd472aea0 Update make_hatch.py 2021-10-05 15:58:47 +02:00
Roy-043
812a0e787a Update gui_hatch.py 2021-10-05 15:58:09 +02:00
Roy-043
2196179cb1 Update hatch.py 2021-10-05 15:57:00 +02:00