Commit Graph

25032 Commits

Author SHA1 Message Date
Bernd Hahnebach
be8d2c4625 FEM: code formating 2021-06-09 08:23:14 +02:00
Tobias Vaara
e56fe24cfc FEM: unit tests, add calculix flexural buckling 2021-06-09 08:23:14 +02:00
Tobias Vaara
9f1ec306b5 FEM: examples, add calculix flexural buckling 2021-06-09 08:23:14 +02:00
Tobias Vaara
0060483550 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
1c0f52cb1b FEM: unit test, add simple calculix frequency example 2021-06-09 08:23:14 +02:00
Bernd Hahnebach
3c6aa74bda FEM: examples, add simple calculix frequency example 2021-06-09 08:23:14 +02:00
0penBrain
555c2e5a0d [Sketcher] Fix 'Reference' checkbox not working for diameter 2021-06-06 07:12:38 +02:00
Yorik van Havre
3e98ff41f9 Updated ts files 2021-06-04 18:30:30 +02:00
Yorik van Havre
fe101ff1b1 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
51316ad259 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
1292398d9a 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
692789bcfe Merge pull request #4816 from luzpaz/typos
Fix misc. typos
2021-06-04 13:16:21 +02:00
Yorik van Havre
c11671f18f 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
65c6dbb83a [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
a698748ac6 [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
b518219987 Fix previous commit 2021-06-03 14:42:58 -04:00
luz paz
af011e4d24 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
6e10bc0789 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
ed9d341b22 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
0f0c79c827 Arch: fix typo in translate() 2021-06-03 14:36:21 -04:00
luz paz
1992fd2a72 Arch: fix typo in getIfcPsetProperties() 2021-06-03 14:36:21 -04:00
luz paz
016989e992 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
9c3c1ca699 [Tux] Prevent updating timer to trigger errors if navigation indicator widget is deleted 2021-06-03 18:21:54 +02:00
Yorik van Havre
577994380c Tools: updated help text 2021-06-03 15:45:55 +02:00
Yorik van Havre
9f81ca933d merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
441635aff0 updated ts files 2021-06-03 15:37:33 +02:00
Roy-043
64ee9f335c 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
cdb3a1d7fd 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
d2d570f875 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
4db4d1c34f 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
carlopav
d3b524704f Draft: Edit, rewriting context menu system
get_edit_point_context_menu(self, edit_command, obj, node_idx)
get_edit_obj_context_menu(self, edit_command, obj, position)
that are called depending if the user is over an editpoint or over another part of the object.
2021-06-01 22:53:01 +02:00
carlopav
50a596f687 Draft: Edit, Split out addPoint in multiple methods in the GuiTools
Now Draft_Wire, Draft_BSpline, Draft_Bezcurve have their own methods to add points.
2021-06-01 21:57:38 +02:00
carlopav
2e36f8a832 Draft: Edit, change startEditing method to accept (obj, node_idx)
This enable to start editing also without an user click event, by just calling the method and specifying the object and the edit point index.
It is used for alternative edit mode (alt_edit_mode) by arc context menu
2021-06-01 21:47:37 +02:00
carlopav
aa7dddeecc Draft: Edit, Remove all the empty pass functions
Remove unused functions. Since GuiTools objects inherit from the GuiTools class, they do not need those placeholders.
2021-06-01 21:47:37 +02:00
sliptonic
4050f3ff69 Merge pull request #4826 from sliptonic/master
Path cleanup PathGuiInit
2021-06-01 13:19:10 -05:00
sliptonic
3a1c0c6076 Path cleanup PathGuiInit 2021-06-01 13:15:59 -05:00
sliptonic
35f64d5334 Merge pull request #4825 from FreeCAD/revert-4817-fix/camotics_import
Revert "[Path] Handle unavailability of Camotics library/module"
2021-06-01 12:56:23 -05:00
sliptonic
8f16d82272 Revert "[Path] Handle unavailability of Camotics library/module" 2021-06-01 12:55:48 -05:00
Yorik van Havre
b51e321011 Merge pull request #4822 from marioalexis84/draft-fillet
Draft: Add shortcut to fillet command
2021-06-01 17:01:53 +02:00
Yorik van Havre
e2dd61119c Draft: Added ExclusionPoints property to shape2dview object 2021-06-01 11:30:04 +02:00
donovaly
135d809dfb [Sketch] fix too long tooltips
- they were too long for smaller screens
- the other UI file changes were automatically make by Qt Designer
2021-06-01 08:12:52 +02:00
sliptonic
679bf1024c Merge pull request #4821 from FreeCAD/revert-4672-feature/camotics2
Revert "[PATH]  CAMotics simulation.  First Draft"
2021-05-31 16:30:28 -05:00
marioalexis
86d5cd0cfe Draft: Add shortcut to fillet command 2021-05-31 16:18:36 -03:00
sliptonic
17b18f20d6 Revert "[PATH] CAMotics simulation. First Draft" 2021-05-31 12:49:25 -05:00
Yorik van Havre
8ca7be83c8 Merge pull request #4820 from Roy-043/Draft_Fix_make_text
Draft: make_text fixed 3 small issues
2021-05-31 19:44:13 +02:00
Yorik van Havre
84b270b3c2 OpenSCAD: Fixed typo 2021-05-31 14:54:48 +02:00
Yorik van Havre
74a46e6b95 Arch: Added arrow and bar bubble modes to Arch Axis object 2021-05-31 14:14:46 +02:00
Yorik van Havre
9800f22292 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-05-31 10:54:49 +02:00
Roy-043
5f77a5df89 Draft: make_text fixed 3 small issues
Fixed 3 small issues in make_text that came up while working on make_label (pull request #4801).
2021-05-30 19:53:02 +02:00
sliptonic
be1d1238a0 Merge pull request #4819 from sliptonic/bug/postcancel
[path] fix minor bug when cancelling post process
2021-05-30 10:51:28 -05:00