Commit Graph

20158 Commits

Author SHA1 Message Date
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
Tomas Pavlicek
505a12cb5a TechDraw - Add edge midpoint cosmetic vertex fix 2021-06-21 15:20:52 +02:00
donovaly
b841321fb4 [Sketch] fix menu entry wording
all other menu entries use lower case letters, thus do so also for the new tool
2021-06-21 13:56:23 +02:00
donovaly
e1756f8a16 [Sketch] change slot icons
change the slot icons to reflect the new selection/definition behavior
2021-06-21 13:56:03 +02:00
M G Berberich
b95852c8a9 AddonManager: parse addonflags.json with json module
Parses addonflags.json with the python json-module instead of using
regular expressions.
2021-06-21 12:52:31 +02:00
donovaly
582317a405 [sketch] rework the slot command
In practical work it turned out that the slot command is not as convenient as it should because one cannot snap to a proper endpoint and one is restricted to work perpendicular to the sketch axes

This PR fixes this by setting the second snap point to the center of the second arc and removing the perpendicularity.

Benefits:

    when you want to get the slot at a line, edge or sketch axis, set the two center points accordingly. The line does not have to be parallel to one of the sketch axes
    when you want to define the slot using 2 points in the sketch you can do this now
2021-06-20 19:27:58 +02:00
donovaly
d58940756e [TD] save new template as plain SVG
we had several times problems with template SVGs containing Inkscape-special code, thus save the template as plain SVG
2021-06-20 19:07:11 +02:00
donovaly
5841a28abd [Sketch] save new icons as plain SVG 2021-06-20 19:06:43 +02:00
donovaly
c013e4e13e [Sketch] fix these issues:
- missing menu entry for centered rectangle
- typo
- uniform word casing
- duplicated accel key
- remove superfluous comment
2021-06-20 19:06:09 +02:00
Abdullah Tahiri
5ba1b79b5a Sketcher: Add centered rectangle to the menu 2021-06-20 08:24:02 +02:00
Abdullah Tahiri
2470d9f959 Sketcher: Update icon resources 2021-06-20 08:23:31 +02:00
Abdullah Tahiri
b9b7ae94a0 Sketcher: centered rectangle icons 2021-06-20 08:23:01 +02:00
Abdullah Tahiri
bf88c21f74 Sketcher: Centered Rectangle Creation 2021-06-20 08:14:18 +02:00
Abdullah Tahiri
cbcbb9de51 Sketcher: Reorder rounded rectangle code next to normal rectangle code 2021-06-20 07:07:22 +02:00
donovaly
c668b4b0d8 [Sketch] update icons - part 4 of 4
save icons with uniform DPI and as plain SVG
2021-06-20 06:43:25 +02:00
donovaly
2d5da47e09 [Sketch] update icons - part 3
save icons with uniform DPI and as plain SVG
2021-06-20 06:42:21 +02:00
donovaly
0691a095c9 [Sketch] update icons - part 2
save icons with uniform DPI and as plain SVG
2021-06-20 06:41:20 +02:00