Commit Graph

25468 Commits

Author SHA1 Message Date
Preslav
4ab37fc0ca Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m] 2021-08-16 12:27:41 +01:00
Tomas Pavlicek
09d9caf438 TechDraw - Edit annotations via double-click 2021-08-15 00:16:57 +02:00
Ajinkya Dahale
2343c3cbe2 [OpenSCAD] Fixes cut color while importing CSG (#4920)
* [OpenSCAD] Fixes cut color while importing CSG

Fixes #4684.
For some reason colors of "base" and "tool" need to be set in order for the cut
to have colors as well, just like fuse and multifuse.
Also tidied up the relevant code portions a little.
Some testing might be needed.

* [OpenSCAD] Color settings for other booleans in importCSG

As per Keith's comments, this change extends recursive color setting to other
boolean features viz. `Part::Common` and `Part::MultiCommon`. Also possible to
add any other features needing the same treatment.

* Update importCSG.py

Remove unneeded parentheses and fix its/it's mixup

Co-authored-by: Kurt Kremitzki <kkremitzki@users.noreply.github.com>
2021-08-14 15:04:02 -05:00
sliptonic
0fcd0cec44 Merge pull request #4797 from Russ4262/feature/tile_job
[Path] GUI scripting support and other improvements
2021-08-14 09:26:25 -05:00
sliptonic
59c36f150e Merge pull request #4815 from Russ4262/fix/GUI_issues
[Path] Fix GUI issues and minor code cleanup
2021-08-14 09:20:03 -05:00
Russell Johnson
1cdfd611fd Path: Downgrade module's debug level to INFO 2021-08-13 19:02:40 -05:00
Russell Johnson
ff3adacd93 Path: Auto-load the user-selected job for the simulator
Add code to auto-load the user-selected job in the simulator so manual selection is not necessary with multi-job documents.
2021-08-13 19:02:40 -05:00
Russell Johnson
be1e394da9 Path: Changes to allow for Adaptive op defaults at job level
Add `SetupProperties()` function to Adaptive module.
Connect `SetupProperties()` function to GUI command resources.
Add string assignment for `App::PropertyPythonObject` property prototype
2021-08-13 19:02:40 -05:00
Russell Johnson
86b4c626a7 Path: Add missing translate() function 2021-08-13 19:02:40 -05:00
Russell Johnson
30ea19a923 Path: Refactor PathBoundary algorithm to independent class
Relocate code for PathBoundary algorithm into an independent class allowing for usage without the Dressup object creation.
2021-08-13 19:02:40 -05:00
Russell Johnson
cfca2a790a Path: Allow parent job assignment
Modifications focus on allowing the creation of operations to include direct provision of parent job.
Path: Remove `useGui` implementation
2021-08-13 19:02:40 -05:00
luzpaz
2a900b1850 [PartDesign] Expose WizardShaft/ strings to translation (#4964)
* [PartDesign] Expose WizardShaft/ strings to translation

* Correct use of double quotes

* [PD] Suggested changes in `Crowdin/pd-wizard-shaft` (#4)

* [PartDesign] Use correct method name in `WizardShaft`

Use `QtCore.QT_TRANSLATE_NOOP` instead of `QT_TRANSLATE_NOOP` because latter is
not what is imported.

* [PartDesign] Remove undesired translations in `WizardShaftTable.py`

See comments by @chennes on PR#4964.

Co-authored-by: Ajinkya Dahale <AjinkyaDahale@users.noreply.github.com>
2021-08-13 18:16:42 -05:00
luzpaz
b0b4b321cb [PartDesign] Linting and cleaning superfluous whitespace (#4851)
* [PartDesign] Linted Mod/PartDesign/Scripts for pep8 compliance

* [PartDesign] Fix superfluous whitespace in WizardShaft/

* Added spaces per @chennes's feedback
2021-08-11 15:02:58 -05:00
Chris Hennes
6d136c9b1b Add PartDesign Python commands for translation (#4961)
Fixes #4583
2021-08-11 14:51:18 -05:00
Tomas Pavlicek
ed8e632708 TechDraw - Remove code artifacts from CommandDecorate.cpp (#4904) 2021-08-11 11:33:59 -05:00
Tomas Pavlicek
4edf18a630 TechDraw - Undo for Cosmetics Vertices and Lines 2021-08-11 10:07:02 +02:00
fandaL
c6697bbc78 FEM:request for reaction forces on Constraint displacement 2021-08-11 10:02:40 +02:00
Chris Hennes
e2e7733d09 [GUI] Add autoload option to Workbench preferences page (#4957)
* Add autoload option to Workbench preferences page

* Address bugs identified in the forum.

* Add forward declaration of QCheckBox
2021-08-10 20:33:03 -05:00
Bernd Hahnebach
273a7d5e3f FEM: examples, use correct constraint in information for mystran plate example 2021-08-10 22:12:19 +02:00
Bernd Hahnebach
a0d860679e FEM: examples, displacement constraint needs to set Free and Fix 2021-08-09 22:16:33 +02:00
Bernd Hahnebach
ad63322ac7 FEM: examples, delete not needed material values 2021-08-09 21:29:59 +02:00
Bernd Hahnebach
4e6a09be37 FEM: examples, add ccxtools solver 2021-08-09 21:29:52 +02:00
Bernd Hahnebach
d635f03a60 FEM: solver task panel, get rid off error message 2021-08-09 15:32:40 +02:00
Bernd Hahnebach
1f38d89cc4 FEM: material task panel, improve handling of input fields without unit 2021-08-09 15:02:49 +02:00
Bernd Hahnebach
aff4172550 FEM: solver framework member checks, extend them 2021-08-06 21:35:29 +02:00
Bernd Hahnebach
dff0537fab FEM: z88 and mystran writer, get rid of deprecated member assignments 2021-08-06 21:35:21 +02:00
Bernd Hahnebach
ec3b79aa9d FEM: z88 tasks and writer, make use of mesh set data getter class 2021-08-06 21:35:16 +02:00
Bernd Hahnebach
6dbe713d7b FEM: tasks module for z88, mystran and calculix, code improvements 2021-08-06 21:35:11 +02:00
Bernd Hahnebach
afd885330a FEM: z88 writer, code formatting 2021-08-06 21:35:06 +02:00
Bernd Hahnebach
4dbd2c36da FEM: do not use the red error print if it is not a error 2021-08-06 21:35:01 +02:00
Bernd Hahnebach
6c78531ab6 FEM: examples, truss seg2, fix solver typ 2021-08-05 15:35:51 +02:00
Bernd Hahnebach
c4118bb2be FEM: examples, add 3D truss for z88 and calculix 2021-08-05 15:33:29 +02:00
Bernd Hahnebach
0942f4f55e FEM: calculix unit tests, add beam cross section tests 2021-08-04 22:26:07 +02:00
Bernd Hahnebach
0090cf64a9 FEM: unit tests calculix and cmake, move a method and a file 2021-08-04 22:26:02 +02:00
Bernd Hahnebach
a94eb6b3ba FEM: typo 2021-08-04 22:25:56 +02:00
Yorik van Havre
acce57a25d Merge pull request #4912 from sprhawk/master
ReverseEngineering: compile with PCL-1.12.0
2021-08-04 16:38:25 +02:00
Bernd Hahnebach
e197c3ab9f FEM: calculix writer, beam cross section angle, improvements and fixes 2021-08-04 15:52:00 +02:00
Bernd Hahnebach
d3b503be90 FEM: calculix writer, femelement geometry, code formating 2021-08-04 15:51:55 +02:00
Bernd Hahnebach
7dac3cc6b3 FEM: calculix writer, delete formatting comment, no longer needed as alle calculix input values are formatted the time being 2021-08-03 22:28:58 +02:00
Bernd Hahnebach
f7cefaef47 FEM: CalxuliX cantlever beam examples for pipe, circle and rectangle cross section 2021-08-03 20:02:52 +02:00
Bernd Hahnebach
ea9272b1a3 FEM: calculix writer, reaction forces, add some comment 2021-08-03 16:59:15 +02:00
Yorik van Havre
a74792e3f6 Draft: Allow to stretch more complex Arch objects 2021-08-03 16:45:43 +02:00
Yorik van Havre
2c940e3a98 Arch: Remember wall alignment when creating from existing wires 2021-08-03 16:45:07 +02:00
Yorik van Havre
053dd7f3b8 Arch: Don't add spaces to BuildingPArt's shape 2021-08-03 16:44:15 +02:00
Uwe
f5aea33548 Update src/Mod/TechDraw/App/Cosmetic.cpp
Co-authored-by: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2021-08-03 13:23:14 +02:00
donovaly
b817ade2a8 [TD] comment the new centerline behavior
add missing info to understand the new centerline behavior as introduced with commit b981f905
2021-08-03 13:23:14 +02:00
Yorik van Havre
bc9a601a46 Merge pull request #4894 from steelman/arch-frame-profile-alignment
Arch: Align profile's Y with layout's normal vector
2021-08-03 11:53:58 +02:00
Bernd Hahnebach
1b63b613de FEM: ccx tools task panel, do not run solver with no or wrong ccx binary 2021-08-03 07:36:04 +02:00
Bernd Hahnebach
9813e10d8c FEM: ccx tools, do not rais exceptions if there is no binary, give feedback to the user instead 2021-08-03 07:24:01 +02:00
sliptonic
2736142ddf Merge pull request #4901 from Russ4262/fix/3D_Pocket
[Path] Fix 3D Pocket tuple lengths in return values
2021-08-02 12:22:56 -05:00