wmayer
2d54d838cf
PD: improve task panel for linear patterns:
...
* set range of Occurrences property to spin box
* connect signals after initializing widgets to avoid superfluous recomputes and possible inconsistencies
2021-03-03 10:32:02 +01:00
donovaly
7f1b47d118
[PD] disallow invalid polar and linear pattern settings
...
as discussed in 356db441a6 we should disallow invalid property settings
2021-03-03 07:45:08 +01:00
luz paz
cb81426e63
Crowdin: remove trailing whitespace [skip ci]
2021-03-02 17:29:21 +01:00
wmayer
89b094683f
Gui: support to customize the font size of bounding boxes
2021-03-02 16:29:57 +01:00
David Osterberg
43bc30da84
Beautify xml step 1: These changes do not affect the uic output
2021-03-02 16:29:11 +01:00
Yorik van Havre
deaf74856b
Arch: Fixed SectionPlane outside objects bug in ArchSectionPlane - Fixes #4549
2021-03-01 16:49:31 +01:00
Chris Hennes
c1408f130c
[OpenSCAD] Add unit test framework to module
...
The OpenSCAD module did not have any unit tests. This commit adds the
basic framework (and two very simple tests). The framework is modeled
after the unit tests in the FEM module.
2021-03-01 15:21:18 +01:00
David Osterberg
52c0558f91
PartDesign: Allow use of circle edge as axis in PolarPattern
2021-03-01 14:48:24 +01:00
David Osterberg
f1d6c78cbe
PartDesign: Allow use of circle edge as axis in ProfileBased
2021-03-01 14:48:24 +01:00
wmayer
356db441a6
PD: [skip ci] PolarPattern: Support 1 occurrence
...
This is analogous to support 1 occurrence of the linear pattern feature: 81a5ec5e55
2021-03-01 13:58:02 +01:00
donovaly
f481c47123
[PD] fix multi-transform View
...
- fixes bug 4581
See the first issue reported here:
https://forum.freecadweb.org/viewtopic.php?f=3&t=56093#p482553
- also fix issue that one could set 1 occurrence for polar patterns despite 2 are required at least
- also fix potential dereferencing null pointer (reported by MSVC)
2021-03-01 13:11:15 +01:00
David Osterberg
c7c420ca1d
PartDesign: Hole. Address Donovaly bugs 7 and 8
...
bug 7: the update view checkbox should be enabled/disabled based on Model thread.
the checked state should not change
bug 8: the Thread depth options should be disabled when Model thread is unchecked.
because they don't do anything in the model it is confusing if they are enabled.
2021-02-28 20:13:14 +01:00
David Osterberg
1eeefeb8ae
PartDesign: Hole: Always update view if modelthread is disabled
...
Also: Check the Update View checkbox and disable it, when turning off
model thread.
2021-02-28 20:13:14 +01:00
David Osterberg
d59e90a10f
PartDesign: Hole: Turn off keyboard tracking on model thread spinboxex
2021-02-28 20:13:14 +01:00
David Osterberg
ebe2ce1034
PartDesign: Hole: Rename Automatic Tapped (DIN76) and change default to Hole depth.
2021-02-28 20:13:14 +01:00
David Osterberg
6ea6b48c0e
PartDesign: [Hole] Add Entire Depth thread depth mode
2021-02-28 20:13:14 +01:00
David Osterberg
d3ddbe8549
PartDesign: Add true threads to Hole
...
- Thread runout according to DIN 76-1
- Through all length updated to be calculated based on bounding box
- New properties: ModelThread, ThreadDepthType, ThreadDepth,
UseCustomThreadClearance, CustomThreadClearance
- Rename Old but unused parameters related to thread modeling.
- Functionality exposed in UI
2021-02-28 20:13:14 +01:00
luz paz
bcb070def1
Crowdin: Startpage - add whitespace to tooltip [skip ci]
2021-02-28 17:15:08 +01:00
luz paz
2ff669e5b8
Crowdin: Startpage: remove obsolete translation [skip ci]
2021-02-28 17:15:08 +01:00
luz paz
e0b5aade34
Crowdin: StartPage - remove obsolete translation [skip ci]
...
Ticket 0004578
ref: https://crowdin.com/translate/freecad/7254/en-en?filter=basic&value=0#6572932
2021-02-28 17:15:08 +01:00
wmayer
223d7971ae
Sketcher: fixes #0004303 : Three choices in a Sketcher menu each with the same Ctrl+Shift+E 'address'
2021-02-28 13:14:48 +01:00
wmayer
f0e4265205
Image: fixes #0003959 : Created image plane is not proportional to loaded image
2021-02-28 13:14:30 +01:00
wmayer
59048fb95b
Tux: fixes #0004565 : Status bar text runs under Navigation Button
2021-02-28 13:14:05 +01:00
Chris Hennes
283d09dc1a
[DRAFT] Add call to super().__init__ where missing
...
Identified by LGTM. The toplevel superclass does initialize one data
member to an empty array, but this didn't appear to cause any problems.
2021-02-27 18:21:54 +01:00
Chris Hennes
a432480e8d
[Part] Fix signature of TempoVis dummy function
...
If the import of TempoVis fails, TaskAttachmentEditor creates s dummy
function to replace the real TempoVis function. That function's
signature did not match the real TempoVis. Caught by LGTM.
2021-02-27 18:21:05 +01:00
Chris Hennes
b1789ae7d2
[PD] Fix minor static analysis issues in FCGear
...
LGTM has identified a number of minor issues with the FCGear Part Design
scripts. This commit addresses each of them, and also corrects two minor
spelling errors in the dialog. None of the errors or their fixes are
expected to result in changes to the functionality of the script.
2021-02-27 18:20:32 +01:00
David Osterberg
16ff933b09
PartDesign: Transformded. Align the "property category" of Refine with other PD commands
2021-02-27 18:19:14 +01:00
wmayer
b2ca86d8d7
FEM: [skip ci] fix crash in Constraint::getDirection
2021-02-26 08:11:16 +01:00
helaslo
d29fd7d9cb
[OpenSCAD] Fix colors not working correctly when polygons are extruded
2021-02-25 15:08:19 +01:00
Yorik van Havre
29bbb5e14f
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2021-02-25 13:30:09 +01:00
Yorik van Havre
958009c2ca
Merged crowdin translations
2021-02-25 13:27:48 +01:00
Aapo
7900a069c2
[TD] DrawViewPart.cpp: Fix a crash when user sets the PropertyVector Direction to zero.
2021-02-25 12:40:59 +01:00
wmayer
20bcce1544
TD: [skip ci] implement DrawView::recompute to handle all OCC exception types
2021-02-25 12:39:50 +01:00
wmayer
17a848dfe1
TD: [skip ci] explicitly nullify geometryObject in DrawViewPart::partExec to avoid to leave it a dangling pointer in case makeGeometryForShape raises an exception
2021-02-25 11:34:29 +01:00
luz paz
4e5cfec623
Crowdin: removing obsolete strings from PartDesign.ts [skip ci]
...
Uncertain to why but lupdate is not removing obsolete strings from `PartDesign.ts`. This PR manually removes obsoletes strings from it.
ref:
https://crowdin.com/translate/freecad/564/en-de?filter=basic&value=0#6500474
https://crowdin.com/translate/freecad/564/en-en?filter=basic&value=0#6500475
2021-02-25 10:41:58 +01:00
Aapo
51194d67d5
[TD] Hotfix for Dimension label Arbitrary value regression in DrawViewDimension.cpp
2021-02-25 10:28:42 +01:00
wmayer
8be8c08b47
FEM: [skip ci] fixes #0004405 : Using PartDesign axis / plane as direction for constraints
2021-02-24 23:59:10 +01:00
wmayer
7a56781285
FEM: [skip ci] support Line and Plane objects in Constraint::getDirection()
2021-02-24 23:53:15 +01:00
wmayer
ab0a660963
FEM: [skip ci] connect onButtonDirection() slot with clicked() signal
2021-02-24 21:55:51 +01:00
wmayer
a95cd106bb
PD: [skip ci] remove invalid static_cast
2021-02-24 20:12:26 +01:00
Yorik van Havre
5ba28fa7ff
Merged crowdin translations
2021-02-24 18:07:59 +01:00
wmayer
bc5311b3ee
PD: fixes #0004567 : Pattern from a feature type UpToFace and Offset > copy whole body
2021-02-24 17:08:20 +01:00
wmayer
2389b4779a
PD: [skip ci] code refactoring
...
Move adding offset to face from getUpToFace() to addOffsetToFace()
2021-02-24 16:08:03 +01:00
sliptonic
a6fd02cb04
Fix whitespace error
2021-02-23 19:14:49 -06:00
sliptonic
fa5dc51491
fix trailing whitespace
2021-02-23 19:12:25 -06:00
sliptonic
315d4a8026
fix bad string formatting
2021-02-23 19:06:08 -06:00
sliptonic
b2283c5430
Make string less ambiguous
2021-02-23 19:03:18 -06:00
sliptonic
85bd1bf639
typo in string
2021-02-23 19:01:29 -06:00
sliptonic
f7c50a4d75
fix string formatting
2021-02-23 18:59:04 -06:00
Yorik van Havre
3ef181a751
AddonManager: Fixed missing WB icons
2021-02-23 18:01:04 +01:00