Commit Graph

20474 Commits

Author SHA1 Message Date
UR-0
3b323eb24b FEM: calculix writer, add method is density needed 2021-07-05 23:34:03 +02:00
Bernd Hahnebach
05547d80e9 FEM: calculix writer, use generic method to write sets 2021-07-05 21:04:55 +02:00
troyp76
031ca4b5e8 Merge branch 'FreeCAD:master' into master 2021-07-06 00:42:16 +10:00
troyp76
8b7834c4e1 Operations were being recalculated even if the dirty state was False.
The "isDirty" function was not being called correctly by the accept call back.
2021-07-06 00:22:15 +10:00
Bernd Hahnebach
209986bc02 FEM: calculix writer, improve split inpfile writing 2021-07-05 09:46:40 +02:00
Jose Luis Cercos-Pita
ecdd01dd7d Remove Ship module 2021-07-05 09:24:21 +02:00
Bernd Hahnebach
966e0dd519 FEM: solver writer base, some comments 2021-07-05 00:10:02 +02:00
Bernd Hahnebach
9727879cf4 FEM: solver writer base, add generic method to retrieve solid element sets 2021-07-05 00:09:55 +02:00
Bernd Hahnebach
60c771238b FEM: temporary deactivate two FEM tests to get master back on travis 2021-07-04 21:10:18 +02:00
Bernd Hahnebach
5bbb59a4d7 FEM: calculix writer, typo in var names 2021-07-04 20:57:15 +02:00
Roy-043
cc84e2a0fb Draft: Fix Draft_Move Alt copy mode
Draft_Move Alt copy mode was fixed. The modifications were taken from gui_rotate.py.
2021-07-04 10:22:54 +02:00
Roy-043
2b35383744 Draft: Draft_Trimex: Fix wrong angle units in taskpanel: tooltip in DraftGui.py
I have changed the tooltip from "Trim distance" to "Offset distance" to match the tooltip in gui_trimex.py
2021-07-02 11:37:31 +02:00
Roy-043
b10a559fb2 Draft: Draft_Trimex: Fix wrong angle units in taskpanel
The redraw function was changed to return a list [dist, ang] if the real argument is not True. With this list the action function 'knows' which units to display. This also made it possible to move the "self.ui." related stuff that was in the redraw function to the the action function.
I have also changed to tooltip texts by removing the article "The". This more in keeping with other tooltips.
2021-07-02 11:32:51 +02:00
Russell Johnson
b9dae8410b Path: Downgrade message priority 2021-07-01 11:54:34 -05:00
Yorik van Havre
da508e30b0 Merged crowdin translations 2021-07-01 13:56:25 +02:00
Yorik van Havre
7efbe176a0 Updated ts files 2021-07-01 13:50:17 +02:00
Yorik van Havre
3a6becbfe7 Arch: Added Depth property to SectionPlanes 2021-07-01 13:46:24 +02:00
Yorik van Havre
2c641ca4ec Draft: Added Text Spacing and Line Spacing settings to Draft Set Style dialog 2021-07-01 12:59:49 +02:00
Yorik van Havre
7dd3895b9b Draft: Fixed text rotation + dim text height in DXF export 2021-07-01 11:20:24 +02:00
Yorik van Havre
67876a2366 Merge pull request #4878 from pavltom/TechDraw_Edge_MidPoint_Vertex_Fix
TechDraw - Add edge midpoint cosmetic vertex fix
2021-06-30 10:57:01 +02:00
Yorik van Havre
6ebb442ea7 Merge pull request #4877 from berberic2/AddonManager/parse_addonflags.json
AddonManager: parse addonflags.json with json module
2021-06-30 10:53:58 +02:00
Yorik van Havre
6909597f9c Merge pull request #4867 from marioalexis84/draft-label
Draft: Fix rotations and Circle marker in ViewProviderLabel - fixes #0003987
2021-06-30 10:53:07 +02:00
Yorik van Havre
1cecfd87d5 Merge pull request #4865 from Roy-043/Draft-fix-offsets.py
Draft: Fix offsets.py problem with direction if precision=6
2021-06-30 10:51:39 +02:00
Yorik van Havre
2c074af17e Merge pull request #4492 from marioalexis84/draft-wp_restore
Draft: Fixes #0004562: Active working plane changes when I close Draft Edit panel
2021-06-30 10:50:25 +02:00
luz paz
be5faf55c4 Sketcher: FIx typos in source comments [skip ci] 2021-06-29 20:07:30 +02:00
Yorik van Havre
fd0d28eade Draft: Implemented edit mode for Draft texts 2021-06-28 15:47:42 +02:00
Tomas Pavlicek
d434ce7982 Merge branch 'master' into TechDraw_Edge_MidPoint_Vertex_Fix 2021-06-28 01:59:36 +02:00
Łukasz Stelmach
063f05c72d Arch: Align profile's Y with layout's normal vector
Align profile's Y axis with lyouts normal vector so the profile is always
upright regardles of the direction of extrusion. See [1] for more details.

[1] https://forum.freecadweb.org/viewtopic.php?f=3&t=59725
2021-06-27 22:34:35 +02:00
Roy-043
a7513591ae Draft: Fix misplaced Draft_Edit nodes for BezCurve 2nd version
The poles in the resetTrackersBezier function are in the CS of the geometric parent of the curve. Before using `p = obj.getGlobalPlacement().multVec(p)` the nodes have to be translated to the CS of the curve. Otherwise the effects of the curve's Placement would be added twice. See discussion: https://github.com/FreeCAD/FreeCAD/pull/4889



 the global coordinate system. They should therefore not be translated from the LCS to the GCS.
2021-06-26 09:42:56 +02:00
Tomas Pavlicek
f31988b010 TechDraw - Add edge midpoint cosmetic vertex fix - added comments 2021-06-24 20:47:10 +02:00
Bernd Hahnebach
ba11c64d33 FEM: ccx results name improvements 2021-06-24 18:03:35 +02:00
Tobias Vaara
b3fc3341dc FEM: CCX naming of buckling resultfile
Fixes the naming of the resultfile. Instead of displaying 'Time', it displays "BucklingFactor".
2021-06-24 18:03:20 +02:00
Bernd Hahnebach
09b7bede23 FEM: cpp python mesh api, fix crash if not existing group was given in get name method 2021-06-24 17:25:54 +02:00
Yorik van Havre
acedf491f3 Merged crowdin translations 2021-06-24 17:22:19 +02:00
Yorik van Havre
7980f7b318 Updated ts files 2021-06-24 17:18:01 +02:00
Syres916
da144ae28c [Draft] Airfoil Import - User feedback not shown..
... as an error therefore Report Console doesn't attract their attention to why there's nothing in the folder on import of faulty dat file.

See discussion: https://forum.freecadweb.org/viewtopic.php?f=3&t=59628
2021-06-23 15:11:36 +01:00
Bernd Hahnebach
f0f347e910 FEM: code formating 2021-06-23 11:34:57 +02:00
Roy-043
a9cb197379 Draft: Fix Draft_PointArray and Draft_TwistedArray Count problems
Draft_PointArray and Draft_TwistedArray have Count problems:
1. Draft_PointArray: Count is always zero.
2. Draft_PathTwistedArray: Number of items is Count+1.
3. Draft_PathTwistedLinkArray: Count is increased whenever object is recomputed.

Also the first item in a twisted array should be unrotated.
2021-06-23 11:11:15 +02:00
Roy-043
95428dfbe0 Draft: Fix Draft_PointArray and Draft_TwistedArray Count problems
Draft_PointArray and Draft_TwistedArray have Count problems:
1. Draft_PointArray: Count is always zero.
2. Draft_PathTwistedArray: Number of items is Count+1.
3. Draft_PathTwistedLinkArray: Count is increased whenever object is recomputed.

Also the first item in a twisted array should be unrotated.
2021-06-23 11:06:47 +02:00
Bernd Hahnebach
ace7231e97 Part: tube object, add method to simplify to add it to the document 2021-06-23 11:02:44 +02:00
Bernd Hahnebach
5512e41d06 FEM: examples, fix material information for some multi material ones 2021-06-23 11:02:31 +02:00
Yorik van Havre
fe7f1ba1c3 Draft: Fixed working plane set on non-coin view 2021-06-22 16:12:59 +02:00
Łukasz Stelmach
08396c9bc3 Arch: Draw solar diagrams for timezones other than UTC and UTC-3
Use the value of tz parameter to set a timezone instead of -3 constant.

Make updates to TimeZone property trigger redrawing of a solar diagram.
2021-06-22 13:33:35 +02:00
Yorik van Havre
5b6f56d55c Draft: Create Draft texts when using the C++ DXF importer 2021-06-22 13:00:58 +02:00
Yorik van Havre
ab9bc7f33a Merge pull request #4850 from luzpaz/crowdin/PD-fixes
[PartDesign] Translation fixes for reported issues in FreeCAD-translations
2021-06-22 12:41:49 +02:00
Yorik van Havre
27ede668e8 Draft: Fixed construction group name 2021-06-22 12:38:22 +02:00
Roy-043
ad637c2f70 Draft: Small cleanup of Utilities menu and utility toolbar
Removed from the Utilities menu because they already occur in the Modification menu:
Draft_FlipDimension
Draft_Edit
Draft_Slope

Removed from the Utilities menu because calling the command from there instead of from the Draft Tray does not make sense:
Draft_AutoGroup

Removed from the "Draft utility tools" toolbar because the command is very rarely used:
Draft_Heal
2021-06-22 11:54:48 +02:00
Roy-043
df04ca61d1 Draft: Fix wrong color format in gui_setstyle.py 2021-06-21 22:46:00 +02:00
Roy-043
5334f6c60d Fix 3 issues with the Draft Tray layer list
Fix 3 issues with the Draft Tray layer list:
The layer list should display even if there are no layers so that the "Add new Layer" option can be selected.
"Project" and "BuildingPart" objects should be added to the list (depending on "AutogroupAddGroups" of course).
The "LayerContainer" object should not be added to the list. Although it is in fact a group, it is just too confusing.
2021-06-21 21:11:52 +02:00
Roy-043
f42d85f8df Fix 3 issues with the Draft Tray layer list
Fix 3 issues with the Draft Tray layer list:
The layer list should display even if there are no layers so that the "Add new Layer" option can be selected.
"Project" and "BuildingPart" objects should be added to the list (depending on "AutogroupAddGroups" of course).
The "LayerContainer" object should not be added to the list. Although it is in fact a group, it is just too confusing.

Added is_group function. This function can also be used in gui_groups.py.
2021-06-21 21:07:41 +02:00