Commit Graph

19514 Commits

Author SHA1 Message Date
sliptonic
3f9ca68c5e Initial Commit 2021-05-28 10:25:46 -05:00
Yorik van Havre
2ee8e4fdbb Merge pull request #4801 from Roy-043/draft_make_label_text_input
Draft: Fixed make_label to accept list of strings for custom_text
2021-05-28 13:46:10 +02:00
Yorik van Havre
2a630e531d Merge pull request #4814 from Syres916/patch-18
[Material] Change Graphite File encoding to UTF-8
2021-05-28 13:40:26 +02:00
Russell Johnson
03cce806f3 Path: Remove first-draft rotational code Path
Remove all first-draft rotational-related code from Path workbench to make way for more stable, long-term integration of a rotational indexing capability.
2021-05-27 10:04:31 -05:00
Yorik van Havre
4b7a5d2e98 Updated translation files 2021-05-27 14:44:40 +02:00
Roy-043
5121104a46 Merge branch 'master' into draft_make_label_text_input 2021-05-26 16:23:22 +02:00
Syres916
9f9520adef [Material] Change File encoding to UTF-8
See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=58892
2021-05-25 15:02:22 +01:00
Yorik van Havre
262bb4fc19 Merge pull request #4806 from meapeteze/TD_Spreadsheet_merged_cells_optimal
Fix TechDraw View Spreadsheet with merged cells, 2
2021-05-25 15:07:54 +02:00
Yorik van Havre
79f865ed28 Merge pull request #4804 from luzpaz/Crowdin-Draft
Crowdin: fix Draft mirror code typo
2021-05-25 15:07:28 +02:00
Yorik van Havre
dbc0a39ffa Merge pull request #4808 from matthijskooijman/movewithhost-link-exception
Draft: Do not move children of App::Link objects
2021-05-25 15:06:55 +02:00
Yorik van Havre
36587412b1 Merge pull request #4805 from luzpaz/StartWB-tooltip
StartWB: Add missing tooltip for 'Show tips' preference dialog
2021-05-25 15:06:31 +02:00
Yorik van Havre
d0c67024e2 Merge pull request #4809 from matthijskooijman/draft-arch-simplifications
Draft & Arch: Python code simplifications
2021-05-25 15:05:46 +02:00
Yorik van Havre
e678c7e12e Merge pull request #4810 from matthijskooijman/fix-autogroup-groups
Draft: Fix "Show groups in layer list drop-down button" preference
2021-05-25 15:04:00 +02:00
sliptonic
929891d71a Merge pull request #4680 from ChrisNisbet01/Fix_vcarve_depth_calculation
Path: vcarve - Fix depth calculation
2021-05-24 12:47:46 -05:00
sliptonic
005c56723c Merge pull request #4765 from sliptonic/bug/toolnumbers
[PATH] fix bug adding TC from job dialog.
2021-05-24 12:46:21 -05:00
sliptonic
bcbcf36052 Merge pull request #4617 from Russ4262/fix_pocketshape_circular_extension
[Path] Fix outside `Extensions` of circular faces with inner holes
2021-05-24 12:45:13 -05:00
sliptonic
ea62243b3a Merge pull request #4637 from Russ4262/fix_update_default_extension_length
[Path] Fix update of Extensions `Default Length` GUI spin box
2021-05-24 12:34:35 -05:00
sliptonic
c5d2b19bdf Merge pull request #4523 from Russ4262/slot_fixes
[Path] Stability fixes for experimental Slot operation
2021-05-24 11:53:44 -05:00
sliptonic
0246b4eb6e Merge pull request #4796 from heewa/fix-path-errors
Path: check for empty before using - fixes #4645
2021-05-24 11:51:53 -05:00
Roy-043
40eb62974e Update make_label.py
Brought back name=_name. Added type(custom_text) is list check.
2021-05-24 18:42:27 +02:00
Matthijs Kooijman
d928f37761 Draft: Fix "Show groups in layer list drop-down button" preference
The code that was intended to handle this preference looked inside
Mod/BIM instad of Mod/Draft for the preference. This seems to have been
broken since the preference was first introduced in commit 9976a5ece0
(Draft: Turned autogroup button into layers selector (added pref option
to restore old groups-based system)).

This also removes a stray "-" that was probably a leftover from a merge
conflict, introduced in commit 0547d23660 (Draft: move Draft_AutoGroup to
gui_groups module). Since -True is still true and -False is still false,
this did not actually break the code, though.

See https://forum.freecadweb.org/viewtopic.php?t=42018 for related
discussion.
2021-05-22 18:33:15 +02:00
Matthijs Kooijman
1cabfd8e6b Draft: Simplify code using getattr default value
This uses the default value that can be passed to getattr to simplify
code that uses it. By choosing an appropriate default value, a separate
call to hasattr can be avoided and in some cases duplicate code can be
avoided.

This applies this trick where possible in wire.py and circle.py.

This commit does not change behavior.
2021-05-22 17:44:04 +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
Matthijs Kooijman
630b0f2af4 Draft: Do not move children of App::Link objects
This caused the original object to be moved when using the Draft move
tool to move a link object, when the original object has MoveWithHost
set (e.g. a Window). There was already a similar exception for clones,
so it makes sense to extend this for links too.

Note that there seem to be more problems with the "MoveWithHost"
mechanism and fixing them might completely refactor this code, but until
then, this is a simple and targeted fix that at least makes moving
links to windows work as expected.

See https://forum.freecadweb.org/viewtopic.php?f=23&t=57223 for
discussion of this bug, its fix and the additional problems mentioned.
2021-05-22 16:51:04 +02:00
Roy-043
9ec9261fcd Update make_label.py
If custom_text is a string there is no need to put it in a list.
2021-05-22 16:33:12 +02:00
mapeze
c2c4d64704 Fix TechDraw View Spreadsheet with merged cells, 2 2021-05-21 17:26:13 +02:00
Yorik van Havre
dbd7dbd332 Draft: Fixed use of double quotes in Draft Texts 2021-05-21 15:35:29 +02:00
luz paz
cd490c7143 StartWB: Add missing tooltip for 'Show tips' preference dialog 2021-05-21 08:41:01 -04:00
luz paz
78d3d0039f Crowdin: fix Draft mirror code typo
ref: https://crowdin.com/translate/freecad/548/en-en?filter=basic&value=2#6587132
2021-05-20 16:02:34 -04: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
sliptonic
23ae1e92f3 Merge pull request #4776 from dubstar-04/fixes/DrillingOp
[Path] Fixes for drilling operation
2021-05-18 15:57:11 -05:00
Roy-043
cbe5d9b219 Draft: Fixed make_label to accept list of strings for custom_text
The make_label function should accept a list of strings for custom_text. Compare the make_text function. The new code was mostly taken from there.
2021-05-18 21:08:02 +02:00
Yorik van Havre
56ef4ee8bb Merge pull request #4789 from chennes/fixOpenSCADMissingHide
[OpenSCAD] Fix missing hide() on linear extrude
2021-05-18 16:28:50 +02:00
Yorik van Havre
29b10580ae Merge pull request #4793 from donovaly/TD-centerline-fixes
[TD] fix centerline crashes and bugs
2021-05-18 16:28:31 +02:00
Yorik van Havre
4d00f985ec Merge pull request #4795 from luzpaz/Crowdin-Draft-whitespace
Crowdin: remove superfluous whitespace from translation
2021-05-18 16:24:42 +02:00
Heewa Barfchin
841b792c73 Path: check for empty before using - fixes #4645
In a few locations, python objects are used without checking if they
exist and are non-null, which throws missing attribute exceptions. The
fix is to simply check first.
2021-05-17 18:45:11 -04:00
luz paz
d42cad2bba Crowdin: remove superfluous whitespace from translation
ref: https://crowdin.com/translate/freecad/548/en-en?filter=basic&value=2#6587168
2021-05-17 10:51:05 -04:00
luz paz
8788abc261 Crowdin: fix mistake in Draft Preferences text [skip ci]
ref: https://crowdin.com/translate/freecad/548/en-en?filter=basic&value=13#6577122
2021-05-17 10:28:43 -04:00
Bernd Hahnebach
8bdd18d0dd Arch, import IFC, fix in materials 2021-05-16 06:34:02 +02:00
donovaly
2bc5ac2e4b [TD] fix centerline crashes and bugs
the PR fixes the following things:
- change the way centerlines between 2 lines are calculated. The current implementation leads to many bugs and even crashes (e.g. when the 2 selected lines are parallel ones of a square). There are different forum threads from the last 1.5 years.
The new endpoint line sorting is the one described here: https://forum.freecadweb.org/viewtopic.php?f=35&start=20&t=44255&sid=989a668890f954c13ef81e4a04ee6912#p501179

- as consequence the erroneous and misleading line end flipping can go and is removed (only used internally)

- when creating a new centerline, you see it immediately

- when creating a new or editing an existing centerline and press Cancel, the creation/editing is aborted

- fix crash when the 2 selected lines are bot horizontal and one tries to create a vertical centerline

- fix crash when changing the orientation  of an existing centerline and the result would be invalid

- cleanup the code a bit
2021-05-15 05:21:29 +02:00
Chris Hennes
cdf50cb47b [OpenSCAD] Fix missing hide() on linear extrude 2021-05-13 10:27:49 -05:00
0penBrain
bb434d3ff2 [Sketcher] Visibility automation : add option to force orthographic view when entering edit mode 2021-05-13 14:10:44 +02:00
wmayer
7e48441687 Part: [skip ci] workaround for OCCT 7.5.2 2021-05-12 17:35:42 +02:00
Yorik van Havre
0be2757e13 Merged crwodin translations 2021-05-12 16:36:31 +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
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