Commit Graph

57 Commits

Author SHA1 Message Date
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
Yorik van Havre
b86e38a168 Arch: Fixed bug in BuildingPart placement 2018-11-28 14:57:36 -02:00
Yorik van Havre
1da2b75f13 Arch: Fixed buggy view restore system in BuildingPart 2018-11-28 14:28:21 -02:00
Yorik van Havre
38640895c1 Arch: Fixed missing 'Create Group' option in BuildingParts 2018-11-26 20:08:15 -02:00
Yorik van Havre
3956cee0ac Arch: Fixed buggy import/export of 2D objects to IFC 2018-11-09 16:56:59 -02:00
Yorik van Havre
87c034f666 Arch: Support part colors in Reference 2018-10-28 13:57:05 -03:00
Yorik van Havre
17b00b3aca Arch: bugfixes in reference tool 2018-10-01 18:36:29 -03:00
Yorik van Havre
bb89d424d4 Arch: Finished base implementation of Reference object 2018-09-29 16:41:42 -03:00
Yorik van Havre
c1ba8228fd Arch: Support for IfcElementAssembly 2018-08-10 13:08:27 -03:00
looooo
2ceee5b915 py3: define unicode for python3 2018-08-06 19:24:38 +02:00
Yorik van Havre
42384e1a58 Arch: Added preference option for screen helpers color (axes, grids, etc...) 2018-07-25 10:56:12 -03:00
Yorik van Havre
9000072b0e Arch: Fixed visibility of BuildingPart 2018-07-18 15:35:13 -03:00
Yorik van Havre
0682a66376 Arch: Support for IfcGrid 2018-07-16 17:21:17 -03:00