Kevin Martin
fd5b4076b8
Add hooks so Gui classes can be seen by DXF importer
2023-12-14 10:15:17 +01:00
wmayer
74e658c78c
Import: improve new STEP/IGES/glTF export function to support colors per face in headless mode
...
Fixes #10861
2023-10-02 17:10:34 +02:00
wmayer
83921f5f07
Import: fix legacy STEP/IGES/glTF export function to support colors per face
...
See issue #10861
2023-10-02 17:10:34 +02:00
wmayer
1cbd96f3cf
Import: code-refactoring and clean-up
...
* Add new method ExportOCAF::exportObjects() to avoid code duplication
* Simplify handling of arguments passed to Python handler
* Fix several lint warnings
* Move ImportOCAFExt to the corresponding source files
2023-10-01 22:23:57 +02:00
wmayer
c87860922c
Import: fix lint warnings
...
* Make constructors explicit
* Fix a regression from PR 10783
2023-10-01 08:01:41 +02:00
wmayer
70ca90f46f
Import: move IGES reader & writer to own classes
2023-10-01 00:18:11 +02:00
wmayer
4092677f24
Import: move STEP reader & writer to own classes
2023-10-01 00:18:11 +02:00
wmayer
37e477d3e7
Import: fixes #8666 : Enable support to read glTF files
2023-09-25 13:02:59 +02:00
wmayer
0aa9ea99b4
Import: move glTF writer to its own source files
2023-09-25 13:02:59 +02:00
pre-commit-ci[bot]
222a2520b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wmayer
b5d0950211
Import: Apply clang format
2023-09-10 19:23:47 +02:00
Chris Hennes
08cf226263
Import: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:26 -05:00
Benjamin Bræstrup Sayoc
33384cff9c
[Everywhere] FileInfo::hasExtension for multiple values ( #9774 )
...
* [Base] Add hasExtension for multiple values
* [Gui] Use hasExtension for multiple values
* [Drawing] Use hasExtension for multiple values
* [Fem] Use hasExtension for multiple values
* [Import] Use hasExtension for multiple values
* [Mesh] Use hasExtension for multiple values
* [Part] Use hasExtension for multiple values
* [TechDraw] Use hasExtension for multiple values
2023-08-07 09:55:19 -06:00
luzpaz
129d5882a7
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
Kevin Martin
048b358c01
[Import] DXF: correction to documentation
...
Correction to documentation comment noticed while addressing these issues.
The comment for readDXF did not document its fourth option_source argument.
2023-03-24 23:03:52 +01:00
wmayer
956a0f2531
Import: issue #8884 : C++ DXF importer never imports text (annotations
...
This reverts commit e1ebcef39e
2023-03-22 20:09:20 +01:00
wmayer
21d705ad4b
Import/Part: [skip ci] restore some comments
2023-03-14 21:47:41 +01:00
Andrew
0833cbe7cc
Clean mod/import folder
...
Clean mod/import folder
fix code not removed.
2023-03-14 16:02:01 +01:00
wmayer
f66ec96a77
Import: enable multi-threading support of RWGltf_CafWriter for OCCT 7.7
2023-02-26 13:30:44 +01:00
wmayer
85ad88d101
Import: [skip ci] fix some minor Lint issues
2023-02-26 09:04:26 +01:00
wmayer
c3fc619b99
Import: support to export to glTF file in headless mode
2023-02-26 09:04:26 +01:00
wmayer
b44d70f646
Import: [skip ci] fix warning about trailing whitespaces, fix parsing errors
2022-11-25 11:55:51 +01:00
wmayer
88bde4e0f9
Import: fix build failure
2022-11-25 10:28:13 +01:00
Uwe
838d99636b
[Import] remove unused includes
...
- also some sorting
2022-11-25 04:34:44 +01:00
Kuzemko Alexsandr
63174d487f
[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
wmayer
5dcaa8e5bf
Part: use ImportExportSettings in client code
2022-10-04 12:32:47 +02:00
wmayer
8db7ee1051
Part: implement wrapper class around Interface_Static
2022-10-03 19:03:32 +02:00
wmayer
f827de4d4d
Import: make API more flexible
2022-10-03 17:26:32 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
wmayer
fed9f20f48
Import: use Part::ImportExportSettings to access parameters
2022-07-23 21:58:51 +02:00
Uwe
1f04880da9
[Image] [Inspection] remove superfluous nullptr checks
2022-07-18 01:54:09 +02:00
wmayer
76330db700
Import: replace PyObject_IsTrue with Base::asBoolean
2022-07-16 13:37:12 +02:00
wmayer
2041eca74c
Import: if PyArg_ParseTuple() returns false PyErr_Clear() must be called first before calling PyArg_ParseTuple() again
2022-07-16 11:19:13 +02:00
wmayer
e1ebcef39e
Import: [skip ci] change path to user config in Import.readDXF()
2022-07-16 10:59:06 +02:00
Benjamin Alterauge
83203153cd
Group dxf relevant files in one folder
2022-07-16 10:55:24 +02:00
andrea
93525ff7eb
removed references to OCC<7
2022-06-25 14:29:24 +02:00
marioalexis
ea79771afd
Import: Use PyObject_IsTrue in combination with conditional ternary operator
2022-06-22 19:50:03 -04:00
wmayer
d1459f6d32
Import: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
c9d28b542f
[Import] remove unused includes and Xerces
2022-03-20 22:19:08 +01:00
wmayer
9160f06e1c
Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
2022-03-17 14:45:48 +01:00
wmayer
d69defaa3c
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
wmayer
0054cbddaa
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
09da245af9
App: harmonize API of App::Application
...
* make getHomePath() static and return a std::string
* make getExecutableName() static and return a std::string
2021-11-04 10:50:09 +01:00
wmayer
9c8685c20c
Import: [skip ci] avoid conflicting class names in global namespace
2021-03-19 15:18:25 +01:00
wmayer
78c6cc1362
Import: [skip ci] fixes #0004477 : Can't import .STEP files with cyrillic symbols
2020-12-07 17:54:17 +01:00
wmayer
fd9cdb9de9
Part/Import: [skip ci] disable use of Message_ProgressIndicator for OCC >= 7.5 due to major API changes
2020-10-08 14:48:35 +02:00
wmayer
e1363e5d0f
PVS: V575 The null pointer is passed into 'strcpy' function. Inspect the first argument
2020-07-18 10:59:28 +02:00
wmayer
39fe47b9de
PVS: V519 A variable is assigned values twice successively.
2020-07-18 10:59:27 +02:00
wmayer
d62eda51d6
Import: [skip ci] fix bug when checking if std::map is empty
2020-01-17 23:26:22 +01:00
wmayer
71dae0e639
handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi
2019-11-18 11:56:08 +01:00