Commit Graph

1304 Commits

Author SHA1 Message Date
carlopav
bc04b67789 [Arch] Pipe : correctly orient profile on bezier curves
Added a small fix to correctly take into account the profile orientation when base object is a bezier curve. Should be useful for electrical wires and flexible pipe design.
2019-07-02 20:04:47 -03:00
Yorik van Havre
fe3cb2f0e8 Moving OfflineRenderingUtils.py from Draft to Arch 2019-06-29 21:03:03 -03:00
Yorik van Havre
5fb22278e8 Arch: Removed log message in DAE exporter 2019-06-27 11:54:15 -03:00
furti
f58c20afec 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
99a816699f 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
3fe94ea7cf [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
236f890864 Merged translations from crowdin 2019-06-17 20:06:59 -03:00
Yorik van Havre
d890b4ec17 Updated master ts files 2019-06-17 17:28:12 -03:00
luz.paz
1233817808 [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
f81e9a0bdc Fixes: heigh - width replace 2019-06-17 16:45:18 -03:00
Grammatopoulos Apostolos
4dfeb1d46c Sections added: RHS (added more/all) 2019-06-17 16:45:18 -03:00
Grammatopoulos Apostolos
e2a0779d53 Sections added: CHS, UC, UB 2019-06-17 16:45:18 -03:00
Yorik van Havre
0f56ec4135 Arch: small bugfix in automatic IFC properties 2019-06-17 14:04:32 -03:00
furti
88d16c1495 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
34292991de 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
0620caea33 Arch: Minor bugfixes, better doctrings and fixed transparency in OBJ exporter 2019-06-15 16:53:43 -03:00
Yorik van Havre
b4ddf63182 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
11b1a8e15e Arch: Added IFC pref option to export without adding a default building 2019-06-09 19:48:38 -03:00
Yorik van Havre
d818a96384 Arch: Fixed small bug in Wall task panel 2019-06-09 14:56:43 -03:00
Yorik van Havre
3874ddab34 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
6b55e0faec Arch: Use ifcopenshell.guid.new() to generate IFC UUIDs 2019-06-07 16:50:35 -03:00
Yorik van Havre
5ee99ca4ee Draft: Introduced Layers system (former VisGroup) 2019-06-05 18:47:01 -03:00
Yorik van Havre
3a988baac9 Arch: Fixed Site not grouping correctly 2019-06-03 23:21:49 -03:00
Suraj Dadral
a6e410dae6 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
00e14ab356 Arch: IFC explorer migrated to BIM WB 2019-05-20 22:32:17 -03:00
Bernd Hahnebach
2d1f6ab1a2 Arch: import IFC, improve import of colors 2019-05-16 04:53:22 +02:00
Bernd Hahnebach
bbb7200abe Arch: import IFC, some code formating, no code changes! 2019-05-16 04:53:22 +02:00
Yorik van Havre
2be258104d Arch: Added door mode to window command 2019-05-15 21:14:00 -03:00
furti
b82eef770f 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
84169efee9 Add missing "Part" import to Arch Fence 2019-05-15 17:40:58 -03:00
Yorik van Havre
8fb066841c Arch: Remember values for precast concrete presets 2019-05-15 15:55:21 -03:00
Yorik van Havre
1e426ced86 Arch: Refactor of Structure's Column/Beam modes and fixed rotation issues 2019-05-15 15:08:23 -03:00
Yorik van Havre
b50ac86063 Arch: Fixed bug in precasts + addressing recursive wall length issue 2019-05-15 10:49:24 -03:00
Yorik van Havre
c05bc0990c Arch: Further fix in solar diagram 2019-05-14 11:26:58 -03:00
Yorik van Havre
184a392675 Arch: Added option to not import FreeCAD parametric model from IFC 2019-05-13 21:49:31 -03:00
Yorik van Havre
6cf4c25967 Arch: Added Footprint display mode to Spaces 2019-05-13 16:33:38 -03:00
Yorik van Havre
c6a272c951 Arch: Ability for BuildingParts to control visual aspects of their children 2019-05-13 15:44:13 -03:00
Yorik van Havre
3c68d1e0c3 Arch: Fixed some flat objects not appearing in techdraw 2019-05-13 13:10:36 -03:00
Yorik van Havre
bfba3a6b93 Updated master translation files (minor changes) 2019-05-10 23:14:36 -03:00
Yorik van Havre
8987bd1df3 Arch: Re-added support for older pysolar 2019-05-10 23:05:41 -03:00
Yorik van Havre
60fae525b8 Arch: Fixed wrong structures drawn in beam mode using a metal profile 2019-05-10 22:58:04 -03:00
Yorik van Havre
ab6e30b93a 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
ed386410bc Merged latest translations from crowdin 2019-05-10 19:19:37 -03:00
Yorik van Havre
c65bf365a1 Updated master translation files 2019-05-10 19:15:33 -03:00
Yorik van Havre
ff1fb11af1 Arch: Site: Migrated the compass properties to the ViewObject 2019-05-09 15:17:12 -03:00
Yorik van Havre
070e4c1252 Arch: Fixed color of windows transparent parts 2019-05-09 12:42:25 -03:00
Yorik van Havre
8b4d6c0e64 Arch: Better behaviour and tooltips on section plane task panel buttons - fixes #3643 2019-05-09 11:42:22 -03:00
Yorik van Havre
2876e82faa 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
af0cb40682 Arch: Removed Floor dependency of Site 2019-05-08 13:41:58 -03:00
Yorik van Havre
2177f4437b Arch: Fixed solar diagram for py3 2019-05-08 12:06:55 -03:00