Commit Graph

85 Commits

Author SHA1 Message Date
marioalexis
251a9bd276 Arch: Replace Drawing functions with TechDraw functions 2022-02-21 13:17:09 -03:00
Chris Hennes
6391bebeb8 [Arch] Fix LGTM warnings 2021-09-28 10:29:45 -05:00
Łukasz Stelmach
08396c9bc3 Arch: Draw solar diagrams for timezones other than UTC and UTC-3
Use the value of tz parameter to set a timezone instead of -3 constant.

Make updates to TimeZone property trigger redrawing of a solar diagram.
2021-06-22 13:33:35 +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
Yorik van Havre
5bf1eee0a1 Arch: Small code optimizations to the multicore IFC importer 2020-06-25 15:38:31 +02:00
Yorik van Havre
fc133f3af5 Arch: Added Wind Rose diagram to Arch Site 2020-05-28 15:23:42 +02:00
luz.paz
cb9379225a [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
e46ca0b967 Rewrote the function and method docstrings in an imperative style. 2020-04-22 12:17:08 +02:00
David Daish
d7137fbb67 Moved __init__ docstrings into the class docstring 2020-04-22 12:17:08 +02:00
David Daish
9f4348e00a Removed incorrect apostrophies. 2020-04-22 12:17:08 +02:00
David Daish
fa2e5fc837 Moved all module docstrings to the top of the file. 2020-04-22 12:17:08 +02:00
David Daish
87531f3560 Spellcheck 2020-04-22 12:17:08 +02:00
David Daish
1fa9d0ff9e Work on adding docstrings for archsite 2020-04-22 12:17:08 +02: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
Zheng, Lei
ef5acc5023 Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
Yorik van Havre
09d0b2d0e7 Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
hlg
703aa04b9a Arch: populate and read compass rotation from and to IFC RC true north 2019-07-26 10:45:25 -03:00
Yorik van Havre
36d9c4139e Arch: Bugfixes to Site's solar diagram 2019-07-16 18:52:09 -03:00
Yorik van Havre
079c520be8 Arch: Fixed Site not grouping correctly 2019-06-03 23:21:49 -03:00
Yorik van Havre
978363432a Arch: Further fix in solar diagram 2019-05-14 11:26:58 -03:00
Yorik van Havre
da45071c8a Arch: Re-added support for older pysolar 2019-05-10 23:05:41 -03:00
Yorik van Havre
bb28fb0203 Arch: Site: Migrated the compass properties to the ViewObject 2019-05-09 15:17:12 -03:00
Yorik van Havre
32d86ffd7b Arch: Removed Floor dependency of Site 2019-05-08 13:41:58 -03:00
Yorik van Havre
47fac35944 Arch: Fixed solar diagram for py3 2019-05-08 12:06:55 -03:00
luz.paz
b7b433e461 Misc. typo and whitespace fixes
Found via `codespell`
2019-04-30 10:15:59 -03:00
furti
acebbf7c2d Scale the compass based on the site area
When the compass has a fixed size, it is either too big for small sites,
or too small for big sites, when using fit view. So the compass adapts
to the ProjectedArea of the Site now.
2019-04-29 12:38:00 -03:00
furti
95a286df15 Arch: Add property to switch to true north
When enabled, the whole coin scene graph is rotated by the declination
property of the site. So one can see the whole geometry oriented like in
real life.
2019-04-29 12:38:00 -03:00
furti
792e4a6c6c Add property to calculate declination
When enabled, the declination will be calculated based on the compass
and site rotation.
2019-04-29 12:38:00 -03:00
furti
58cbb2381b Add compass to Arch Site
The compass helps you to locate north in your drawings.

It has the following features:
 - Can be hidden independently from the site. So you can still have the
   site without the compass.
 - Can be rotated relative to the site.
 - Also rotates with the site
 - Always sits 1 meter above the site geometry

https://forum.freecadweb.org/viewtopic.php?f=23&t=34669
2019-04-29 12:38:00 -03:00
Yorik van Havre
506cfd9bd2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Yorik van Havre
0af6e0c5a1 Arch: Minor bugfixes in IFC import 2019-04-09 10:56: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
3956cee0ac Arch: Fixed buggy import/export of 2D objects to IFC 2018-11-09 16:56:59 -02:00
Yorik van Havre
ba1174f793 Arch: Fixed bug in Site 2018-10-25 11:59:22 -03:00
luz.paz
9c2e9884e2 More typos 2018-08-18 21:48:43 +02:00
Yorik van Havre
ebe0d1aa76 Arch: Import/export Site data (longitude, latitude, etc..) to/from IFC 2018-08-10 17:08:20 -03:00
Yorik van Havre
a1faed3449 Arch: using basic object names for all arch objects 2018-07-07 14:40:10 -03:00
Yorik van Havre
0bae245b26 Arch: separate properties creation in own methods and check properties at file load 2018-06-01 19:36:35 -03:00
Yorik van Havre
0a9e2ad8c5 Arch: Fixed Site properties 2018-06-01 13:36:34 -03:00
Yorik van Havre
d49a194279 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
luz.paz
489b1a16c8 revert some spacing changes 2018-05-02 00:50:06 -04:00
luz.paz
8057a45d4b Crowdin: more fixes 2018-05-02 00:50:06 -04:00
luz.paz
f18e217a64 Arch: Residual trailing \n chars removed from translate() 2018-04-17 10:16:28 -03:00
luz.paz
1d04002c3b Arch: translation fixes
Adding Arch WB translation string corrections/refinements
2018-04-17 10:16:28 -03:00
Yorik van Havre
55eedd79cd Arch: fixed multiple-group bug in Arch addComponent 2017-11-27 11:54:44 -02:00
Yorik van Havre
0bead2c1d4 Arch: Small fix in site creation 2017-05-28 19:49:32 -03:00
looooo
1e173b68a4 py3: Arch: mostly print-statements
7247937288be85fe217c2d57cdb96c9a666e4e28
00528f4b445fd851df53a79b4be6f1ff480f74d0
b7e3a874dbadbac1c1ecfade4b8676c15fdf25ee
2017-03-02 14:59:31 +01:00