Changesets: FreeCAD

master 25fbb95a

2020-09-27 10:06:26

wmayer

Details Diff
Sketcher: [skip ci] fix computing of hotspot of XPM icons on Windows/macOS
Add a cross to copy and array icons.
mod - src/Mod/Sketcher/Gui/CommandSketcherTools.cpp Diff File
mod - src/Mod/Sketcher/Gui/DrawSketchHandler.cpp Diff File

master 3f2ea25a

2020-09-27 06:39:27

vocx-fc


Committer: yorik Details Diff
Sketcher: new icons for two existing commands

New SVG icons, `Sketcher_DeleteConstraints`, `Sketcher_DeleteGeometry`
for two commands which previously used the very simple icon
`Element_SelectionTypeInvalid` (a single red X).

These icons clarify that the commands are used to delete
the constraints and the geometry, respectively.
mod - src/Mod/Sketcher/Gui/CommandSketcherTools.cpp Diff File
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc Diff File
add - src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_DeleteConstraints.svg Diff File
add - src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_DeleteGeometry.svg Diff File

master 8a1f1457

2020-09-27 04:12:12

vocx-fc


Committer: yorik Details Diff
Sketcher: upgrade icons for existing commands

`SelectConstraints`, `SelectElementsAssociatedWithConstraints`,
these include the icon for parallel constraint, which was upgraded
in ed8ba392.

`SelectRedundantConstraints`, `SelectConflinctingConstraints`,
previosuly were the same with only a small color variation (orange
outline and red outline). Now they have another symbol overlayed
(lightning and exclamation mark) to distinguish them more clearly.
The parallel icon was also upgraded in these icons.

The `Move` icon is also made more clear. The first element
now has a clear outline, instead of being a faded green color
which is hard to see. An arrow is added to imply movement
from the first position to the second position.
mod - src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_Move.svg Diff File
mod - src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_SelectConflictingConstraints.svg Diff File
mod - src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_SelectConstraints.svg Diff File
mod - src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_SelectElementsAssociatedWithConstraints.svg Diff File
mod - src/Mod/Sketcher/Gui/Resources/icons/tools/Sketcher_SelectRedundantConstraints.svg Diff File

master ec46265b

2020-09-27 03:28:18

uwestoehr


Committer: wmayer Details Diff
[PD] initialize hole dialog properly

as described in https://forum.freecadweb.org/viewtopic.php?f=3&t=50611, the task dialog should just read out the parameters on initialization and not invoke automatically change actions.

This PR also fixes a bug that opening a document with a cheesehead hole leads to an error about an invalid index. The reason is that we access the hole cut type before we set its enums. Thus initialize the cut type with all possible enums since, if necessary, the reduced enum set will be set later on parsing the file.
mod - src/Mod/PartDesign/Gui/TaskHoleParameters.cpp Diff File

master f9aed763

2020-09-27 02:16:43

realthunder


Committer: wwmayer Details Diff
App: fix recursive App::getLinksTo()
mod - src/App/Application.h Diff File
mod - src/App/Document.cpp Diff File
mod - src/App/Document.h Diff File

master b81ea41a

2020-09-26 23:56:53

vocx-fc


Committer: wmayer Details Diff
Sketcher: add five tools to the Sketcher toolbar and reorder code

Add template specification for `SketcherAddWorkspaceSketchExtra`
for type `Gui::ToolBarItem` so that the following commands
are added to the toolbar as well as the Sketcher menu:
`ReorientSketch`, `ValidateSketch`, `MergeSketch`, `MirrorSketch`,
`StopOperation`.

Reorganize the order of the function declarations
so that they are in this order: Sketch actions (general),
geometries, constraints, tools, B-splines, and virtual space.

Add separators to the list of tools commands in the menu
so that it looks clearer.

Correct the header guard `#ifndef SKETCHER_WORKBENCH_H`.
Previously, it was using a guard `IMAGE_WORKBENCH_H`
seemingly copied from the Image Workbench.
mod - src/Mod/Sketcher/Gui/Workbench.cpp Diff File
mod - src/Mod/Sketcher/Gui/Workbench.h Diff File

master 1ef31842

2020-09-26 23:06:00

Clayton McCray


Committer: wwmayer Details Diff
Conda doesn't export functions to subshells

build_unix_dev_conda.sh fails to activate the freecad_dev
environment. This is issue #7980 on the conda github. This has
one of the suggested work arounds added.
mod - build_unix_dev_conda.sh Diff File

master 53e2d35e

2020-09-26 22:58:39

vocx-fc


Committer: wwmayer Details Diff
Part: change command name Part_MakeTube to Part_Tube

This follows the style of the other Part commands which don't
have the word `Make` just the name of the noun, `Box`, `Cylinder`,
`Sphere`, etc.
mod - src/Mod/Part/BasicShapes/Shapes.py Diff File
mod - src/Mod/Part/Gui/Workbench.cpp Diff File

master d8e476ef

2020-09-26 21:28:54

berndhahnebach

Details Diff
FEM: object unit tests, improve some comments
mod - src/Mod/Fem/femtest/app/test_object.py Diff File

master 1ad4417b

2020-09-26 21:15:49

berndhahnebach

Details Diff
FEM: python code formating
mod - src/Mod/Fem/femsolver/elmer/writer.py Diff File

master 331fd91e

2020-09-26 21:09:15

berndhahnebach

Details Diff
FEM: z88 solver, use same object type schema as for all other solver objects
mod - src/Mod/Fem/femsolver/z88/solver.py Diff File
mod - src/Mod/Fem/femtest/app/test_object.py Diff File

master 6d032657

2020-09-26 20:39:18

wmayer

Details Diff
Gui: [skip ci] fix initialization of Python-based view providers in FreeCADGui.subgraphFromObject
mod - src/Gui/Application.cpp Diff File

master 7b4cd6c0

2020-09-26 15:49:59

vocx-fc


Committer: yorik Details Diff
Sketcher: add further commands to the toolbars

Most tools should be exposed in the toolbars and not kept
"hidden" in the menus.
* `ConstrainInternalAlignment` is added in the "constraints" toolbar.
* `SelectElementsWithDoF` is added in the "tools" toolbar.

Also amend the name of the `Sketcher_BSplineConvertToNURB` command.
mod - src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp Diff File
mod - src/Mod/Sketcher/Gui/Workbench.cpp Diff File

master 3a8a6aae

2020-09-26 14:32:42

wmayer

Details Diff
Surface: add command to create surface from sections
mod - src/Mod/Part/App/BSplineSurfacePyImp.cpp Diff File
mod - src/Mod/Surface/App/AppSurface.cpp Diff File
mod - src/Mod/Surface/App/CMakeLists.txt Diff File
add - src/Mod/Surface/App/FeatureSections.cpp Diff File
add - src/Mod/Surface/App/FeatureSections.h Diff File
mod - src/Mod/Surface/App/PreCompiled.h Diff File
mod - src/Mod/Surface/Gui/AppSurfaceGui.cpp Diff File
mod - src/Mod/Surface/Gui/CMakeLists.txt Diff File
mod - src/Mod/Surface/Gui/Command.cpp Diff File
add - src/Mod/Surface/Gui/TaskSections.cpp Diff File
add - src/Mod/Surface/Gui/TaskSections.h Diff File
add - src/Mod/Surface/Gui/TaskSections.ui Diff File
mod - src/Mod/Surface/Gui/Workbench.cpp Diff File

master 7ad54100

2020-09-25 21:38:48

vocx-fc


Committer: yorik Details Diff
Sketcher: small changes to two .ui dialogs
mod - src/Mod/Sketcher/Gui/SketcherSettingsDisplay.ui Diff File
mod - src/Mod/Sketcher/Gui/TaskSketcherGeneral.ui Diff File

master 3a742558

2020-09-25 18:37:08

vocx-fc


Committer: yorik Details Diff
Sketcher: move icons to general subdirectory
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc Diff File
mod - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Sketch.svg Diff File
mod - src/Mod/Sketcher/Gui/Resources/icons/pointers/Sketcher_Pointer_Create_3PointArc.svg Diff File
mod - src/Mod/Sketcher/InitGui.py Diff File

master 7626accb

2020-09-25 18:18:06

vocx-fc


Committer: yorik Details Diff
Sketcher: move other icons into their subdirectories
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp Diff File
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc Diff File

master 7616153b

2020-09-25 14:00:01

wmayer

Details Diff
Part: add method to add a wire (e.g. to create a hole) to a face
mod - src/Mod/Part/App/TopoShapeFacePy.xml Diff File
mod - src/Mod/Part/App/TopoShapeFacePyImp.cpp Diff File

master da6cdb94

2020-09-25 13:59:08

wmayer

Details Diff
Part: add method to return a reversed shape
mod - src/Mod/Part/App/TopoShapePy.xml Diff File
mod - src/Mod/Part/App/TopoShapePyImp.cpp Diff File

master 92fe662d

2020-09-25 13:07:47

wmayer

Details Diff
Part: implement BSplineSurface.buildFromNSections based on GeomFill_NSections
mod - src/Mod/Part/App/BSplineSurfacePy.xml Diff File
mod - src/Mod/Part/App/BSplineSurfacePyImp.cpp Diff File

master b44d20db

2020-09-25 11:42:39

wmayer

Details Diff
Part: [skip ci] fix shape builder to create filled face from vertexes
mod - src/Mod/Part/App/AppPartPy.cpp Diff File
mod - src/Mod/Part/Gui/TaskShapeBuilder.cpp Diff File

master bf262b41

2020-09-25 11:05:45

wmayer

Details Diff
Gui: [skip -ci] fix Document::toggleInSceneGraph() to avoid to add a node twice
mod - src/Gui/Document.cpp Diff File

master 4620b9fd

2020-09-25 07:01:18

vocx-fc


Committer: yorik Details Diff
Sketcher: add two icons reorient and validate
mod - src/Mod/Sketcher/Gui/Command.cpp Diff File
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc Diff File
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ReorientSketch.svg Diff File
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ValidateSketch.svg Diff File

master 7f9c5829

2020-09-25 04:58:48

vocx-fc


Committer: yorik Details Diff
Sketcher: move icons to tools subdirectory

Add the icon path to the workbench's `InitGui.py`.
mod - src/Mod/Sketcher/Gui/CommandSketcherTools.cpp Diff File
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc Diff File
mod - src/Mod/Sketcher/InitGui.py Diff File

master 99dd4460

2020-09-25 00:56:38

uwestoehr


Committer: wmayer Details Diff
[PD] keep hole size when changing type

as mentioned in https://forum.freecadweb.org/viewtopic.php?f=13&t=47584&start=10#p433116
a typical use case is that one changes the hole type from e.g. ISO normal to ISO fine. The size should however be the same.

This PR enables this and also takes care for the thread class and cut type, see the attached screencast.
mod - src/Mod/PartDesign/Gui/TaskHoleParameters.cpp Diff File
 First  Prev  1 2 3 ... 70 ... 88 89 90 91 92 93 94 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 649 650 651  Next  Last