Commit Graph

1796 Commits

Author SHA1 Message Date
Yorik van Havre
c97e809592 Arch: Better icon for Arch component 2021-07-13 15:46:54 +02:00
Yorik van Havre
394e52d7ec Merge pull request #4910 from Roy-043/Arch_Fix_Arch_Wall
Arch: Fix Arch_Wall: block joints where put on the wrong side of offset
2021-07-13 11:29:12 +02:00
Yorik van Havre
2a43e3d0a1 Merge pull request #4883 from steelman/arch-timezone
Arch: Draw solar diagrams for timezones other than UTC and UTC-3
2021-07-13 11:24:34 +02:00
Yorik van Havre
da7ee8e061 Arch: Fixed text position of Arch spaces 2021-07-09 15:10:47 +02:00
Yorik van Havre
834933866e Merged crowdin translations 2021-07-08 16:06:38 +02:00
Roy-043
e80a21a26a Arch: Fix Arch_Wall: block joints where put on the wrong side of offset
In the execute method block joints were put on the wrong side of the offset which lead to the first block in each row being larger than intended.
2021-07-07 18:54:34 +02:00
Yorik van Havre
da508e30b0 Merged crowdin translations 2021-07-01 13:56:25 +02:00
Yorik van Havre
7efbe176a0 Updated ts files 2021-07-01 13:50:17 +02:00
Yorik van Havre
3a6becbfe7 Arch: Added Depth property to SectionPlanes 2021-07-01 13:46:24 +02:00
Yorik van Havre
acedf491f3 Merged crowdin translations 2021-06-24 17:22:19 +02:00
Łukasz Stelmach
08396c9bc3 Arch: Draw solar diagrams for timezones other than UTC and UTC-3
Use the value of tz parameter to set a timezone instead of -3 constant.

Make updates to TimeZone property trigger redrawing of a solar diagram.
2021-06-22 13:33:35 +02:00
Yorik van Havre
24362e9020 Merged crowdin translations 2021-06-17 16:04:02 +02:00
Yorik van Havre
d12702e588 Updated ts files 2021-06-17 15:49:33 +02:00
Yorik van Havre
e25d07114f Merge pull request #4852 from Syres916/patch-20
[Arch] Wavefront Obj Import files from...
2021-06-15 16:02:35 +02:00
balrobs
530f5e4b12 Fixing connection error for structural surface members
This changes improve connections between structural surface members with coincident edges
See forum: https://forum.freecadweb.org/viewtopic.php?f=39&t=54286&p=509311#p509311
2021-06-11 07:28:25 +02:00
balrobs
2f60e710b7 Bug fix for PointConnections of StructuralCurvedMembers
this fixes a bug (indention problem) that prevented che correct generation of PointConnections for StructuralCurvedMembers (beams/columns) with coincident nodes.
See: https://forum.freecadweb.org/viewtopic.php?f=39&t=54286&start=40#p509233
2021-06-11 07:28:25 +02:00
Syres916
6195043f65 [Arch] Wavefront Obj Import files from...
...other programs such as Meshroom that don't contain an object name line. There is a bug report but bizarrely it's completely the reverse of what is currently occurring https://tracker.freecadweb.org/view.php?id=2336
2021-06-10 16:58:32 +01:00
Yorik van Havre
ee6a9b8c7d Merged crowdin translations 2021-06-10 12:24:24 +02:00
balrobs
9a6a6d27a6 adds IFC export for structural slabs (StructuralSurfaceMemebers) with their thickness 2021-06-09 10:25:38 +02:00
balrobs
81f19b50c1 Formating for better readability
The changes affect code in the exportIFCStructuralTools.py file and aims to improve only the readability for later planed export of SurfaceMembers
2021-06-09 10:25:38 +02:00
Yorik van Havre
fe101ff1b1 Merge pull request #4831 from balrobs/master
[Arch] Fix errors when exporting structures to IFC2X3 format
2021-06-04 13:22:56 +02:00
balrobs
a698748ac6 [Arch] Fix errors when exporting struchtures to IFC2X3 format
when trying to export structures to IFC2X3 there are some problems due to the fact, that the actual code uses functions not suitable for IFC2X3
this commit fixes this issues
see forum post: https://forum.freecadweb.org/viewtopic.php?f=39&t=54286&start=30#p507877
2021-06-04 01:20:17 +02:00
luz paz
1992fd2a72 Arch: fix typo in getIfcPsetProperties() 2021-06-03 14:36:21 -04:00
Yorik van Havre
9f81ca933d merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
441635aff0 updated ts files 2021-06-03 15:37:33 +02:00
Yorik van Havre
74a46e6b95 Arch: Added arrow and bar bubble modes to Arch Axis object 2021-05-31 14:14:46 +02:00
Yorik van Havre
dd1220b345 Merged crowdin translations 2021-05-27 14:51:33 +02:00
Yorik van Havre
4b7a5d2e98 Updated translation files 2021-05-27 14:44:40 +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
balrobs
3ba585a807 Improve IFC export (structural analysis) for slabs
I did my best (I'm a programming novice) to understand the code and to improve the IFC export for slabs.
ATM for every slab all contour edges are exported as IFCSTRUCTURALCURVEMEMBER except the last closing one (see forum thread https://forum.freecadweb.org/viewtopic.php?f=39&t=54286).
This changes aim to also add the last closing edge for slabs.
2021-05-18 22:57:26 +02:00
Bernd Hahnebach
8bdd18d0dd Arch, import IFC, fix in materials 2021-05-16 06:34:02 +02:00
Yorik van Havre
0be2757e13 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
91ea7fbba8 Updated ts files 2021-05-11 13:05:20 +02:00
Yorik van Havre
da97cddb14 Merge pull request #4780 from matthijskooijman/fix-flat-groups-section-view
Arch: Fix section view duplicate rendering of items in groups with only flat objects
2021-05-11 12:13:09 +02:00
Matthijs Kooijman
2a60d81c7d Arch: Do not draw draft-like groups twice in section view
When drawing a section view, first a list of objects to draw is made.
Starting with the objects selected by the section plane, any groups or
group-like objects are recursively expanded. The resulting list contains
all contained objects, but also the expanded groups themselves (due to
Draft.get_group_contents with addgroups set).

This list of objects is then further categorized and processed. In this
categorization, there was already an exception for DocumentObjectGroup
instances, which were omitted from the resulting `nonspaces` list
(presumably since there is no point in drawing the groups themselves
when their contents are already in the list).

However, any groups that only contain flat objects would be caught by
`looksLikeDraf()` and added to the `drafts` list, before this exception
could ignore them.

This causes these groups to be processed by Draft.get_svg, which does so
by calling itself recursively on the group contents. Effectively, this
means that the contents of such groups is drawn on the section view
twice. Even more, since Draft.get_svg does not do a visibility check
like Arch.getSVG does, this causes invisible objects to show up when not
intended.

This commit fixes this by moving the DocumentObjectGroup exception a bit
further up, so all these objects should be dropped.

An alternative fix might be to pass addgroups=False to
Draft.get_group_contents (in getSectionData), but that also prevents
group-like objects (Building, BuildingPart, Space, Site) from being
returned, but those likely need to be returned so they can be sectioned
if needed (though if just spaces are needed, then
Draft.get_group_contents also have a spaces argument to return just
those).
2021-05-09 17:19:05 +02:00
Yorik van Havre
5705bb8aa8 Arch: Small translation fix 2021-05-06 18:37:40 +02:00
Yorik van Havre
966906da96 Merge pull request #4557 from luzpaz/crowdin/whitespaces-substituted-into-code
Crowdin: represent whitespace in code instead of in string
2021-05-05 17:18:35 +02:00
Amritpal Singh
feb8746563 Arch: allow Rebar OffsetStart and OffsetEnd in negative also 2021-05-03 23:06:05 +05:30
Yorik van Havre
ba99b72984 Merge pull request #4748 from steelman/material-color-dialog
Arch: Fix material color pickers
2021-04-22 11:05:11 +02:00
Łukasz Stelmach
e3df634a20 Arch: Fix material color pickers
Provide currently set color as initial value for getColor() to enable
convenient incremental changes.

Do not change the colour if the Cancel buton was pressed.

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-04-21 17:11:10 +02:00
Łukasz Stelmach
ba63ef51e5 Arch: Parse window opening modes with more than one digit
Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-04-20 15:02:13 +02:00
luz paz
b94ee8b275 Crowdin: represent whitespace in code instead of in string [skip ci]
Removing possible whitespace from strings lead to more accurate translations
2021-04-19 06:16:09 -04:00
Stephen Early
c617b252ff Improve WebGL export javascript template
Several improvements to the javascript in the template:

 * Render on demand rather than continuously
 * Support high-DPI displays
 * Fix the frustum depth for both cameras
 * Deal correctly with the browser window being resized
 * Only show controls for objects with geometry

Also some changes made for code clarity:

 * Use 'const' and 'let' instead of 'var', as appropriate
 * Use for...of and .map() instead of iterating over arrays
   using a loop counter
2021-04-10 18:03:09 +01:00
Yorik van Havre
c18d98a60d Merge pull request #4299 from three-ddd/archstairs_connections_flight_landing
[0.20] [Arch] connections between stair flight and landing
2021-03-30 13:17:24 +02:00
Yorik van Havre
edfd7e055d Merge pull request #4517 from Roy-043/Arch_Roof_fix_for_adjust_list_len
[ARCH] Arch_Roof fix for adjust_list_len function
2021-03-30 13:05:10 +02:00
Yorik van Havre
1ba31301e9 Merge pull request #4547 from chennes/lgtmArchUnusedIterationVariable1
[Arch] Refactor to eliminate unused variable
2021-03-30 13:01:06 +02:00
Matthijs Kooijman
4346d87c88 Arch: Fix displayed rotation values when adding or editing window components
This ensures the rotation edge and mode GUI elements are cleared when starting
to add or edit a component. Previously, when adding a new component or
editing one without rotation, the GUI elements would retain the value
from the previously edited component, which made it hard to check that
components did not have any rotation, and would make it easy to
accidentally add rotation to components that did not need it (just by
clicking edit and confirming).
2021-03-30 12:40:06 +02:00
Yorik van Havre
dce69f3c7b Merge pull request #4550 from chennes/lgtmDice3DSIssues
[Arch] LGTM issues in Dice3DS
2021-03-26 11:30:11 +01:00
Yorik van Havre
08f9406814 Merge pull request #4631 from sde1000/webgl-export-camera-buttons
Fix camera position buttons in WebGL export
2021-03-26 11:29:03 +01:00
Yorik van Havre
dccad1d247 Merge branch 'master' into Arch_Roof_fix_for_adjust_list_len 2021-03-26 11:23:56 +01:00