Changesets: FreeCAD

master bd6c8324

2021-03-13 16:51:37

russ4262

Details Diff
Path: Fix connected multi-face clearing bug

Identified by MLampert. If multiple faces are selected at varying Z-heights, the `combineConnectedShapes()` method fails to connect them due to offset Z-heights. This fix places all input faces for that method into the same working plane.
mod - src/Mod/Path/PathScripts/PathPocketShape.py Diff File

master e6801d9c

2021-03-13 15:46:39

sliptonic


Committer: GitHub Details Diff
Merge pull request 0004613 from sliptonic/bug/outputsplit

[PATH] Fix bug with spindle not restarting
mod - src/Mod/Path/PathScripts/PathJob.py Diff File
mod - src/Mod/Path/PathScripts/PathPost.py Diff File

master f55c46cc

2021-03-13 13:47:39

wmayer

Details Diff
PD: adjust unit test for mirrored offset that doesn't fail any more
mod - src/Mod/PartDesign/PartDesignTests/TestMirrored.py Diff File

master ee60ccd0

2021-03-13 13:39:55

wmayer

Details Diff
PD: remove empty try/catch block
mod - src/Mod/PartDesign/App/FeatureTransformed.cpp Diff File

master 89b8e81d

2021-03-13 05:12:08

grggnzlz


Committer: abdullah Details Diff
Sketcher: Constraint svg caching

================================

Calls to:
Gui::BitmapFactory().pixmapFromSvg(type.toLatin1().data(),QSizeF(edit->constraintIconSize,edit->constraintIconSize));

are expensive and the scaled pixmap is heavily reused.

Solution is to cache the icon.
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File

master a8cb3d5d

2021-03-13 05:03:28

abdullah

Details Diff
Sketcher: allow icon/color update in STATUS_SKETCH_UseHandler mode

==================================================================

Updating color and constraint icons does not seem necessary in other modes:
https://forum.freecadweb.org/viewtopic.php?f=3&t=56064&start=10#p486578
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File

master 6bf27e0a

2021-03-12 20:51:20

chennes


Committer: wwmayer Details Diff
[OpenSCAD] Reimplement surface() to match OpenSCAD

The original implementation of the surface() function used a simple
B-spline representation for the surface, which generated degenerate
surface with several of OpenSCAD's demo input files. This commit
modifies the algorithm to generate a discrete surface identical to the
one generated within OpenSCAD itself. It also adds several units tests
to identify future regressions.

Note that PNG input is not yet supported for the surface() function.
mod - src/Mod/OpenSCAD/CMakeLists.txt Diff File
mod - src/Mod/OpenSCAD/OpenSCADFeatures.py Diff File
mod - src/Mod/OpenSCAD/OpenSCADTest/app/test_importCSG.py Diff File
add - src/Mod/OpenSCAD/OpenSCADTest/data/Surface.dat Diff File
add - src/Mod/OpenSCAD/OpenSCADTest/data/Surface.png Diff File
add - src/Mod/OpenSCAD/OpenSCADTest/data/Surface2.dat Diff File

master c1b47158

2021-03-12 19:12:09

sliptonic

Details Diff
[PATH] Fix bug with spindle not restarting
if output is split by operation spindle should restart when next file is loaded
mod - src/Mod/Path/PathScripts/PathJob.py Diff File
mod - src/Mod/Path/PathScripts/PathPost.py Diff File

master db16029c

2021-03-12 16:16:26

sliptonic


Committer: GitHub Details Diff
Update 45degree_chamfer.fctb
mod - src/Mod/Path/Tools/Bit/45degree_chamfer.fctb Diff File

master bfce1080

2021-03-11 00:53:01

chennes


Committer: wwmayer Details Diff
[OpenSCAD] Add scale parameter to linear_extrude
mod - src/Mod/OpenSCAD/OpenSCADFeatures.py Diff File
mod - src/Mod/OpenSCAD/OpenSCADTest/app/test_importCSG.py Diff File
mod - src/Mod/OpenSCAD/importCSG.py Diff File

master b6634e04

2021-03-11 00:26:19

wmayer

Details Diff
Fem: refactor FemMesh::readNastran95
mod - src/Mod/Fem/App/FemMesh.cpp Diff File

master 38b54de5

2021-03-10 21:56:08

wmayer

Details Diff
Fem: refactor FemMesh::readNastran
mod - src/Mod/Fem/App/FemMesh.cpp Diff File

master 6d37a384

2021-03-10 19:19:52

hyarion

Details Diff
Draft: Simplify load_texture after py3 requirement

This commit does the following things:
* Remove python2 support
* Using a bytearray instead of chr list to build up the binary data.
this also removes the need of using char encoding.
mod - src/Mod/Draft/draftutils/gui_utils.py Diff File

master d4a37421

2021-03-10 18:38:11

wmayer

Details Diff
Fem: [skip ci] support NASTRAN CTRIA3 elements
mod - src/Mod/Fem/App/FemMesh.cpp Diff File

master b1f81848

2021-03-10 17:15:55

chennes


Committer: wmayer Details Diff
Remove unneeded Qt version checks
mod - src/Gui/Tree.cpp Diff File
mod - src/Gui/View3DInventor.cpp Diff File
mod - src/Gui/propertyeditor/PropertyItem.cpp Diff File
mod - src/Gui/propertyeditor/PropertyItem.h Diff File
mod - src/Mod/Drawing/Gui/DrawingView.cpp Diff File
mod - src/Mod/Spreadsheet/Gui/SheetModel.cpp Diff File

master b15f1340

2021-03-10 16:52:54

chennes


Committer: wmayer Details Diff
Remove deprecated Qt constants

Qt has deprecated the following constants, this commit replaces them
with their new equivalent/replacement:

Qt::TextColorRole -> Qt::ForegroundRole
Qt::BackgroundColorRole -> Qt::BackgroundRole
QPainter::HighQualityAntialiasing -> QPainter::Antialiasing
QPalette::Foreground -> QPalette::WindowText
mod - src/Gui/Tree.cpp Diff File
mod - src/Gui/View3DInventor.cpp Diff File
mod - src/Gui/propertyeditor/PropertyItem.cpp Diff File
mod - src/Mod/Drawing/Gui/DrawingView.cpp Diff File
mod - src/Mod/Spreadsheet/Gui/SheetModel.cpp Diff File
mod - src/Mod/Spreadsheet/Gui/Workbench.cpp Diff File

master 9f937f76

2021-03-10 16:49:05

wmayer

Details Diff
Mesh: [skip ci] fix regular expression in MeshInput
mod - src/Mod/Mesh/App/Core/MeshIO.cpp Diff File

master 5cef2ce3

2021-03-10 16:35:58

luz paz

Details Diff
Crowdin: remove obsolete translation manually [skip ci]

For some reason updatets.py is not successfully removing obsolete translations. This is a long standing issue. The workaround is to manually remove them from the .ts file.

ref: https://forum.freecadweb.org/viewtopic.php?f=21&t=51825&p=483474#p482519
crowdin: https://crowdin.com/translate/freecad/7254/en-pl?filter=basic&value=0#6572886
mod - src/Mod/Part/Gui/TaskCheckGeometry.cpp Diff File
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File
mod - src/Mod/Start/Gui/Resources/translations/StartPage.ts Diff File

master df738615

2021-03-10 15:39:06

wmayer

Details Diff
Fem: [skip ci] fix possible crash in Fem::readNastran

The crash can occur if node ids are referenced by faces or volumes that do not exist in the mesh.
mod - src/Mod/Fem/App/FemMesh.cpp Diff File

master d0eb13be

2021-03-10 15:24:16

yorik


Committer: GitHub Details Diff
Merge pull request 0004544 from chennes/draftSnapSyncRefactor

[DRAFT] Refactor sync_snap_toolbar_button
mod - src/Mod/Draft/draftguitools/gui_snaps.py Diff File

master 0b550094

2021-03-10 04:23:15

marioalexis


Committer: wwmayer Details Diff
CMake: Fix find Matplotlib
mod - cMake/FindMatplotlib.cmake Diff File
mod - cMake/FreeCAD_Helpers/SetupMatplotlib.cmake Diff File
mod - cMake/FreeCAD_Helpers/SetupPython.cmake Diff File

master ee6222d2

2021-03-10 01:44:05

chennes


Committer: wmayer Details Diff
[Start] Add missing files to translation script
mod - src/Tools/updatets.py Diff File

master 7b4fdf3e

2021-03-10 00:32:46

uwestoehr


Committer: wmayer Details Diff
[Gui] fix HiDPI rounding bug

As reported in https://forum.freecadweb.org/viewtopic.php?f=10&t=56425&start=20#p485809
this PR fixes the problem reported here: https://forum.freecadweb.org/viewtopic.php?f=10&t=56425&start=20#p485759
mod - src/Gui/Application.cpp Diff File

master a00c00e4

2021-03-09 20:06:28

chennes


Committer: wwmayer Details Diff
[OpenSCAD] Add unit tests for resize() and others
mod - src/Mod/OpenSCAD/CMakeLists.txt Diff File
mod - src/Mod/OpenSCAD/OpenSCADTest/app/test_importCSG.py Diff File
add - src/Mod/OpenSCAD/OpenSCADTest/data/Cube.stl Diff File
add - src/Mod/OpenSCAD/OpenSCADTest/data/Square.dxf Diff File

master a02f6b4b

2021-03-09 20:05:29

chennes


Committer: wwmayer Details Diff
[OpenSCAD] Implement resize()

The existing implementation of resize() did not work, and used incorrect
scale factors. This commit implements a version that matches the results
obtained from within OpenSCAD.
mod - src/Mod/OpenSCAD/importCSG.py Diff File
 First  Prev  1 2 3 ... 13 14 15 16 17 18 19 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 649 650 651  Next  Last