Commit Graph

24592 Commits

Author SHA1 Message Date
wmayer
44c444bf2f Gui: Running a command with Gui.runCommand() must always be considered as Gui command 2021-03-28 18:40:16 +02:00
wmayer
2565ef5f69 PD: in setEdit() helper function make sure that recorded macro is handled as Gui command 2021-03-28 18:39:44 +02:00
David Osterberg
673150d4b7 Gui: Change the Part icon 2021-03-28 17:46:16 +02:00
Chris Hennes
48b4a9d7c9 Remove unneeded Qt version checks 2021-03-28 17:41:27 +02:00
Chris Hennes
be0d3e1157 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
2021-03-28 17:03:09 +02:00
Chris Hennes
49f4e66501 Minor refactoring and cleanup of the About window
Removes old Qt code, restores the conditional inclusion of the
3Dconnexion license information, shortens the displayed hash, and links
the hash to its repo.
2021-03-28 16:12:27 +02:00
donovaly
b8a7fb26c1 [Part] save icons with uniform resolution
- also save them as plain SVG to get rid of sometimes deprecated Inkscape-only stuff
2021-03-28 16:02:28 +02:00
flachyjoe
3b089ee761 format TopoShapeWirePy.xml 2021-03-28 15:36:36 +02:00
flachyjoe
0b8c738920 format TopoShapeSolidPy.xml 2021-03-28 15:36:36 +02:00
flachyjoe
8c1f3d16af format TopoShapeShellPy.xml 2021-03-28 15:36:36 +02:00
flachyjoe
f167fb1765 format TopoShapeEdgePy.xml 2021-03-28 15:36:36 +02:00
flachyjoe
88c60f127b format TopoShapeCompoundPy.xml 2021-03-28 15:36:36 +02:00
flachyjoe
c97c77ba1d format TopoShapeCompSolidPy.xml 2021-03-28 15:36:36 +02:00
flachyjoe
79e3cc18b2 format TopoShapeFacePy.xml 2021-03-28 15:36:36 +02:00
flachyjoe
a9d99cbd3c fix some missed lines 2021-03-28 15:36:36 +02:00
flachyjoe
5389eeccb3 Improve Part.Shape methods documentation
Formats UserDocu to follow the template:
 Description
 method(args) -> return
 --
 More infos
2021-03-28 15:36:36 +02:00
wmayer
bc51f50720 OpenSCAD: [skip ci] disable rich text in OpenSCAD widget to avoid weird behaviour when copying code from an HTML page 2021-03-28 13:51:38 +02:00
wmayer
27049b3e54 PD: remove superfluous code block from Helix::execute 2021-03-28 13:38:53 +02:00
wmayer
2df88592ec PD: replace error-prone strings with enum to handle different helix modes 2021-03-28 13:37:13 +02:00
tomate44
1a8b840709 PartDesign Helix: update NbTurns in Pitch-Height-Angle mode 2021-03-28 13:13:10 +02:00
Chris Hennes
5b9f7116ce [OpenSCAD] Add angle & $fn to rotate_extrude(file) 2021-03-28 12:38:31 +02:00
Chris Hennes
74c2ef4e8d [OpenSCAD] Add $fn and angle to rotate_extrude()
As pointed out in Issue #0004353 the OpenSCAD Workbench does not
correctly implement the angle parameter to rotate_extrude (it's a
relatively recent addition to OpenSCAD), nor does it attempt to do
anything with a specified $fn. This commit adds both features. To add
$fn handling, the code from the cylinder extrusion was mimicked,
allowing FreeCAD to create perfect, smooth representations when $fn
exceeds a user specified value in Preferences, but attempting to create
OpenSCAD's more discrete representation when using a lower $fn. Note
that this determination is made at creation time: if the user later
increases the segments parameter in the new object, it will remain
prismatic regardless of how high the value is made.
2021-03-28 12:38:11 +02:00
lvk88
7bc24b5582 [GUI] Enable dragging in dependency graph view
This commit makes it possible to drag the dependency graph using the
left mouse button.

See issue #3896.
2021-03-28 12:06:59 +02:00
Chris Hennes
dd8447445a [PD] Misc. small LGTM fixes 2021-03-28 11:39:04 +02:00
donovaly
4839b14adc [Gui] add Std_TransformManip to MenuItem
I was wondering why we only offer this tool in the context menu. I tested and cannot see a drawback in having it also in the edit menu
2021-03-28 11:34:40 +02:00
donovaly
c242d8ba64 [Sketch] fix a typo in preferences dialog
- all other option text use consequently lowercase letters
- also set dialog to a more sensible sensible size
- the other changes were automagically done by QT Creator
2021-03-28 11:32:22 +02:00
wmayer
a2ba99452f Mesh: [skip ci] in ViewProviderMesh::highlightSegments change material binding only if colors list is non-empty 2021-03-28 11:27:04 +02:00
luz paz
1a40cdfd43 fix source comment typos [skip ci]
Found via  codespell v2.1.dev0
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,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,parms,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,./build/doc/SourceDocu
```
2021-03-28 10:57:24 +02:00
donovaly
40eb30ce8c [FEM] add a Graphite material card 2021-03-28 10:56:13 +02:00
wmayer
a3c2190c35 Gui: [skip ci] handle number of decimals in PropertyUnitItem, PropertyVectorDistanceItem and PropertyPlacementItem 2021-03-27 18:31:49 +01:00
wmayer
84081466eb travis: switch Netgen support off for Windows builds 2021-03-27 15:37:48 +01:00
wmayer
7b3b9767c5 smesh: [skip ci] suppress C++17 related warnings about extensions 2021-03-27 13:55:21 +01:00
Chris Hennes
8fd6929c8d [Travis] Update CI to use new libpack location. 2021-03-27 13:26:14 +01:00
wmayer
3737a3cfb2 TD: fixes #0004598: Segfault when deleting template without page 2021-03-27 13:18:15 +01:00
wmayer
7eaf08063e App: add system32 to Python's search paths 2021-03-27 13:05:03 +01:00
Syres916
d630156237 [Sketcher] Settings checkBox for..
...setting Diameter as default constraint for Arcs and Circles
See discussion : https://forum.freecadweb.org/viewtopic.php?f=3&t=57054
2021-03-27 06:13:09 +01:00
Syres916
5161b32b65 [Sketcher] Constraints Allow User to...
...set Diameter as default constraint for Arcs and Circles
See discussion : https://forum.freecadweb.org/viewtopic.php?f=3&t=57054
2021-03-27 06:13:09 +01:00
wmayer
1d867d9b9d MeshPart: refactor class Tessellation 2021-03-27 01:29:21 +01:00
wmayer
c3228becfc MeshPart: refactor class Mesher 2021-03-27 01:28:54 +01:00
sliptonic
03964c7200 Merge pull request #4664 from papaathome/uccnc_postprocessor
Path: Added UC-CNC postprocessor script.
2021-03-26 15:26:05 -05:00
andre
19a5fbb72d Aplied Flake8 formatting and removed redundant global declarations.
Line limit used: 100 characters, still 3 lines longer than that.
2021-03-26 17:53:02 +01:00
Yorik van Havre
030bda5ce9 Merge pull request #4609 from hyarion/cleanup-draft-load-texture
Draft: Simplify load_texture after py3 requirement
2021-03-26 11:30:50 +01:00
Yorik van Havre
dce69f3c7b Merge pull request #4550 from chennes/lgtmDice3DSIssues
[Arch] LGTM issues in Dice3DS
2021-03-26 11:30:11 +01:00
Yorik van Havre
511df2fa5d Merge pull request #4630 from luzpaz/typos
Fixed misc. typos [skip ci]
2021-03-26 11:29:34 +01:00
Yorik van Havre
08f9406814 Merge pull request #4631 from sde1000/webgl-export-camera-buttons
Fix camera position buttons in WebGL export
2021-03-26 11:29:03 +01:00
Yorik van Havre
32a3e3177a Merge pull request #4656 from chennes/draftContextMenuFallback
[Draft] Enable Transform context menu item
2021-03-26 11:28:36 +01:00
Yorik van Havre
6797cfcd33 Merge pull request #4658 from chennes/draftFixScaleDataEntryGlitch
[Draft] Fix bug in data entry on scale w/ uniform scaling on
2021-03-26 11:27:30 +01:00
Yorik van Havre
32b48549be Merge pull request #4661 from chennes/draftImportDXFNoGUI
[Draft] Eliminate required GUI for importDXF
2021-03-26 11:26:50 +01:00
Yorik van Havre
470a39f456 Merge pull request #4667 from oliveroxtoby/master
AddonManager: Fixed minor logic glitch affecting non-github addons
2021-03-26 11:25:14 +01:00
Yorik van Havre
4c1635706e Merge pull request #4453 from regularfry/lgtm-arch-unused-imports
Arch: removes unused imports
2021-03-26 11:22:11 +01:00