Commit Graph

220 Commits

Author SHA1 Message Date
Chris Hennes
06a0e1e923 [Arch] Fix LGTM warnings 2021-09-28 10:29:45 -05:00
luz paz
eab17ddff5 Fix various typos 2021-07-31 09:46:50 +02:00
Yorik van Havre
8d93a0f3d8 Arch: Better icon for Arch component 2021-07-13 15:46:54 +02:00
Matthijs Kooijman
96cbc722f5 Arch: Simplify some ifs in ArchComponent
This commit does not change behavior.
2021-05-22 17:39:07 +02:00
Yorik van Havre
6dcb1686f2 Merge pull request #4453 from regularfry/lgtm-arch-unused-imports
Arch: removes unused imports
2021-03-26 11:22:11 +01:00
Bernd Hahnebach
2cc764f5ca Arch: add BIM_Classification command before make use of it 2021-02-15 16:13:30 +01:00
Alex Young
79449b8ce9 Arch: removes unused imports
Removes unused imports as reported by LGTM.

There are exceptions: `import Arch_rc` is shown as an alert, but has side effects.  It's not clear what the best thing to do in those cases is, so I've left them for now.
2021-02-14 16:27:06 +00:00
Chris Hennes
8228d64ac4 [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
paul lee
ed15b99a40 [ArchComponent] Fix Link Of Window Hosts if empty got error as Wall Child 2021-01-18 02:08:39 +08:00
paul lee
9211037781 [ArchComponent] Link of Window get opening now 2021-01-09 03:19:36 +08:00
danrenb
a89e4dfbeb deal with missing DiffuseColor attributes on obj.CloneOf.ViewObject 2021-01-05 12:27:05 +01:00
Yorik van Havre
01a7680a72 Arch: Fixed regression in structures 2020-11-26 13:47:55 +01:00
luz paz
67381e9579 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
vocx-fc
587475fc8a Arch: use new name of the icon Part_3D_object
It is defined in the Part Workbench. Before, it was called `Tree_Part`.
2020-10-22 15:11:45 +02:00
SurajDadral
e311471769 Skip rebar shape to be subtracted from structure
To fix issue:
https://github.com/amrit3701/FreeCAD-Reinforcement/issues/81

And it eventually will fix issue of this thread:
https://forum.freecadweb.org/viewtopic.php?f=23&t=49481
2020-09-09 12:55:35 +02:00
hlg
a48b74d8a5 [Arch] ignore extrusion direction vector length 2020-07-13 14:39:28 +02:00
Yorik van Havre
be0c8eab25 Arch: Better support for App::Parts in Arch Windows 2020-06-12 14:22:39 +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
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
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
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
5a382d0dc8 Added docstrings to _Wall, and remaining parts of ArchWall 2020-04-22 12:17:08 +02:00
David Daish
3a5555f67a Finished arch component docstrings 2020-04-22 12:17:08 +02:00
David Daish
0027828757 Docstrings for ViewProviderComponent 2020-04-22 12:17:08 +02:00
David Daish
f868ff36ea Made recommended formatting changes. 2020-04-22 12:17:08 +02:00
David Daish
8f910713d4 More work on ArchComponent docstrings 2020-04-22 12:17:08 +02:00
David Daish
ac16e173fe Added docstrings to all of the Component class's methods. 2020-04-22 12:17:08 +02:00
luz.paz
90812a05a0 [skip ci] Fix typos
Found via codespell v1.17.0.dev0
```
codespell -i 3 -w -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 ./src/Mod/Arch/
```
2020-04-22 12:17:08 +02:00
David Daish
b5a3890309 Work on ArchComponent docstrings 2020-04-22 12:17:08 +02:00
vocx-fc
ffb802d72c Arch: import from draftutils instead of DraftTools
These functions were moved from DraftTools and DraftGui
to individual modules precisely to make them easy to import.
Otherwise we have to import the entire DraftTools and DraftGui
modules which creates dependency problems when we want to use
some functions without the graphical interface.
2020-03-23 12:14:58 +01:00
alafr
eac01576ad Arch Component: triple quotes for the docstring 2020-03-02 11:53:46 -03:00
alafr
ac0268c904 Export Arch Structure as Ifc Brep if not a simple extrusion 2020-03-02 11:53:46 -03: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
Zheng, Lei
a3e88a399f Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
Francesco Fantoni
61435b30f9 [Arch] suggested feature: add the ability to choose whether an Arch BuildingPart transmits its height value to children 2019-10-14 16:48:07 -03:00
Yorik van Havre
59c15ebbc5 Arch: Adjust height of objects inside groups 2019-10-07 15:33:28 -03:00
Yorik van Havre
a937461d6f Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
Yorik van Havre
a210ec3733 Arch: fixed wrong copy/paste, duh... 2019-08-12 19:40:33 -03:00
Yorik van Havre
683397b187 Arch: Allow to turn off material color and object color syncing 2019-08-12 19:22:58 -03:00
Yorik van Havre
125380ddd9 Arch: Added Area property to walls 2019-07-17 19:25:42 -03:00
Yorik van Havre
2876e82faa Arch: Added IFC pref option to automatically export IFC objects as Standard Cases when possible 2019-05-08 21:58:04 -03:00
Bernd Hahnebach
a733dc6ddd Arch: ifc properties, Py3 fix 2019-04-30 18:01:43 +02:00
Yorik van Havre
f65eba4f91 Arch: Fixed IFC export of object attributes 2019-04-17 18:50:37 -03:00
Yorik van Havre
ab2338d9ac Arch: Minor bugfixes in IFC export 2019-04-14 14:18:46 -03:00