David Daish
b045976eb9
Docstrings for ViewProviderComponent
2020-04-22 12:17:08 +02:00
David Daish
78ddda11a3
Fixed syntax error
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
David Daish
56c01f17fa
Best efforts on arch wall for now.
2020-04-22 12:17:08 +02:00
David Daish
753ddba191
Work on adding docstrings to ArchWall
2020-04-22 12:17:08 +02:00
Yorik van Havre
ea5211e5d3
Arch: Also skip default storey when importing IFC with 'replace by group' option
2020-04-21 14:46:07 +02:00
Yorik van Havre
32d73bca15
Arch: Added IFC import option to replace project,site and building with a group
2020-04-21 13:43:28 +02:00
Jean-Marie Verdun
5860a71eb9
Fix indent and double "or"
2020-04-20 12:57:15 +02:00
Jean-Marie Verdun
249d2040eb
Add initial link support
2020-04-20 12:57:15 +02:00
Yorik van Havre
674e56817c
Arch: Fixed bug in IFC export of furniture
2020-04-15 18:01:11 +02:00
Yorik van Havre
af1438329a
Arch: Fixed IFC4 export of surface styles
2020-04-14 17:56:18 +02:00
Yorik van Havre
00b0458e1d
Arch: Support App::Parts in IFC export
2020-04-14 16:51:54 +02:00
Yorik van Havre
32e80c2f94
Arch: Fixed louvre width/spacing property
2020-04-14 15:49:36 +02:00
donovaly
ef099df0a1
[Arch] split IFC dialog
2020-04-14 11:37:36 +02:00
Yorik van Havre
19744a9f83
Arch: Export ortho arrays to IFC
2020-04-10 14:31:14 +02:00
Bernd Hahnebach
9e0a668a12
Arch: rebar, fix code error
2020-04-08 21:02:03 +02:00
Yorik van Havre
595bfdabf5
Arch: Ability to add windows presets
2020-04-08 18:55:49 +02:00
Yorik van Havre
8f2c4e4d6a
Arch: Added Wall Thickness property to Arch Pipes
2020-04-08 18:45:51 +02:00
Bernd Hahnebach
d7e3ed178e
Arch: rebar, allow to make rebars from an edge too
2020-04-08 14:38:17 +02:00
Bernd Hahnebach
b2d78ee95a
Arch: rebar, add error prints
2020-04-07 21:12:33 +02:00
vocx-fc
1fb5408694
Arch: use the new Draft trackers module
...
Previously it was `DraftTrackers.py`.
Now we import the trackers from `draftguitools/gui_trackers.py`.
2020-03-31 12:09:25 +02:00
Yorik van Havre
e7297b1431
Arch: Fixed export of furniture elements
2020-03-25 12:26:43 +01: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
vocx-fc
f73de9912c
Draft, Arch: coding conventions for the workbench
2020-03-19 12:20:03 -03:00
Yorik van Havre
81e6454c61
Arch: Fixed regression in layers
2020-03-12 11:33:07 -03: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
c8cb520887
[skip ci] fix follow-up typos
2020-03-06 14:50:35 +01: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
Yorik van Havre
8933e8ed38
Merged latest translations from crowdin
2020-03-05 11:58:03 -03:00
vocx-fc
549ca9205b
Draft: new Draft_OrthoArray command
...
It replaces the older `Draft_Array` command, and provides
a task panel to select the properties, similar to the
`Draft_PolarArray` and `Draft_CircularArray` commands.
It can also create `App::Links` directly from this task
panel, so it also replaces the `Draft_LinkArray`
introduced by the LinkMerge.
2020-03-03 21:27:31 +01:00
alafr
e122b44351
Arch Component: triple quotes for the docstring
2020-03-02 11:53:46 -03:00
alafr
5b19d068c1
Export Arch Structure as Ifc Brep if not a simple extrusion
2020-03-02 11:53:46 -03:00
alafr
0680ca95e2
Fix use of Sketch as a Base for Arch Structure extruded along a Tool
...
See: https://forum.freecadweb.org/viewtopic.php?f=23&t=43228
It fixes the following issue:
Allow the use of sketches for Structure which follow a Tool. Currently, sketches are only accepted as structure Base when there is no Tool set. If I select the sketch and press the Structure button, the structure is computed correctly. But when I set the Tool property, the message "Structure has no solid" is reported and the Structure is not updated.
2020-03-02 11:53:46 -03:00
vocx-fc
adfc58580d
Draft, Arch: group the array tools
2020-03-02 11:41:22 -03:00
vocx-fc
69056b51ad
Arch: use init_tools to create Draft toolbars
2020-02-12 12:15:45 +01:00
vocx-fc
f1fce69feb
Arch: explicitly import modules in the initialization
...
Also other small fixes: cleanup for getting the icon
of the workbench; translation of some strings;
cleanup of comments, printing functions, and PEP8 style.
2020-02-12 12:15:45 +01:00
paullee0
f77a6949c9
[ArchWall, DraftGeomUtils] fix bug: ArchWall with Offset Attribute set and based on Sketch fails at some cases
...
DraftGeomUtils.offsetWire() supports ArchWall Offset setting inherently now.
Discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=42933
2020-02-10 11:19:47 +01:00
donovaly
24ec114cb8
remove program-specific SVG namespaces
...
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png
This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.
This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
Bernd Hahnebach
0a3fbfec8c
Arch: IFC import, fix regression included with 2bf5d62e
2020-02-06 11:22:24 +01:00
Yorik van Havre
7cdb5afe81
Arch: Fix in material reader
2020-01-31 13:49:31 +01:00
Yorik van Havre
381ccf7fbe
Arch: Support for per-face colors in OfflineRenderingUtils
2020-01-29 14:26:38 +01:00
Dion Moult
8ef469a60a
Fix sign of long/lats
2020-01-29 09:33:43 +01:00
Dion Moult
24c7ceb309
Import transparent and IFC4 colours
2020-01-28 12:14:10 +01:00
paullee0
7786a28eff
[ArchWindow] getSubVolume() Bug - When the Window is a Clone, HoleWire in original is ignored
...
getSubVolume() -
- When Windown is a Clone, HoleWire in Clone is tested
- However, if HoleWire is not set, no further check if HoleWire in Original is set
- The original code direclty check the Base's Wires BoundBox as HoleWire
2020-01-22 10:19:06 +01:00
paullee0
b00dcc329e
[ArchWindow] getSubVolume() Bug - When HoleDepth is set but the Window is a Clone, no opening is created
...
getSubVolume() -
- When Windown is a Clone, no base is set
- When HoleDepth is set, no further check if there is a Clone to set its base to Clone's base
- The original code return None when no base is set
2020-01-22 10:19:06 +01:00
paullee0
c004b08c14
[ArchWall] Typo
2020-01-22 10:16:54 +01:00