Changesets: FreeCAD

master 53dbc5fc

2020-05-24 09:10:06

wmayer

Details Diff
PartDesign: [skip ci] set minimum width of labels to align the spin boxes properly in the chamfer panel
mod - src/Mod/PartDesign/Gui/TaskChamferParameters.cpp Diff File

master 3b972999

2020-05-24 07:19:27

berndhahnebach

Details Diff
FEM: writer base, improve warning
mod - src/Mod/Fem/femsolver/writerbase.py Diff File

master 2dde97c0

2020-05-24 07:19:27

berndhahnebach

Details Diff
FEM: add some comments to material and calculix solver object
mod - src/Mod/Fem/femobjects/material_common.py Diff File
mod - src/Mod/Fem/femsolver/calculix/solver.py Diff File

master 7638fa72

2020-05-24 07:19:25

berndhahnebach

Details Diff
FEM: typo
mod - src/Mod/Fem/femtest/app/support_utils.py Diff File

master 5bdb40d5

2020-05-24 06:58:45

wmayer

Details Diff
PartDesign: [skip ci] set an alias PartDesign_Body_Create_New.svg for PartDesign_Body.svg
mod - src/Mod/PartDesign/Gui/Resources/PartDesign.qrc Diff File

master 760685e2

2020-05-24 06:48:55

dubstar_04

Details Diff
only reset the Op visibility when the active state is toggled
mod - src/Mod/Path/PathCommands.py Diff File
mod - src/Mod/Path/PathScripts/PathOp.py Diff File

master 9dd1c2ef

2020-05-24 04:11:10

vocx-fc


Committer: yorik Details Diff
Draft: cleanup logic of PathArray proxy object code

Return early from the `execute` method if no base or path exist.

Add method `get_wires` which internally uses `get_wire_from_subelements`
(renamed method), to get the edges from the path object,
and its subelements, if any. If no wires are found
return early from `execute`.

The final rotation applied to the copies will be the base rotation
of the base object's shape. The only exception is when the
`AlignMode` is `'Tangent'`; in this case, it performs
a pre-rotation with the `TangentVector`.
mod - src/Mod/Draft/draftobjects/patharray.py Diff File

master 4a87209c

2020-05-24 03:18:37

Gabriel Wicke

Details Diff
Path: Safer step over optimization

- Only apply aggressive optimizations to short horizontal moves within
cutter diameter. The safe model STL does not accurately reflect stock
state, so using it for determining long distance move safe heights is
not safe. There would be a high chance of hitting the stock at rapid
speeds.

Thankfully, the vast majority of step-overs tend to be short, so are
still optimized.
- For short moves, only allow completely lift-free transitions when
there is (almost) no Z change, and the min safe travel height does not
rise above the same level.
Otherwise, lift to the max of end points and min safe travel height
first, then move horizontally. A future optimization would be to
directly use the drop scan for transition path generation.
mod - src/Mod/Path/PathScripts/PathSurface.py Diff File

master 1acaa5ea

2020-05-23 21:07:29

Gabriel Wicke

Details Diff
Path: Respect meshing tolerance settings for 3d surfaces

Meshing tolerance settings for 3d surface operations were ignored since
switching to directly using facets from the view tesselation. On complex
3d shapes, this could cause serious meshing artifacts in the generated
paths, serious enough to show up even in path previews.

Additionally, there were occasionally segfaults when a model was not
viewed and thus implicitly tessellated before starting an OCL operation.

This patch switches from using view tessellations to explicitly calling
`tessellate()`. While this is usually more expensive than using the
existing view tessellation, recent changes to parallelize tessellation
have reduced this additional cost significantly.

Note that this diff only restores the use of LinearDeflection, since
that is the main thing we care about in OCL use cases. Angular
deflection is still ignored, but I think this is a good thing for this
case since a highly refined mesh in tiny but heavily curved areas below
the linear deflection threshold just adds unnecessary cost. If there is
agreement on this point, then we can remove the preference for
AngularDeflection from the UI in a follow-up.
mod - src/Mod/Path/PathScripts/PathSurfaceSupport.py Diff File

master 8d821fe5

2020-05-23 19:30:02

wmayer

Details Diff
Sketcher: [skip ci] do not rename object identifier of an expression on undo/redo
mod - src/Mod/Sketcher/App/PropertyConstraintList.cpp Diff File
mod - src/Mod/Sketcher/App/PropertyConstraintList.h Diff File

master 835f4b42

2020-05-23 18:22:35

vocx-fc


Committer: yorik Details Diff
Draft: clean up code, PEP8, and docstrings in PathArray

Test the inputs to the `make_path_array` function
and return `None` if there is a problem.

Now the make function accepts as input a `"String"` which must be
the `Label` of an object in the document, so it is easier to create
arrays quickly from the Python console.

Add the new parameters to the make function, `align_mode`,
`tan_vector`, `force_vertical`, and `vertical_vector`.
These properties were added to the proxy object in ff323ebdb5.

Add message deprecating the older call `makePathArray`.

Adjust the GuiCommand accordingly. Now it uses the commit
mechanism of the parent `Modifier` class so that the executed
functions are recorded in the Python console.

Clean up the `PathArray` class as well.
mod - src/Mod/Draft/draftguitools/gui_patharray.py Diff File
mod - src/Mod/Draft/draftmake/make_patharray.py Diff File
mod - src/Mod/Draft/draftobjects/patharray.py Diff File
mod - src/Mod/Draft/drafttests/test_modification.py Diff File

master 61dd5740

2020-05-23 17:33:39

carlopav


Committer: yorik Details Diff
Draft: Split Draft Edit into 4 modules

One for interaction handling and 3 for object editing functions, divided between Draft, Part, Arch
mod - src/Mod/Draft/CMakeLists.txt Diff File
mod - src/Mod/Draft/draftguitools/gui_edit.py Diff File
add - src/Mod/Draft/draftguitools/gui_edit_arch_objects.py Diff File
add - src/Mod/Draft/draftguitools/gui_edit_draft_objects.py Diff File
add - src/Mod/Draft/draftguitools/gui_edit_part_objects.py Diff File

master 8d23cd67

2020-05-23 16:19:22

carlopav


Committer: yorik Details Diff
Draft: Cleanup of Draft Edit
mod - src/Mod/Draft/InitGui.py Diff File
mod - src/Mod/Draft/draftguitools/gui_edit.py Diff File

master cd97f871

2020-05-23 15:30:55

dubstar_04

Details Diff
Enable the selection of circles, arcs and faces to set the job origin
mod - src/Mod/Path/PathScripts/PathJobGui.py Diff File

master 3ec7cf95

2020-05-23 12:21:59

berndhahnebach

Details Diff
FEM: unit tests, add print to test command creation method
mod - src/Mod/Fem/femtest/app/support_utils.py Diff File

master 6bd1cbe7

2020-05-23 10:55:06

berndhahnebach

Details Diff
FEM: writer base, change print from error to warning
mod - src/Mod/Fem/femsolver/writerbase.py Diff File

master aa368eef

2020-05-23 10:35:06

berndhahnebach

Details Diff
FEM: unit test information, update
mod - src/Mod/Fem/femtest/test_information.md Diff File

master 3231bac1

2020-05-23 08:43:06

berndhahnebach

Details Diff
FEM: cmake, fix file move
mod - src/Mod/Fem/CMakeLists.txt Diff File

master 68aefb88

2020-05-23 08:35:37

berndhahnebach

Details Diff
FEM: move test informations and test commands into femtest
mod - src/Mod/Fem/CMakeLists.txt Diff File

master 477f4d2b

2020-05-23 07:34:56

berndhahnebach

Details Diff
FEM: unit tests, code improvements
mod - src/Mod/Fem/femtest/app/test_ccxtools.py Diff File
mod - src/Mod/Fem/femtest/app/test_common.py Diff File
mod - src/Mod/Fem/femtest/app/test_femimport.py Diff File
mod - src/Mod/Fem/femtest/app/test_material.py Diff File
mod - src/Mod/Fem/femtest/app/test_mesh.py Diff File
mod - src/Mod/Fem/femtest/app/test_object.py Diff File
mod - src/Mod/Fem/femtest/app/test_open.py Diff File
mod - src/Mod/Fem/femtest/app/test_result.py Diff File
mod - src/Mod/Fem/femtest/app/test_solverframework.py Diff File
mod - src/Mod/Fem/femtest/gui/test_open.py Diff File

master 5dcd1987

2020-05-23 06:57:57

berndhahnebach

Details Diff
FEM: unit test, fix not closed documents
mod - src/Mod/Fem/femtest/app/test_open.py Diff File
mod - src/Mod/Fem/femtest/gui/test_open.py Diff File

master 815f60ff

2020-05-23 06:57:20

berndhahnebach

Details Diff
FEM: test informations, update
mod - src/Mod/Fem/test_information.md Diff File

master a81436d5

2020-05-23 06:27:11

berndhahnebach

Details Diff
FEM: test commands, update and improvements
mod - src/Mod/Fem/femtest/app/support_utils.py Diff File
mod - src/Mod/Fem/test_commands.sh Diff File

master 85321f28

2020-05-23 06:25:36

vocx-fc


Committer: yorik Details Diff
Draft: move more functions to draftgeoutils.wires
mod - src/Mod/Draft/DraftGeomUtils.py Diff File
mod - src/Mod/Draft/draftgeoutils/wires.py Diff File

master 8b534e12

2020-05-23 06:18:44

berndhahnebach

Details Diff
FEM: test informatins, improve formating
mod - src/Mod/Fem/CMakeLists.txt Diff File
mod - src/Mod/Fem/test_information.md Diff File
 First  Prev  1 2 3 ... 70 ... 139 140 141 142 143 144 145 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 649 650 651  Next  Last