Commit Graph

25541 Commits

Author SHA1 Message Date
Yorik van Havre
24b9877943 Merge pull request #9765 from yorikvanhavre/arch-remove-undefined-type
Arch remove undefined type
2023-06-19 10:47:10 +02:00
Yorik van Havre
ae0e2ddfcb Merge pull request #9738 from yorikvanhavre/arch-nativeifc-provisions
Arch nativeifc provisions
2023-06-19 10:46:51 +02:00
Yorik van Havre
7315a6682a Merge pull request #9777 from Pesc0/addfcblog
Added freecad blog tab to start page
2023-06-19 10:45:53 +02:00
wandererfan
c6a244ee71 [TD]warn on skewed ComplexSection profile 2023-06-18 19:02:18 -04:00
Tobias Falk
348ecf9b56 Update printAllPDF to print a PDF that complies with PDF/A-1b
More details can be found under: https://www.kdab.com/creating-pdfa-documents-qt/
2023-06-17 10:17:42 -04:00
Pesc0
c65f049d20 [Toponaming] create ElementMap class (#9175)
* Copypaste ElementMap
* Add MappedNameRef
* Fix missing include
* Copypaste `findTagInElementName`
* fix error introduced _somewhere_
* refactor toponaming constants
* Move `findTagInElementName` in `MappedName`
* reintroduce workaround to compile ElementMap
* Added missing functions copied from complexgeodata
* fix last compile errors, reorder and format files
* remove recursive refs to ComplexGeoData
* Add more comments
* fixed comments and added tests
* added FIXME, make functions private, misc fixes
* Move static functions from complexGeoData to PostfixStringReferences. Rename to ElementNamingUtils
* Fix broken includes due to previous change
* Revert constants from string to const char*
* added childmap tests and made hasher public
* Make functions private
* Added remaining tests
* removed bool return from `erase` functions
* fix missing appexport

Co-authored-by: John Dupuy <jdupuy98@gmail.com>
2023-06-15 09:05:24 -05:00
Pesc0
5d17c9cf7f Added freecad blog tab to start page 2023-06-15 13:58:27 +02:00
Yorik van Havre
5986a7392e Merge pull request #9712 from Syres916/patch-80
[Import] DXF make codepage case insensitive
2023-06-14 13:24:39 +02:00
Adrián Insaurralde Avalos
b282c7cbb3 PartDesign: clean redundant/incorrect length validation for pad & pocket
better validation is  already done for both at FeatureExtrude::generatePrism instead
2023-06-13 22:53:32 -04:00
Yorik van Havre
2deff531d6 Arch: Fixed unit test that depended on user preferences 2023-06-13 14:03:47 +02:00
Yorik van Havre
71fefee256 Arch: Removed Undefined IFC type - fixes #8774 2023-06-13 14:03:11 +02:00
Yorik van Havre
a5f7c74d0e Draft: allow autogroup to add an object to both a layer and an Arch/NativeIFC container 2023-06-13 12:24:14 +02:00
Yorik van Havre
3c07d567cf Merged crowdin translations 2023-06-12 22:34:22 +02:00
Yorik van Havre
d61e60511a Updated ts files 2023-06-12 22:27:56 +02:00
Chris Hennes
09698ee494 Merge pull request #9752 from Roy-043/Sketcher-Minor-improvements-for-some-GUI-texts
Sketcher: Minor improvements for some GUI texts
2023-06-12 15:20:18 -05:00
Chris Hennes
617dc203e0 Merge pull request #9561 from luzpaz/FEM_ClippingPlaneAdd-fix
Fix FEM_ClippingPlaneAdd.svg (#9550)
2023-06-12 15:19:29 -05:00
Syres916
027a6a912a Merge branch 'master' into patch-80 2023-06-12 14:24:58 +01:00
Yorik van Havre
655adc11ab Merge pull request #9749 from marioalexis84/arch-import_webgl
Arch: Improve performance of WebGL importer
2023-06-12 15:10:51 +02:00
Yorik van Havre
3bd434664b Merge pull request #9761 from kpemartin/Issue8968
Handle long text/mtext on DXF import
2023-06-12 15:00:48 +02:00
Abdullah Tahiri
965d143be3 Sketcher: unused variable fixes 2023-06-11 20:32:39 +02:00
Kevin Martin
d404dd59ef Handle long text/mtext on DXF import
This had previously been corrected using similar code but merging another
fix lost part of the original change for this issue.
2023-06-11 13:44:08 -04:00
Abdullah Tahiri
00fc2311a6 Sketcher: Expose constraint redundancy information to Python 2023-06-11 18:37:38 +02:00
wandererfan
59c81132f2 [TD]fix nonstandard representation 2023-06-10 15:33:05 -04:00
Roy-043
041a8674fd Update CommandCreateGeo.cpp
Additional change: "via" -> "by"
2023-06-10 18:46:37 +02:00
Roy-043
fda7f95646 Sketcher: Minor improvements for some GUI texts
Menu texts for new B-spline tools were inconistent. See https://forum.freecad.org/viewtopic.php?t=78808
2023-06-10 18:39:32 +02:00
marioalexis
fb32420fe0 Arch: Improve performance of WebGL importer 2023-06-09 00:53:05 -03:00
wandererfan
e8e7a64b39 [TD]fix select vertex behind highlight 2023-06-08 13:15:20 -04:00
Adrián Insaurralde Avalos
3ff1c54f11 [Sketcher] Fix incorrect toolbar name uppercase 2023-06-07 16:48:57 -04:00
Roy-043
df102ed005 Sketcher: Minor improvements to some GUI texts 2023-06-07 19:51:19 +02:00
wandererfan
9ad7a0ea72 [TD]use vp Property for arrow size 2023-06-07 12:38:26 -04:00
grubertechnic
7a68d1b6d3 [TechDraw] let arrow size of a dimension change due property task panel 2023-06-07 12:38:26 -04:00
Yorik van Havre
55480c4c8d Draft: Provision for NativeIFC autogrouping 2023-06-07 13:02:49 +02:00
Yorik van Havre
2e28c4ff93 Arch: Export structural nodes to IFC 2023-06-07 10:54:05 +02:00
Yorik van Havre
cd40cccd5d Arch: Cleaned NativeIFC placeholders code 2023-06-07 10:53:40 +02:00
Chris Hennes
7e0ccc872c Merge pull request #9736 from chennes/archFixTypo
Arch: Fix typo in UI string
2023-06-06 12:05:55 -05:00
Chris Hennes
ffb6b97229 Arch: Fix typo in UI string 2023-06-06 11:36:13 -05:00
Chris Hennes
0f9f0f29ca FEM: Add translation for Electromagnetic Constraints 2023-06-06 11:31:12 -05:00
Chris Hennes
f18ead6f02 Sketcher: Add missing translations 2023-06-06 15:35:12 +02:00
Roy-043
4d7277138b Draft: fix near snap for meshes (#9719) 2023-06-05 09:58:50 +02:00
Chris Hennes
05b85d0ddc Sync translations 2023-06-04 14:11:21 -05:00
Chris Hennes
acf4cf2446 TechDraw: Translate some window titles 2023-06-04 09:59:53 -04:00
Chris Hennes
f4cb4de817 TechDraw: Translate Stacking 2023-06-04 09:58:35 -04:00
Roy-043
01de3d143d Draft: Add TextSpacing to Draft_AnnotationStyleEditor (#9702)
Also reordered the dialog a little.
2023-06-03 10:54:49 +02:00
Chris Hennes
87f8e07e2d Path: Remove DefaultExtentsColor 2023-06-02 19:19:09 -08:00
sliptonic
95f1ef523b Merge pull request #9677 from chennes/pathTranslations20230526
Path: Minor translation fixes
2023-06-02 15:18:35 -05:00
Syres916
63df17f6ee [Import] DXF make codepage case insensitive
See discussion https://forum.freecad.org/viewtopic.php?t=78719

I don't believe https://github.com/FreeCAD/FreeCAD/issues/8704 is fixed even after this change, the example file Encoding-error.dxf which can be opened by Varicad Viewer still opens error free but has nothing in the 3D view.
2023-06-02 11:43:16 +01:00
wmayer
72f5428592 PD: fixes #9538: sometimes can't deselect things in newly created sketches 2023-05-31 21:25:08 -04:00
Roy-043
e53e488999 Arch: Arch_Reference: task panel layout was added incorrectly (#9700) 2023-05-31 09:27:17 +02:00
wandererfan
dde0fa75fa [TD]remove html escape sequences from tooltip 2023-05-30 13:23:52 -04:00
Abdullah Tahiri
554ede35d2 Sketcher/Gui: Extend toolbar framework and fix toolbar visibility not preserved
=================================================================================

fixes #9208

Essentially:
- The regular mechanism to save toolbar state when changing from one WB to another
is not designed to support changes within one WB (e.g. from edit mode and back).
- At creation time, toolbars can be initialised with default visible or default hidden
state. Additionally, there is third configuration "Unavailable", which refers to a
toolbar that is hidden, and the control to enable it is also hidden by default.
- The ToolBarManager is extended to enable to set the State of one or more toolbars.
- The State refers to changes to be effected on one or more toolbars by client code:
* ForceHidden allows to hide a toolbar and also hide its control (a toolbar not available
in a mode).
* ForceAvailable allows to make a toolbar available by making its control visible, the
toolbar itself is visible or not depending on user settings.
* RestoreDefault allows to bring the control visibility to the default of the toolbar, the
toolbar itself is visible or not depending on user settings.
* SaveState allows to store the current visibility state of a toolbar. It enables client
code to save the state when appropriate. It provides the only option for default "Unavailable"
toolbars, which are fully managed by client code. It provides additional flexibility to save
other toolbar visibility on request.

For the Sketcher this means:
- That edit mode toolbars are not shown outside edit mode.
- That edit mode toolbars and non-edit mode toolbars can be configured independently.
- that edit mode toolbars' state is saved when leaving edit mode if and only if, the
workbench that is selected when leaving edit mode is the Sketcher WB.
- it won't save the state if the user manually selected another WB and then left edit
mode (why? see limitation above).

Limitation:
- When switching to another WB while in edit mode, the other WB is activated before the
current WB (sketcher WB) is deactivated. This means that at sketcher level, the sketcher
has no chance to save states or do other tidy up actions before the tools of the other WB
are activated.
- This, however, is understood as not relevant enough as to warrant changing the mechanisms
in place.
2023-05-30 16:37:53 +02:00