Commit Graph

31511 Commits

Author SHA1 Message Date
Chris Hennes
d002fb4e8e Sketcher: Translate the menu entries in attach dialog 2023-04-28 19:09:45 -05:00
wmayer
fa8daef521 Gui: force a redraw of the 3d view when creating it as otherwise on some systems the bottom and right side of the main window becomes black 2023-04-28 13:15:54 +02:00
Yorik van Havre
5f3b77cbd7 Merge pull request #9376 from Roy-043/Draft-Remove-Drawing-WB-related-code-from-DXF-related-files
Draft: Remove Drawing WB related code from DXF related files
2023-04-28 12:48:08 +02:00
Yorik van Havre
080c77fbde Merge pull request #9242 from 0penBrain/svgColor
Draft: Improve color handling of SVG geometry importer
2023-04-28 12:10:19 +02:00
wandererfan
eda1c025ed [TD]Handle changed xml namespace 2023-04-27 18:06:40 -04:00
wandererfan
e204932482 [TD]fix bad property type choices 2023-04-27 13:17:48 -04:00
wandererfan
73b986d6a5 [TD]handle escaped unicode annotation text
- v0.19 (and earlier?) stored annotation text as escaped unicode, but
  v0.20 stores the text as utf8.
- checks for "\x" in text to determine is text is escaped or utf8
2023-04-27 13:17:48 -04:00
Chris Hennes
413523b448 Merge pull request #9336 from chennes/taskHelixParamtersTranslations
PD: Helix parameters status translation
2023-04-26 21:08:17 -05:00
Chris Hennes
2684899b3f Merge pull request #9350 from chennes/translateEditModeTooltips
GUI: Translate the tooltip for EditMode menu
2023-04-26 21:00:00 -05:00
Chris Hennes
cd829ad572 Merge pull request #9301 from chennes/shaftWizardTranslations
PD/ShaftWizard: Correct some translation issues
2023-04-26 20:59:40 -05:00
0penBrain
c171723a7f Draft: Improve color handling of SVG geometry importer
Handle 'none' color => Default to black (+ print message)
 Handle #RRGGBBAA color => Return alpha (+ print, message)
 Handle 'rgba(float, float, float, float) => Return alpha (+ print message)
 Reorganize function to return ASAP + print warning if unknown color format
2023-04-26 21:00:37 +02:00
sliptonic
5de06cc2e1 Merge pull request #9339 from xtemp09/path-fix
Fixed segmentation fault in Path workbench
2023-04-26 10:27:36 -05:00
luzpaz
bababf411f Path: move trailing whitespace out of l10n string
Closes #9383
2023-04-26 13:00:27 +00:00
wandererfan
817d7f6c35 [TD]add Py method to return QGScene for Page 2023-04-26 08:18:14 -04:00
wandererfan
69e401d675 [TD]add Py methods to add items to scene 2023-04-26 08:18:14 -04:00
Yorik van Havre
1be4067840 Merge pull request #9385 from luzpaz/linting-arch1
Arch: remove superfluous semi-colon in importWebGL.py
2023-04-26 10:38:39 +02:00
luzpaz
c6edb731d6 Arch: remove superfluous semi-colon in importWebGL.py 2023-04-25 15:27:33 +00:00
luzpaz
4e2124e1d3 Fix misc. linting and typos
Trim whitespace; move imports to separate lines, fix typos
2023-04-25 17:14:39 +02:00
sliptonic
84ebc27646 Merge pull request #9371 from chennes/translationPathFixture
Path: Correct context for Path_Fixture translations
2023-04-25 09:31:27 -05:00
luzpaz
8eeb2a72f0 Path: general linting and typo fixes 2023-04-25 13:07:10 +00:00
Chris Hennes
6bc83c884d Part: Translate offset toolbar dropdown 2023-04-25 12:12:02 +02:00
Chris Hennes
a19ee454f3 Gui: Translate manual alignment menu 2023-04-25 11:34:49 +02:00
Yorik van Havre
9b3f5f102e Draft: small optimization in snapper - issue #5761 (#9239) 2023-04-25 10:16:47 +02:00
sliptonic
29191947e7 Merge pull request #9380 from Ondsel-Development/8894copyrightfix
fix copyright on FreeCAD model file
2023-04-24 17:51:35 -05:00
Ronny Standtke
ded6c101e0 changed Z-axis rotation so that it is readable by default 2023-04-24 18:40:49 -04:00
sliptonic
7d5ab4e703 fix copyright on FreeCAD model file
for #8894
2023-04-24 17:07:40 -05:00
Chris Hennes
142dc7f079 Merge pull request #9356 from Jolbas/Navicube_disable_drag
Refactor Navigation Cube
2023-04-24 15:21:38 -05:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Roy-043
35cca8d2d7 Draft: Remove Drawing WB related code from DXF related files 2023-04-24 16:01:10 +02:00
Jolbas
0c20d6f1a5 NavCube adjustment
Use enum class and fine change to camel case.
Tuned label positions to make one letter labels align better
2023-04-24 12:59:12 +02:00
Jolbas
b613a4ea27 Refactor Navigation Cube
-Use std commands in menu coming with icons
-Only draggable if activated in menu
-Remove textures except labels and used gl fill instead
-Borders on surrounding buttons
-Fix some openGL issues
-Remove duplicate parameter managment. Kept and improved the one in View3DSettings
-Remove lots of other redundant code
-Replaced FontSize param with FontZoom and enabled auto zoom/size on labels.
-Merged BorderColor and TextColor to single EmphaseColor parameter
-Merged ButtonColor and FrontColor to BaseColor parameter
-Added ChamferSize parameter to control edge and corner size
-Use glDrawArrays() innstead of glBegin() and glEnd()
-Draw butt ends on RGB coordinate system
-Fixe issues where cube switch corner on resize window
2023-04-24 12:19:10 +02:00
Chris Hennes
e43609b658 Path: Correct context for Path_Fixture translations 2023-04-23 21:49:37 -05:00
Chris Hennes
a3fbbfa7ba Tools: Add Inspection to Updatecrowdin 2023-04-23 21:40:41 -05:00
Chris Hennes
b98603866a Merge pull request #9357 from chennes/toolsPreCommitFormatNormalization
Tools: pre-commit format normalization
2023-04-23 21:34:28 -05:00
wandererfan
7ec7f78772 [TD]fix FreeCAD translate substitution 2023-04-23 10:49:48 -04:00
Chris Hennes
be0a5140b7 TechDraw: Fix translations of TaskShareView 2023-04-23 10:49:48 -04:00
wandererfan
39887768da [TD]fix FreeCAD translate substitution 2023-04-23 10:49:00 -04:00
Chris Hennes
bfafd32a29 TechDraw: Fix translations of TaskMoveView 2023-04-23 10:49:00 -04:00
Chris Hennes
c2ea23e31b Mesh: Eliminate Alt+O as a shortcut for close 2023-04-23 15:42:30 +02:00
Chris Hennes
4252278dcd TechDraw: Add a few missing translation strings 2023-04-22 19:16:53 -04:00
Abdullah Tahiri
524158a076 Sketcher: Change behaviour of toggle of mixed group of edges and vertices
=========================================================================

Forum:
https://forum.freecad.org/viewtopic.php?p=677304#p677304

A common operation is to toggle a group of geometry to/from construction. This happens often
in connection with carbon copy operations.

When this happens, geometry is often selected using box selection.

If there are geometry points (which are generally construction), and selection box is used, this
results in construction points being toggled to normal defining mode. This situation is undesirable
in 99% of the cases. It requires to reselect only the points and toggle them back.

When construction points need be made defining geometry (for example to use them as attachments), the
general workflow is to select only those points and toggle them.

In order to improve the efficiency, it has been decided to provide a special behaviour for construction
toggling:

1. Vertices will only be toggled to/from construction IF ONLY vertices are selected.
2. If there is a mixture of edges and vertices, vertices will be ignored during the toggling operation.
2023-04-22 22:19:41 +02:00
Syres916
36bd6709bc [Sketcher] Allow experienced users to not have...
...the extra points created on rounded rectangles, it started to become a real pain when box selecting large amounts of geometry and having to keep changing the two points back to construction. New and existing users are completely unaffected.
2023-04-22 21:04:23 +02:00
Chris Hennes
38cac0f995 Sketcher: Add gtest unit test framework 2023-04-22 20:56:29 +02:00
Chris Hennes
36b6bcf0b0 Merge pull request #9294 from chennes/tastCheckGeometryTranslation
Gui: TaskCheckGeometry message translation
2023-04-22 13:55:06 -05:00
Chris Hennes
7bfa3a8e8a Merge pull request #9349 from chennes/translateFemSolverCalculix
FEM: Translate Solver Calculix
2023-04-22 13:53:46 -05:00
Chris Hennes
71fa7f9e34 Merge pull request #9338 from chennes/partBooleanSplitTranslations
Part: Fix context of Part->Split commands
2023-04-22 13:52:27 -05:00
Chris Hennes
99cd277a93 Tools: Apply pre-commit autoformatting 2023-04-22 13:07:06 -05:00
wandererfan
39919200f2 [TD]handle BSpline "lines" in GeometryMatcher 2023-04-22 13:49:10 -04:00
wandererfan
ec1c458907 [TD]make BSpline::isLine a general purpose static method 2023-04-22 13:49:10 -04:00
wandererfan
ef68b1c020 [Gui]overload toQGraphicsItem, toQGraphicsObject for PyObject 2023-04-22 13:48:31 -04:00