Commit Graph

20042 Commits

Author SHA1 Message Date
川島和津実
3b6c442187 Start: Correct hash for thumbnail filename
Image file names need to be quoted before hashing to generate thumbnail file names.
This is related to pull requests #4931 and #4972, so please refer to discussions therein.
2021-08-18 22:15:18 +08:00
Yorik van Havre
380d214e74 AddonManager: Handles git module with no Repo attribute - Fixes #4072 2021-08-18 11:32:19 +02:00
Yorik van Havre
cbdac756a8 Merge pull request #4963 from Helios113/stiffness
Base: Adding stiffness units
2021-08-18 10:04:46 +02:00
Chris Hennes
1d74880ac2 Revert "Start: Properly hash thumbnail filenames" 2021-08-17 14:28:47 -05:00
Yorik van Havre
2429043218 Merge pull request #4931 from Kawashima-Azumi/no-filename-encode
Start: Properly hash thumbnail filenames
2021-08-17 18:45:27 +02:00
Chris Hennes
a80e67c04c [OpenSCAD] Fix OpenSCAD bounding box calculations
When not using the GUI, bounding box calculations can sometimes use the
B-spline represenation in OCCT, which can in some cases give incorrect
results. To correct for this, explicit calls to tessellate() are added
to ensure that the bounding box calculation uses the true shape, even if
the GUI is not running.

Fixes #4622 - OpenSCAD/OpenSCADTest/app/test_importCSG.py assertion failure
2021-08-17 11:09:55 -05:00
Yorik van Havre
c167955018 Merge pull request #4885 from Roy-043/Draft_Fix_Array_Count_Issues
Draft: Fix Draft_PointArray and Draft_TwistedArray Count problems
2021-08-17 15:19:57 +02:00
Yorik van Havre
1925998907 Merge pull request #4958 from paullee0/ArchWall_BugFixes_14
[ArchWall] Fix MakeBlocks to work if Base is Sketch with 1 edge only
2021-08-17 15:17:51 +02:00
0penBrain
586955e31b [PartDesign] Enable reverse ability for Pocket/UpToFace mode as it makes sense for curved faces 2021-08-17 12:07:02 +02:00
0penBrain
b2cf8581e0 [PartDesign] Add reverse ability for Pad/UpToFace mode as it makes sense for curved faces
And does not hurt/break in case face is reachable in only one direction
2021-08-17 12:07:02 +02:00
0penBrain
39ca142d5f [PartDesign] Restore 'Reversed' ability into Pocket/2dims mode 2021-08-17 12:07:02 +02:00
0penBrain
c561b5ac1f [PartDesign] Fix 'Reversed' no more available in Pad 'toFirst/toLast'
While useless 'Midplane' was still visible
 Bug introduced in commit #cf11f388, not fixed by commmit #b4b1cbed
 Also fixing some typos
2021-08-17 12:07:02 +02:00
Dirk Olbrich
089d5abb6f Fixes Xercesc include, harmonize XercesC_INCLUDE_DIRS statement (#4960)
* fix: typo for XERCESC_INCLUDE_DIRS

* fix: harmonize XercesC_INCLUDE_DIRS capitalization
2021-08-16 22:57:34 -05:00
luzpaz
72411f83ad Draft: Fix LGTM 'test for equality' warning (#4969)
* Draft: Fix LGTM 'test for equality' warning

ref: https://lgtm.com/projects/g/FreeCAD/FreeCAD/alerts/?mode=tree&ruleFocus=7900090

* FEM: source comment typo fixes
2021-08-16 22:52:13 -05:00
Yorik van Havre
61ac0b4838 Merge pull request #4900 from sanguinariojoe/del_ship
Ship: Remove Ship module
2021-08-16 17:30:43 +02:00
paul
50056dca9f Merge branch 'master' into ArchWall_BugFixes_14 2021-08-16 23:26:45 +08:00
Yorik van Havre
fece09a4d5 Merge pull request #4954 from ageeye/FixDefaultShapeVertexColor
Part: Fix default shape vertex color
2021-08-16 16:23:18 +02:00
Yorik van Havre
05c88d8ada Merge pull request #4905 from Roy-043/Draft_fix_trimex_wrong_units
Draft: Draft_Trimex: Fix wrong angle units in task panel
2021-08-16 16:22:47 +02:00
Yorik van Havre
54f7486299 Merge pull request #4955 from paullee0/ArchWall_BugFixes_13
[ArchWall]  Fix MakeBlocks to work if Base is Sketch
2021-08-16 14:36:11 +02:00
Yorik van Havre
163075b3ba Merge pull request #4967 from Syres916/patch-30
[Base/Gui] Bugfix Property Item formatting
2021-08-16 14:34:41 +02:00
Preslav
4ab37fc0ca Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m] 2021-08-16 12:27:41 +01:00
Christophe Grellier
108437e37b Update BSplineSurfacePyImp.cpp
Typo in setVKnot()
2021-08-15 11:16:01 +02: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
Syres916
f3c2622468 [PD] Gui - Primitives change Base Quantity Format 2021-08-12 10:48:36 +01: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
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
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
paul lee
24e472cdde [ArchWall] Fix MakeBlocks to work if Base is Sketch with 1 edge only
To be merged with #4955
2021-08-09 09:06:03 +08: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