Commit Graph

1582 Commits

Author SHA1 Message Date
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
Yorik van Havre
34825731a0 Arch: Added Wind Rose diagram to Arch Site 2020-05-28 15:23:42 +02:00
Yorik van Havre
8752bc126a Arch: Fixed use of IfcOpenShell serializer 2020-05-27 14:56:53 +02:00
paul lee
bd02e1bb9d [ArchWall] Fix Align Right with Multi-Material invalid case problem 2020-05-25 13:34:46 +02:00
Yorik van Havre
40600a55c2 Arch: Misc improvements to curtain wall
- Can be based on an edge like normal wall
- Now has a 'host' property to embed into another object (tree only)
- Mullions have different height and width properties
- Mullions or panels can be disabled
2020-05-19 13:58:46 +02:00
Yorik van Havre
b0df61ab67 Arch: Fixed Pipe positioning 2020-05-18 15:24:08 +02:00
Yorik van Havre
6945e37635 Arch: Fixed regression in compound walls 2020-05-18 15:04:26 +02:00
Yorik van Havre
146a175370 Arch: Removed wrong warning in walls 2020-05-18 13:28:55 +02:00
carlopav
05c250d7b5 Arch: fix regression in SectionPlane 2020-05-18 12:18:36 +02:00
Yorik van Havre
4f36c23cbd Arch: Allow to skip import of IFC types from python 2020-05-14 11:49:36 +02:00
Yorik van Havre
4fa967b240 Arch: Fixed export of non-ortho extrusions to IFC 2020-05-13 14:12:37 +02:00
Yorik van Havre
b9fc0fb8d4 Arch: Fixed IFC export of Part Extrusions 2020-05-12 11:16:30 +02:00
luz.paz
6df8201186 Fix typos [skip-ci]
Found via codespell v1.17.0.dev0  
``` 
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,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,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
```
2020-05-12 10:04:29 +02:00
Bernd Hahnebach
65fc2a74d6 Arch: unit test pep8, do not import multiple modules in one line 2020-05-11 21:38:37 +02:00
Bernd Hahnebach
4f8004c792 Arch: add unit test for Pipe 2020-05-11 21:38:33 +02:00
Bernd Hahnebach
e46d7c599c Arch: add unit test for Equipment 2020-05-11 21:38:33 +02:00
Bernd Hahnebach
42103271d9 Arch: Equipment, fix for ifc 2x3 2020-05-11 21:38:31 +02:00
Yorik van Havre
916a42397c Arch: Added SHP importer 2020-05-08 13:00:48 +02:00
Amritpal Singh
68a4294383 Fixed error in print statement Arch.OfflineRenderingUtils 2020-05-06 12:50:25 +02:00
Amritpal Singh
7f2fdbbb44 Fixed bug in OfflineRenderingUtils.buildGuiDocumentFromGuiData. binascii.unhexlify throwing error 2020-05-05 17:53:16 +02:00
Bernd Hahnebach
a0455c24d1 Arch: pipe, fix ifc type for ifc 2x3 2020-05-04 11:12:26 +02:00
vocx-fc
0fe0f2a31f Arch: fix wall's addDefault call
A previous fix was in 8d4ed61782, but some calls to `addDefault`
were not changed.
2020-05-04 10:55:56 +02:00
Yorik van Havre
28b51cf28a Merged crowdin translations 2020-04-29 16:08:23 +02:00
Yorik van Havre
693e374f99 Updated source ts files 2020-04-29 15:41:26 +02:00
vocx-fc
94a2226102 Arch: import the os module to find the paths 2020-04-29 11:45:00 +02:00
Yorik van Havre
7c12c8688c Arch: Curtain wall 2020-04-29 11:43:00 +02:00
Yorik van Havre
e42a26fba1 Arch: [WIP] Curtain Wall tool 2020-04-29 11:43:00 +02:00
Yorik van Havre
d3c2d11fac Arch: Fixed copy-paste leftover 2020-04-27 14:31:22 +02:00
Syres916
b210066650 [Arch] Fix regression in ArchProject.py...
...from eda726041b (diff-da1821ac61ef30c74c28b89cd2620b38) which caused error on IFC import.
2020-04-27 11:42:43 +02:00
luz.paz
06a1099e2b [skip-ci] Fix typos
Found via codespell v1.17.0.dev0  
```
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,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,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
```
2020-04-27 11:29:32 +02:00
Yorik van Havre
8d4ed61782 Arch: Fixed regression in wall 2020-04-24 15:10:42 +02:00
Yorik van Havre
0c96f77184 Arch: Added Truss tool 2020-04-23 13:18:09 +02:00
David Daish
ae728e63ab Work towards adding references to the objects passed in python class methods. 2020-04-22 12:17:08 +02:00
David Daish
c11ebcd43a Rewrote the function and method docstrings in an imperative style. 2020-04-22 12:17:08 +02:00
David Daish
14283ea3ee Moved __init__ docstrings into the class docstring 2020-04-22 12:17:08 +02:00
David Daish
5f0438fb9c Removed incorrect apostrophies. 2020-04-22 12:17:08 +02:00
David Daish
7490f3fc4c Comparison with None is now using 'is' operator 2020-04-22 12:17:08 +02:00
David Daish
f6ffd123d5 Removed extra colon. 2020-04-22 12:17:08 +02:00
David Daish
118483fd4e Added reference to the depreciation of the ArchFloor module. 2020-04-22 12:17:08 +02:00
David Daish
0c9fde600a Moved all module docstrings to the top of the file. 2020-04-22 12:17:08 +02:00
Yorik van Havre
34275a2392 Fixed non-ascii quote character 2020-04-22 12:17:08 +02:00
David Daish
8cf975d831 Fixed docstring allignment for a function 2020-04-22 12:17:08 +02:00
David Daish
d3f6d8d5ce Spellcheck 2020-04-22 12:17:08 +02:00
David Daish
0dd278fcb4 Fixed docstrings straying too far right, after indentation was fixed. 2020-04-22 12:17:08 +02:00
David Daish
1e5356ba3f Work on adding docstrings for archsite 2020-04-22 12:17:08 +02:00
David Daish
eda726041b Added docstrings for arch project, and corrected some doc mistakes. 2020-04-22 12:17:08 +02:00
David Daish
0c3e513c36 Added docstrings for ArchFloor 2020-04-22 12:17:08 +02:00
David Daish
5a382d0dc8 Added docstrings to _Wall, and remaining parts of ArchWall 2020-04-22 12:17:08 +02:00