Commit Graph

1718 Commits

Author SHA1 Message Date
Stefan Tröger
ec5ac30756 Remove ExtensionProxy and rely on default Python proxy for extensions. fixes #0004534 2021-01-30 16:00:48 +01:00
Roy-043
90e0e616b1 Fixed typo in Arch_Schedule
Typo
2021-01-22 20:17:47 +01:00
Roy-043
b31667dbc7 Update ArchRoof.py
A relative profile can now be used if it references itself. This fixes a compatibility issue with the V0.18 version of ArchRoof, where the first profile initially always references itself.
2021-01-20 19:17:30 +01:00
paul lee
66807c7437 [ArchComponent] Fix Link Of Window Hosts if empty got error as Wall Child 2021-01-18 02:08:39 +08:00
Yorik van Havre
f1d9c795ed Arch: Fixed non-workng Panel tools 2021-01-12 15:10:16 +01:00
paul lee
1084912bff [ArchComponent] Link of Window get opening now 2021-01-09 03:19:36 +08:00
danreb25
570a440a49 Merge branch 'master' into BBLPatch_ArchComponentDiffuseColor 2021-01-05 20:01:16 +01:00
Yorik van Havre
43289ad685 Arch: Fixed wrong section fill when using archvrm module 2021-01-05 16:52:56 +01:00
danrenb
7b4a1ddb87 deal with missing DiffuseColor attributes on obj.CloneOf.ViewObject 2021-01-05 12:27:05 +01:00
luz paz
439bf8960d Fix typos [skip ci]
Found via `codespell v2.1.dev0`
2020-12-23 14:32:38 -05:00
Yorik van Havre
bdd9c23af7 Reverting files wrongly committed with 11beceea8 2020-12-23 15:21:43 +01:00
Yorik van Havre
22f7d5f3bc Merged crowdin translations 2020-12-23 15:13:05 +01:00
Yorik van Havre
16effcb2af Updated ts files 2020-12-23 14:51:04 +01:00
Digvijay Patankar
21adfb71f1 Indian standard H and U profiles added to profiles.csv 2020-12-21 07:13:33 +05:30
travisapple
09e87baa74 Merge branch 'master' into master 2020-12-14 11:47:09 -08:00
Abdullah Tahiri
f84df4e944 Arch: Make ArchWall use Sketcher GeometryFacade 2020-12-13 15:36:59 +01:00
Yorik van Havre
85003c7ccd Arch: Fixed typo (Awming->Awning) 2020-12-09 11:54:35 +01:00
travisapple
51a30c7e74 Update importWebGL.py 2020-12-07 12:57:53 -08:00
Yorik van Havre
b3d7ab7409 Merge pull request #4076 from amrit3701/bug/importing_IFC_in_CLI_linked_with_FreeCADGui_module
[Arch] Fixed bug: Importing IFC in Console raises error because it linked with FreeCADGui module.
2020-12-01 16:00:51 +01:00
Yorik van Havre
54c52a6128 Arch: Added .ifcjson export type 2020-11-27 13:09:34 +01:00
Yorik van Havre
216a25755b Arch: Fixed regression in structures 2020-11-26 13:47:55 +01:00
Amritpal Singh
7687eef03c Removed multiple import of FreeCADGui in rebuildArchShape. 2020-11-24 15:16:43 +05:30
Amritpal Singh
be37e43376 Fixed bug: Importing IFC in Console raises error because it linked with FreeeCADGui module. 2020-11-23 18:19:20 +05:30
Yorik van Havre
ad8d83a71b Arch: Windows: Added 'invert opening' and 'invert hinge' context menu items + task panel buttons 2020-11-19 13:13:38 +01:00
travisapple
5a11a7a5fd Update importWebGL.py 2020-11-17 12:24:11 -08:00
luz paz
ec52d5fd28 Arch: Added licence blurbs with attributions to authors
[skip ci]
2020-11-16 14:51:53 +01:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
Roy-043
9292bb60b0 Update ArchRoof.py
The processSubShapes function was wrongly called without providing the placement argument.
2020-11-15 12:02:02 +01:00
Yorik van Havre
32c270a2e3 Arch: Added Awming window preset 2020-11-10 19:14:06 +01:00
Yorik van Havre
ae2c707892 Merged crowdin translations 2020-11-10 14:58:06 +01:00
Yorik van Havre
0ddaa9fc24 Updated ts files 2020-11-10 14:47:48 +01:00
travisapple
f69031297c Update importWebGL.py 2020-11-08 10:29:15 -08:00
travisapple
b66b873c6c Update importWebGL.py 2020-11-08 10:25:30 -08:00
travisapple
92643200df Update importWebGL.py 2020-11-07 13:42:16 -08:00
travisapple
7556427bed New WebGL Exporter
This is a complete rewrite of this file.
2020-11-07 09:56:12 -08:00
Yorik van Havre
687f55e94f Arch: Added Text settings to SectionPlanes 2020-10-29 18:28:35 +01:00
Yorik van Havre
43596a68af Merged crowdin translations 2020-10-28 12:04:37 +01:00
Yorik van Havre
57fbb63b8d Updated ts files 2020-10-28 10:46:51 +01:00
Yorik van Havre
cb245845c5 Material: Mateiral editor UI fixes
- Fixed color buttons
- Introduced "Section Color" property
- Fixed named properties
- Added preview icons
- Remember UI dimensions and expanded states
2020-10-27 19:16:58 +01:00
vocx-fc
fcc9a68f8e Arch: use new name of the icon Part_3D_object
It is defined in the Part Workbench. Before, it was called `Tree_Part`.
2020-10-22 15:11:45 +02:00
Yorik van Havre
265afea4a9 Arch: Added SectionColor property to Arch Materials 2020-10-20 14:43:33 +02:00
Yorik van Havre
eacf3a6b98 Arch: Enabled ellipse-based walls - fixes #3859 2020-10-20 13:13:54 +02:00
Yorik van Havre
822943b1aa Arch: Fixed backwards compatibility issues 2020-10-16 12:40:09 +02:00
Yorik van Havre
d8bbced84e Arch: Made default door/windows openable 2020-10-15 12:55:27 +02:00
Yorik van Havre
78ac2f7b27 Arch: Fixed translation of wall (better version) 2020-10-12 15:58:41 +02:00
Yorik van Havre
1252734a81 Arch: Fixed translation of wall 2020-10-12 15:57:15 +02:00
luz paz
ea6b736208 Arch: fix typo in ArchBuildingPart.py [skip-ci]
Found by user PMac in https://forum.freecadweb.org/viewtopic.php?f=3&t=51049
2020-10-12 11:51:13 +02:00
vocx-fc
330a5098b5 Arch: consider DraftText objects in the section plane for compatibility
After the reorganization of the Draft Workbench,
the `'DraftText'` objects are now of Proxy.Type `'Text'`.
In the `DraftAnnotation` class the `__setstate__` method
was defined to automatically migrate the Type.

The `Arch SectionPlane` only handles `'Text'` objects. If for
some reason there is still an old `'DraftText'` object
which has not been migrated to the new Type, it won't be found.
This is corrected by adding `'DraftText'` to the list of objects
to process.
2020-10-12 11:43:37 +02:00
Roy-043
83666f1e48 Arch: 4 additional tests for ArchRoof (bug fix)
ArchRoof bug fix:
* Removed unnecessary use of FreeCAD.Vector. Renamed some functions and variables for clarity (in this description the new names are used). Reformatted the code. Moved imports to the top of the file. Updated the tooltips. Tweaked the title text "Parameters ...".
* Fixed the length of list properties bug.
* Flip direction did not work properly. The adopted solution is to reverse the edges the roof is based on.
* Added support for consecutive parallel edges.
* Added support for zero angle roof segments.
* The code now handles zero length runs without throwing an error.
* To handle triangular roofs with a zero length eave, "eave" (egde) has been turned into "eavePtLst" (list of points).
* The ridges of opposite parallel roof segments (if they do not use a relative profile) are recalculated if the sum of their runs is larger than the distance between their edges. The old version of the command would do this only if segments connected to gables and only properly if the corners between the edges of the segments and the gable were 90 degrees.
* Revised backGable and nextGable. They now call helperGable.
* Revised the 6 other back/next functions. They now call helperSloped. This also fixes several cases where cookie-cutter outlines (profilCurr["points"]) were wrong. In nextHigher, backHigher, nextLower and backLower a point was wrongly projected on the X-axis. In nextHigher the point on the higher ridge was wrongly included.
* Improved the cookie-cutter outlines for roof segments with lower overhangs and higher ridges in corners.
* Data from a relative profile is no longer used if it in turn references a relative profile.
* Changed the default idrel to -1 and changed calcMissingData to not process this value. This avoids confusion for users who are unaware of the relative profile feature.
* Introduced find_inters as a workaround for DraftGeomUtils.findIntersection. The latter finds intersections for parallel lines that share a point. Find_inters uses a modified version of getLineIntersections from DraftGeomUtils.findIntersection.
* Calling DraftVecUtils.removeDoubles later in the program flow as it does not compares the first and the last vector.
* Avoided the QTreeWidget scrolling to the top on every change, by not clearing it but updating existing items instead.
* Added self.tree.setRootIsDecorated(False). This gets rid of the 1st column's extra left margin. Removed item.setTextAlignment(0,QtCore.Qt.AlignLeft) as this did not work.
2020-10-12 11:43:04 +02:00
Roy-043
b7125d0162 Arch: ArchRoof bug fix
* Removed unnecessary use of FreeCAD.Vector. Renamed some functions and variables for clarity (in this description the new names are used). Reformatted the code. Moved imports to the top of the file. Updated the tooltips. Tweaked the title text "Parameters ...".
* Fixed the length of list properties bug.
* Flip direction did not work properly. The adopted solution is to reverse the edges the roof is based on.
* Added support for consecutive parallel edges.
* Added support for zero angle roof segments.
* The code now handles zero length runs without throwing an error.
* To handle triangular roofs with a zero length eave, "eave" (egde) has been turned into "eavePtLst" (list of points).
* The ridges of opposite parallel roof segments (if they do not use a relative profile) are recalculated if the sum of their runs is larger than the distance between their edges. The old version of the command would do this only if segments connected to gables and only properly if the corners between the edges of the segments and the gable were 90 degrees.
* Revised backGable and nextGable. They now call helperGable.
* Revised the 6 other back/next functions. They now call helperSloped. This also fixes several cases where cookie-cutter outlines (profilCurr["points"]) were wrong. In nextHigher, backHigher, nextLower and backLower a point was wrongly projected on the X-axis. In nextHigher the point on the higher ridge was wrongly included.
* Improved the cookie-cutter outlines for roof segments with lower overhangs and higher ridges in corners.
* Data from a relative profile is no longer used if it in turn references a relative profile.
* Changed the default idrel to -1 and changed calcMissingData to not process this value. This avoids confusion for users who are unaware of the relative profile feature.
* Introduced find_inters as a workaround for DraftGeomUtils.findIntersection. The latter finds intersections for parallel lines that share a point. Find_inters uses a modified version of getLineIntersections from DraftGeomUtils.findIntersection.
* Calling DraftVecUtils.removeDoubles later in the program flow as it does not compares the first and the last vector.
* Avoided the QTreeWidget scrolling to the top on every change, by not clearing it but updating existing items instead.
* Added self.tree.setRootIsDecorated(False). This gets rid of the 1st column's extra left margin. Removed item.setTextAlignment(0,QtCore.Qt.AlignLeft) as this did not work.
2020-10-12 11:43:04 +02:00