Commit Graph

59 Commits

Author SHA1 Message Date
Roy-043
9a76d28ca7 Update ArchBuildingPart.py
ChildrenShapeolor -> ChildrenShapeColor
2021-10-18 16:26:57 +02:00
Yorik van Havre
0e7314068c Arch: BuildingParts autogrouping
Arch BuildingParts now gained a new set of View properties that allows
to define a "capture box". Subsequent Draft and Arch objects, or anything
else that uses Draft.autogroup(), will be automatically added to that
BuildingPart if they are inside the capture box.
2021-10-14 14:42:46 +02:00
Yorik van Havre
91dde33ef2 Arch: Added option to references to fuse the base objects by material 2021-09-02 12:21:29 +02:00
Yorik van Havre
053dd7f3b8 Arch: Don't add spaces to BuildingPArt's shape 2021-08-03 16:44:15 +02: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
Stefan Tröger
446ce21517 Remove ExtensionProxy and rely on default Python proxy for extensions. fixes #0004534 2021-01-30 16:00:48 +01:00
luz paz
67381e9579 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
luz paz
da7f105ef1 Arch: fix typo in ArchBuildingPart.py [skip-ci]
Found by user PMac in https://forum.freecadweb.org/viewtopic.php?f=3&t=51049
2020-10-12 11:51:13 +02:00
vocx-fc
a5aa9646b0 Arch: update some functions that come from the Draft workbench
In particular `getGroupContents` was renamed to `get_group_contents`
in the Draft workbench, so the function name is updated accordingly.
2020-07-13 14:35:38 +02:00
luz paz
83f34a1e5b Fix Crowdin typos and various other typos/grammar [skip ci]
Found via codespell v2.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-07-12 11:42:27 +02:00
Yorik van Havre
d43588d240 Arch: New multicore IFC importer 2020-06-25 14:42:38 +02:00
danreb25
728fdfb06a getColors BUG correction
correction proposed as explained in the forum topic https://forum.freecadweb.org/viewtopic.php?f=3&t=42191
2020-03-12 09:25:05 -03:00
luz.paz
180805c55e Fix typos
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,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-03-06 14:50:35 +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
Yorik van Havre
2c0daad48f Arch: store last double-clicked building part 2019-12-12 17:58:21 -03:00
Yorik van Havre
5c9b117314 Arch: place buildingparts at WP origin upon creation 2019-12-12 14:15:19 -03: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
vocx-fc
a94448da8c Arch: ArchBuildingPart, fix obj.Height.Value in onChanged() 2019-09-18 21:32:39 +02:00
Bernd Hahnebach
d563d90125 Arch: use IfcType undefined for building parts, is annotation or actuator ATM 2019-09-14 22:10:36 +02:00
Yorik van Havre
f93a986b5a Arch/TD: Added Coin mode to TD arch views 2019-08-21 18:44:02 -03:00
Yorik van Havre
d9cfd35008 Arch: misc small fixes to buildingpart 2019-08-16 16:38:43 -03:00
Yorik van Havre
be45c24964 Arch: Reorganized view properties of buildingParts 2019-08-15 00:20:24 -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
7eccda34d0 Arch: Lightweight mode for Arch References 2019-07-11 19:37:10 -03:00
Yorik van Havre
68f4eccc58 Arch: Added View clipping abilities to BuildingParts, like SectionPlanes 2019-07-06 20:22:30 -03:00
Yorik van Havre
c6a272c951 Arch: Ability for BuildingParts to control visual aspects of their children 2019-05-13 15:44:13 -03:00
Yorik van Havre
fbdeb442db Arch: Added right-click option to BuildingParts to clone level and contents 2019-04-18 19:10:35 -03:00
Yorik van Havre
612f5206c1 Arch: Added right-click option to BuildingParts to reorder children 2019-04-18 11:55:33 -03:00
Yorik van Havre
f65eba4f91 Arch: Fixed IFC export of object attributes 2019-04-17 18:50:37 -03:00
Yorik van Havre
624e20e9a2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03: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
Yorik van Havre
0ab6b3ec02 Arch: fixed wrong WP when double-clicking an Arch BuildingPart 2018-12-21 18:55:59 -02:00
Yorik van Havre
2e03d02a1a Arch: Fixed crash on creating new BuildingParts 2018-12-20 13:21:48 -02:00
Yorik van Havre
842672d961 Arch: Fixed display bug in BuildingPart 2018-12-19 16:33:48 -02:00
Yorik van Havre
5633bd14d2 Arch/Draft: Misc small fixes
* Properly handle offset2D and arch objects in Draft Stretch
* Allow the WP of Arch BuildingParts to stay weak
* Fixed Draft Edit making Wires not plane anymore
* Dont change the WP if already perpendicular to current view
* Fixed DXF import of Polyfaces
2018-12-10 10:21:17 -02:00
Yorik van Havre
60c668231e Arch: Fixed buggy display string of BuildingParts 2018-12-02 19:10:46 -02:00
Yorik van Havre
7a279d7764 Arch: Fixed position of BuildingPart label on start 2018-12-02 18:49:07 -02:00
Yorik van Havre
8f62c85a6c Arch: Fixed bug in BuildingPart placement 2018-11-28 14:57:36 -02:00
Yorik van Havre
081e318829 Arch: Fixed buggy view restore system in BuildingPart 2018-11-28 14:28:21 -02:00
Yorik van Havre
ea66fcc55f Arch: Fixed missing 'Create Group' option in BuildingParts 2018-11-26 20:08:15 -02:00
Yorik van Havre
a8fda8df0b Arch: Fixed buggy import/export of 2D objects to IFC 2018-11-09 16:56:59 -02:00
Yorik van Havre
a3729d5ca9 Arch: Support part colors in Reference 2018-10-28 13:57:05 -03:00
Yorik van Havre
0e6f14e86b Arch: bugfixes in reference tool 2018-10-01 18:36:29 -03:00
Yorik van Havre
496df34369 Arch: Finished base implementation of Reference object 2018-09-29 16:41:42 -03:00
Yorik van Havre
21e00b6d76 Arch: Support for IfcElementAssembly 2018-08-10 13:08:27 -03:00
looooo
7ad0c7f7f2 py3: define unicode for python3 2018-08-06 19:24:38 +02:00
Yorik van Havre
1885036139 Arch: Added preference option for screen helpers color (axes, grids, etc...) 2018-07-25 10:56:12 -03:00