Commit Graph

1628 Commits

Author SHA1 Message Date
Bernd Hahnebach
f843ecce8e Arch IFC import, add simplificated method to get pset properties 2020-07-28 06:00:31 +02:00
SurajDadral
0988e570c2 Add Mark property to ArchRebar object
As discussed here:
https://forum.freecadweb.org/viewtopic.php?f=23&t=44580&p=418377#p418630
And required for reinforcement drawing/dimensioning.
2020-07-24 13:50:29 +02:00
luz paz
3ba2a7507c Crowdin: Edits based on feedback from translators [skip-ci]
https://crowdin.com/translate/freecad/27911/en-en#6581566  
https://crowdin.com/translate/freecad/6766/en-en#6584432  
https://crowdin.com/translate/freecad/549/en-en#6578092
2020-07-24 13:49:59 +02:00
vocx-fc
444e8528b0 Arch: improve import and export IFC preferences pages
Some tooltips are made more readable by adding newlines.

For `IFC import`, better tooltip for the `Number of cores` option;
also the `Replace 'Project'...` option.

For `IFC export`, better tooltip for the `Export type`;
also `IFC file units`.
Also add `General options` in case other options are added.
2020-07-24 13:48:44 +02:00
carlopav
6731ade086 Arch: touch Axis when key property change
This allow experimental wall to auto align to the new axis position.
2020-07-23 13:54:18 +02:00
luz paz
e82f7f74f4 Fix Crowdin typos + trim superfluous whitespace [skip-ci]
Some issues that this PR fixes (but not all listed):  
https://crowdin.com/translate/freecad/27911/en-en#6581578  
https://crowdin.com/translate/freecad/27911/en-en#6579080  
https://crowdin.com/translate/freecad/27911/en-en#6581580  
https://crowdin.com/translate/freecad/27911/en-en#6579086
2020-07-23 13:52:44 +02:00
Bernd Hahnebach
933c90c74a Arch: import ifc, use the new layer make command since the dereciated one does not create layers on import 2020-07-21 15:18:41 +02:00
mikeprice99
a3749d38b1 fixed door open plan symbol and make makeWindow use name parameter 2020-07-20 14:26:35 +02:00
paul lee
f8584455f8 [ArchWall] Failed if Sketch as Base has Point, now OK
FC Forum Discussion -
https://forum.freecadweb.org/viewtopic.php?f=23&t=48668&sid=ba6dd68ad32eefbad6ae95d8fadc30e6#p416779
2020-07-20 14:17:28 +02:00
paul lee
be46c0e25d [ArchWall] Fix #0004400 - Archwall creation from certain wire fails.
Forum Discussion - https://forum.freecadweb.org/viewtopic.php?f=23&t=47505
2020-07-16 13:53:11 +02:00
vocx-fc
f899430739 Arch: fix incorrect indentation in the OBJ exporter 2020-07-14 08:27:42 +02:00
Yorik van Havre
6a179a5519 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2020-07-13 14:50:36 +02:00
luz paz
e4f6689e0a Merged crowdin translations 2020-07-13 14:49:45 +02:00
hlg
a2498e1fdc [Arch] ignore extrusion direction vector length 2020-07-13 14:39:28 +02:00
Vanuan
9f640d8fad [Arch] [TD] Fix #4392: ArchView invisible objects should be show for Coin* render modes 2020-07-13 14:37:50 +02:00
Vanuan
a072f944d0 [Arch] [TD] Bug 4392: ArchSection and hidden objects for Render mode 2020-07-13 14:37:50 +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
Yorik van Havre
da262c0b45 Updated master ts files 2020-07-13 13:20:21 +02:00
Yorik van Havre
57a2af07c7 Arch: process openings in IFC multicore importer 2020-07-13 13:10:17 +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
wmayer
8cdb1a6cbc Py3: [skip ci] fix export of JSON file in Arch 2020-07-11 14:26:14 +02:00
vocx-fc
71323be071 Arch: fix invalid print syntax in Python 2 2020-07-06 12:41:22 +02:00
wmayer
6b2df21c1e Py2: fix compatibility issue 2020-07-05 23:32:43 +02:00
Bernd Hahnebach
8133ee1e35 Arch: IFC, fix import break on a IfcAxis2Placement2D 2020-07-03 13:54:26 +02:00
luz.paz
ef37cc3930 Fix typos [skip-ci]
Found via codespell v1.18.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-06-29 20:52:23 +02: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
ec6ea813c5 Arch: New multicore IFC importer 2020-06-25 14:42:38 +02:00
vocx-fc
e36986de30 Arch: add missing translate function
The code was moved to a separate module, `ArchWindowPresets.py`,
in 4f203f8757, but the `translate` function was not imported
in this new module.
2020-06-24 11:31:26 +02:00
paul lee
6179f4b45a [ArchWall] Revert comments in getExtrusionData() 2020-06-24 11:29:07 +02:00
paul lee
999c3d8bf4 [ArchWall] ArchWall Offset should now works with Base as Sketch 2020-06-24 11:29:07 +02:00
Yorik van Havre
f0eba317aa Arch: fixed minor bug in Offline rendering module 2020-06-22 14:12:17 +02:00
vocx-fc
9e871cf27b Arch: fix calculation of fence objects
In the past it used the `Draft.calculatePlacementsOnPath` function
but this function was moved and modified when the `PathArray`
was improved. The `calculatePlacementsOnPath` function
was moved to `draftobjects.patharray`
and renamed `placements_on_path`.

This doesn't completely fix the Fence object because some other
modifications need to be done in the calculation of the paths.
2020-06-22 11:59:58 +02:00
Harald Geyer
98c05349ac Arch: importIFC: Allow faster inserts
For huge models just parsing the IFC file in ifcopenshell takes
significant time. When importing via IFC explorer from the BIM
workbench, the file is already open.

This change allows to pass the ifcopenshell.file object instead of a
filename, making the process much more efficient.

Backwards compatible code to use this will be submitted for the BIM
workbench soon. Then we have a workflow, where we can insert items
from big IFC files in multiple rounds quickly.
2020-06-19 12:19:20 +02:00
Yorik van Havre
9c0a35f48b Arch: Added timing in IFC import 2020-06-16 13:39:21 +02:00
Yorik van Havre
0bf34a0b22 Arch: Export wall axes to IFC 2020-06-15 17:11:21 +02:00
Harald Geyer
5958b3976b Arch: importIFCHelper: Fix spurious message 2020-06-15 10:05:30 +02:00
Harald Geyer
b5b0dc4355 Arch: Fix placement of Space objects imported from ArchiCAD
Any space objects imported from ArchiCAD (via IFC) are rotated
by 90° around the global z-Axis. When turning the same base
shape into an other Arch object like Wall or Slab, no such error
happens.

Turns out the shape creation in Space objects is handled
differently then in other Arch objects and just copying the usual
method fixes this. I have no idea why this makes a difference.

To document why this change is necessary, a test cases is added.
Upon editing TestArch.py a number of trailing spaces have been
removed accidentally.
2020-06-15 09:58:49 +02:00
Yorik van Havre
fa219743d0 Arch: Better support for App::Parts in Arch Windows 2020-06-12 14:22:39 +02:00
Yorik van Havre
f98ed46ad6 Arch: Allow to export structural analysis model to IFC 2020-06-11 14:15:38 +02:00
Yorik van Havre
0d8fb86f11 Arch: Support user-defined profiles csv file 2020-06-10 15:38:29 +02:00
Yorik van Havre
ee55ea844e Arch: Fixed wrong structural node generation 2020-06-09 15:16:34 +02:00
Ryo KOYAMA
5cfbf274bb Arch: Fix bug of exporting into collada file #4362
Enable to export mirrored part into collada file.

This is discussed in:
https://forum.freecadweb.org/viewtopic.php?f=3&t=30785

The issue is:
https://tracker.freecadweb.org/view.php?id=4362
2020-06-09 11:50:48 +02:00
Yorik van Havre
0a43d9ecc1 Arch: Fixed non-GUI mode of exporters 2020-06-05 14:58:20 +02:00
Yorik van Havre
b1c7efa387 Arch: Added Profile command 2020-06-04 12:52:22 +02:00
hlg
1da75f6971 Arch/Draft: minor fixes 2020-06-03 14:50:17 +02:00
Yorik van Havre
4d48b2aa38 Arch: Movig utils functions from importIFC to importIFCHelper 2020-06-02 13:39:22 +02:00
Harald Geyer
a6b2e11ef8 Arch: IFC import, implementation of IfcIndexedPolyCurve
ArchiCAD uses this entity for footprint annotations even if there are no
arc segments. Thus I need this, but couldn't test the arc part of the
patch.
2020-06-02 12:26:25 +02:00
Harald Geyer
6008cbcd13 Arch: importIFCHelper: Fix crash on unsupported entity
When getCurveSet() is called on an unsupported entity, it runs into a
NameError exception because elts is not defined. Instead print a message
and return gracefully.

This is in line with overall behaviour of the importer: Ignore
unsupported elements instead of thowing errors.
2020-05-29 13:32:42 +02:00
Yorik van Havre
b74a2ba7ef Arch: Handle rectangle-and circle-based profiles in IFC import/export 2020-05-29 12:12:48 +02:00
Yorik van Havre
fc133f3af5 Arch: Added Wind Rose diagram to Arch Site 2020-05-28 15:23:42 +02:00