Commit Graph

326 Commits

Author SHA1 Message Date
wmayer
ad3a47573c Points: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
73946faa15 Points: for E57 reader move from float to double 2023-08-22 12:44:38 +02:00
wmayer
162f480c84 Points: modernize C++: use equals default 2023-08-22 12:37:37 +02:00
wmayer
5754d063e9 Points: modernize C++: return braced init list 2023-08-19 11:35:41 +02:00
Chris Hennes
bac14e81f7 Merge pull request #10258 from chennes/translations20230814
Update translations
2023-08-18 08:52:13 -05:00
Chris Hennes
58cf9f3212 Update translations
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
wmayer
3e8f4d941f Points: modernize C++: use range-based for loop 2023-08-15 17:20:01 +02:00
wmayer
7fe0d5b9a6 modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
wmayer
ec73caa40e modernize C++: make unique 2023-08-07 19:51:30 -06:00
Chris Hennes
dd40387478 Update translations 2023-07-24 13:37:52 +00:00
Chris Hennes
2798528b8f Update translations 2023-05-18 07:49:08 -05:00
wmayer
340c239cf5 fixes #9134: Points Merge doesn't keep Color information 2023-05-12 13:12:14 +02:00
wmayer
fffe75bef5 Points: Create .qm out of .ts files 2023-05-07 08:48:02 +02: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
Yorik van Havre
faf98925f6 Merged crowdin translations 2023-04-20 14:04:19 +02:00
joha2
2d3293306b Points: show now returns an GeoFeature object
* Added one return statement into try-catch block which returns the appropriate object (instead of `None`).
* Behaviour now in line with `Part.show`.

Example:

```Python
>>> import Points
>>> pp = Points.Points()
>>> pp.addPoints([(1,2,3),(4,5,6)])
>>> go = Points.show(pp)
>>> go  # Former behaviour was to return None
<GeoFeature object>
>>> go.ViewObject.ShapeColor = (1,0,0)
>>> go.ViewObject.ShapeColor = (1.,0.,0.)
>>> go.ViewObject.PointSize = 20
```
2023-04-04 11:35:59 +02:00
wmayer
c770e1b677 Mod: catch exception raised by Rotation::setValue 2023-03-01 18:43:15 +01:00
Yorik van Havre
be6a654b3e merged crowdin translations 2023-02-27 16:01:15 +01:00
wmayer
9604f94fdc Core: add functions setPackedARGB and fromPackedRGBA 2023-02-26 10:11:53 +01:00
wmayer
c19f00fc89 Points: use Color::getPackedARGB() for pcl colors 2023-02-26 10:11:53 +01:00
Yorik van Havre
d8b0e64e14 Merged crowdin translations 2023-02-07 15:55:31 +01:00
Yorik van Havre
433b17b829 Merged crowdin translations 2023-01-23 11:25:49 +01:00
Yorik van Havre
5033f64ce9 Merged crowdin translations 2023-01-17 09:40:31 +01:00
Yorik van Havre
ec6b14bbee Merged crowdin translations 2023-01-09 14:06:28 +01:00
wmayer
2fa66a8d63 Points: support of surface normals and fix handling with intensity 2022-12-22 20:17:49 +01:00
wmayer
124bed6957 Points: refactor E57Reader 2022-12-22 19:14:38 +01:00
wmayer
f4174e3970 Points: fixes #7924: Pointcloud import anomalies 2022-12-21 13:05:16 +01:00
Yorik van Havre
3376e387da Merged crowdin translations 2022-12-20 10:01:00 +01:00
Yorik van Havre
d206d5cd1f Updated ts files 2022-12-20 09:31:25 +01:00
Uwe
f1a836b82a [Start] Gui: enable precompiled headers
- also some whitespace changes
2022-12-14 04:02:05 +01:00
wmayer
bc33b44f3e Mod: use new API of InventorBuilder 2022-12-12 20:50:32 +01:00
wmayer
184afd9761 Gui: fix View3DInventorViewer's getViewProviderByPath, getViewProviderByPathFromTail, getViewProvidersOfType
The View3DInventorViewer only contains the top-level view providers which caused unexpected behaviour when using the three methods above. Thus, in client code they haven't been used any more.
Now the methods internally invoke the corresponding methods of the document. This allows it in client code to directly call the appropriate methods again (LoD).
2022-12-12 16:41:58 +01:00
Uwe
49ab0221be [Points] enable precompiled headers 2022-12-08 05:04:58 +01:00
Uwe
23375fccba [Points] re-add a header 2022-12-07 23:19:38 +01:00
Uwe
cc4b8b4cd1 [Points] improve PreCompiled.h handling 2022-12-07 18:22:00 +01:00
luz paz
07d34012dd L10N: Don't translate strings that dont contain any alphabetic character
Per 0penBrain's suggestion
2022-12-02 11:57:34 +01:00
luz paz
056d1aea87 Fix various typos and grammatical issues 2022-11-30 12:45:29 +01:00
wmayer
eb1100e295 Points: [skip ci] fix build failure 2022-11-29 18:50:24 +01:00
wmayer
cf3225b50f Base: refactoring of InventorBuilder 2022-11-29 13:28:00 +01:00
luz paz
452008f65d Fix header uniformity for various workbenches/directories
Also includes some trailing whitespace fixes
2022-11-29 04:48:57 +01:00
Uwe
bdaee726ae [Points] remove unused includes (#7900)
- also some sorting
2022-11-29 04:44:35 +01:00
wmayer
f0e22410db Base: start of refactoring of InventorBuilder 2022-11-27 16:45:16 +01:00
Chris Hennes
1fac3fead0 cMake: Add support for compiling against Qt6 (#7647)
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.

Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
Kuzemko Alexsandr
2eb55d48c7 [App] Fix of untranslated first document's name (#7156)
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
Yorik van Havre
1ae780d3b1 Merged crowdin translations 2022-10-17 15:12:16 +02:00
Yorik van Havre
4ca1b838a9 Merged crowdin translations 2022-10-06 12:48:05 +02:00
marioalexis
10211b284c Points: Replace C cast 2022-09-18 11:06:51 -05:00
wmayer
1309b86ea5 App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy 2022-09-15 09:52:14 +02:00
wmayer
80d7af9f05 Points: modernize C++: replace 'typedef' with 'using' 2022-08-29 22:57:24 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00