Commit Graph

24886 Commits

Author SHA1 Message Date
Yorik van Havre
a3dea4c294 Readme: Added LGTM C++ badge 2021-05-12 16:47:42 +02:00
Yorik van Havre
a5e11467e6 Readme: Changed stable build badge version from 0.18 to 0.19 + added kicad sponsor 2021-05-12 16:42:09 +02:00
Yorik van Havre
0be2757e13 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
e0188878fb Tools: cosmetic tweaks to updatecrowdin script 2021-05-12 16:36:15 +02:00
Yorik van Havre
646a33dbb7 Merge pull request #4779 from bitacovir/TD_Tree_Icons
[TD] Name uniformity for TechDraw_Tree Icons
2021-05-12 15:38:14 +02:00
Yorik van Havre
4b32537b5f Merge pull request #4784 from UR-0/origin/Draft_harmonize_digits_of_dxfScaling
[Draft] harmonize no of digits of dxfScaling between Edit->Preference…
2021-05-12 15:36:47 +02:00
Yorik van Havre
e9d89110f6 Merge pull request #4786 from Roy-043/AddonManager_Fix_Macros_URL
AddonManager: Fix Macros URL
2021-05-12 15:35:10 +02:00
Roy-043
9639cdff45 AddonManager: Fix Macros URL 2021-05-12 14:53:16 +02:00
Yorik van Havre
fd9c075411 Draft: Added 'apply to texts/dims' button to SetStyle dialog 2021-05-11 16:24:06 +02:00
UR-0
add4b471ca [Draft] harmonize no of digits of dxfScaling between Edit->Preferences and Tools->Edit Parameters 2021-05-11 16:14:18 +02:00
Yorik van Havre
489f7441af Draft: Allow to use dimension tool with predefined direction 2021-05-11 13:27:41 +02:00
Yorik van Havre
91ea7fbba8 Updated ts files 2021-05-11 13:05:20 +02:00
Yorik van Havre
80ecefde1a Merge pull request #4770 from mpu-creare/master
Mod Part [doc]: Adding documentation to Part.BSplineCurve of Python API
2021-05-11 12:15:59 +02:00
Yorik van Havre
a59eccb3c1 Merge pull request #4773 from steelman/techdraw-svg-layer
[TD] Make the root SVG group a layer for Inkscape
2021-05-11 12:15:14 +02:00
Yorik van Havre
3a2d66c9a8 Merge pull request #4781 from matthijskooijman/pr-template-changelog-link
Update link to changelog thread in pull request template
2021-05-11 12:14:16 +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
Yorik van Havre
d66bfb680b Merge pull request #4782 from heewa/fix-startpage-dir-bug
Start: fix bug when custom folder doesn't exist
2021-05-11 12:10:59 +02:00
Yorik van Havre
d8c488e3c8 Merge pull request #4783 from donovaly/Addon-SVG-fix
[Addons] fix an icon
2021-05-11 12:09:50 +02:00
donovaly
ff2a8c23da [Addons] fix an icon
I got a warning from Git that the SVG has a missing linebreak at the end. Fixed by saving the file as plain SVG using Inkscape
2021-05-11 02:11:10 +02:00
Heewa Barfchin
0b1daf7fba Start: fix bug when custom dir missing 2021-05-10 13:24:17 -04:00
kinagaki
ef1b509e91 Addon Manager: Added FEM_FrontISTR Workbench icon 2021-05-10 00:55:35 +02:00
Bernd Hahnebach
778479c2cd FEM: pep8 2021-05-09 23:42:32 +02:00
Matthijs Kooijman
d45f171230 Update link to changelog thread in pull request template 2021-05-09 18:00:51 +02:00
Matthijs Kooijman
ffbac23432 Draft: Improve docs for get_group_contents spaces parameter
The documentation suggested subtly different semantics from what the
code implements.
2021-05-09 17:33:46 +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
wmayer
aba9ef731c Make smesh compile with vtk9 2021-05-09 10:53:13 +02:00
bitacovir
d6c92946ac Update TechDraw_TreePageTemplate.svg 2021-05-08 08:26:04 -04:00
bitacovir
3aa21509b8 Update TechDraw_TreeView.svg
metadata name updated
2021-05-07 16:34:35 -04:00
bitacovir
cb54104189 Update TechDraw_TreeSymbol.svg
metadata name updated
2021-05-07 16:33:29 -04:00
bitacovir
b298cc04a0 Update TechDraw_TreeSpreadsheet.svg
metadata name updated
2021-05-07 16:31:49 -04:00
bitacovir
00612e93a0 Update TechDraw_TreeSection.svg
metadata name updated
2021-05-07 16:30:07 -04:00
bitacovir
af6d977043 Update TechDraw_TreeProjGroup.svg
metadata names updated
2021-05-07 16:28:43 -04:00
bitacovir
06b99bd26e Update TechDraw_TreePageTemplate.svg
metadata names updated
2021-05-07 16:24:58 -04:00
bitacovir
2b419b95ba Update TechDraw_TreePage.svg
metadata names updated
2021-05-07 16:00:36 -04:00
bitacovir
a5e7e0a697 Update TechDraw_TreeMulti.svg
metadata names updated
2021-05-07 15:58:53 -04:00
bitacovir
1dd00d6588 Update TechDraw_TreeHatch.svg
metadata names updated
2021-05-07 15:57:31 -04:00
bitacovir
b26069a508 [TD] Name uniformity for Tree Icons 2021-05-07 12:07:35 -04:00
Bernd Waibel
97a9571892 [Fem] fix femtest failure with yaml.load
Solves an issue with using an outdated call to yaml.load
as described in
https://forum.freecadweb.org/viewtopic.php?f=10&t=57617

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2021-05-06 19:52:20 +02:00
UR-0
38adcc0a24 [FEM] patch LGTM alerts 2021-05-06 19:51:27 +02:00
Yorik van Havre
6e9c157cd5 Draft: Fixed last commit (stroke endcap -> stroke-linecap) 2021-05-06 18:49:55 +02:00
Yorik van Havre
e37e8eddfb Draft: Using square endcaps for lines in SVG output 2021-05-06 18:38:32 +02:00
Yorik van Havre
5705bb8aa8 Arch: Small translation fix 2021-05-06 18:37:40 +02:00
Yorik van Havre
dd3f723465 Draft: Added load/save functionality to SetStyle dialog 2021-05-06 18:36:41 +02:00
Yorik van Havre
a0dea60f71 Added OpeningDesign to contributors list 2021-05-06 13:14:12 +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
Yorik van Havre
4ff9b768dd Draft: Changed shapestring FillLetters property to MakeFace 2021-05-05 15:41:28 +02:00
Yorik van Havre
fe92e39e8a Merge pull request #4769 from Roy-043/Draft_make_ellipse
Draft: Fixed make_ellipse.py: the face argument was not used
2021-05-05 15:31:13 +02:00
Yorik van Havre
308d292bb9 Merge pull request #4768 from Roy-043/Draft-Gui-addModule-issue
Draft: Fixed 3 gui_*.py files that did not execute Gui.addModule("Draft") if UsePartPrimitives is True
2021-05-05 14:11:33 +02:00
Yorik van Havre
2a72f30531 Merge pull request #4775 from amrit3701/arch/rebar-allow_negative_offset
[Arch]: allow Rebar OffsetStart and OffsetEnd in negative also
2021-05-03 22:08:02 +02:00
Łukasz Stelmach
ba5f7f5d80 [TD] Make the root SVG group a layer for Inkscape
Layers are Inkscape way of marking top level groups. Inkscape provides
convenient UI to show and hide these groups as well as to lock them to
prevent users from accidentally editing them. Although Inkscape can open
and edit files without layers (without any top level group having the
groupmode attribute set to "layer"), it is somewhat cumbersome to move
the group created by TechDraw to a separate layer, which is what I do,
when I want to add more layers with additional information.

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-05-03 21:39:07 +02:00