Commit Graph

29101 Commits

Author SHA1 Message Date
Roy-043
e71c860985 Draft: fix scale.py copy_scaled_edge
The `copy_scaled_edge` function should return a wire, not an edge. The `join_wires` function, called in `copy_scaled_edges`, can only handle wires.
2022-01-06 17:38:41 +01:00
Roy-043
de9007ba92 Draft: Fix importSVG.py: wrong position for certain ellipses (#5297)
Ellipses and elliptical arcs with a y radius larger than their x radius would end up in the wrong position.
2022-01-06 17:02:41 +01:00
Roy-043
f6754eddfc Draft: make Draft_Snap_Angle work in 3D
Draft_Snap_Angle only worked for circular edges on a plane parallel to the XY plane of the global coordinate system.
2022-01-06 16:57:55 +01:00
sliptonic
d5870a87e8 Merge pull request #5319 from jimzim111/PathArray_RandomSeed
Path: Path array jitter random seed
2022-01-06 09:56:12 -06:00
Uwe
a6b01fa1f0 [PD] Hole: some coding style fixes
all done by MSVC
2022-01-06 16:18:25 +01:00
Uwe
7afcc93062 [PD] remove wrong comment
was accidentally introduced by ma previous commit
2022-01-06 16:15:39 +01:00
Uwe
d232f17e23 [PD] Hole: don't call onChanged on restoration
fixes the issue reported here: https://forum.freecadweb.org/viewtopic.php?f=10&t=65035
2022-01-06 15:51:03 +01:00
Uwe
8df64b7426 [PD] add missing hole constraint
- add missing constraint for hole diameter
- add missing sets of angle constraints in the task dialog
2022-01-06 15:39:13 +01:00
Uwe
f2b0333c75 [PD] Hole: coding style fixes
all by MSVC
2022-01-06 03:51:13 +01:00
Uwe
76c611ae2a [PD] remove unnecessary Unicode characters
they cause problems: https://forum.freecadweb.org/viewtopic.php?p=559077#p559077
2022-01-06 02:57:53 +01:00
wmayer
0c0239571b Sketcher: avoid attaching to/detaching from the same parameter group twice 2022-01-06 00:35:36 +01:00
jim
7ab27ff2e2 merge with formatting and translation changes 2022-01-05 15:01:43 -08:00
wmayer
6aec424aa5 Gui: override QuantitySpinBox::setExpression and validate expression to update internal representation 2022-01-05 20:15:03 +01:00
wmayer
00d6f4f2df Gui: refactor code to reduce code duplication 2022-01-05 20:13:09 +01:00
wmayer
cc4597503f App: include FCGlobal.h for export macro 2022-01-05 20:11:16 +01:00
sliptonic
aa56ce4799 Merge pull request #5336 from jimzim111/Path_Post_MachineCommands
Path: Grbl_post: Allow controller-specific/non-standard gcode commands
2022-01-05 11:53:57 -06:00
Mariwan
122deb98fb Draft: change static to non-static declared variables (#5292)
* Draft: change static to non-static declared variables

* Change variable name and add some comment
2022-01-05 16:39:28 +01:00
mwganson
c93c0e6aaf [Part::CheckGeometry] pass object to buildShapeContent() rather than string as docname.objname 2022-01-05 15:06:49 +01:00
wmayer
ddbf8e0e2d Sketcher: avoid attaching to/detaching from the same parameter group twice 2022-01-05 14:05:05 +01:00
luz paz
4e2c1158c6 Tools: update _TEMPLATE to 2022 2022-01-05 13:20:48 +01:00
luz paz
7f27c81119 Update 'About' info to reflect new year 2022 2022-01-05 13:20:48 +01:00
Uwe
64b2677ac0 [PD] get rid of a CI compiler warning (#5335)
* [PD] get rid of a CI compiler warning

The CI compiler outputs this warning:
FeaturePad.cpp:101:20: warning: variable 'obj' set but not used [-Wunused-but-set-variable]

Co-authored-by: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2022-01-05 12:26:48 +01:00
Mark Ganson TheMarkster
8d6ff3c07b [Spreadsheet] Use DontUseNativeColorDialog parameter when using QtCol… (#5326)
* [Spreadsheet] Use DontUseNativeColorDialog parameter when using QtColorDialog::getColor()
2022-01-05 12:23:14 +01:00
jim
c461af19c3 check for gcode comments that contain controller-specific commands to include 2022-01-04 22:23:15 -08:00
Uwe
dfa62af40f [PD] avoid a single-letter variable
(single letter variables make it hard to read and understand code quickly and are error-prone for typos)
2022-01-05 03:16:00 +01:00
David Osterberg
a0746a0c02 PD: Fix bug in FeatureTransformed
It is important to not include the original in the pattern because the original might not be at the tip of the feature tree. Including the original
will interfere with changes that occur further down in the feature tree

This fixes the bug identified in
https://forum.freecadweb.org/viewtopic.php?f=3&t=64900
2022-01-05 02:27:53 +01:00
luz paz
dc288a7ade Fix more typos + whitespace fix and added 'TODO'
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,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`
2022-01-04 18:57:56 -06:00
luz paz
3292475613 Fix various typos 2022-01-04 18:57:56 -06:00
mwganson
977b602469 [PartDesign] Chamfer and Fillet, select all edges for the user when no subobjects have been selected prior to executing command 2022-01-05 01:40:10 +01:00
sliptonic
dd651d5dc3 Merge pull request #5330 from sliptonic/bug/translation-post
[Path] Bug/translation post
2022-01-04 17:34:29 -06:00
sliptonic
12a5774ab7 newline characters 2022-01-04 17:34:09 -06:00
sliptonic
bab226a051 Merge pull request #5331 from sliptonic/bug/translation-setupsheet
[PATH] Bug/translation setupsheet
2022-01-04 17:32:10 -06:00
sliptonic
0a44fab03c Merge pull request #5324 from sliptonic/bug/translation3
Path Translation cleanup part 2 [PATH]
2022-01-04 17:31:41 -06:00
sliptonic
c7a20f2876 Translation cleanup. Setupsheet related files. Simple copy, simulator 2022-01-04 14:45:36 -06:00
sliptonic
3217352194 black reformat (setupsheet) 2022-01-04 14:26:52 -06:00
sliptonic
268203103d translation cleanup (postprocessing files) 2022-01-04 13:49:27 -06:00
sliptonic
f3eceb3f4a Black reformat (postprocessing files) 2022-01-04 13:34:22 -06:00
mwganson
abe76b35f4 [TechDraw] Use global DontUseNativeColorDialog parameter from BaseApp/Preferences/Dialog when opening color dialog 2022-01-04 12:55:21 +01:00
Florian Simmer
7a1695cb2c Codespell: add rady to the ignorelist 2022-01-04 12:45:24 +01:00
Uwe
472c09cd09 [Win installer] upgrade year 2022-01-04 04:10:56 +01:00
Florian Simmer
ba205415c5 change the workflow trigger
from pull_request to pull_request_target
2022-01-03 18:10:21 -06:00
Florian Simmer
3ce001abdf remove the AddonManager Label 2022-01-03 18:10:21 -06:00
Florian Simmer
8508324efc Github: Create Labeler workflow/action and labels.yml file 2022-01-03 18:10:21 -06:00
Uwe
4b0767dec1 [TD] some style unification
automatically done by MSVC
2022-01-03 23:30:43 +01:00
Uwe
1999e7563c [CMake] fix mis-matching arguments issue
fixes this error:
A logical block opening on the line
    cMake/FindCoin3D.cmake:12 (IF)
  closes on the line
    cMake/FindCoin3D.cmake:64 (ENDIF)
  with mis-matching arguments.
2022-01-03 22:51:50 +01:00
José Ignacio Romero
3bb235a17a Move SimpleEditPanel to its own file 2022-01-03 10:55:33 -06:00
José Ignacio Romero
84e8c03c44 Dont put mutables where they are initialized only once 2022-01-03 10:55:33 -06:00
José Ignacio Romero
cf1db1eedc Implement mixin class for simple GUIs over properties 2022-01-03 10:55:33 -06:00
José Ignacio Romero
a0492e3cdb Change UI panel name to put all translations in one context 2022-01-03 10:55:33 -06:00
José Ignacio Romero
3a5a4e5f2a Fix translations in PathDressupLeadInOut 2022-01-03 10:55:33 -06:00