Commit Graph

21444 Commits

Author SHA1 Message Date
Bernd Hahnebach
fa4e548f69 FEM: move task panel in separate module, mesh region 2020-06-03 23:49:05 +02:00
Bernd Hahnebach
aa4108088a FEM: move task panel in separate module, mesh group 2020-06-03 23:49:03 +02:00
Bernd Hahnebach
416ec56a22 FEM: move task panel in separate module, mesh boundary layer 2020-06-03 23:49:01 +02:00
Bernd Hahnebach
92b570b555 FEM: move task panel in separate module, material reinforced 2020-06-03 23:48:59 +02:00
Bernd Hahnebach
c755c12115 FEM: move task panel in separate module, material common 2020-06-03 23:48:57 +02:00
Bernd Hahnebach
3d0ae34955 FEM: move task panel in separate module, element rotation 1D 2020-06-03 23:48:55 +02:00
Bernd Hahnebach
8dc2eec23b FEM: move task panel in separate module, element geometry 2D 2020-06-03 23:48:52 +02:00
Bernd Hahnebach
2cfee8bf5b FEM: move task panel in separate module, element geometry 1D 2020-06-03 23:48:50 +02:00
Bernd Hahnebach
74722733e4 FEM: move task panel in separate module, element fluid 1D 2020-06-03 23:48:48 +02:00
Bernd Hahnebach
3e53bb1f6b FEM: move task panel in separate module, constraint tie 2020-06-03 23:48:46 +02:00
Bernd Hahnebach
ac8e5e397b FEM: move task panel in separate module, constraint flow velocity 2020-06-03 23:48:44 +02:00
Bernd Hahnebach
4916fa8ac1 FEM: move task panel in separate module, constraint electrostatic potential 2020-06-03 23:48:42 +02:00
Bernd Hahnebach
93ebf400fd FEM: move task panel in separate module, gmsh mesh 2020-06-03 23:48:40 +02:00
Bernd Hahnebach
a78cc759ec FEM: move task panel in separate module, solver ccxtools 2020-06-03 23:48:38 +02:00
Bernd Hahnebach
c80355f14c FEM: move task panel in separate module, result mechanical 2020-06-03 23:48:34 +02:00
Bernd Hahnebach
5bd3f191b9 FEM: prepare separation of task panels 2020-06-03 23:48:34 +02:00
Bernd Hahnebach
0fdcebe2d6 FEM: ccx writer, newline because of pep8 2020-06-03 23:48:32 +02:00
sliptonic
9a8ed3b036 Merge pull request #3501 from gwicke/mesh_deflections
Path: Respect meshing tolerance settings for 3d surfaces
2020-06-03 15:46:08 -05:00
Zheng, Lei
3beb1bff21 App: improve FunctionExpression forward compatibility
Remove runtime check when constructing FunctionExpression, in order to
support future built-in function. Exception will be thrown when
evaluating the expression to inform user about the error.
2020-06-03 22:18:39 +02:00
ebrahimraeyat
63bdb75a32 FEM: ccx writer, changes in element sections 2020-06-03 22:00:24 +02:00
Abdullah Tahiri
21cbceba5a Sketcher: Fix solver failure when setting datum results in wrong solver information
===================================================================================

fixes:
https://forum.freecadweb.org/viewtopic.php?p=404945#p405014
2020-06-03 19:07:50 +02:00
0penBrain
eede55f75b [Sketcher] Solver message updated when toggling driving in datum dialog 2020-06-03 18:30:37 +02:00
Bernd Hahnebach
294b753f51 FEM: add missing cmake entry 2020-06-03 17:59:13 +02:00
Bernd Hahnebach
8b1e2201be FEM: code conventions small updates 2020-06-03 17:58:54 +02:00
wmayer
bbb0823293 Gui: [skip ci] automatically save & load settings of PrefFontBox widgets 2020-06-03 17:53:10 +02:00
vocx-fc
54e9ad9d41 Draft: move functions to draftgeoutils.cuboids 2020-06-03 15:22:09 +02:00
vocx-fc
7791ebe897 Draft: move more functions to draftgeoutils.faces 2020-06-03 15:22:09 +02:00
vocx-fc
f740fde964 Draft: move more functions to draftgeoutils.intersections 2020-06-03 15:22:09 +02:00
vocx-fc
7b3052fd76 Draft: move more functions to draftgeoutils.geometry 2020-06-03 15:22:09 +02:00
vocx-fc
85321f28da Draft: move more functions to draftgeoutils.wires 2020-06-03 15:22:09 +02:00
vocx-fc
66bc105979 Draft: move more functions to draftgeoutils.edges 2020-06-03 15:22:09 +02:00
vocx-fc
b77d477476 Draft: move more functions to draftgeoutils.general 2020-06-03 15:22:09 +02:00
vocx-fc
0a445d9e5b PartDesign: replace unicode characters with simple hyphens 2020-06-03 14:51:01 +02:00
hlg
0759436661 Arch/Draft: minor fixes 2020-06-03 14:50:17 +02:00
vocx-fc
f56c4fa67f Draft: separate the placement functions from the Array class
This way they can be tested individually in the Python console
without needing the `Array` class at all. In the future these
methods could be moved to `DraftGeomUtils` or to `draftfunctions`.
2020-06-03 14:47:44 +02:00
vocx-fc
7df2bb33c2 Draft: hide properties of other array types in Array class
Leave only the corresponding properties by examining
the value of `ArrayType`.
2020-06-03 14:47:44 +02:00
vocx-fc
d6fba74d2f Draft: set the properties of the Array through functions
Since the `Array` class handles three different types, they
have different sets of properties. We add them to specific functions
so that they are clearly identified.
2020-06-03 14:47:44 +02:00
vocx-fc
bde91ccf15 Draft: clean up code, PEP8, and docstrings for Array class
Added author of the `CircularArray` array type, "M. G. Berberich"
(berberic2) or "rynn" in the forum.
2020-06-03 14:47:44 +02:00
vocx-fc
5c273e7593 Draft: clean up code, PEP8, and docstrings for DraftLink
This class was created by realthunder during the `LinkMerge`,
in de66e563e0, to demonstrate how to use the `App::Link`
objects to create Link aware arrays.

It is used by `draftobject.array` (ortho, polar, circular)
and `draftobject.patharray` to create respective Link arrays.

This class is a bit mysterious. We need more documentation
on how the properties are being set, and how the code interacts
with the arrays that use it.
2020-06-03 14:47:44 +02:00
vocx-fc
66959b2688 Draft: clean up CircularArray code
Avoid `Draft.py` in the `make_circular_array` function because
it creates a circular dependency.

Use function to find the object in `make_circular_array`.

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 interactively from the Python console.

Clean up the GuiCommand and task panel code, and avoid printing
messages to the terminal, as this is already done
by the make function.
2020-06-03 14:46:15 +02:00
vocx-fc
33d3fb1fa9 Draft: clean up PolarArray code
Avoid `Draft.py` in the `make_polar_array` function because
it creates a circular dependency.

Use function to find the object in `make_polar_rarray`.

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 interactively from the Python console.

Clean up the GuiCommand and task panel code, and avoid printing
messages to the terminal, as this is already done
by the make function.
2020-06-03 14:46:15 +02:00
vocx-fc
5dcb4ea104 Draft: clean up OrthoArray code
Avoid `Draft.py` in the `make_ortho_array` function because
it creates a circular dependency.

Use internal functions to abstract the orthogonal arrays.
The `_make_ortho_array` is a simple wrapper over the general
`make_array` function.

The result is four variants:
- `make_ortho_array`
- `make_ortho_array2d`, without the Z component
- `make_rect_array`, strictly rectangular components
- `make_rect_array2d`, strictly rectangular without the Z component

Also use functions to perform checking of the inputs,
whether these are vectors, numbers (integer and floats)
or integers.

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.

Clean up the GuiCommand and task panel code, and avoid printing
messages to the terminal, as this is already done
by the make function.
2020-06-03 14:46:15 +02:00
vocx-fc
8573bc01e9 Draft: clean up make_array function 2020-06-03 14:46:15 +02:00
sgrogan
2b3b61827a Update digital ocean citation 2020-06-03 14:44:44 +02:00
sgrogan
a0692b14cc [DON'T MERGE]read.me digitalocean
todo better 'This project receives support from:'
2020-06-03 14:44:44 +02:00
donovaly
20deabfa33 [Gui] DlgSettings3DView.ui: fix a tooltip 2020-06-03 14:44:27 +02:00
vocx-fc
9919849de5 Draft: migrate PointList property to PointObject in PointArray
Use the `onDocumentRestored` method to check for the old
property.

Also modify the position of the base object in the draft test
script.
2020-06-03 14:44:00 +02:00
vocx-fc
31c8f49467 Draft: add new options to the make_point_array function
It supports a new parameter `extra` that is used
to provide `ExtraPlacement` for the copies of the array.

Adjust the GuiCommand properly.
2020-06-03 14:44:00 +02:00
vocx-fc
1a277967eb Draft: add additional displacement property for PointArray
The displacement is added to the position already defined by
the point, in order to impart an additional shift in the copy.

The rotation is also added to the original shape's rotation
by multiplying the quaternions.

Implement `onDocumentRestore` to add the new property
to older objects.
2020-06-03 14:44:00 +02:00
vocx-fc
4b65440112 Draft: clean up code, PEP8, and docstrings for PointArray
Test the inputs to the `make_point_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 a message deprecating the older call `makePointArray`.

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 `PointArray` class as well.
2020-06-03 14:44:00 +02:00