Commit Graph

24630 Commits

Author SHA1 Message Date
Uwe
51185e1c06 [FEM] Elmer: fix error on wrong material settings
- if user set no material for a body, we must raise an error
- also fix annoying output of permittivity in case.sif file
2023-02-03 15:45:25 +01:00
Roy-043
a891d5c766 Draft: fix normal calculation for angular dims 2023-02-03 15:44:27 +01:00
Uwe
0e17989707 [Material] add new card for carbon dioxide 2023-02-03 02:37:27 +01:00
wmayer
7f8b136dae Sketcher: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
4b3fb1c079 TD: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
0363ebdf8f Surface: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
9aede79ef8 Mesh: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
9a5d9880d5 PD: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
wmayer
84aa8155ce Part: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
Roy-043
ec0182b915 Draft: housekeeping: remove obsolete code (uiMode and DraftGui.py) (#8327) 2023-02-02 23:24:27 +01:00
Uwe
f14dea3226 [FEM] solver_taskpanel: fix bug with Edit button
- when an error occurred during the Write process, the Edit button must not be enabled
  In this case the machine state is still at femsolver.run.PREPARE. If no error occurred it went one step up.
2023-02-02 18:58:07 +01:00
wandererfan
951520a5c1 [TD]use correct shape for section of section 2023-02-02 05:55:32 -08:00
wandererfan
bd25c86973 [TD]fix handling of perforated section faces 2023-02-02 05:55:32 -08:00
wandererfan
d9afb06676 [TD]allow section line when base is section 2023-02-02 05:55:32 -08:00
Roy-043
693ec401f7 Draft: subelement mode ignored nesting (#8319) 2023-02-02 11:49:55 +01:00
Uwe
802a220d2d [FEM] equationbase: sort equations alphabetically
- to ease readability a bit
2023-02-02 06:30:22 +01:00
Uwe
37dc6e8a29 [FEM] sort equations alphabetically
- to ease readability a bit
2023-02-02 05:35:15 +01:00
LarryWoestman
89e7e29a08 Path: Refactored add_parameters into individual functions.
Replace the "add_parameters" routine by an array of individual
functions (one for each parameter letter) and a simple piece of
code that calls the appropriate parameter passing functions in
the specified parameter order.  Some of the parameter letters
can share the same parameter passing function in the default
configuration.
This not only simplifies the code but opens up the possibility
of replacing the code processing a given parameter letter
("Q", for example) with new code in the postprocessor file
without having to modify the shared postprocessor functionality
(in the three Util*.py files).
2023-02-01 11:55:18 -08:00
wmayer
25a63f8750 TD: move to new style connect() 2023-02-01 01:33:34 +01:00
Roy-043
25c4792690 Draft: fix issue with undo (#8267) 2023-01-31 21:38:19 +01:00
wmayer
049056a99a Part: put instantiation of BRepAdaptor_Surface into try/catch block as for some broken faces it may fail 2023-01-31 11:04:38 -06:00
Yorik van Havre
c5c3077f8f Merge pull request #8282 from Roy-043/Arch-update-Arch.pruneIncluded-to-include-cloned-PD-Bodies
Arch: update Arch.pruneIncluded to include cloned PD Bodies
2023-01-31 13:16:23 +01:00
Yorik van Havre
fefa7cc40c Merge pull request #8287 from Roy-043/Arch-Fix-ArchPrecast.py-issues
Arch: Fix ArchPrecast.py issues
2023-01-31 13:15:46 +01:00
wandererfan
a810fa68b4 [Sketcher]fix cursor display of angles 2023-01-30 11:04:42 -08:00
sliptonic
f80edaa9ed Merge pull request #8205 from LarryWoestman/staging
Path:  Refactored PostUtilsParse.parse a lot.
2023-01-30 08:37:15 -06:00
Yorik van Havre
4eca103469 Merged crowdin translations 2023-01-30 10:04:15 +01:00
Yorik van Havre
31b89be95f update ts files 2023-01-30 09:55:26 +01:00
ShuffleWire
2ca167f8c3 SpreadSheet: Display alias
Add an option to display in the cell the alias of the cell.
In preference, add a custom field to format this display.
2023-01-29 10:11:50 -07:00
Chris Hennes
e188802ca6 Addon Manager: Update license headers 2023-01-28 13:07:29 -07:00
wmayer
cd2a35061d Part: add integration test for SectionCut command 2023-01-28 19:51:20 +01:00
sliptonic
73e2bad373 Merge pull request #8193 from haraldhartmann/origin/PathAddEstlcamPP
Path: add Estlcam postprocessor fix #8192
2023-01-28 11:52:33 -06:00
wandererfan
c318bc08cb [Part][Draft]fix #8271 temporary files on windows 2023-01-28 07:13:05 -08:00
Roy-043
c0910a7e5b Arch: Fix ArchPrecast.py issues 2023-01-28 11:28:38 +01:00
wmayer
633a6e825c Fem: move from string based connect() to overloaded variant based on meta methods 2023-01-27 21:13:35 +01:00
Roy-043
e10d92a76f Arch: update Arch.pruneIncluded to include cloned PD Bodies 2023-01-27 19:29:47 +01:00
Roy-043
0a8ea55509 Draft: Update test_modification.py (#8273) 2023-01-27 14:21:55 +01:00
wmayer
db6d44b1da Part: fix crash in SectionCutting dialog
It segfauls when executing the script below:
doc = App.ActiveDocument
box = doc.addObject("Part::Box", "SectionCutBoxX")
comp = doc.addObject("Part::Compound", "SectionCutCompound")
comp.Links = box
grp = doc.addObject("App::DocumentObjectGroup", "SectionCutX")
grp.addObject(comp)
doc.recompute()
2023-01-26 09:29:01 -07:00
Yorik van Havre
20695da6f7 Arch: Small fix in IFC exporter to adapt to post-0.20 changes 2023-01-26 15:17:29 +01:00
Uwe
64caea2073 modernize a for loop 2023-01-25 17:48:08 -07:00
Uwe
5f91493d49 [Part] SectionCutting: avoid to recompute all cuts on color change
- it is not necessary and speeds up the workflow for large assemblies
2023-01-25 17:48:08 -07:00
Uwe
1f6c1fcd0f [Part] fixes for the section cutting feature
- a typical use-case is to open a document with an existing cut and only this cut is visible. When now opening the section cutting tool, the user got the fault message that there were no visible objects to be cut.
- the transparency for the cut was not explicitly set. Therefore the default transparency for new objects was used instead of the transparency of the objects to be cut.
- workaround for a graphics issue: when cutting objects intersection each other (only then), the transparency setting might be ignored. The fix is simply to change the default color slightly (By the way, this issue is independent on the color that is set in the Part preferences as color for new objects, seems to be a graphics driver or OCC issue.)

- besides this, avoid code duplication by using a lambda function
2023-01-25 17:48:08 -07:00
Roy-043
b2e7d20795 Draft: fix gui_offset.py issue caused by PR8207 2023-01-24 15:02:38 +01:00
Ajinkya Dahale
862bc58809 [Sketcher] Substitute knot tangent related constraints 2023-01-23 20:43:51 +01:00
luzpaz
23af228b87 Fix various indentation issues (tabs->spaces) 2023-01-23 16:59:28 +01:00
luzpaz
62974cd4d5 PartDesign: convert indentations to spaces 2023-01-23 15:47:22 +01:00
luzpaz
2c3e6bd70a Sketcher: convert indentations to spaces 2023-01-23 15:46:49 +01:00
Uwe
600ce01ad3 [Draft] fix compilation after #8234 2023-01-23 15:29:04 +01:00
Roy-043
4c4972339f Draft: V0.18 VisGroups were not handled (#8234) 2023-01-23 11:27:52 +01:00
Yorik van Havre
166183e788 Merged crowdin translations 2023-01-23 11:25:49 +01:00
Yorik van Havre
d3149de589 Updated ts files 2023-01-23 10:41:33 +01:00