Commit Graph

1799 Commits

Author SHA1 Message Date
luz paz
eab17ddff5 Fix various typos 2021-07-31 09:46:50 +02:00
Yorik van Havre
146dcd75a9 Arch: Fixed windows invert hinge option 2021-07-16 12:22:56 +02:00
Yorik van Havre
573a295067 Arch: Fixed wrong numbering in arch axis in section mode 2021-07-16 12:22:15 +02:00
Yorik van Havre
8d93a0f3d8 Arch: Better icon for Arch component 2021-07-13 15:46:54 +02:00
Yorik van Havre
8728400e04 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
2acfba9870 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
20287874a8 Arch: Fixed text position of Arch spaces 2021-07-09 15:10:47 +02:00
Yorik van Havre
1cee70cd62 Merged crowdin translations 2021-07-08 16:06:38 +02:00
Roy-043
084a8e6fae 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
ed9dca288c Merged crowdin translations 2021-07-01 13:56:25 +02:00
Yorik van Havre
6360345ce5 Updated ts files 2021-07-01 13:50:17 +02:00
Yorik van Havre
5b32b806f6 Arch: Added Depth property to SectionPlanes 2021-07-01 13:46:24 +02:00
Yorik van Havre
c8b5d8d762 Merged crowdin translations 2021-06-24 17:22:19 +02:00
Łukasz Stelmach
7c26d67ebf 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
69b084f492 Merged crowdin translations 2021-06-17 16:04:02 +02:00
Yorik van Havre
7c5f8d8737 Updated ts files 2021-06-17 15:49:33 +02:00
Yorik van Havre
27ddc54828 Merge pull request #4852 from Syres916/patch-20
[Arch] Wavefront Obj Import files from...
2021-06-15 16:02:35 +02:00
balrobs
87ae516e1e 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
f76be90c59 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
80731db3c0 [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
4a9963a03f Merged crowdin translations 2021-06-10 12:24:24 +02:00
balrobs
3cdccea9d6 adds IFC export for structural slabs (StructuralSurfaceMemebers) with their thickness 2021-06-09 10:25:38 +02:00
balrobs
45ae81f955 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
1fb45a0c5e 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
a91cde1915 [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
e1af437848 Arch: fix typo in getIfcPsetProperties() 2021-06-03 14:36:21 -04:00
Yorik van Havre
d0d637b2c6 merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
4361893f24 updated ts files 2021-06-03 15:37:33 +02:00
Yorik van Havre
5ddf75d358 Arch: Added arrow and bar bubble modes to Arch Axis object 2021-05-31 14:14:46 +02:00
Yorik van Havre
b1d9a5607f Merged crowdin translations 2021-05-27 14:51:33 +02:00
Yorik van Havre
c6771853ae Updated translation files 2021-05-27 14:44:40 +02:00
Matthijs Kooijman
96cbc722f5 Arch: Simplify some ifs in ArchComponent
This commit does not change behavior.
2021-05-22 17:39:07 +02:00
balrobs
8ac722c1e8 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
a378b6b66f Arch, import IFC, fix in materials 2021-05-16 06:34:02 +02:00
Yorik van Havre
7b0a6358b1 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
81a44fcccb Updated ts files 2021-05-11 13:05:20 +02:00
Yorik van Havre
3a4621bda9 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
f0c99c16f6 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
d998f2df7d Arch: Small translation fix 2021-05-06 18:37:40 +02:00
Yorik van Havre
131cdd1e4e 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
70ff9afa9d Arch: allow Rebar OffsetStart and OffsetEnd in negative also 2021-05-03 23:06:05 +05:30
Yorik van Havre
819e15a0a4 Merge pull request #4748 from steelman/material-color-dialog
Arch: Fix material color pickers
2021-04-22 11:05:11 +02:00
Łukasz Stelmach
c7b1e35c02 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
0ae1cda2e9 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
f2b93a7af3 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
37e5942c9b 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
afa40aa049 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
111184a770 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
a346a10c88 Merge pull request #4547 from chennes/lgtmArchUnusedIterationVariable1
[Arch] Refactor to eliminate unused variable
2021-03-30 13:01:06 +02:00
Matthijs Kooijman
cc88c21fae 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