Commit Graph

20168 Commits

Author SHA1 Message Date
Bernd Hahnebach
e92c2bee7a FEM: elmer solver writer, fix indent and some code formating 2020-05-21 18:55:30 +02:00
Bernd Hahnebach
3d89d6a407 FEM: constants, fix the fix ;-) for unit of permitivity of vacuum 2020-05-21 16:58:15 +02:00
Bernd Hahnebach
71416d0bcf FEM: constants, fix unit of permitivity of vacuum 2020-05-21 16:53:14 +02:00
Bernd Hahnebach
9718a50c3a FEM: objects create module, change solver calculix name 2020-05-21 16:50:30 +02:00
Bernd Hahnebach
7356163e24 FEM: objects make module, small code formating 2020-05-21 15:04:32 +02:00
Bernd Hahnebach
be168c1c84 FEM: migrate modules, fix class names 2020-05-21 15:04:30 +02:00
Bernd Hahnebach
23054f7dfd FEM: solver taskpanel, rename and move to solver framework 2020-05-21 15:04:28 +02:00
Bernd Hahnebach
beaa889797 FEM: selection widgets, rename and move module 2020-05-21 15:04:26 +02:00
Bernd Hahnebach
e1e0de7178 FEM: solver z88, change object type 2020-05-21 15:04:24 +02:00
Bernd Hahnebach
8a3234e10b FEM: solver elmer, change object type 2020-05-21 15:04:22 +02:00
Bernd Hahnebach
df5ee109d4 FEM: solver calculix, change object type 2020-05-21 15:04:20 +02:00
Bernd Hahnebach
4a7d5c42a7 FEM: solver ccxtools, change object type 2020-05-21 15:04:18 +02:00
Bernd Hahnebach
c70f0f5e04 FEM: solver ccx tools, change standard name 2020-05-21 15:04:16 +02:00
Bernd Hahnebach
623a240ab1 FEM: result mechanical, change standard name 2020-05-21 15:04:12 +02:00
Bernd Hahnebach
4583a0c547 FEM: material nonlinear, change standard name 2020-05-21 15:04:12 +02:00
Bernd Hahnebach
117665b64d FEM: make objects module, add some comment 2020-05-21 15:04:10 +02:00
wandererfan
992d584b20 [TD]handle new identifier for Draft objects 2020-05-20 21:44:26 -04:00
wmayer
e0de107817 Web: [skip ci] implement blocking tcp server 2020-05-20 16:52:36 +02:00
wmayer
8e7d521db7 PySide: [skip ci] add minimal example of embedding 2020-05-20 13:23:18 +02:00
wmayer
288aac462d [skip ci] Port glib embedding example to Py3 and Gtk3 2020-05-20 12:47:17 +02:00
vocx-fc
74e109c614 Part: update the part_test_objects script
This script is based on a similar script
created for the Draft Workbench.
2020-05-20 09:34:39 +02:00
Yorik van Havre
5aa6c4e1da Arch: Misc improvements to curtain wall
- Can be based on an edge like normal wall
- Now has a 'host' property to embed into another object (tree only)
- Mullions have different height and width properties
- Mullions or panels can be disabled
2020-05-19 13:58:46 +02:00
wmayer
6c020f554d + fix Enumeration::contains: the current index is irrelevant when searching for an entry in the enumeration
+ only print a warning if the enumeration is not empty but the restored index is < 0
2020-05-19 08:45:02 +02:00
Bernd Hahnebach
e650cefbe3 FEM: migrate, improve migration class 2020-05-18 21:17:49 +02:00
Bernd Hahnebach
702abe669f FEM: cmake, sort modules 2020-05-18 21:17:49 +02:00
Bernd Hahnebach
75b1f80096 FEM: objects create, sort methods 2020-05-18 21:17:49 +02:00
sliptonic
cb6c6705ac Merge pull request #3477 from gwicke/pathops_ui_fix
[path] Small fix in PathOpGui
2020-05-18 09:44:21 -05:00
sliptonic
1ee600e5a9 Merge pull request #3476 from gwicke/linuxcnc_post_opt
Path: LinuxCNC postprocessor scalability
2020-05-18 09:43:13 -05:00
Yorik van Havre
870ba0c545 Arch: Fixed Pipe positioning 2020-05-18 15:24:08 +02:00
Yorik van Havre
b0775ee7ce Arch: Fixed regression in compound walls 2020-05-18 15:04:26 +02:00
Yorik van Havre
aa3afc1824 Arch: Removed wrong warning in walls 2020-05-18 13:28:55 +02:00
wmayer
196251a11c Part: [skip ci] get n-th derivative of a surface via Python 2020-05-18 13:17:26 +02:00
vocx-fc
623cd5df35 Draft: activate new array make functions
They are made available in the `Draft` namespace,
and are also used in the unit tests, the test script,
and the GuiCommands.
2020-05-18 12:42:10 +02:00
vocx-fc
3172e82dc1 Draft: move circular, ortho, and polar make functions
Previously they were in `draftobjects`, but since they
don't define new objects, just create objects,
they are moved to `draftmake`.

Also ajust the `CMakeLists.txt` and the corresponding Gui Commands
which use these make functions.

These functions internally use the `Draft.makeArray` function.
We will put comments as reminders so that when this function
is moved to its own module, we can update the derived functions.
2020-05-18 12:42:10 +02:00
vocx-fc
79927f3504 Draft: restructure the draft test script
Add new function `_create_objects`.

Change annotations to use `App::Annotation` instead of `Draft Text`.
2020-05-18 12:41:24 +02:00
Syres916
f40abe153a [AddonManager] Fix bug when Multiple Wbs updated
See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=46322
2020-05-18 12:35:34 +02:00
carlopav
e4c6949520 Draft: fix Statusbar snap and scale if Draft is the default startup wb
ref: https://forum.freecadweb.org/viewtopic.php?f=23&t=43990&start=50#p396139
2020-05-18 12:19:27 +02:00
carlopav
262601a194 Arch: fix regression in SectionPlane 2020-05-18 12:18:36 +02:00
vocx-fc
0f5b61e280 Draft: check GUI in upgrade function before using viewprovider
Also make various improvements in style, PEP8, return value
is now a tuple of lists instead of a list of lists.

Delay the import of other modules like `Part` and `DraftGeomUtils`
using the `LazyLoader` class.

Update the Gui Command as well.
2020-05-18 12:17:59 +02:00
vocx-fc
bb4a7d783c Draft: check GUI in downgrade before using viewprovider
Also make various improvements in style, PEP8, return value
is now a tuple of lists instead of a list of lists.

Update the Gui Command as well.
2020-05-18 12:17:59 +02:00
vocx-fc
cb984ec492 Draft: check GUI before touching the ViewObject in cut 2020-05-18 12:17:59 +02:00
vocx-fc
1e29867ceb Draft: fix button and icon spacing in AnnotationStyleEditor
The maximum button size was too small to fit the icon
together with the text, if the text size was large.

Also added more tooltips to all widgets of the editor.
2020-05-18 12:16:33 +02:00
vocx-fc
015f51df29 Draft: cleanup code of AnnotationStyleEditor
Introduced in d087ccfa54, 7aa42a4406, 1e8d5d0355.

Make it PEP8 compliant, and shorten line lengths.

It is based on `GuiCommandSimplest` to inherit basic behavior
such as `IsActive` returning `True` when a document exists.
2020-05-18 12:16:33 +02:00
Russell Johnson
4a899d2934 Extend fix to updateVisibility() call
Call originates in PathOpGui module.
2020-05-17 21:20:04 -05:00
Gabriel Wicke
a8398389bb [path] Small fix in PathOpGui
Fix a bad call to page.updateVisibility
2020-05-17 17:11:14 -07:00
wmayer
bd051135df Part: [skip ci] get n-th derivative of a curve via Python 2020-05-17 23:25:07 +02:00
Gabriel Wicke
979a32800d Path: LinuxCNC postprocessor scalability
- Do not show editor when gcode size exceeds 100kb. The poor editor
  widget cannot handle that much output, and will hang FreeCAD.
- Avoid quadratic behavior in output accumulator. While Python greater
  than 2.7 avoids quadratic behavior in string accumulators, this optimization
  is defeated when the string is forced to be materialized to contiguous
  memory, as was done by the `.trim()`. As a result, we got quadratic complexity,
  ensuring that large jobs would never successfully be post-processed.
2020-05-17 13:31:44 -07:00
wmayer
065619d243 Part: [skip ci] add methods to determine continuity 2020-05-17 21:57:25 +02:00
wandererfan
393cf75276 [TD]minor code clean ups 2020-05-16 07:42:45 -04:00
wandererfan
530e2a1837 [TD]Getters/Setters for CosmeticVertex attribs 2020-05-16 07:42:45 -04:00