Commit Graph

25052 Commits

Author SHA1 Message Date
sliptonic
95224a1b9b Merge pull request #4849 from sliptonic/tool/dovetail
adding dovetail cutter toolshape
2021-06-09 17:51:31 -05:00
sliptonic
3fdd8ba99b Merge pull request #4388 from Russ4262/feature_extensions_to_adaptive
[0.20] [Path] Improved `Extensions` feature and add to Adaptive operation
2021-06-09 17:50:58 -05:00
sliptonic
a600320f7c adding dovetail cutter toolshape 2021-06-09 11:47:03 -05:00
Yorik van Havre
28a1300c86 Merge pull request #4842 from 0penBrain/getSheetPy
[Spreadsheet] Expose SpreadsheetView::getSheet to Python
2021-06-09 15:48:44 +02:00
Yorik van Havre
77dd36de9d Merge pull request #4834 from luzpaz/PD-tweak
PartDesign: tweaks to Gui/Workbench.cpp formatting
2021-06-09 12:46:33 +02:00
Yorik van Havre
ff1b3fe10d Merge pull request #4845 from tomate44/fix_offset_macro
[Part] add Fill property to Offset2D macro recording
2021-06-09 12:45:50 +02:00
Yorik van Havre
c50bbd263d Merge pull request #4833 from carlopav/draft-fix-autogroup
Draft: fix Autogroup to fix Draft_OrthoArray crash when using active Std_Part.
2021-06-09 12:44:42 +02:00
Yorik van Havre
524023cab9 Merge pull request #4840 from marioalexis84/draft-wp
Draft: Improve alignToSelection method on WorkingPlane
2021-06-09 12:43:58 +02:00
Yorik van Havre
423f36efb0 Merge pull request #4846 from Roy-043/Draft_fix_pointarray_wrong_tree_icon
Draft: Fix wrong tree icon for Draft_PointArray
2021-06-09 12:30:02 +02:00
balrobs
3cdccea9d6 adds IFC export for structural slabs (StructuralSurfaceMemebers) with their thickness 2021-06-09 10:25:38 +02:00
balrobs
45ae81f955 Formating for better readability
The changes affect code in the exportIFCStructuralTools.py file and aims to improve only the readability for later planed export of SurfaceMembers
2021-06-09 10:25:38 +02:00
Bernd Hahnebach
1bea75d62b FEM: code formating 2021-06-09 08:23:14 +02:00
Tobias Vaara
0ad5a0f735 FEM: unit tests, add calculix flexural buckling 2021-06-09 08:23:14 +02:00
Tobias Vaara
c82de2a0f5 FEM: examples, add calculix flexural buckling 2021-06-09 08:23:14 +02:00
Tobias Vaara
8e25fe33dc FEM: solver calculix, add buckling analysis
Implementation of buckling analysis between the solver Calculix and FreeCAD
2021-06-09 08:23:14 +02:00
Bernd Hahnebach
09f441c93e FEM: unit test, add simple calculix frequency example 2021-06-09 08:23:14 +02:00
Bernd Hahnebach
5f4581098c FEM: examples, add simple calculix frequency example 2021-06-09 08:23:14 +02:00
Roy-043
cb07846ca8 Draft: Fix wrong tree icon for Draft_PointArray 2021-06-08 14:29:03 +02:00
tomate44
ea04f6d179 Part: add Fill property to Offset2D macro recording 2021-06-08 11:29:13 +02:00
0penBrain
6e7136284f [Spreadsheet] Expose SpreadsheetView::getSheet to Python 2021-06-07 21:18:26 +02:00
marioalexis
a6ef3e656b Draft: Check null shape in geometry.py functions 2021-06-06 21:30:20 -03:00
marioalexis
1c918e9d9e Draft: Improve alignToSelection method on WorkingPlane 2021-06-06 21:30:20 -03:00
luz paz
fc26a86e07 PartDesign: tweaks to Gui/Workbench.cpp formatting 2021-06-06 15:02:58 -04:00
carlopav
d115db2cbb Draft: Autogroup, insert guard to prevent cyclic references
ref. Forum discussion: Draft_OrthoArray: Crash when using active Std_Part. https://forum.freecadweb.org/viewtopic.php?f=23&t=59155&p=508132#p508132

Autogroup try to add new created Draft Objects into the active Part, but if the Part is used as a Base for the new object this could create a cyclic reference. 
This behaviour is prevented by adding a check for " obj in active_part.InListRecursive"
2021-06-06 11:21:21 +02:00
0penBrain
85f37a1dbc [Sketcher] Fix 'Reference' checkbox not working for diameter 2021-06-06 07:12:38 +02:00
carlopav
f050f77343 Draft: Autogroup, rename variables to more readable names 2021-06-05 17:07:32 +02:00
Yorik van Havre
fb8b21ec43 Updated ts files 2021-06-04 18:30:30 +02:00
Russell Johnson
fd6298d542 Path: Refactor and upgradeExtensions feature, and apply to Adaptive op
Path: Refactor `Extensions` Gui code into independent module. Move the `Extensions` Gui code to independent module so access to other operations will be easier.
Path: Add `Extensions` feature to Adaptive operation
Path: Isolate Adaptive GUI elements in preparation of Adaptive unit tests
Path: Implement `PathLog` debug module
Path: Implement `translate()` for multi-language message support
Path: Fix `StockType`check bug
Path: Relocate `getCutRegionWires()` to `FeatureExtensions` module
Path: Add `Extensions` property checks on document restored
Path: Improve `Extend Outline` feature implementation
Path: Initialize a waterline type extension
Path: Add enable/disable extensions feature. It is quite possible that many complex faces exist that have large quantities of both simple and complex edges.  For this reason, a manual push button to enable Extensions is useful so the users machine is not bogged down with extra or unnecessary computing time.  Extensions are not necessary at all times. This commit also includes an edge count threshold that will disable the Extensions feature temporarily upon initial loading of the Task Panel.  The manual enable button will do just that.
Path: Add enable extensions warning label
Path: Shorten enable/disable Extensions button message
Path: Remove run-time added Task Panel elements - this QButton and QLabel were moved to UI panel directly.
Path: Add include/ignore Edges button
Path: Improve extension preview rendering
Path: Fixes for `useOutline` modification and updates
Path: Add internal feature to cache calculated extensions for reuse
Path: Add `SetupProperties()` function and connect to GUI command
Path: Add `Avoid Face` extension to ignore base face. This feature allows for some simple access to the exterior of a selected face without clearing the face itself.  This will allow for an exterior clearing operation in a simple manner.
Path: Fix bug restricting extensions on internal closed-wires
2021-06-04 09:48:50 -05:00
Yorik van Havre
1fb45a0c5e Merge pull request #4831 from balrobs/master
[Arch] Fix errors when exporting structures to IFC2X3 format
2021-06-04 13:22:56 +02:00
Yorik van Havre
ada62d44a6 Merge pull request #4829 from 0penBrain/navIndic
[Tux] Prevent updating timer to trigger errors if navigation indicator widget is deleted
2021-06-04 13:18:41 +02:00
Yorik van Havre
7b58a46ab7 Merge pull request #4827 from Roy-043/Draft_Fix_gui_stretch
Draft: Fix gui_stretch
2021-06-04 13:18:05 +02:00
Yorik van Havre
f9c0455385 Merge pull request #4816 from luzpaz/typos
Fix misc. typos
2021-06-04 13:16:21 +02:00
Yorik van Havre
3352ebf9a0 Merge pull request #4811 from carlopav/DraftEdit_Improvements
Draft: Edit improvements to context menu and code organization
2021-06-04 13:15:18 +02:00
0penBrain
e02902cfa2 [Sketcher] Fix 'Reference' checkbox not working for radius/diameter ; fixes #4627
As a consequence :
Remove message box when several arcs/circles are selected ...
... and enforce creation of equality constraints in this case
Former existing option of adding a dimensional constraint ...
... to each circle encouraged improper constraining
2021-06-04 06:12:51 +02:00
balrobs
a91cde1915 [Arch] Fix errors when exporting struchtures to IFC2X3 format
when trying to export structures to IFC2X3 there are some problems due to the fact, that the actual code uses functions not suitable for IFC2X3
this commit fixes this issues
see forum post: https://forum.freecadweb.org/viewtopic.php?f=39&t=54286&start=30#p507877
2021-06-04 01:20:17 +02:00
luz paz
91852ecc58 Fix previous commit 2021-06-03 14:42:58 -04:00
luz paz
f3540ee41b Crowdin: uniformity and grammar in FEM translation
ref: https://crowdin.com/translate/freecad/559/en-ca?filter=basic&value=2#6589150
2021-06-03 14:36:21 -04:00
luz paz
c61d37776f Crowdin: remove superfluous whitespace in Gui/Command.cpp
ref: https://crowdin.com/translate/freecad/564/en-de?filter=basic&value=2#6589648
2021-06-03 14:36:21 -04:00
luz paz
f4ac6e9e77 Crowdin: Fix a .ts file translation [skip ci]
ref: https://crowdin.com/translate/freecad/27909/en-en?filter=basic&value=2#6585856
2021-06-03 14:36:21 -04:00
luz paz
097bb0769c Arch: fix typo in translate() 2021-06-03 14:36:21 -04:00
luz paz
e1af437848 Arch: fix typo in getIfcPsetProperties() 2021-06-03 14:36:21 -04:00
luz paz
261c06a052 Fix misc. typos
Found via 
```codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,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,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,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-06-03 14:36:21 -04:00
0penBrain
6e59ee0c99 [Tux] Prevent updating timer to trigger errors if navigation indicator widget is deleted 2021-06-03 18:21:54 +02:00
Yorik van Havre
ff26df0a6d Tools: updated help text 2021-06-03 15:45:55 +02:00
Yorik van Havre
d0d637b2c6 merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
4361893f24 updated ts files 2021-06-03 15:37:33 +02:00
Roy-043
6cbd0cb9b4 Draft: Fix gui_stretch
If a wire is created to replace a rectangle, the MakeFace property of the wire should match that of the rectangle.
2021-06-02 14:28:56 +02:00
carlopav
267291567f Draft: Edit, cleanup of new GuiTools.addPoint methods
In new splitted addPoint methods, getObjectsInfo and the consequent checks have been removed and moved to main DraftEdit module in a new get_specific_object_info method.
This method returns the info for the selected object at a given position and the 3d Vector of the point clicked on the object.
2021-06-01 23:21:12 +02:00
carlopav
5841b737e1 Draft: Edit, moved resetTrackers for context menu actions to main module
The wrapper allows to call resetTrackers in the main module after the callback to the GuiTools is executed.

This is the last commit, many thanks to @matthijskooijman for having menthored me :)

I think it's helpful to have @matthijskooijman explanation on this use of the wrapper:

This defines a new wrapper function, that calls the original callback and then calls resetTrackers. Note that this creates a new function for every loop iteration, so each of these wrapper functions captures potentially different callback, self and obj values so things work as expected. Note I did something weird with the callback value there: Since functions like these capture a variable, not its value at the time of function definition, and loop variables like label and callback are a single variable shared between all loop iterations, capturing callback directly ends up with all wrappers calling the last callback (i.e. they all capture the same variable and by the time the wrappers are called, that variable will contain the last of the callbacks). This is commonly solved by using a default value in the function definition, since such a default value uses the value of the (in this case) callback variable, not capturing the variable.
2021-06-01 23:20:41 +02:00
carlopav
0ea4c5d2fe Draft: Edit, Added reverse wire option to context menu
Now Draft Edit can reverse the order of the points of a Draft_Wire
2021-06-01 22:53:24 +02:00