Changesets: FreeCAD

master c5d5d69c

2020-10-22 22:06:31

wmayer

Details Diff
Part: [skip ci] add method to approximate a B-spline curve with a given max. degree
mod - src/Mod/Part/App/BSplineCurvePyImp.cpp Diff File
mod - src/Mod/Part/App/Geometry.cpp Diff File
mod - src/Mod/Part/App/Geometry.h Diff File

master d6321308

2020-10-22 19:07:05

GaryH


Committer: Gary L Hasson Details Diff
Refactor marlin_post.py

Change G4 P to G4 S for Marlin
Marlin uses P for milliseconds, S for seconds.
FreeCAD uses P for seconds, so change P to S.

Remove code for G20 inch mode and G91 relative mode
Due to the fundamentals of the FreeCAD pre-processor,
this post processor can only operate in the following modes:
G90 Absolute positions
G21 Metric units (mm)
G17 XY plane (3 axis vertical milling only)

Expand RETURN_TO option to float values for XYZ
The RETURN_TO option previously only accepted integer values, and
only for X and Y.
This change allows float values for XY and optionally Z.

Add class: "Drill" within drill_translate()
The nested functions within drill_translate() need to modify the
variable that was named trBuff. To allow this, trBuff was changed
to class: "Drill" with property "gcode".
Within drill_translate(), including within the nested functions,
modifying "trBuff" is now replaced with modifying "Drill.gcode".

Merge in updated portions of grbl_post.py
Prior verson was derived from an older grbl_post.py.
Merge in the portions of the newer grbl that seem improved.
Refactor overall after the merge.

Add options for partial comments
Add option: --no-finish-comments
Add option: --no-path-comments
mod - src/Mod/Path/PathScripts/post/marlin_post.py Diff File

master 0001cb0f

2020-10-22 17:32:10

wmayer

Details Diff
Sketcher: [skip ci] remove AutoTransaction from ViewProviderSketch::mouseButtonPressed because it breaks the open/commit transaction logic
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File

master 97828f0b

2020-10-22 16:21:13

Roy-043


Committer: yorik Details Diff
Update dxf.cpp

Fixed wrong DXF scale factor for inches. 1/25.4 was wrongly used,
mod - src/Mod/Draft/App/dxf.cpp Diff File

master 5f63f3ae

2020-10-22 16:15:47

Roy-043


Committer: yorik Details Diff
Update dxf.cpp

Fixed wrong Inch scale factor. 1/25.4 was wrongly used.
mod - src/Mod/Import/App/dxf.cpp Diff File

master 88f0ea62

2020-10-22 15:55:51

russ4262


Committer: GitHub Details Diff
Path: Fixes ticket 0004471
mod - src/Mod/Path/PathScripts/PathProfile.py Diff File

master a2a1f04f

2020-10-22 14:58:39

wmayer

Details Diff
Sketcher: [skip ci] remove superfluous transaction when start/finish editing a sketch
mod - src/Mod/Sketcher/Gui/Command.cpp Diff File

master cd4901bf

2020-10-22 14:01:22

wmayer

Details Diff
Sketcher: [skip ci] do not create dialog on heap if not needed to improve exception-safety and reduce possible memory leaks
mod - src/Mod/Sketcher/Gui/Command.cpp Diff File
mod - src/Mod/Sketcher/Gui/CommandSketcherTools.cpp Diff File

master ee79991c

2020-10-22 12:16:37

wmayer

Details Diff
Sketcher: fix regression in CmdSketcherValidateSketch
Do not enable the command if another task dialog is still active
mod - src/Mod/Sketcher/Gui/Command.cpp Diff File

master 9d362535

2020-10-22 10:43:39

wmayer

Details Diff
Part: [skip ci] use the correct icon for helix and sprial view providers
mod - src/Mod/Part/Gui/ViewProviderSpline.cpp Diff File

master 604cfaf7

2020-10-22 03:32:13

russ4262

Details Diff
Path: Apply missing `CutMode` setting when `CutPattern = Offset`

The `CutMode` toggle had no effect. This fix applies the `CutMode` toggle when the `CutPattern = Offset`. The indicated `CutMode` may not be accurate depending on the situation, but the toggle will change the cut direction as intended.
mod - src/Mod/Path/PathScripts/PathSurfaceSupport.py Diff File

master 896a1bcb

2020-10-22 01:35:43

uwestoehr


Committer: wwmayer Details Diff
[PD] more holes fixes

- initialization: thread direction only sensible if there is a thread
- initialization: hole diameter can only be changed if there is no profile
- initialization: only enable allowed hole cut parameters
- also for the ISO profiles it is allowed to countersink/bore deeper/less deep
- UI file: add some tooltips (the other changes were done automatically by Qt's designer)
mod - src/Mod/PartDesign/App/FeatureHole.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskHoleParameters.cpp Diff File
mod - src/Mod/PartDesign/Gui/TaskHoleParameters.ui Diff File

master 0b1cc83c

2020-10-21 18:51:13

TinkerGnome


Committer: wmayer Details Diff
handle button presses on "Spacemouse Enterprise"
mod - src/Gui/3Dconnexion/3DConnexion.xml Diff File
mod - src/Gui/3Dconnexion/GuiNativeEventWin32.cpp Diff File
mod - src/Gui/3Dconnexion/GuiNativeEventWin32.h Diff File

master 318312be

2020-10-21 14:03:04

marioalexis


Committer: yorik Details Diff
Draft: Fix logical error in is_line function
mod - src/Mod/Draft/DraftGeomUtils.py Diff File
mod - src/Mod/Draft/draftgeoutils/edges.py Diff File

master f35d30bc

2020-10-21 03:39:31

vejmarie2


Committer: wwmayer Details Diff
Fix travis build for MacOS

Signed-off-by: Jean-Marie Verdun <jmverdun3@gmail.com>
mod - .travis.yml Diff File

master 33caa1ec

2020-10-21 02:05:19

luz paz


Committer: wwmayer Details Diff
Fix various typos

Found via `codespell v2.0.dev`
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
mod - src/Mod/Draft/draftgeoutils/edges.py Diff File
mod - src/Mod/Draft/draftgeoutils/geometry.py Diff File
mod - src/Mod/Draft/draftmake/make_sketch.py Diff File
mod - src/Mod/Part/App/BRepFeat/MakePrismPyImp.cpp Diff File

master 0a6b7dad

2020-10-21 01:55:51

realthunder


Committer: wwmayer Details Diff
App: fix ObjectIdentifier::relativeTo()

Fixes realthunder/FreeCAD_Assembly3#328
mod - src/App/ObjectIdentifier.cpp Diff File

master ccd89803

2020-10-20 20:15:00

bitacovir


Committer: wwmayer Details Diff
Add SVG icons for two Std commands

Two Std commands do not have icons for the FreeCAD UI (Menu Edit): Std DuplicateSelection, Std_Alignment.
mod - src/Gui/CommandDoc.cpp Diff File
add - src/Gui/Icons/Std_Alignment.svg Diff File
add - src/Gui/Icons/Std_DuplicateSelection.svg Diff File
mod - src/Gui/Icons/resource.qrc Diff File

master d3f0ed24

2020-10-20 15:00:48

wmayer

Details Diff
Add list of all available 3Dconnexion devices
mod - src/Gui/3Dconnexion/GuiNativeEventWin32.cpp Diff File

master 72eb41b2

2020-10-20 13:21:09

jreinhardt


Committer: wwmayer Details Diff
Fix macro code processing

I believe this code is currently incorrect, as it makes references to code outside the "if code" block, where it can not be ensured that code is a string. Moving the code processing into this block avoids this issue.

I experienced a stuck Addon Manager, which was caused by an exception

```
File "/usr/share/freecad/Mod/AddonManager/addonmanager_macro.py", line ..., in fill_details_from_wiki
FreeCAD.Console.PrintWarning(translate("AddonsInstaller", "Unable to clean macro code: ") + code + '\n')
TypeError: can only concatenate str (not "list") to str
```
which is fixed by these changes.

OS: Ubuntu 20.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4.
Build type: Release
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)
mod - src/Mod/AddonManager/addonmanager_macro.py Diff File

master 2bf4448e

2020-10-20 12:50:23

yorik

Details Diff
TechDraw: Better tooltip for scale property
mod - src/Mod/TechDraw/App/DrawView.cpp Diff File

master 0d511d05

2020-10-20 12:43:33

yorik

Details Diff
Arch: Added SectionColor property to Arch Materials
mod - src/Mod/Arch/ArchMaterial.py Diff File
mod - src/Mod/Arch/ArchSectionPlane.py Diff File

master 1a2b75ab

2020-10-20 11:31:40

yorik

Details Diff
Draft: allow to scale imageplanes
mod - src/Mod/Draft/draftfunctions/scale.py Diff File
mod - src/Mod/Draft/draftguitools/gui_scale.py Diff File

master 87eae7c5

2020-10-20 11:13:54

yorik

Details Diff
Arch: Enabled ellipse-based walls - fixes 0003859 Affected Issues
0003859
mod - src/Mod/Arch/ArchWall.py Diff File
mod - src/Mod/Draft/draftgeoutils/offsets.py Diff File

master eee68a31

2020-10-20 10:03:27

yorik

Details Diff
Start: Allow to display more than one custom folder on the start page
mod - src/Mod/Start/Gui/DlgStartPreferences.ui Diff File
mod - src/Mod/Start/StartPage/LoadCustom.py Diff File
mod - src/Mod/Start/StartPage/StartPage.py Diff File
 First  Prev  1 2 3 ... 70 ... 77 78 79 80 81 82 83 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 649 650 651  Next  Last