Roy-043
be03a9cebf
Arch: implement new get_param functions
...
Additionally 2 Arch_Window bugs were fixed:
* If the W1 value was changed the box tracker was not repositioned relative to the cursor.
* The WindowColor was not applied because of a typo in the code. De current default color is quite dark BTW.
Note that all dimensional values that were not really defaults, but just the last entered values, have been removed from preferences-archdefaults.ui. As a result the layout looks a bit strange. That will be improved in a next PR.
2024-01-18 15:43:15 +01:00
wmayer
ef9936a940
App: fixes #10460 : App::PropertyPythonObject is not saving data
...
Since Py3.11 the methods names __setstate__ and __getstate__ conflict with the method names added to the object class.
Thus rename them to 'loads' and 'dumps'
2023-09-24 10:56:35 -05:00
Roy-043
c409d3b788
Arch: Avoid dictionary.keys() where possible ( #10159 )
2023-08-13 11:46:51 +02:00
Yorik van Havre
ec96c2c738
Arch: Minor fix to IFC exporter
2023-05-16 15:25:53 +02:00
luzpaz
38a01939e0
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
luzpaz
fdca2d49f7
Arch: lint bad indentation, superfluous formatting ( #9310 )
2023-04-19 09:40:16 +02:00
luzpaz
e7ced1f7cb
Arch: linting multiple imports on one line ( #9281 )
2023-04-18 16:23:44 +02:00
Roy-043
efdae63ef1
[Arch] children of Component did not rotate with Host
2023-02-16 00:07:07 +01:00
paul
646ceaede2
[Arch Component] Fix placement multiplication problem (re-PR) ( #6617 )
...
* [Arch Component] Fix placement multiplication problem (re-PR)
- see forum discussion : https://forum.freecadweb.org/viewtopic.php?f=23&t=67008
* Update ArchComponent.py
Manual edit to avoid merge conflicts.
---------
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
2023-02-11 20:43:28 +01:00
Roy-043
172f6c17a7
Arch: improve context menus (rebase)
2023-01-12 22:54:09 +01:00
luz paz
7b10713d6f
Fix typos and whitespace
...
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,siz,strack,substraction,te,technic,thist,thru,tread,uint,unter,uptodate,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/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-08-23 18:49:47 +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
Yorik van Havre
82d93293b1
Arch: Fixed auto-height of child walls & structures - fixes #5732
2022-03-11 11:52:33 +01:00
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
luz paz
4d21ffa904
Fix various typos
2021-07-31 09:46:50 +02:00
Yorik van Havre
c97e809592
Arch: Better icon for Arch component
2021-07-13 15:46:54 +02:00
Matthijs Kooijman
2bbcb4994a
Arch: Simplify some ifs in ArchComponent
...
This commit does not change behavior.
2021-05-22 17:39:07 +02:00
Yorik van Havre
4c1635706e
Merge pull request #4453 from regularfry/lgtm-arch-unused-imports
...
Arch: removes unused imports
2021-03-26 11:22:11 +01:00
Bernd Hahnebach
b44075912a
Arch: add BIM_Classification command before make use of it
2021-02-15 16:13:30 +01: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
paul lee
66807c7437
[ArchComponent] Fix Link Of Window Hosts if empty got error as Wall Child
2021-01-18 02:08:39 +08:00
paul lee
1084912bff
[ArchComponent] Link of Window get opening now
2021-01-09 03:19:36 +08:00
danrenb
7b4a1ddb87
deal with missing DiffuseColor attributes on obj.CloneOf.ViewObject
2021-01-05 12:27:05 +01:00
Yorik van Havre
216a25755b
Arch: Fixed regression in structures
2020-11-26 13:47:55 +01:00
luz paz
ccf30d98d2
Arch: Fix header uniformity and remove trailing whitespace
2020-11-16 14:51:53 +01:00
vocx-fc
fcc9a68f8e
Arch: use new name of the icon Part_3D_object
...
It is defined in the Part Workbench. Before, it was called `Tree_Part`.
2020-10-22 15:11:45 +02:00
SurajDadral
86cc32ee06
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
a2498e1fdc
[Arch] ignore extrusion direction vector length
2020-07-13 14:39:28 +02:00
Yorik van Havre
fa219743d0
Arch: Better support for App::Parts in Arch Windows
2020-06-12 14:22:39 +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
65730a492f
Work towards adding references to the objects passed in python class methods.
2020-04-22 12:17:08 +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
Yorik van Havre
f79c12aa8a
Fixed non-ascii quote character
2020-04-22 12:17:08 +02:00
David Daish
87531f3560
Spellcheck
2020-04-22 12:17:08 +02:00
David Daish
1ae2c87914
Fixed docstrings straying too far right, after indentation was fixed.
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
David Daish
25e09f51d1
Added docstrings to _Wall, and remaining parts of ArchWall
2020-04-22 12:17:08 +02:00
David Daish
6c2ac27b99
Finished arch component docstrings
2020-04-22 12:17:08 +02:00
David Daish
b045976eb9
Docstrings for ViewProviderComponent
2020-04-22 12:17:08 +02:00
David Daish
a1ae74a26b
Made recommended formatting changes.
2020-04-22 12:17:08 +02:00
David Daish
03ee820339
More work on ArchComponent docstrings
2020-04-22 12:17:08 +02:00
David Daish
7eefa1b095
Added docstrings to all of the Component class's methods.
2020-04-22 12:17:08 +02:00
luz.paz
8405e77945
[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
2b274d147a
Work on ArchComponent docstrings
2020-04-22 12:17:08 +02:00
vocx-fc
12ec470778
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