Commit Graph

26949 Commits

Author SHA1 Message Date
Philipp Knechtges
2e2f45f1fe [FEM] speed up get_femelement_sets in meshtools.py
The previous implementation was quite slow in filling up the remaining_femelements list.
The new implementation fixes this by using numpy for the heavy work.
2022-01-07 01:23:01 +01:00
sliptonic
2edfc6abf4 Merge pull request #5228 from P-C-R/RRF-PP-for-Path
Path | RRF (RepRapFirmware | Duet Boards) PP
2022-01-06 18:18:02 -06:00
sliptonic
7470ab798b Merge pull request #5290 from Russ4262/fix/3D_Surface_Optimize
[Path] Fix 3D Surface OptimizeStepOverTransitions property error
2022-01-06 18:15:36 -06:00
luz paz
d4f1082eda Plot: remove superfluous whitespace 2022-01-07 00:57:36 +01:00
luz paz
23733e594a Plot: Expose src/Mod/Plot strings to translation
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/60
2022-01-07 00:57:36 +01:00
Uwe
5f59b5e37f [PD] correct copyright
these files were added by Werner in 2020
2022-01-06 21:56:53 +01:00
luz paz
fd3f2b0092 Fix various typos and refinements 2022-01-06 20:22:34 +01:00
Roy-043
31221291a8 Draft: improve get_group_contents function in groups.py
For consistency the get_group_contents function should use is_group to identify groups. The code dedicated to Site objects and Drawing pages was removed.
2022-01-06 17:40:11 +01:00
Roy-043
473c9d2234 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
6f970b197f 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
ba3961574b 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
fc88f8c3c1 Merge pull request #5319 from jimzim111/PathArray_RandomSeed
Path: Path array jitter random seed
2022-01-06 09:56:12 -06:00
Uwe
d660bce346 [PD] Hole: some coding style fixes
all done by MSVC
2022-01-06 16:18:25 +01:00
Uwe
76f5fe6a74 [PD] remove wrong comment
was accidentally introduced by ma previous commit
2022-01-06 16:15:39 +01:00
Uwe
2783563e11 [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
55421ce9cb [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
4b6c0a6f2d [PD] Hole: coding style fixes
all by MSVC
2022-01-06 03:51:13 +01:00
Uwe
460d4ad404 [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
52fc10a59f Sketcher: avoid attaching to/detaching from the same parameter group twice 2022-01-06 00:35:36 +01:00
jim
56007ef862 merge with formatting and translation changes 2022-01-05 15:01:43 -08:00
wmayer
396f1bf8b8 Gui: override QuantitySpinBox::setExpression and validate expression to update internal representation 2022-01-05 20:15:03 +01:00
wmayer
8dffd95639 Gui: refactor code to reduce code duplication 2022-01-05 20:13:09 +01:00
wmayer
bea4b65639 App: include FCGlobal.h for export macro 2022-01-05 20:11:16 +01:00
sliptonic
0fa6d727f8 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
e63472b10c 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
b382d855e0 [Part::CheckGeometry] pass object to buildShapeContent() rather than string as docname.objname 2022-01-05 15:06:49 +01:00
wmayer
922582d036 Sketcher: avoid attaching to/detaching from the same parameter group twice 2022-01-05 14:05:05 +01:00
luz paz
db8a09bb03 Tools: update _TEMPLATE to 2022 2022-01-05 13:20:48 +01:00
luz paz
8a0d24abde Update 'About' info to reflect new year 2022 2022-01-05 13:20:48 +01:00
Uwe
6c2178d082 [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
10aae4619a [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
a1c7acbf13 check for gcode comments that contain controller-specific commands to include 2022-01-04 22:23:15 -08:00
Uwe
f3f6f08e31 [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
1f84ed1e6e 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
daa508a55c 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
ec6d157b82 Fix various typos 2022-01-04 18:57:56 -06:00
mwganson
6be358fdfa [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
51e2acdff5 Merge pull request #5330 from sliptonic/bug/translation-post
[Path] Bug/translation post
2022-01-04 17:34:29 -06:00
sliptonic
f670fd3c86 newline characters 2022-01-04 17:34:09 -06:00
sliptonic
ab62cad9f8 Merge pull request #5331 from sliptonic/bug/translation-setupsheet
[PATH] Bug/translation setupsheet
2022-01-04 17:32:10 -06:00
sliptonic
58c2762f66 Merge pull request #5324 from sliptonic/bug/translation3
Path Translation cleanup part 2 [PATH]
2022-01-04 17:31:41 -06:00
sliptonic
05d8253ee2 Translation cleanup. Setupsheet related files. Simple copy, simulator 2022-01-04 14:45:36 -06:00
sliptonic
ddd680e932 black reformat (setupsheet) 2022-01-04 14:26:52 -06:00
sliptonic
bfaca44221 translation cleanup (postprocessing files) 2022-01-04 13:49:27 -06:00
sliptonic
0cbafaf270 Black reformat (postprocessing files) 2022-01-04 13:34:22 -06:00
mwganson
09d1e31b73 [TechDraw] Use global DontUseNativeColorDialog parameter from BaseApp/Preferences/Dialog when opening color dialog 2022-01-04 12:55:21 +01:00
Florian Simmer
6ef0b68236 Codespell: add rady to the ignorelist 2022-01-04 12:45:24 +01:00
Uwe
bffb4f5364 [Win installer] upgrade year 2022-01-04 04:10:56 +01:00
Florian Simmer
4f40254bf2 change the workflow trigger
from pull_request to pull_request_target
2022-01-03 18:10:21 -06:00
Florian Simmer
642d308800 remove the AddonManager Label 2022-01-03 18:10:21 -06:00