Commit Graph

206 Commits

Author SHA1 Message Date
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
Yorik van Havre
624e20e9a2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Yorik van Havre
8c9e2a6d95 Merge branch 'fix-ifc' of https://github.com/Moult/FreeCAD into Moult-fix-ifc 2019-03-27 11:57:22 -03:00
Dion Moult
348a1777a2 Add a move base property that moves the base object instead of the object itself if true.
This is useful because it is the default case for most architectural work.
2019-03-19 14:17:39 -03:00
furti
b8da380ef4 Set window visibility based on wall
Previously windows attached to walls were not hidden or shown when the
visibility of the wall changed. This commit searches for all windows
that are based on the wall and hides or unhides them.

https://forum.freecadweb.org/viewtopic.php?f=23&t=34166

fixes 3833
2019-02-16 19:31:16 -02:00
Dion Moult
0855be08e5 Remove dependency on ifcopenshell at runtime and introduce new IfcVersion config 2019-01-29 21:15:44 +11:00
Dion Moult
c85514b2cf Refactor all IFC functions into ArchIFC and preload attributes with expressions
* The import code will manually set 2x3 attributes
 * The import code will rely on "smart" attributes for ifc 4
 * ArchSite and ArchBuildingPart now support IFC
 * IfcSite lat/lon is left alone until I better understand how coords work
2019-01-29 21:15:44 +11:00
Dion Moult
6e7a0138cd Migrate IfcAttributes to IfcData for backwards compatibility 2019-01-29 21:15:44 +11:00
Dion Moult
33078844e6 Load JSON based on ifcopenshell schema version
This allows us to support more than one ifc version. The 2X3 jsons cannot be autogenerated and have been manually written based on the hardcoded values in the old codebase.
2019-01-29 21:15:43 +11:00
Dion Moult
a192e5411f Now support boolean, floats, and length IFC types instead of just enum 2019-01-29 21:15:43 +11:00
Dion Moult
06ccc04f1c Remove hardcoded ifc types and instead load from ifc_types.json 2019-01-29 21:15:43 +11:00
Dion Moult
9d3a988cda Update ArchComponent and importIFC to use values from the new ifc_products dictionary 2019-01-29 21:15:43 +11:00
Dion Moult
8d04a4882c Add support for IFC enums, and minor variable name consistency cleanup 2019-01-29 21:15:43 +11:00
Dion Moult
2924dd1779 Add support for storing all IFC attributes as text attributes for now. Data is stored in IfcData as a JSON serialised string. 2019-01-29 21:15:43 +11:00
Dion Moult
171e713de0 Refactor IfcAttributes to be called IfcData.
* IfcAttributes as a name is misleading, as currently it stores GUID (yes, an attribute), but also stores IFC export settings (i.e. not an IFC "attribute", per say)
 * The previous description of "Custom IFC properties ..." is also misleading, as properties might suggest it stores property sets, which it doesn't (IfcProperties does, currently)
 * IfcData is more generic and allows us to store more data in it in the future
2019-01-29 21:15:43 +11:00