Commit Graph

61 Commits

Author SHA1 Message Date
Roy-043
be03a9cebf 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
76bdb13f1d Arch: Updates related to the PlaneGui class (#11153)
Related issue:
#5603.
2023-10-23 18:42:20 +02:00
Roy-043
c409d3b788 Arch: Avoid dictionary.keys() where possible (#10159) 2023-08-13 11:46:51 +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
5b208f6998 Merge pull request #8626 from yorikvanhavre/remove-six
Arch, Draft: Remove use of six module
2023-02-28 09:35:52 +01:00
Bernd Hahnebach
e02bd17199 IFC: import helper, add method to convert IFC color to RGB col 2023-02-27 13:38:57 +01:00
Yorik van Havre
dc32d7985e Arch: Removed six module 2023-02-24 13:15:46 +01:00
Bernd Hahnebach
6392cfcf6b Arch: IFC, import, add some comment 2023-02-23 10:55:41 +01:00
Bernd Hahnebach
ba525db278 Arch: IFC, import, fix import break because of a missing variable 2023-02-17 13:18:32 +01:00
Bernd Hahnebach
8328b3f943 Arch: add missing import, fixes regression added with commit dd866a07be78 2023-01-20 14:45:06 +01:00
Chris Hennes
a64fef50bc Arch: Remove Py2 code 2022-11-09 14:08:54 +01:00
Yorik van Havre
97545c8836 Arch: Housecleaning - Moving IFC getPreferences() to helper module 2022-09-15 14:22:07 +02:00
Yorik van Havre
9442668f7a Arch: Fixed IFC import/export of dimensions 2022-04-06 11:35:18 +02:00
Yorik van Havre
df21082e50 Arch: fixed flipped import of IFC texts 2022-04-05 16:06:00 +02:00
Yorik van Havre
ec70f760db Arch: fixed missing multicore IFC import of 2D annotations 2022-03-24 09:41:08 +01:00
Bernd Hahnebach
636be32ec0 Arch: IFC export and import, some code formating (only very clearly ones) 2021-10-27 23:10:01 +02:00
luz paz
1992fd2a72 Arch: fix typo in getIfcPsetProperties() 2021-06-03 14:36:21 -04:00
Bernd Hahnebach
8bdd18d0dd Arch, import IFC, fix in materials 2021-05-16 06:34:02 +02:00
Chris Hennes
9d1958475e [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
Bernd Hahnebach
4948ff5ccb Arch: import IFC, support multiple styles in styled items in IFC4 2020-10-06 19:27:54 +02:00
Bernd Hahnebach
2ceeedf3bd Arch: import ifc, small fix in colors 2020-10-06 19:10:52 +02:00
Bernd Hahnebach
528b029035 Arch: import ifc, colors in IFC4 print warning not implemented 2020-10-06 19:08:48 +02:00
Yorik van Havre
c55c89c7d1 Arch: Better support for colors in multicore IFC importer 2020-09-09 14:36:20 +02:00
vocx-fc
7afa5dc00d Arch: small changes to color methods in IFC importer 2020-09-09 14:16:03 +02:00
vocx-fc
f5344133ea Arch: small cleanup of IFC helper module
Remove unnecessary comments; as long as the variables
and functions have a clear name, they are self documenting,
so they don't need additional comments.
2020-08-11 12:10:50 +02:00
Bernd Hahnebach
f843ecce8e Arch IFC import, add simplificated method to get pset properties 2020-07-28 06:00:31 +02:00
vocx-fc
71323be071 Arch: fix invalid print syntax in Python 2 2020-07-06 12:41:22 +02:00
wmayer
6b2df21c1e Py2: fix compatibility issue 2020-07-05 23:32:43 +02:00
Bernd Hahnebach
8133ee1e35 Arch: IFC, fix import break on a IfcAxis2Placement2D 2020-07-03 13:54:26 +02:00
Yorik van Havre
5bf1eee0a1 Arch: Small code optimizations to the multicore IFC importer 2020-06-25 15:38:31 +02:00
Yorik van Havre
ec6ea813c5 Arch: New multicore IFC importer 2020-06-25 14:42:38 +02:00
Harald Geyer
5958b3976b Arch: importIFCHelper: Fix spurious message 2020-06-15 10:05:30 +02:00
Yorik van Havre
4d48b2aa38 Arch: Movig utils functions from importIFC to importIFCHelper 2020-06-02 13:39:22 +02:00
Harald Geyer
a6b2e11ef8 Arch: IFC import, implementation of IfcIndexedPolyCurve
ArchiCAD uses this entity for footprint annotations even if there are no
arc segments. Thus I need this, but couldn't test the arc part of the
patch.
2020-06-02 12:26:25 +02:00
Harald Geyer
6008cbcd13 Arch: importIFCHelper: Fix crash on unsupported entity
When getCurveSet() is called on an unsupported entity, it runs into a
NameError exception because elts is not defined. Instead print a message
and return gracefully.

This is in line with overall behaviour of the importer: Ignore
unsupported elements instead of thowing errors.
2020-05-29 13:32:42 +02:00
Yorik van Havre
b74a2ba7ef Arch: Handle rectangle-and circle-based profiles in IFC import/export 2020-05-29 12:12:48 +02:00
Bernd Hahnebach
0a3fbfec8c Arch: IFC import, fix regression included with 2bf5d62e 2020-02-06 11:22:24 +01:00
Dion Moult
8ef469a60a Fix sign of long/lats 2020-01-29 09:33:43 +01:00
Dion Moult
24c7ceb309 Import transparent and IFC4 colours 2020-01-28 12:14:10 +01:00
luz.paz
8af8689d73 Arch: [skip ci] fix header uniformity
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
luz.paz
ea0868a433 Fix typos and some trailing whitespace
Found via:  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2019-12-03 12:22:59 +01:00
Bernd Hahnebach
ecaf9000f6 Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Bernd Hahnebach
929450521a Arch: import IFC and helper, code formating, E265 block comment should start with '# ' 2019-08-29 07:52:20 +02:00
Bernd Hahnebach
e84b5d662c Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment 2019-08-29 07:52:09 +02:00
Bernd Hahnebach
0eef759864 Arch: import IFC and helper, code formating, E261 at least two spaces before inline comment 2019-08-29 07:52:00 +02:00
Bernd Hahnebach
057caca945 Arch, import IFC helper, improve color code 2019-08-28 21:49:19 +02:00
Bernd Hahnebach
d3c31c131b Arch: import IFC helper, some comment and rename property rel method 2019-08-28 21:49:13 +02:00
Bernd Hahnebach
7b13ebf47d Arch: import IFC helper, small code formating 2019-08-28 21:49:08 +02:00
Bernd Hahnebach
cd569e2c78 Arch: import IFC, helper, improve getting the color table 2019-08-27 13:44:39 +02:00