Commit Graph

20474 Commits

Author SHA1 Message Date
Chris Hennes
d7e0210aae [Part] Remove redundant 'global' statement 2021-10-11 22:37:05 -05:00
Chris Hennes
3d3fd72c7b [Arch] Remove unnecessary pass 2021-10-11 22:22:59 -05:00
Chris Hennes
13beed81ae [Arch] Remove redundant else: from while loop 2021-10-11 22:01:44 -05:00
Chris Hennes
34a7fc95d8 [Draft] Eliminate default value modification 2021-10-11 21:28:55 -05:00
Chris Hennes
3e8d84ce9b Merge branch 'master' into sketcherMoveColorsToPrefs 2021-10-11 12:31:08 -05:00
wmayer
efae4bdf32 TD: [skip ci] fix warning about trunction from double to float 2021-10-11 16:47:27 +02:00
Abdullah Tahiri
156bd82f08 Sketcher: Constraint widget associated constraints filter
=========================================================

A new special filter, that filters the constraint list so as to show the constraints associated with the
currently selected geometries.
2021-10-11 16:40:48 +02:00
Abdullah Tahiri
f85a04a84f Sketcher: Redesign of Constraint settings
=========================================

=> The old controltab is substituted by: direct controls (buttons on the constraint widget) and a settings dialog that is independently fired via a button with a settings icon

This makes more space for the list of constraints and generates a lower amount of confussion regarding the old tab names and functions.

Direct control ensures that the most used operations are at hand, while other less changed settings are moved to the settings dialog.

=> Direct controls

One time visibility to match the list selection can be triggered from a new button "Visibility"

This button has drop selections for visibility selections, which are checkable items (currently only one option, but more are envisaged).
The one option currently is the "visibility tracking" functionality. This is a "shortcut" to the option in the settings panel to save unnecessary clicks
in typical operations.

=> Settings dialog

This dialog is live, in that changes to settings are immediatedly propagated to the list control and visibility.
2021-10-11 16:40:48 +02:00
Abdullah Tahiri
d428cd7938 Sketcher: Add preferences icon resource 2021-10-11 16:40:48 +02:00
wmayer
c701c2f3d2 Test: [skip ci] handle std. and unknown exceptions in unit test dialog 2021-10-11 16:09:23 +02:00
wmayer
c1cf48c88e Web: [skip ci] fix warning: unused parameter 'ok' [-Wunused-parameter] 2021-10-11 10:31:48 +02:00
Chris Hennes
b36258c870 [Gui] Always hide progress bar on finished load
The loadFinished signal from QtWebEngine includes a boolean indicating
whether the load was "ssuccessful" or not, but no apparent way to
determine what error, if any, occurred. Given that we are never
displaying any error information to the user, hide the progress bar
regardless of the success or failure of the operation.
2021-10-11 10:20:30 +02:00
wmayer
45632cc32e Start: if a corrupted file is part of the Recent File List then ignore it 2021-10-11 10:13:49 +02:00
Chris Hennes
b2a629c494 [Part] Allow setting alpha for face colors 2021-10-10 20:23:57 -05:00
Chris Hennes
c3ba3fd30f Merge pull request #5098 from realthunder/FixStepColor
Fix STEP import/export color problem
2021-10-10 18:46:43 -05:00
wmayer
4e8823b584 OCCT: port FreeCAD sources to version 7.6 2021-10-11 00:28:12 +02:00
Zheng, Lei
b200578e08 Part: minor change on transparency setting 2021-10-11 06:02:54 +08:00
luz paz
c83dea164b Added requested revisions 2021-10-10 14:57:39 -04:00
luz paz
a03e92da03 Fix various typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-10-10 14:55:48 -04:00
Zheng, Lei
7fff27f036 Part: sync ViewProviderExt::DiffuseColor on Transparency change 2021-10-10 22:01:25 +08:00
Chris Hennes
547a902a13 Merge pull request #5082 from pavltom/Balloon_Updates
TechDraw - Balloon handling updates
2021-10-09 13:28:48 -05:00
Chris Hennes
63501c224d Merge pull request #5101 from Roy-043/Draft-Tweak-gridShowHuman-tooltip
Draft: Tweak gridShowHuman tooltip
2021-10-09 10:35:55 -05:00
Chris Hennes
d23b71b4f3 Merge pull request #5100 from Roy-043/Draft-Fix-make_ellipse-default-value-face
Draft: make_ellipse default value face should be None
2021-10-09 10:30:57 -05:00
Zheng, Lei
3335da00ae Import: fix transparency STEP export/import
App::Color::a in FreeCAD is actually interpreted as transparency
instead of alpha.
2021-10-09 20:43:24 +08: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
Roy-043
5721086ea9 Update draft_test_objects.py 2021-10-09 10:37:05 +02:00
Roy-043
608682fc1f Update draft_test_objects.py 2021-10-09 10:32:50 +02:00
Roy-043
3c4c2be475 Draft: Tweak gridShowHuman tooltip 2021-10-09 10:25:11 +02:00
Roy-043
eee7eb760a Draft: make_ellipse default value face should be None 2021-10-09 10:17:07 +02:00
Zheng, Lei
c7ece90c44 Import: fix single shape STEP export with per face color 2021-10-09 15:57:50 +08:00
Tomas Pavlicek
af9daa9e46 TechDraw - Balloon updates - improve hospot calculation 2021-10-09 00:30:28 +02: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
Chris Hennes
8aa22d1a68 [Spreadsheet] Refactor keyboard handling
LineEdit no longer actually handles motion, it simply indicates which
action was taken to cause it to lose focus (e.g. which key was pressed).
It's up to the client code to determine what this means. This allows
significant consolidation of keyboard-handling logic, and the
implementation of more extensive keyboard navigation features.

New keyboard shortcuts include a tab counter to implement auto-return,
plus Ctrl->Arrow, End, Home, Ctrl-End, and Ctrl-Home, matching the
behavior of OpenOffice, LibreOffice, etc.

Block selection via keyboard has also been added by holding down the
shift key during navigation with the arrow keys (this also works in
combination with the Ctrl modifier for region navigation).
2021-10-08 14:55:39 -05: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
Tomas Pavlicek
52dcfc64c3 TechDraw - Balloon updates - review based changes 2021-10-08 16:12:01 +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