Commit Graph

32 Commits

Author SHA1 Message Date
Bernd Hahnebach
9de5f54dae Arch: IFC, fix import break on a IfcAxis2Placement2D 2020-07-03 13:54:26 +02:00
Yorik van Havre
742b6d416b Arch: Small code optimizations to the multicore IFC importer 2020-06-25 15:38:31 +02:00
Yorik van Havre
d43588d240 Arch: New multicore IFC importer 2020-06-25 14:42:38 +02:00
Harald Geyer
7cbed5235c Arch: importIFCHelper: Fix spurious message 2020-06-15 10:05:30 +02:00
Yorik van Havre
0553e440b7 Arch: Movig utils functions from importIFC to importIFCHelper 2020-06-02 13:39:22 +02:00
Harald Geyer
6665799aac 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
9346dfa4f2 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
7b94a6122b Arch: Handle rectangle-and circle-based profiles in IFC import/export 2020-05-29 12:12:48 +02:00
Bernd Hahnebach
78039eb0de Arch: IFC import, fix regression included with 5da9197b 2020-02-06 11:22:24 +01:00
Dion Moult
ddc1555f4e Fix sign of long/lats 2020-01-29 09:33:43 +01:00
Dion Moult
5da9197bc5 Import transparent and IFC4 colours 2020-01-28 12:14:10 +01: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
luz.paz
379d041664 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
8e91b3ab2c Arch IFC import and export, new lines and comments 2019-09-02 07:38:28 +02:00
Bernd Hahnebach
d54bff6de5 Arch: import IFC and helper, code formating, E265 block comment should start with '# ' 2019-08-29 07:52:20 +02:00
Bernd Hahnebach
99fa0b35cf 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
4fd1827fa9 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
4c7bcb29b0 Arch, import IFC helper, improve color code 2019-08-28 21:49:19 +02:00
Bernd Hahnebach
3dc5f7286f Arch: import IFC helper, some comment and rename property rel method 2019-08-28 21:49:13 +02:00
Bernd Hahnebach
2f89dec7eb Arch: import IFC helper, small code formating 2019-08-28 21:49:08 +02:00
Bernd Hahnebach
efba264ff5 Arch: import IFC, helper, improve getting the color table 2019-08-27 13:44:39 +02:00
Bernd Hahnebach
7927c7f3c0 Arch: import IFC, remove not needed return value of colors method 2019-08-27 08:04:02 +02:00
Yorik van Havre
ba297ec966 Arch: Fixed remaining bug in IFC importer 2019-08-21 11:04:59 -03:00
Bernd Hahnebach
cb6f7ce3ee Arch: import and export IFC, add licence text and make it pep8 kompatible 2019-08-21 12:09:06 +02:00
Bernd Hahnebach
8c4856ebeb Arch: import IFC, move methods used by import and export to helper 2019-08-21 12:08:59 +02:00
Bernd Hahnebach
2390a219c0 Arch: import IFC, get back description of empty relation tables 2019-08-21 09:28:58 +02:00
Bernd Hahnebach
d038968b68 Arch: import IFC, split relation table method 2019-08-21 08:51:46 +02:00
Bernd Hahnebach
8fad7c40ec Arch: import IFC helper, fix imports 2019-08-21 08:40:01 +02:00
Bernd Hahnebach
017caac680 Arch: import IFC helper, white spaces and new lines 2019-08-21 08:39:55 +02:00
Yorik van Havre
b32f094820 Arch: Further cleaning of IFC importer - moved aux functions to importIFCHelper 2019-08-20 19:44:19 -03:00
Yorik van Havre
b4fc354d2b Arch: Moved building of IFC relationship tables into separate function 2019-08-20 17:59:30 -03:00
Yorik van Havre
a937461d6f Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00