Changesets: FreeCAD
master 611bcdd4 2020-10-01 14:46:09 Roy-043 Committer: yorik Details Diff |
Arch: 4 additional tests for ArchRoof (bug fix) ArchRoof bug fix: * Removed unnecessary use of FreeCAD.Vector. Renamed some functions and variables for clarity (in this description the new names are used). Reformatted the code. Moved imports to the top of the file. Updated the tooltips. Tweaked the title text "Parameters ...". * Fixed the length of list properties bug. * Flip direction did not work properly. The adopted solution is to reverse the edges the roof is based on. * Added support for consecutive parallel edges. * Added support for zero angle roof segments. * The code now handles zero length runs without throwing an error. * To handle triangular roofs with a zero length eave, "eave" (egde) has been turned into "eavePtLst" (list of points). * The ridges of opposite parallel roof segments (if they do not use a relative profile) are recalculated if the sum of their runs is larger than the distance between their edges. The old version of the command would do this only if segments connected to gables and only properly if the corners between the edges of the segments and the gable were 90 degrees. * Revised backGable and nextGable. They now call helperGable. * Revised the 6 other back/next functions. They now call helperSloped. This also fixes several cases where cookie-cutter outlines (profilCurr["points"]) were wrong. In nextHigher, backHigher, nextLower and backLower a point was wrongly projected on the X-axis. In nextHigher the point on the higher ridge was wrongly included. * Improved the cookie-cutter outlines for roof segments with lower overhangs and higher ridges in corners. * Data from a relative profile is no longer used if it in turn references a relative profile. * Changed the default idrel to -1 and changed calcMissingData to not process this value. This avoids confusion for users who are unaware of the relative profile feature. * Introduced find_inters as a workaround for DraftGeomUtils.findIntersection. The latter finds intersections for parallel lines that share a point. Find_inters uses a modified version of getLineIntersections from DraftGeomUtils.findIntersection. * Calling DraftVecUtils.removeDoubles later in the program flow as it does not compares the first and the last vector. * Avoided the QTreeWidget scrolling to the top on every change, by not clearing it but updating existing items instead. * Added self.tree.setRootIsDecorated(False). This gets rid of the 1st column's extra left margin. Removed item.setTextAlignment(0,QtCore.Qt.AlignLeft) as this did not work. |
||
mod - src/Mod/Arch/TestArch.py | Diff File | ||
master aff5da53 2020-10-01 14:41:35 Roy-043 Committer: yorik Details Diff |
Arch: ArchRoof bug fix * Removed unnecessary use of FreeCAD.Vector. Renamed some functions and variables for clarity (in this description the new names are used). Reformatted the code. Moved imports to the top of the file. Updated the tooltips. Tweaked the title text "Parameters ...". * Fixed the length of list properties bug. * Flip direction did not work properly. The adopted solution is to reverse the edges the roof is based on. * Added support for consecutive parallel edges. * Added support for zero angle roof segments. * The code now handles zero length runs without throwing an error. * To handle triangular roofs with a zero length eave, "eave" (egde) has been turned into "eavePtLst" (list of points). * The ridges of opposite parallel roof segments (if they do not use a relative profile) are recalculated if the sum of their runs is larger than the distance between their edges. The old version of the command would do this only if segments connected to gables and only properly if the corners between the edges of the segments and the gable were 90 degrees. * Revised backGable and nextGable. They now call helperGable. * Revised the 6 other back/next functions. They now call helperSloped. This also fixes several cases where cookie-cutter outlines (profilCurr["points"]) were wrong. In nextHigher, backHigher, nextLower and backLower a point was wrongly projected on the X-axis. In nextHigher the point on the higher ridge was wrongly included. * Improved the cookie-cutter outlines for roof segments with lower overhangs and higher ridges in corners. * Data from a relative profile is no longer used if it in turn references a relative profile. * Changed the default idrel to -1 and changed calcMissingData to not process this value. This avoids confusion for users who are unaware of the relative profile feature. * Introduced find_inters as a workaround for DraftGeomUtils.findIntersection. The latter finds intersections for parallel lines that share a point. Find_inters uses a modified version of getLineIntersections from DraftGeomUtils.findIntersection. * Calling DraftVecUtils.removeDoubles later in the program flow as it does not compares the first and the last vector. * Avoided the QTreeWidget scrolling to the top on every change, by not clearing it but updating existing items instead. * Added self.tree.setRootIsDecorated(False). This gets rid of the 1st column's extra left margin. Removed item.setTextAlignment(0,QtCore.Qt.AlignLeft) as this did not work. |
||
mod - src/Mod/Arch/ArchRoof.py | Diff File | ||
master 7eeec7a5 2020-10-01 14:28:23 Details Diff |
Sketcher: [skip ci] fix handling of icon search paths when another workbench uses a sketcher command | ||
mod - src/Mod/Sketcher/Gui/AppSketcherGui.cpp | Diff File | ||
mod - src/Mod/Sketcher/InitGui.py | Diff File | ||
master 393da0d6 2020-10-01 14:03:08 Details Diff |
Gui: [skip ci] add an alias for Gui.isCommandActive | ||
mod - src/Gui/FreeCADGuiInit.py | Diff File | ||
master 5876a528 2020-10-01 12:59:55 Details Diff |
Arch: Added .tsv export format to Arch schedule | ||
mod - src/Mod/Arch/ArchSchedule.py | Diff File | ||
mod - src/Mod/Arch/Resources/ui/ArchSchedule.ui | Diff File | ||
master f98a4bbc 2020-10-01 11:54:12 Details Diff |
Gui: [skip ci] add method to access the Inventor viewer as QGraphicsView | ||
mod - src/Gui/View3DPy.cpp | Diff File | ||
mod - src/Gui/View3DPy.h | Diff File | ||
master a01d0454 2020-10-01 08:30:26 Details Diff |
Arch: Fixed group support in IFC export | ||
mod - src/Mod/Arch/exportIFC.py | Diff File | ||
master 69fa3292 2020-10-01 08:30:09 Details Diff |
Arch: Added 'Show Label' view property to section planes | ||
mod - src/Mod/Arch/ArchSectionPlane.py | Diff File | ||
master 32474146 2020-10-01 08:29:33 Details Diff |
Arch: Fixed custom csv bug in ArchProfile | ||
mod - src/Mod/Arch/ArchProfile.py | Diff File | ||
master 8c62c253 2020-10-01 06:10:28 Details Diff |
Sketcher: [skip ci] fix build failure | ||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
master f4ff61c3 2020-10-01 00:55:21 vocx-fc Committer: wwmayer Details Diff |
Complete: do not build the Complete workbench because it is empty If it is "built", it can be hidden by commenting out the last line which adds it to the system: `# Gui.addWorkbench(CompleteWorkbench())` |
||
mod - cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake | Diff File | ||
mod - src/Mod/Complete/InitGui.py | Diff File | ||
master 13a5f74d 2020-10-01 00:12:35 vocx-fc Committer: wmayer Details Diff |
Surface: new icon for existing Surface_CurveOnMesh command Add this command to the Surface toolbar. |
||
mod - src/Mod/Surface/Gui/Command.cpp | Diff File | ||
mod - src/Mod/Surface/Gui/Resources/Surface.qrc | Diff File | ||
add - src/Mod/Surface/Gui/Resources/icons/Surface_CurveOnMesh.svg | Diff File | ||
mod - src/Mod/Surface/Gui/Workbench.cpp | Diff File | ||
master 8eb466d3 2020-09-30 23:32:57 vocx-fc Committer: wmayer Details Diff |
Surface, MeshPart: add more information to the CurveOnMesh command In the Surface Workbench, the command is called `Surface_CurveOnMesh` and the only thing it does is call the corresponding command in the MeshPart Workbench, where it is defined under the name `MeshPart_CurveOnMesh`. Currently the MeshPart Workbench is not exposed on the graphical user interface but it is loaded at startup, and its commands are in fact used from the Mesh Workbench and, in this case, the Surface Workbench. Also improve the tooltip of the other commands in the Surface Workbench: `Cut`, `Filling`, `GeomFillSurface`, `ExtendFace`, and `Sections`. The `Cut` command does not do anything at this moment so it is not visible in the interface. |
||
mod - src/Mod/MeshPart/Gui/Command.cpp | Diff File | ||
mod - src/Mod/Surface/Gui/Command.cpp | Diff File | ||
master 3304e1b4 2020-09-30 23:32:57 vocx-fc Committer: yorik Details Diff |
Surface: update tooltip of Filling | ||
mod - src/Mod/Surface/Gui/Command.cpp | Diff File | ||
master 6ff1bcb2 2020-09-30 20:29:06 Committer: wwmayer Details Diff |
Proper check for Qt version | ||
mod - src/Mod/Draft/draftguitools/gui_snapper.py | Diff File | ||
master 9b4b6d42 2020-09-30 18:45:32 vocx-fc Committer: wmayer Details Diff |
Surface: ViewProviderExtend for Surface::Extend object This is created by the Surface_ExtendFace command. |
||
mod - src/Mod/Surface/App/FeatureExtend.h | Diff File | ||
mod - src/Mod/Surface/Gui/AppSurfaceGui.cpp | Diff File | ||
mod - src/Mod/Surface/Gui/CMakeLists.txt | Diff File | ||
add - src/Mod/Surface/Gui/ViewProviderExtend.cpp | Diff File | ||
add - src/Mod/Surface/Gui/ViewProviderExtend.h | Diff File | ||
master 589eb085 2020-09-30 17:37:08 Committer: wwmayer Details Diff |
HiDPI: Hot point scaling is only required for X11 | ||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
master 63b4a074 2020-09-30 14:47:31 Committer: GitHub Details Diff |
Merge pull request 0003879 from sliptonic/feature/vcarve [Path] Feature/vcarve using new PathVoronoi from mlampert. Needs testing |
||
mod - src/Mod/Path/App/AppPath.cpp | Diff File | ||
mod - src/Mod/Path/App/CMakeLists.txt | Diff File | ||
add - src/Mod/Path/App/Voronoi.cpp | Diff File | ||
add - src/Mod/Path/App/Voronoi.h | Diff File | ||
add - src/Mod/Path/App/VoronoiCell.cpp | Diff File | ||
add - src/Mod/Path/App/VoronoiCell.h | Diff File | ||
add - src/Mod/Path/App/VoronoiCellPy.xml | Diff File | ||
add - src/Mod/Path/App/VoronoiCellPyImp.cpp | Diff File | ||
add - src/Mod/Path/App/VoronoiEdge.cpp | Diff File | ||
add - src/Mod/Path/App/VoronoiEdge.h | Diff File | ||
add - src/Mod/Path/App/VoronoiEdgePy.xml | Diff File | ||
add - src/Mod/Path/App/VoronoiEdgePyImp.cpp | Diff File | ||
add - src/Mod/Path/App/VoronoiPy.xml | Diff File | ||
add - src/Mod/Path/App/VoronoiPyImp.cpp | Diff File | ||
add - src/Mod/Path/App/VoronoiVertex.cpp | Diff File | ||
add - src/Mod/Path/App/VoronoiVertex.h | Diff File | ||
add - src/Mod/Path/App/VoronoiVertexPy.xml | Diff File | ||
add - src/Mod/Path/App/VoronoiVertexPyImp.cpp | Diff File | ||
mod - src/Mod/Path/CMakeLists.txt | Diff File | ||
mod - src/Mod/Path/Gui/Resources/Path.qrc | Diff File | ||
add - src/Mod/Path/Gui/Resources/icons/Path-Vcarve.svg | Diff File | ||
add - src/Mod/Path/Gui/Resources/panels/PageOpVcarveEdit.ui | Diff File | ||
mod - src/Mod/Path/InitGui.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathGuiInit.py | Diff File | ||
mod - src/Mod/Path/PathScripts/PathSelection.py | Diff File | ||
add - src/Mod/Path/PathScripts/PathVcarve.py | Diff File | ||
add - src/Mod/Path/PathScripts/PathVcarveGui.py | Diff File | ||
master 089ed768 2020-09-30 12:37:02 Details Diff |
Merged crowdin translations | ||
mod - src/Gui/Language/FreeCAD_af.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_af.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_ar.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_ar.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_ca.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_ca.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_cs.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_cs.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_de.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_de.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_el.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_el.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_es-ES.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_es-ES.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_eu.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_eu.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_fi.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_fi.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_fil.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_fil.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_fr.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_fr.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_gl.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_gl.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_hr.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_hr.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_hu.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_hu.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_id.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_id.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_it.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_it.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_ja.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_ja.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_kab.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_kab.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_ko.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_ko.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_lt.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_lt.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_nl.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_nl.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_no.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_no.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_pl.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_pl.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_pt-BR.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_pt-BR.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_pt-PT.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_pt-PT.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_ro.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_ro.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_ru.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_ru.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_sk.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_sk.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_sl.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_sl.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_sr.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_sr.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_sv-SE.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_sv-SE.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_tr.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_tr.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_uk.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_uk.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_val-ES.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_val-ES.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_vi.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_vi.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_zh-CN.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_zh-CN.ts | Diff File | ||
mod - src/Gui/Language/FreeCAD_zh-TW.qm | Diff File | ||
mod - src/Gui/Language/FreeCAD_zh-TW.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_af.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_af.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_ar.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_ar.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_ca.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_ca.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_cs.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_cs.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_de.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_de.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_el.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_el.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_es-ES.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_es-ES.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_eu.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_eu.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_fi.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_fi.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_fil.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_fil.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_fr.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_fr.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_gl.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_gl.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_hr.qm | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager_hr.ts | Diff File | ||
master 2a92a7b5 2020-09-30 11:06:53 Details Diff |
Updated ts files | ||
mod - src/Gui/Language/FreeCAD.ts | Diff File | ||
mod - src/Mod/AddonManager/Resources/translations/AddonManager.ts | Diff File | ||
mod - src/Mod/Arch/Resources/translations/Arch.ts | Diff File | ||
mod - src/Mod/Draft/Resources/translations/Draft.ts | Diff File | ||
mod - src/Mod/Mesh/Gui/Resources/translations/Mesh.ts | Diff File | ||
mod - src/Mod/OpenSCAD/Resources/translations/OpenSCAD.ts | Diff File | ||
mod - src/Mod/Part/Gui/Resources/translations/Part.ts | Diff File | ||
mod - src/Mod/Path/Gui/Resources/translations/Path.ts | Diff File | ||
mod - src/Mod/Raytracing/Gui/Resources/translations/Raytracing.ts | Diff File | ||
mod - src/Mod/Sketcher/Gui/Resources/translations/Sketcher.ts | Diff File | ||
mod - src/Mod/TechDraw/Gui/Resources/translations/TechDraw.ts | Diff File | ||
mod - src/Mod/Web/Gui/Resources/translations/Web.ts | Diff File | ||
master 64e0ac16 2020-09-30 07:39:42 vocx-fc Committer: wmayer Details Diff |
Surface: new Extend icon for existing Surface_ExtendFace command The icon is added to the `.qrc` resource file. The command is added to the Surface toolbar. |
||
mod - src/Mod/Surface/Gui/Command.cpp | Diff File | ||
mod - src/Mod/Surface/Gui/Resources/Surface.qrc | Diff File | ||
add - src/Mod/Surface/Gui/Resources/icons/Surface_Extend.svg | Diff File | ||
mod - src/Mod/Surface/Gui/Workbench.cpp | Diff File | ||
master cf5f7d42 2020-09-30 03:21:44 vocx-fc Committer: yorik Details Diff |
Surface: Vertices instead of Vertexes in the task panel | ||
mod - src/Mod/Surface/Gui/TaskFillingVertex.ui | Diff File | ||
master c42149b0 2020-09-30 00:49:37 Details Diff |
making it a bit more forgiving of old jobs/tools | ||
mod - src/Mod/Path/PathScripts/PathSanity.py | Diff File | ||
master e97f7a8a 2020-09-30 00:02:57 Committer: sliptonic Details Diff |
More integer type cleanup for the voronoi python interface | ||
mod - src/Mod/Path/App/VoronoiCellPyImp.cpp | Diff File | ||
mod - src/Mod/Path/App/VoronoiEdgePyImp.cpp | Diff File | ||
mod - src/Mod/Path/App/VoronoiVertexPyImp.cpp | Diff File | ||
master 312a4652 2020-09-29 23:19:30 Details Diff |
Part: [skip ci] expose BRepOffsetAPI_MakeFilling to Python | ||
mod - src/Mod/Part/App/AppPart.cpp | Diff File | ||
add - src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.xml | Diff File | ||
add - src/Mod/Part/App/BRepOffsetAPI_MakeFillingPyImp.cpp | Diff File | ||
mod - src/Mod/Part/App/CMakeLists.txt | Diff File |