Commit Graph

48 Commits

Author SHA1 Message Date
Roy-043
544bd1e7ea Arch: implement new get_param functions
Additionally 2 Arch_Window bugs were fixed:
* If the W1 value was changed the box tracker was not repositioned relative to the cursor.
* The WindowColor was not applied because of a typo in the code. De current default color is quite dark BTW.

Note that all dimensional values that were not really defaults, but just the last entered values, have been removed from preferences-archdefaults.ui. As a result the layout looks a bit strange. That will be improved in a next PR.
2024-01-18 15:43:15 +01:00
Roy-043
91cfb15f64 Arch: Avoid dictionary.keys() where possible (#10159) 2023-08-13 11:46:51 +02:00
Roy-043
28f8abd300 Arch: Fix encoding error (caused by #9316) (#9827) 2023-06-27 11:10:31 +02: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
Roy-043
3aebe166b4 [Arch] remove obsolete decode code (#9316)
* Update ArchCommands.py

* Update ArchPanel.py

* Update ArchReference.py

* Update ArchWall.py

* Update import3DS.py

* Update importDAE.py

* Update importIFClegacy.py

* Update importOBJ.py

* Update importSHP.py

* Update importSHP.py

Reverted

* Update importSH3D.py
2023-04-19 15:58:06 +02:00
luzpaz
d35400aae3 Arch: Fix 'testing inequality to None' syntax (#7274)
* Arch: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
-Trim trailing whitespace on touched files
2022-07-30 00:28:20 +02:00
Roy-043
bafe141745 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
luz paz
67381e9579 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
vocx-fc
a5aa9646b0 Arch: update some functions that come from the Draft workbench
In particular `getGroupContents` was renamed to `get_group_contents`
in the Draft workbench, so the function name is updated accordingly.
2020-07-13 14:35:38 +02:00
luz.paz
8fb5c65736 Arch: [skip ci] fix header uniformity
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
Yorik van Havre
5fb22278e8 Arch: Removed log message in DAE exporter 2019-06-27 11:54:15 -03:00
Yorik van Havre
0620caea33 Arch: Minor bugfixes, better doctrings and fixed transparency in OBJ exporter 2019-06-15 16:53:43 -03:00
Yorik van Havre
b4ddf63182 Arch: Adapted IFC, OBJ and DAE exporters to support external color information when running in non-GUI mode 2019-06-12 19:28:43 -03:00
Syres916
550009be14 Collada Export Py3 Fixes
To allow successful Collada Export for Py3 and Py2, tested import of DAE file with colours from Blender to ensure no regression on the import side. Note: I had to download Pycollada to enable testing in Conda build.
2019-02-04 22:20:47 -02:00
cclauss
a7c0f4bc5b Drop depencence on six module 2019-01-07 15:51:34 +01:00
cclauss
51ab27f54a Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00
Philipp Tenbrock
4c188ec0f5 Fixed DAE export of groups including sub-groups and sub-parts 2018-07-27 10:39:00 -03:00
luz.paz
1909466241 Arch: move \n out of translation strings 2018-02-11 20:06:22 +01:00
Daniel Burr
9bd3b8f20d Copy mesh data directly into the numpy arrays instead of creating a temporary local copy in order to save memory when dealing with very large meshes 2017-12-31 15:01:44 +01:00
Daniel Burr
7ec6d1b5a2 Fix insane memory usage when exporting Meshes to Collada format - MeshPy::getTopology() is an expensive function (since it iterates over all Points and Facets) and therefore it should not be called repeatedly 2017-12-31 15:01:44 +01:00
looooo
3e8249a0e6 py3: fix some simple incompapilities
issue 0000995
2017-06-21 11:25:30 +02:00
Jeff Terrace
36c60d3f8d Use xrange instead of range when exporting to collada.
This avoids creating a giant temporary list for large meshes.
2017-05-12 09:28:54 -07:00
Yorik van Havre
0fc9e2be04 Arch Multimaterial 2017-05-03 11:52:24 -03:00
Yorik van Havre
4f165179e3 Arch: Add more metadata to exported DAE files 2017-03-17 17:23:16 -03:00
Yorik van Havre
aab99ad968 Arch: Added materials support to Arch OBJ import/exporter - fixes #2139 2017-02-25 01:07:48 -03:00
Yorik van Havre
402aef2e63 Arch: Support for object colors in DAE importer/exporter 2017-02-23 22:46:32 -03:00
Priit Laes
1591601654 py3: Arch: *.py: Fix syntax for python3 2017-01-17 09:24:46 +01:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
95195e3765 Arch: updated OBJ/DAE exporters to export groups 2016-06-16 18:31:21 -03:00
Yorik van Havre
1acf487040 Arch: Added more meshing options for Collada exporter - fixes #2341 2015-12-02 18:42:30 -02:00
Yorik van Havre
f70d5be2b7 Arch: Fixed DAE export - fixes #2219 2015-08-28 17:46:52 -03:00
Yorik van Havre
cfbcd3a6f3 Arch: Encoding fix in DAE importer 2015-08-03 15:45:47 -03:00
Yorik van Havre
1f47d2cac0 Arch: added DAE importer patch - fixes #2044 2015-04-09 20:17:37 -03:00
Yorik van Havre
9b4b46f1d0 Arch: small fix in DAE importer 2015-02-15 23:41:46 -02:00
Sebastian Hoogen
e820a32653 issue #1701 2014-09-27 13:07:30 -03:00
Yorik van Havre
5d5ed949c6 Arch: Added pref options for window transparency and collada export scaling - fixes #1379 2014-04-16 17:21:21 -03:00
Yorik van Havre
5e7c5a2bfb Arch: removed degug messages in collada importer 2014-01-15 12:01:57 -02:00
Yorik van Havre
19865c252b Fixed translation system in Arch & Draft 2014-01-07 11:17:31 -02:00
Yorik van Havre
e9711ec7c9 Arch: fix in collada importer 2014-01-06 11:42:12 -02:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
Yorik van Havre
38f0f73fbe Cleaning startup messages from Draft and Arch 2013-08-25 13:43:54 -03:00
Yorik van Havre
1b016c4469 0001047: Collada export 2013-03-08 14:57:32 -03:00
Yorik van Havre
4386421a0b Arch: Fixed strings to be translated 2012-08-15 18:39:53 -03:00
Yorik van Havre
da43b9ecc2 Added insert functions to Arch DAE and IFC importers 2012-04-27 17:59:15 -03:00
Yorik van Havre
78c29c7d5d Fixed bug #576 - Arch Collada importer 2012-01-20 18:17:37 -02:00
Yorik van Havre
ccf878ec16 Various fixes to Draft and Arch
+ Renamed Draft Scale object to Clone
+ Removed BasePoint property from Draft Clone
+ Reenabled Draft SelectPlane tool
+ Added Draft context tools to Arch module
+ Made the Arch module load pycollada later
2012-01-04 12:06:02 -02:00
Yorik van Havre
3badfeea98 + changed Arch module license block to LGPL
+ removed express schema file from Arch sources due to license
+ added explanations in Arch settings for the user to get one himself
2012-01-03 20:46:55 -02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00