Commit Graph

1303 Commits

Author SHA1 Message Date
Yorik van Havre
ee446ee441 Moving OfflineRenderingUtils.py from Draft to Arch 2019-06-29 21:03:03 -03:00
Yorik van Havre
e23288425f Arch: Removed log message in DAE exporter 2019-06-27 11:54:15 -03:00
furti
019d209199 Fix some problems with ArchFence
The commit that introduces the colorization option added some problems.
First the "sectionFaceNumbers" property is only set when an execute is
performed. When this does not happen, an exception is thrown when the
document is saved that contains a fence created with an older version
of FreeCAD.

Also the new Props on the ViewProvider where not set because the
"onDocumentRestored" is not reckognized for ViewProviders.
2019-06-27 11:48:50 -03:00
furti
5be63a94e2 Fix possible colorization problem
When we set "UseOriginalColors" to true, it is possible that we cant
calculate the exact number of diffuse colors, because the "applyShape"
method optimized the shape somewhat. That operations could remove faces.

To fix this for now, we simply set the shape without further optimizations.
2019-06-27 11:48:50 -03:00
luz.paz
c2827611be [Crowdin] string fix + misc. typo and whitespace fixes
* Crowdin link: https://crowdin.com/translate/freecad/6766/en-hu#6576162  
* Tacked on a few typo+whitespace fixes
2019-06-20 18:42:09 +02:00
Yorik van Havre
ed8be15ef4 Merged translations from crowdin 2019-06-17 20:06:59 -03:00
Yorik van Havre
624c65dea3 Updated master ts files 2019-06-17 17:28:12 -03:00
luz.paz
9b17e95530 [Crowdin] [Arch] Resources/ui/preferences-ifc.ui typo fix
Reported in https://crowdin.com/translate/freecad/6766/en-hu#6574208:drl:39616:ONESZ
2019-06-17 16:51:23 -03:00
Grammatopoulos Apostolos
ef9f2e8a46 Fixes: heigh - width replace 2019-06-17 16:45:18 -03:00
Grammatopoulos Apostolos
a8da37edac Sections added: RHS (added more/all) 2019-06-17 16:45:18 -03:00
Grammatopoulos Apostolos
54b0aaf3dc Sections added: CHS, UC, UB 2019-06-17 16:45:18 -03:00
Yorik van Havre
69ff96cce8 Arch: small bugfix in automatic IFC properties 2019-06-17 14:04:32 -03:00
furti
ac9cd38650 Add support for PartDesign:Body colors
When the tip of a PartDesign:Body is colorized, the colors are stored
on tip level. But when the shape of the whole body is changed the information
is stored on body level. To account for this we check if the tip has more
than one DiffuseColor set. When not, we use the shape color of the body.
2019-06-15 18:00:12 -03:00
furti
d18d98fe2b Add option to colorize ArchFence
When "UseOriginalColors" is set to true, the fence will copy the diffuse
colors of the original post and section to colorize itself.
2019-06-15 18:00:12 -03:00
Yorik van Havre
a5f3f67ade Arch: Minor bugfixes, better doctrings and fixed transparency in OBJ exporter 2019-06-15 16:53:43 -03:00
Yorik van Havre
4fd42d02b6 Arch: Adapted IFC, OBJ and DAE exporters to support external color information when running in non-GUI mode 2019-06-12 19:28:43 -03:00
Yorik van Havre
6a0050d709 Arch: Added IFC pref option to export without adding a default building 2019-06-09 19:48:38 -03:00
Yorik van Havre
6c12bc83b5 Arch: Fixed small bug in Wall task panel 2019-06-09 14:56:43 -03:00
Yorik van Havre
5deca3b667 Arch: Added preferences to enable/disable automatic adding of default Site and Storey at IFC export 2019-06-07 17:21:11 -03:00
Yorik van Havre
0978993b0f Arch: Use ifcopenshell.guid.new() to generate IFC UUIDs 2019-06-07 16:50:35 -03:00
Yorik van Havre
2c918366e4 Draft: Introduced Layers system (former VisGroup) 2019-06-05 18:47:01 -03:00
Yorik van Havre
079c520be8 Arch: Fixed Site not grouping correctly 2019-06-03 23:21:49 -03:00
Suraj Dadral
52833cd7cc Set placement of bottom Stirrup
As discussed here:
https://forum.freecadweb.org/viewtopic.php?f=8&t=35077&start=100#p310036

<q>
While creating stirrups, if we set offset of tie to zero, then the
bottom stirrup will go out of column as in below image:
https://forum.freecadweb.org/download/file.php?id=84300

After modification, with same data, the stirrup in column looks
like:
https://forum.freecadweb.org/download/file.php?id=84301
</q>
2019-05-29 19:39:33 -03:00
Yorik van Havre
c498058fc0 Arch: IFC explorer migrated to BIM WB 2019-05-20 22:32:17 -03:00
Bernd Hahnebach
872b9eaa80 Arch: import IFC, improve import of colors 2019-05-16 04:53:22 +02:00
Bernd Hahnebach
2874fd51df Arch: import IFC, some code formating, no code changes! 2019-05-16 04:53:22 +02:00
Yorik van Havre
1e66267dac Arch: Added door mode to window command 2019-05-15 21:14:00 -03:00
furti
72014ead53 Optimize buildFence method
The method is renamed to "makeFence" to better fit to the overall Arch
naming style. Additionally it returns the generated object now so one
can use it directly from python.
2019-05-15 17:40:58 -03:00
furti
fa504cc612 Add missing "Part" import to Arch Fence 2019-05-15 17:40:58 -03:00
Yorik van Havre
281a370815 Arch: Remember values for precast concrete presets 2019-05-15 15:55:21 -03:00
Yorik van Havre
ff130d08f4 Arch: Refactor of Structure's Column/Beam modes and fixed rotation issues 2019-05-15 15:08:23 -03:00
Yorik van Havre
2a4012872e Arch: Fixed bug in precasts + addressing recursive wall length issue 2019-05-15 10:49:24 -03:00
Yorik van Havre
978363432a Arch: Further fix in solar diagram 2019-05-14 11:26:58 -03:00
Yorik van Havre
cec145015e Arch: Added option to not import FreeCAD parametric model from IFC 2019-05-13 21:49:31 -03:00
Yorik van Havre
35900818e5 Arch: Added Footprint display mode to Spaces 2019-05-13 16:33:38 -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
42c2a4d6ac Arch: Fixed some flat objects not appearing in techdraw 2019-05-13 13:10:36 -03:00
Yorik van Havre
636fb7b116 Updated master translation files (minor changes) 2019-05-10 23:14:36 -03:00
Yorik van Havre
da45071c8a Arch: Re-added support for older pysolar 2019-05-10 23:05:41 -03:00
Yorik van Havre
c0430bf876 Arch: Fixed wrong structures drawn in beam mode using a metal profile 2019-05-10 22:58:04 -03:00
Yorik van Havre
135c96fbc8 Arch: Fixed translation issues in wall and structure + make use of line task dialog 2019-05-10 22:43:59 -03:00
Yorik van Havre
2d47993780 Merged latest translations from crowdin 2019-05-10 19:19:37 -03:00
Yorik van Havre
9a1bb779c9 Updated master translation files 2019-05-10 19:15:33 -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
50013d79ce Arch: Fixed color of windows transparent parts 2019-05-09 12:42:25 -03:00
Yorik van Havre
4ef8663388 Arch: Better behaviour and tooltips on section plane task panel buttons - fixes #3643 2019-05-09 11:42:22 -03:00
Yorik van Havre
691c102670 Arch: Added IFC pref option to automatically export IFC objects as Standard Cases when possible 2019-05-08 21:58:04 -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
Yorik van Havre
c24b9fb68a Arch: Fixed error in roof - Fixes #3864 2019-05-07 22:47:15 -03:00