Changesets: FreeCAD

master cfa6ad5d

2020-06-20 19:27:04

russ4262

Details Diff
Path: Slot operation fixes and improvements

- Add `CutPattern` feature, defaulting to `ZigZag`.
- Change inter-pass retractions to SafeHeight for multi-pass operations.
- Fix division by zero instance for particular Perpendicular use case.
- Synchronize property values with inputs in both the Property View and Tasks Editor windows.
- Change `LayerMode` default value to `Multi-pass`.
- Improve debug messaging.
- Consolidate code and remove unused code.

Path: fix exception thrown
mod - src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui Diff File
mod - src/Mod/Path/PathScripts/PathSlot.py Diff File
mod - src/Mod/Path/PathScripts/PathSlotGui.py Diff File

master 94b0fe15

2020-06-20 19:19:18

vocx-fc


Committer: yorik Details Diff
Draft: clean up ViewProviderLabel class

Various improvements in style, PEP8, spacing, docstrings.

Improve the methods to update the text, the arrow, and the frame
of the label.

Options to handle `Justification` and `LineSpacing` are added.
These can be handled just like with the `ViewProviderText` object,
as the internal text node is the same, a `SoAsciiText`.

Nevertheless, currently the leader line and the frame that are
drawn for the label don't consider the correction in position
for the `Justification` or `Linespacing` so the graphics
may be overlapped in certain situations.
mod - src/Mod/Draft/draftutils/gui_utils.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_label.py Diff File

master 8b8210f2

2020-06-20 16:53:52

vocx-fc


Committer: yorik Details Diff
Arch: fix calculation of fence objects

In the past it used the `Draft.calculatePlacementsOnPath` function
but this function was moved and modified when the `PathArray`
was improved. The `calculatePlacementsOnPath` function
was moved to `draftobjects.patharray`
and renamed `placements_on_path`.

This doesn't completely fix the Fence object because some other
modifications need to be done in the calculation of the paths.
mod - src/Mod/Arch/ArchFence.py Diff File

master 002e25b5

2020-06-20 14:12:14

wandererfan

Details Diff
[TD]Cosmetic Edge endpoint inversion
mod - src/Mod/TechDraw/App/CosmeticEdgePyImp.cpp Diff File

master 87046ef0

2020-06-20 10:22:24

wmayer

Details Diff
GuiPy: [skip ci] expose function to Python to replace Switch with Separator nodes
mod - src/Gui/Application.cpp Diff File
mod - src/Gui/SoFCDB.cpp Diff File
mod - src/Gui/SoFCDB.h Diff File

master 0d05fc32

2020-06-20 09:43:59

wmayer

Details Diff
GuiPy: [skip ci] handle some Qt warnings when using GUI from Python
+ avoid warning: QEventLoop: Cannot be used without QApplication
+ avoid warning: QObject::startTimer: Timers can only be used with threads started with QThread
mod - src/Gui/Application.cpp Diff File
mod - src/Main/FreeCADGuiPy.cpp Diff File

master c23a1f6e

2020-06-20 09:28:48

wmayer

Details Diff
Base: [skip ci] include sstream in swigpyrun source files
mod - src/Base/swigpyrun_1.3.25.cpp Diff File
mod - src/Base/swigpyrun_1.3.33.cpp Diff File
mod - src/Base/swigpyrun_1.3.36.cpp Diff File
mod - src/Base/swigpyrun_1.3.38.cpp Diff File
mod - src/Base/swigpyrun_1.3.40.cpp Diff File

master fe993abc

2020-06-20 05:26:45

abdullah


Committer: abdullahtahiriyo Details Diff
PropertyConstraintList: refactor setValue
mod - src/Mod/Sketcher/App/PropertyConstraintList.cpp Diff File

master 9ca8568f

2020-06-20 05:26:06

abdullah


Committer: abdullahtahiriyo Details Diff
PropertyGeometryList: move setValue and refactor
mod - src/Mod/Part/App/PropertyGeometryList.cpp Diff File
mod - src/Mod/Part/App/PropertyGeometryList.h Diff File

master 22e9cf89

2020-06-19 21:11:37

vocx-fc


Committer: yorik Details Diff
Draft: clean up ViewProviderText class

Various improvements in style, PEP8, spacing, docstrings.

The list of strings is set to empty before being assigned again.
This solves a problem of the text not being updated correctly.

In the past some `try-except` blocks were there to catch and
ignore certain exceptions that apparently were caused by a
race condition, where certain properties are not assigned
to the object before they are used. These errors
don't seem to occur in v0.19, so we removed the exception
handling. We leave comments mentioning the issue
in case it re-appears.

The `DisplayMode` is swapped, so now `'2D text'` means that the
text always faces the camera, and `'3D text'` means that the
text can be positioned in different orientations in the 3D space.
This is consistent with the `Draft Label` behavior.

A function `draftutils.gui_utils.migrate_text_display_mode`
is provided to help migrate older objects of type `Text`
or `DraftText` to the new display mode.
mod - src/Mod/Draft/draftmake/make_text.py Diff File
mod - src/Mod/Draft/draftutils/gui_utils.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_text.py Diff File

master de6f251f

2020-06-19 21:11:11

vocx-fc


Committer: yorik Details Diff
Draft: migrate DraftText type to Text
mod - src/Mod/Draft/draftobjects/draft_annotation.py Diff File

master 9b731910

2020-06-19 18:17:17

sliptonic

Details Diff
[Path] Make jobs delete cleanly.

Deletion of tool controllers now works for toolbits as well
mod - src/Mod/Path/PathScripts/PathJob.py Diff File
mod - src/Mod/Path/PathScripts/PathToolController.py Diff File

master ffe957ce

2020-06-19 17:32:07

sliptonic


Committer: GitHub Details Diff
Merge pull request 0003631 from Russ4262/task_panel_icons

[Path] Add icons to Tasks Window tabs
mod - src/Mod/Path/Gui/Resources/panels/PageBaseGeometryEdit.ui Diff File
mod - src/Mod/Path/Gui/Resources/panels/PageDepthsEdit.ui Diff File
mod - src/Mod/Path/Gui/Resources/panels/PageHeightsEdit.ui Diff File
mod - src/Mod/Path/PathScripts/PathOpGui.py Diff File

master 1e05734d

2020-06-19 17:30:32

sliptonic


Committer: GitHub Details Diff
Merge pull request #3584 from gwicke/area_tweaks

Path: Area fixes and robustness tweaks
mod - src/Mod/Path/App/Area.cpp Diff File
mod - src/Mod/Path/App/Area.h Diff File

master 58046eb2

2020-06-19 16:52:26

wmayer

Details Diff
Main: [skip ci] replace QThread with std::thread as it won't start without an event loop
mod - src/Main/FreeCADGuiPy.cpp Diff File

master e3a67e24

2020-06-19 16:12:35

sliptonic


Committer: GitHub Details Diff
Merge pull request 0003629 from gwicke/line_simplification

[path] Implement Ramer-Douglas-Peucker line simplification
mod - src/Mod/Path/PathScripts/PathSurface.py Diff File
mod - src/Mod/Path/PathScripts/PathUtils.py Diff File

master fd1dc301

2020-06-19 16:12:01

sliptonic


Committer: GitHub Details Diff
Merge pull request 0003624 from Russ4262/SlotCutter

[Path] Add new `Slot` operation to PathWB 2D tool group
mod - src/Mod/Path/CMakeLists.txt Diff File
mod - src/Mod/Path/Gui/Resources/Path.qrc Diff File
add - src/Mod/Path/Gui/Resources/icons/Path-Slot.svg Diff File
add - src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui Diff File
mod - src/Mod/Path/InitGui.py Diff File
mod - src/Mod/Path/PathScripts/PathGuiInit.py Diff File
mod - src/Mod/Path/PathScripts/PathOpGui.py Diff File
mod - src/Mod/Path/PathScripts/PathSelection.py Diff File
add - src/Mod/Path/PathScripts/PathSlot.py Diff File
add - src/Mod/Path/PathScripts/PathSlotGui.py Diff File

master 9c847fc4

2020-06-19 16:11:21

sliptonic


Committer: GitHub Details Diff
Merge pull request 0003600 from sliptonic/feature/customimprove

[PATH] make -custom- op compliant. Improve gcode_pre importer
mod - src/Mod/Path/CMakeLists.txt Diff File
mod - src/Mod/Path/Gui/Resources/Path.qrc Diff File
add - src/Mod/Path/Gui/Resources/panels/PageOpCustomEdit.ui Diff File
mod - src/Mod/Path/PathScripts/PathCustom.py Diff File
add - src/Mod/Path/PathScripts/PathCustomGui.py Diff File
mod - src/Mod/Path/PathScripts/PathGuiInit.py Diff File
mod - src/Mod/Path/PathScripts/PathOp.py Diff File
mod - src/Mod/Path/PathScripts/PathOpGui.py Diff File
mod - src/Mod/Path/PathScripts/PathSelection.py Diff File
mod - src/Mod/Path/PathScripts/post/example_pre.py Diff File
mod - src/Mod/Path/PathScripts/post/gcode_pre.py Diff File

master 7c3d0040

2020-06-19 16:10:14

sliptonic


Committer: GitHub Details Diff
Merge pull request #3568 from Russ4262/3D_Surface_fixes_2

[Path] 3D Surface and Waterline: FinalDepth guess and `InternalFeaturesCut` fixes
mod - src/Mod/Path/PathScripts/PathSurface.py Diff File
mod - src/Mod/Path/PathScripts/PathSurfaceGui.py Diff File
mod - src/Mod/Path/PathScripts/PathSurfaceSupport.py Diff File
mod - src/Mod/Path/PathScripts/PathWaterline.py Diff File
mod - src/Mod/Path/PathScripts/PathWaterlineGui.py Diff File

master 7aa20e8b

2020-06-19 16:09:04

sliptonic


Committer: GitHub Details Diff
Merge pull request 0003545 from Russ4262/Multi-profile

[Path] Profile - New `ExpandProfile` feature for compound profile operations
mod - src/Mod/Path/PathScripts/PathAreaOp.py Diff File
mod - src/Mod/Path/PathScripts/PathProfile.py Diff File
mod - src/Mod/Path/PathScripts/PathProfileGui.py Diff File

master 29621105

2020-06-19 16:08:18

sliptonic


Committer: GitHub Details Diff
Merge pull request 0003574 from Russ4262/ToolBit_OCL_update

[Path] 3D Surface and Waterline: OCL-ToolBit compatibility fix
mod - src/Mod/Path/PathScripts/PathSurface.py Diff File
mod - src/Mod/Path/PathScripts/PathSurfaceSupport.py Diff File
mod - src/Mod/Path/PathScripts/PathToolBit.py Diff File
mod - src/Mod/Path/PathScripts/PathToolEdit.py Diff File
mod - src/Mod/Path/PathScripts/PathWaterline.py Diff File

master 70b2d495

2020-06-19 13:07:57

wmayer

Details Diff
Gui: [skip ci] fix Gui.subgraphFromObject and improve error text if wrapping fails
mod - src/Base/swigpyrun.cpp Diff File
mod - src/Base/swigpyrun.inl Diff File
mod - src/Gui/Application.cpp Diff File

master 0cb4d4eb

2020-06-19 11:49:34

yorik

Details Diff
Better description and more screenshots in freedesktop app description
mod - src/XDGData/org.freecadweb.FreeCAD.appdata.xml.in Diff File

master 27ab0b8f

2020-06-19 01:13:41

russ4262

Details Diff
Path: Format and add DocStrings and comments
mod - src/Mod/Path/PathScripts/PathOpGui.py Diff File

master f323e635

2020-06-19 00:55:38

russ4262

Details Diff
Path: Add new `Slot` operation

New slotting operation:
- Accepts selection of up to two features.
- Selectable features include: faces, edges, and vertices.
- User may select a single face or edge, or a pair of features.
- The path may be extended at the start and end.
- The path may be reversed.
- The path may be altered to the perpendicular in some cases.
- A unique Slot icon is included.
- Includes simple collision detection with warning message.
mod - src/Mod/Path/CMakeLists.txt Diff File
mod - src/Mod/Path/Gui/Resources/Path.qrc Diff File
add - src/Mod/Path/Gui/Resources/icons/Path-Slot.svg Diff File
add - src/Mod/Path/Gui/Resources/panels/PageOpSlotEdit.ui Diff File
mod - src/Mod/Path/InitGui.py Diff File
mod - src/Mod/Path/PathScripts/PathGuiInit.py Diff File
mod - src/Mod/Path/PathScripts/PathSelection.py Diff File
add - src/Mod/Path/PathScripts/PathSlot.py Diff File
add - src/Mod/Path/PathScripts/PathSlotGui.py Diff File
 First  Prev  1 2 3 ... 70 ... 121 122 123 124 125 126 127 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 649 650 651  Next  Last