Commit Graph

17254 Commits

Author SHA1 Message Date
Bernd Hahnebach
2dfcbdf6c7 Arch: export IFC, better default preferences 2020-07-30 08:10:13 +02:00
wandererfan
6773b6862c [TD]Correct font size on PDF export 2020-07-29 15:53:04 -04:00
Abdullah Tahiri
ab75a60141 Part: Attacher intersection calculation fix
===========================================

In OCCT 7.4 (and apparently <= 7.4 too):

A GeomAdaptor_Curve obtained directly from BRepAdaptor_Curve will not work because it won't respect the
Location/orientation of the underlying curve.

This commit proposes to create a new GeomAdaptor_Curve from an intermediary curve handle to work around
this issue.
2020-07-29 19:06:59 +02:00
wmayer
4dd60d3046 flatmesh: [skip ci] implement converters from Eigen3 matrices to Python 2020-07-29 16:42:53 +02:00
wmayer
fd7b228dba MeshPart: [skip ci] fix segmentation fault in flatmesh when built with boost.python 2020-07-29 13:44:45 +02:00
wandererfan
62a048fa33 [TD]Dim blocks selection of geometry 2020-07-28 15:09:40 -04:00
sliptonic
d95527ca50 Merge pull request #3700 from etrombly/deletedFaces
[Path] handle makeOffset2D exception in path pocket operation
2020-07-28 11:50:27 -05:00
sliptonic
1a68959160 Merge pull request #3585 from gwicke/unified_region_experiments
Path: Area based unified projection implementation
2020-07-28 11:48:56 -05:00
wmayer
adf662b13d remove superfluous includes of iostream, use iosfwd instead 2020-07-28 15:22:23 +02:00
felix
8886f35bcf [TechDraw] Add context to zh_CN README file for description changes
[skip-ci]
2020-07-28 08:39:48 -04:00
felix
9bb7aa84f1 [TechDraw] Add all sizes (landscape/A3/A4 portrait) template PRoC files
Add all landscape template files in landscape directory.
create new directory portrait and put A3/A4 portrait
template files to the directory.
2020-07-28 08:39:48 -04:00
felix
73e0755912 [TechDraw] Delete v0.001 of all landscape PRoC template files
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=17&t=48854
2020-07-28 08:39:48 -04:00
Bernd Hahnebach
f843ecce8e Arch IFC import, add simplificated method to get pset properties 2020-07-28 06:00:31 +02:00
sliptonic
ebe45e5603 Merge pull request #3689 from etrombly/edgesMatchShape
[PATH] fix pocket attribute error if edge cannot be flipped
2020-07-27 12:53:37 -05:00
wmayer
19c7fbd096 LGTM: [skip ci] fix: Inconsistent definition of copy constructor and assignment ('Rule of Two') 2020-07-27 14:39:14 +02:00
wmayer
9367e73e92 LGTM: [skip ci] fix: Inconsistent definition of copy constructor and assignment ('Rule of Two')
Remove user-defined copy constructor of Exception classes without assignment operator
2020-07-27 13:47:41 +02:00
wmayer
13fc0554a0 LGTM: [skip ci] fix: Missing header guard 2020-07-27 11:16:41 +02:00
wmayer
45e0673645 LGTM: [skip ci] fix: Declaration hides parameter
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +02:00
donovaly
a9f0b7703e also avoid leading newlines 2020-07-26 19:47:25 -04:00
donovaly
b465df341c assure the translation
- also fix a typo
2020-07-26 19:47:25 -04:00
donovaly
209dfa91d6 improve coding style 2020-07-26 19:47:25 -04:00
donovaly
38db73c4e9 [TD] get rid of trailing newlines
as discussed with luzpaz in https://github.com/FreeCAD/FreeCAD/pull/3735
there shouldn't be trailing newlines in translated strings.

- Moreover fix the logic of the output dialog text
2020-07-26 19:47:25 -04:00
wandererfan
b298e78624 [TD]remove obsolete QPointF (LGTM) 2020-07-26 19:45:49 -04:00
wandererfan
e42984b0ed [TD]remove obsolete QGraphicRectItem (LGTM) 2020-07-26 19:45:49 -04:00
wandererfan
9cf8607e5b [TD]remove obsolete QGraphicsSVGItem (LGTM) 2020-07-26 19:45:49 -04:00
wandererfan
ed50ad1fc3 [TD]fix Dim selection fails to clear prev selection 2020-07-26 19:45:49 -04:00
Bernd Hahnebach
129c4c1fb7 FEM: show result, make it possible to use the menu and icon if there is a pure result object in a document. 2020-07-26 23:40:21 +02:00
wmayer
99121b75c9 LGTM: [skip ci] fix: Local variable hides global variable
A local variable or parameter that hides a global variable of the same name.
This may be confusing. Consider renaming one of the variables.
2020-07-26 19:30:24 +02:00
donovaly
7a5be2d42e [TD] add 2 shortcuts for dimensions
as discussed here: https://forum.freecadweb.org/viewtopic.php?f=35&t=48980
2020-07-26 11:22:06 -04:00
wmayer
e9ce75d544 LGTM: [skip ci] fix: Empty branch of conditional
An empty block after a conditional can be a sign of an omission and can decrease maintainability of the code.
Such blocks should contain an explanatory comment to aid future maintainers.
2020-07-26 15:49:14 +02:00
wandererfan
41380359a8 [TD]fix misaligned PAT hatch on section 2020-07-25 10:30:13 -04:00
wmayer
83f1c667d4 LGTM: [skip ci] fix: Resource not released in destructor 2020-07-25 14:48:59 +02:00
wmayer
a128272364 LGTM: [skip ci] fix: Accidental rethrow 2020-07-24 20:57:14 +02:00
wmayer
2f0951c03b LGTM: [skip ci] fix: Function declared in block 2020-07-24 20:37:17 +02:00
wmayer
a8d1f2dca1 LGTM: [skip ci] fix: Duplicate include guard 2020-07-24 20:22:00 +02:00
wmayer
e079e7a7bb LGTM: [skip ci] fix: Non-virtual destructor in base class 2020-07-24 19:30:12 +02:00
wmayer
c162037476 LGTM: [skip ci] fix: Large object passed by value 2020-07-24 18:32:31 +02:00
SurajDadral
0988e570c2 Add Mark property to ArchRebar object
As discussed here:
https://forum.freecadweb.org/viewtopic.php?f=23&t=44580&p=418377#p418630
And required for reinforcement drawing/dimensioning.
2020-07-24 13:50:29 +02:00
luz paz
3ba2a7507c Crowdin: Edits based on feedback from translators [skip-ci]
https://crowdin.com/translate/freecad/27911/en-en#6581566  
https://crowdin.com/translate/freecad/6766/en-en#6584432  
https://crowdin.com/translate/freecad/549/en-en#6578092
2020-07-24 13:49:59 +02:00
vocx-fc
444e8528b0 Arch: improve import and export IFC preferences pages
Some tooltips are made more readable by adding newlines.

For `IFC import`, better tooltip for the `Number of cores` option;
also the `Replace 'Project'...` option.

For `IFC export`, better tooltip for the `Export type`;
also `IFC file units`.
Also add `General options` in case other options are added.
2020-07-24 13:48:44 +02:00
Mark Ganson TheMarkster
181eaa1b7a coverity issue cid 305102 2020-07-23 13:55:32 +02:00
carlopav
6731ade086 Arch: touch Axis when key property change
This allow experimental wall to auto align to the new axis position.
2020-07-23 13:54:18 +02:00
luz paz
e82f7f74f4 Fix Crowdin typos + trim superfluous whitespace [skip-ci]
Some issues that this PR fixes (but not all listed):  
https://crowdin.com/translate/freecad/27911/en-en#6581578  
https://crowdin.com/translate/freecad/27911/en-en#6579080  
https://crowdin.com/translate/freecad/27911/en-en#6581580  
https://crowdin.com/translate/freecad/27911/en-en#6579086
2020-07-23 13:52:44 +02:00
Jean-Marie Verdun
6152728c39 Remove unnecessary pre-processor directive
Signed-off-by: Jean-Marie Verdun <jmverdun3@gmail.com>
2020-07-23 13:47:21 +02:00
Jean-Marie Verdun
7883aad3ab Add App::Link support to Cloud module
ONLY enabled if the Cloud Module is compiled into FreeCAD
    ALL files must be saved into a Cloud Based storage
    Add a Signal to the PropertyLink to enable support of external storage
    Put the Assembly Document as active document

Signed-off-by: Jean-Marie Verdun <jmverdun3@gmail.com>
2020-07-23 13:47:21 +02:00
wmayer
b05fb4dceb Part: optimize ViewProviderPartExt::getNormals 2020-07-22 20:33:17 +02:00
Gabriel Wicke
670f3b6098 Path: Area based unified projection implementation
Generalize the `extractFaceOffset` method to `getOffsetArea`, which can
handle both face offsetting and projection. Another difference is that
the new method exposes Area's ability to preserve internal holes,
defaulting to preserving. The method is moved to the PathUtils module,
reflecting its generality and fairly wide used across Path.

This method is then used to provide a drop-in alternative to
`FindUnifiedRegions` via a small wrapper in PathSurfaceSupport. The Area
implementation is generally quick, but can fail (throw) in some cases,
so the wrapper is trying the Area method as an optimization first, and
falls back to the full `FindUnifiedRegions` logic if that fails.
2020-07-21 18:34:09 -07:00
Bernd Hahnebach
c61a1d2dbf FEM: solver frame work, beside dir fix 2020-07-21 22:12:16 +02:00
Bernd Hahnebach
0518db90b6 FEM: unit tests, fix z88 for installed FC 2020-07-21 20:54:30 +02:00
sliptonic
43f4ae927d Merge pull request #3709 from etrombly/3dSurface
[Path] fix two never ending while loops in PathSurfaceSupport
2020-07-21 10:58:48 -05:00