Commit Graph

69 Commits

Author SHA1 Message Date
wmayer
a24323767f Arch: [skip ci] fix typos 2023-01-13 13:30:59 +01:00
Roy-043
172f6c17a7 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01:00
Roy-043
a61404531d Arch: Fix missing Windows in Arch Reference of BuildingPart 2022-12-02 00:51:03 +01:00
Roy-043
8a91607778 Draft+Arch: Fix crash related to SoBrepEdgeSet 2022-09-28 17:32:12 +02:00
Uwe
04570f81cc [Arch] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-08-04 01:32:06 +02:00
Roy-043
7e0550a7c8 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
Yorik van Havre
ffbe0d1b96 Arch: workaround race condition in building part creation 2022-04-05 16:02:44 +02:00
Yorik van Havre
1f09430fe3 Arch: Misc bullet-proofing 2022-03-24 09:39:43 +01:00
Yorik van Havre
82d93293b1 Arch: Fixed auto-height of child walls & structures - fixes #5732 2022-03-11 11:52:33 +01:00
Yorik van Havre
9292aaaedf Arch: Fixed units display of building parts 2021-12-27 15:09:39 +01:00
Roy-043
af789a17ee Update ArchBuildingPart.py
ChildrenShapeolor -> ChildrenShapeColor
2021-10-18 16:26:57 +02:00
Yorik van Havre
a6485ad191 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
352fa25167 Arch: Added option to references to fuse the base objects by material 2021-09-02 12:21:29 +02:00
Yorik van Havre
62b1130ead Arch: Don't add spaces to BuildingPArt's shape 2021-08-03 16:44:15 +02:00
Alex Young
80dbfd5814 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
9d1958475e [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Stefan Tröger
ec5ac30756 Remove ExtensionProxy and rely on default Python proxy for extensions. fixes #0004534 2021-01-30 16:00:48 +01:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
luz paz
ea6b736208 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
c97d13164e 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
ac76f16aa3 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
ec6ea813c5 Arch: New multicore IFC importer 2020-06-25 14:42:38 +02:00
danreb25
621c30db50 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
ebe194a9e9 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
8af8689d73 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
4542a799b9 Arch: store last double-clicked building part 2019-12-12 17:58:21 -03:00
Yorik van Havre
d3a13122a1 Arch: place buildingparts at WP origin upon creation 2019-12-12 14:15:19 -03:00
Zheng, Lei
ef5acc5023 Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
Francesco Fantoni
1b212feffb [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
2f07f13e9d Arch: Adjust height of objects inside groups 2019-10-07 15:33:28 -03:00
vocx-fc
6fb25c2931 Arch: ArchBuildingPart, fix obj.Height.Value in onChanged() 2019-09-18 21:32:39 +02:00
Bernd Hahnebach
9eb5f89962 Arch: use IfcType undefined for building parts, is annotation or actuator ATM 2019-09-14 22:10:36 +02:00
Yorik van Havre
411827fbae Arch/TD: Added Coin mode to TD arch views 2019-08-21 18:44:02 -03:00
Yorik van Havre
af65305d45 Arch: misc small fixes to buildingpart 2019-08-16 16:38:43 -03:00
Yorik van Havre
b20a706fc6 Arch: Reorganized view properties of buildingParts 2019-08-15 00:20:24 -03:00
Yorik van Havre
09d0b2d0e7 Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
Yorik van Havre
8932d9296e Arch: Lightweight mode for Arch References 2019-07-11 19:37:10 -03:00
Yorik van Havre
01514ad653 Arch: Added View clipping abilities to BuildingParts, like SectionPlanes 2019-07-06 20:22:30 -03:00
Yorik van Havre
f1eeae6754 Arch: Ability for BuildingParts to control visual aspects of their children 2019-05-13 15:44:13 -03:00
Yorik van Havre
ec1830dfb8 Arch: Added right-click option to BuildingParts to clone level and contents 2019-04-18 19:10:35 -03:00
Yorik van Havre
44ec39d3bc Arch: Added right-click option to BuildingParts to reorder children 2019-04-18 11:55:33 -03:00
Yorik van Havre
0607e64140 Arch: Fixed IFC export of object attributes 2019-04-17 18:50:37 -03:00
Yorik van Havre
506cfd9bd2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Dion Moult
36bd51262e 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
3cdecfb7b8 Arch: fixed wrong WP when double-clicking an Arch BuildingPart 2018-12-21 18:55:59 -02:00
Yorik van Havre
41eeeede6b Arch: Fixed crash on creating new BuildingParts 2018-12-20 13:21:48 -02:00
Yorik van Havre
d012178482 Arch: Fixed display bug in BuildingPart 2018-12-19 16:33:48 -02:00
Yorik van Havre
ee8f7be4e8 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
60726a94a4 Arch: Fixed buggy display string of BuildingParts 2018-12-02 19:10:46 -02:00
Yorik van Havre
7f2fc7698c Arch: Fixed position of BuildingPart label on start 2018-12-02 18:49:07 -02:00