Commit Graph

24974 Commits

Author SHA1 Message Date
sliptonic
bb50a37024 Merge pull request #4672 from sliptonic/feature/camotics2
[PATH]  CAMotics simulation.  First Draft
2021-05-28 13:03:13 -05:00
sliptonic
a9f6fad531 Merge pull request #4812 from jimzim111/patharray_multibase
Path: PathArray based on multiple bases, and choice of direction
2021-05-28 10:38:55 -05:00
sliptonic
9e795191bc add missing reference in cmakelists 2021-05-28 10:29:06 -05:00
sliptonic
ad5445d40f Initial Commit 2021-05-28 10:25:46 -05:00
Yorik van Havre
cc1140489e 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
750f8ae643 Merge pull request #4814 from Syres916/patch-18
[Material] Change Graphite File encoding to UTF-8
2021-05-28 13:40:26 +02:00
sliptonic
7c412e6eaf Merge pull request #4798 from Russ4262/refactor/remove_rotation
[Path] Remove rotational code from Path modules
2021-05-27 13:47:12 -05:00
Russell Johnson
16015f66e3 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
c6771853ae Updated translation files 2021-05-27 14:44:40 +02:00
Roy-043
c0105690f4 Merge branch 'master' into draft_make_label_text_input 2021-05-26 16:23:22 +02:00
jim
e728c9226c Merge branch 'patharray_multibase' of https://github.com/jimzim111/FreeCAD into patharray_multibase 2021-05-25 18:37:05 -07:00
jim
815679a487 fix whitespace 2021-05-25 18:36:51 -07:00
jimzim111
a2960cd4e6 Merge branch 'master' into patharray_multibase 2021-05-25 18:34:49 -07:00
jim
b0ab46878b Clean up logic that tests whether there any base Paths to process 2021-05-25 18:34:19 -07:00
jim
9234c33db1 Hide ToolController property. TC can be chosen by the first operation in the PathArray Base property. 2021-05-25 18:24:50 -07:00
jim
4e2137b358 Wrap strings in QT_TRANSLATE_NOOP 2021-05-25 18:11:15 -07:00
Syres916
13cb80ef5e [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
1e8c848544 Merge pull request #4802 from meapeteze/TD_Spreadsheet_merged_cells
TechDraw: Fix View Spreadsheet with merged cells.
2021-05-25 15:09:51 +02:00
Yorik van Havre
e8a7e4794e Merge branch 'master' into TD_Spreadsheet_merged_cells 2021-05-25 15:09:42 +02:00
Yorik van Havre
da53836d06 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
e6af8032e2 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
601d6ca466 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
0a4ea36073 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
5d57496f25 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
8896d74e6e 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
jim
6e818208bf Merge branch 'patharray_multibase' of https://github.com/jimzim111/FreeCAD into patharray_multibase 2021-05-24 21:22:10 -07:00
jim
a3f37025b1 Fix row-ordering logic when SwapDirection==True 2021-05-24 21:21:17 -07:00
jimzim111
3a5627553b Merge branch 'FreeCAD:master' into patharray_multibase 2021-05-24 21:04:37 -07:00
jim
daddf550aa Add PathArray "Jitter" capability to offset each copy by a random distance. Helps create an imperfect "hand-crafted" appearance.
Adds properties:
 - JitterPercent: % of copies that will be randomly offset
 - JitterMagnitude: Maximum distance to offset copies
2021-05-24 21:00:45 -07:00
sliptonic
b0364e466a Merge pull request #4680 from ChrisNisbet01/Fix_vcarve_depth_calculation
Path: vcarve - Fix depth calculation
2021-05-24 12:47:46 -05:00
sliptonic
98ec3dda9d 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
224f49af28 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
6e622fab9d 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
c3878ea58f Merge pull request #4523 from Russ4262/slot_fixes
[Path] Stability fixes for experimental Slot operation
2021-05-24 11:53:44 -05:00
sliptonic
77c44170f3 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
57de4681ec Update make_label.py
Brought back name=_name. Added type(custom_text) is list check.
2021-05-24 18:42:27 +02:00
jim
0495310984 fix whitespace 2021-05-23 19:28:36 -07:00
jim
db8a6116da Path: Add PathArray "SwapDirection" property to process copies along X axis before Y axis 2021-05-23 19:25:52 -07:00
jim
4ea8d3a5fe Merge branch 'patharray_multibase' of https://github.com/jimzim111/FreeCAD into patharray_multibase 2021-05-23 19:25:03 -07:00
jim
e8e1b4ce94 PathArray support for multiple paths as base 2021-05-23 19:24:30 -07:00
Matthijs Kooijman
738bcbe357 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 507c40669d
(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 68119de02f (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
ecc05545c1 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
96cbc722f5 Arch: Simplify some ifs in ArchComponent
This commit does not change behavior.
2021-05-22 17:39:07 +02:00
Matthijs Kooijman
19ada8fd1f 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
98e563c3d9 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
jimzim111
db31ad0098 Merge branch 'master' into patharray_multibase 2021-05-21 21:51:26 -07:00
jim
4d127347dc PathArray support for multiple paths as base 2021-05-21 21:43:25 -07:00
mapeze
60a75e5d24 Fix TechDraw View Spreadsheet with merged cells, 2 2021-05-21 17:26:13 +02:00
Yorik van Havre
089b2ae478 Draft: Fixed use of double quotes in Draft Texts 2021-05-21 15:35:29 +02:00
luz paz
ac96cd1650 StartWB: Add missing tooltip for 'Show tips' preference dialog 2021-05-21 08:41:01 -04:00