Commit Graph

21133 Commits

Author SHA1 Message Date
luz paz
19e984f8c9 Fix various typos
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-12 14:50:39 -06:00
Yorik van Havre
f3530800b0 Merge pull request #5371 from Roy-043/Arch-Fix-translation-issues
Arch: Fix translation issues
2022-01-12 13:37:52 +01:00
Chris Hennes
1f70e352a8 OpenSCAD: Rewrite fixVisibility() to use rootObj
The original algorithm tried to use a heuristic to calculate which
objects should be shown or hidden, based on the object name. This commit
replaces that heurstic with a request for the list of root objects from
FreeCAD, which is then filtered to remove those that existed before the
import. Any descendant of those root objects is hidden, and the root
made visible, in keeping with the design of the CSG importer.
2022-01-11 14:04:57 -06:00
Wanderer Fan
79f9fb6845 [TD]expose Page request paint method to Python 2022-01-11 09:36:48 -05:00
Wanderer Fan
3a7a12e436 [TD]improve handling of View in multiple Pages 2022-01-11 09:36:48 -05:00
Chris Hennes
4cc744c920 AddonManager:Correct funcion name 2022-01-11 07:38:40 -06:00
Chris Hennes
70d61b9624 Addon Manager: Fix for Py3.6 w/ no fromisodate 2022-01-10 21:14:32 -06:00
Uwe
5ee5a6ed36 [TD] fix a double to float truncation compiler warning
fixes warning C4305: 'argument': truncation from 'double' to 'float'
2022-01-11 02:10:44 +01:00
Chris Hennes
1bfbcb5c95 Addon Manager: Remove progress object from git pull 2022-01-10 10:45:23 -06:00
sliptonic
619947fcc2 Merge pull request #5270 from iromero91/dressup_translate_fixes
[PATH] Translation fixes for dressup operations
2022-01-10 10:42:04 -06:00
sliptonic
b0d7bd5961 Merge pull request #5329 from belov-oleg/path_simulator
Path Simulator: A workaround of the bug while milling curves with small radius
2022-01-10 10:30:32 -06:00
Roy
adf084bb45 TechDraw: Rename TechDraw_ExtensionArc command to TechDraw_ExtensionDrawCosmArc 2022-01-10 11:22:18 -05:00
sliptonic
2e6437a961 Merge pull request #5352 from sliptonic/bug/simulator
[Path]  bug fixes for dxf_post and simulator
2022-01-10 09:28:05 -06:00
Uwe
626425526b [PD] sort out more Pad/Pocket code
as suggested in #5349
2022-01-10 14:33:02 +01:00
Yorik van Havre
00695f7378 Merge pull request #5307 from marioalexis84/draft-projectPoint
Draft: Fix projectPoint method
2022-01-10 12:53:36 +01:00
Yorik van Havre
e33ef084ff Merged crowdin translations 2022-01-10 11:23:59 +01:00
Yorik van Havre
de374cbdfa Updated ts files (after @chennes ludate fix) 2022-01-10 11:15:28 +01:00
Roy
65425b5e30 Arch: Fix translation issues 2022-01-10 10:26:08 +01:00
Roy-043
bb6e0a026e Draft: fix Draft_SelectGroup
The behavior of the Draft_SelectGroup command was a bit cryptic. Layers were also regarded as groups. And the selection result was not the same if a nested object, instead of the group that object was in, was selected. The new version selects all objects in the `Group` property of the selected groups (or group-like objects). Nested groups are selected, but their contents is not.
2022-01-09 21:09:42 -06:00
Chris Hennes
19db2f5ca0 Addon Manager: Add version-based Addon deprecation 2022-01-09 21:02:57 -06:00
luz paz
b70c7b6323 Fix superfluous whitespace in various files 2022-01-09 21:01:42 -06:00
luz paz
b0fcf45513 Fix various superfluous whitespace in *.dox files 2022-01-09 21:01:42 -06:00
David Österberg
2ba95b3423 PartDesign: Improve orientation behaviour for conical helices (#5363)
* PartDesign: Improve orientation behavior for conical helices

As identified in the forum
https://forum.freecadweb.org/viewtopic.php?f=3&t=65136

The Freenet orientation mode does not give expected results for helices with cone angle.
By using an auxiliary helix that is axially offset it is guaranteed that the orientation frame
is always consistent with a cylindrical coordinate system.

Results will be the same as before when cone angle is 0.
2022-01-09 22:13:15 +01:00
Uwe
cf0764c1b5 [Part] sort includes 2022-01-09 21:59:02 +01:00
Uwe
f84d32d1b6 [PD] sort includes
- to keep the overview
- removed double entries
- will make diff of pending PRs smaller
2022-01-09 21:36:07 +01:00
Abdullah Tahiri
8923f50dce Sketcher: Remove unnecesary geometry touch 2022-01-09 11:40:49 +01:00
Abdullah Tahiri
247a9f0876 Sketcher: EditCoinManager - Check constraint types on updating constraint color
===============================================================================

Problem:
- While SketchObject inhibits intermediate updates during internal command execution, sometimes
a change in the selection (clear selection) in an intermediary step triggers an spurious update colour.

- There will be a final draw and this update colours at the end of the internal command.

- If the types of the constraints changed during the intermediary steps, it may happen that the constraint
coin nodes at a given position no longer correspond to the constraint type in the SketchObject property. This
may cause a attempt to access to a non-existing node or static casting a existing node to the wrong type.

Solution:
- Check the type of the constraint against the cached type. If not matching, cancel the color update.
2022-01-09 11:40:49 +01:00
Ajinkya Dahale
d920d73af4 [Sketcher] Add knot insertion command in Sketcher workbench 2022-01-09 11:33:53 +01:00
Ajinkya Dahale
d8c5801b95 [Sketcher] Add insertBSplineKnot to SketcherObject
[Sketcher] Workaround for segfault on knot insertion
2022-01-09 11:33:53 +01:00
Ajinkya Dahale
978f579870 [Part] Support insertion of knots in b-splines 2022-01-09 11:33:53 +01:00
wmayer
f1a265479d PD: declare signedLengthConstraint in FeatureExtrude as static class member 2022-01-09 10:53:04 +01:00
wmayer
26f9e7869f App: replace three boolean of CellAddress::toString() with a bitmask of enums 2022-01-09 10:39:54 +01:00
Chris Hennes
2cbe72aea5 Addon Manager: Display download progress 2022-01-09 00:46:07 -06:00
Chris Hennes
e4bb4e7db7 Addon Manager: Correct typo 2022-01-08 22:39:42 -06:00
Chris Hennes
3c937a5f8d Addon Manager: Clean up thread termination 2022-01-08 22:30:05 -06:00
Chris Hennes
ddac2f7580 Addon Manager: Correct bad metadata update 2022-01-08 21:07:32 -06:00
marioalexis
1cd01248e0 Draft: Fix projectPoint method 2022-01-08 23:16:15 -03:00
Chris Hennes
efa08946f2 Addon Manager: Improve stability when cache update interrupted 2022-01-08 19:47:57 -06:00
Chris Hennes
3b76a23d7b Addon Manager: Silence error on missing cache 2022-01-08 11:32:33 -06:00
Chris Hennes
f8e08659d2 Addon Manager: Fix error on fast failed connection 2022-01-08 11:29:43 -06:00
luz paz
eef27b845f Start: header uniformity + whitespace management + misc. pep8 fixes 2022-01-08 18:28:27 +01:00
Uwe
417d18762c [Part] improve Extrude dialog
- adds missing tooltip and label
- improve tooltips
2022-01-08 18:13:06 +01:00
David Osterberg
968a9d83ae PartDesign: Silence noisy FeatureTransformed
Remove several report view messages that are not necessary for everyday use.
By request from the forum (https://forum.freecadweb.org/viewtopic.php?f=3&t=64900&start=20#p558962)
2022-01-08 15:30:39 +01:00
wmayer
118b7aa0cc Sketcher: improve exception handling
* if determining the normal raises an exception then fall back to a default value
* when handling a Base::Exception then call its ReportException() function to get as much information as possible
2022-01-08 13:48:01 +01:00
Oleg Belov
a81dedc791 Merge branch 'master' into path_simulator 2022-01-08 10:58:30 +03:00
Uwe
38cc6f29e0 [PD] Pad /Pocket: remove unused code 2022-01-08 03:24:09 +01:00
Uwe
5aadc54d18 [PD] Pad/Pocket: fix reverse behavior
- bring back intended behavior as in FC 0.19:
 - if 2 lengths, then midplane is invisible
 - if reversed checked, then no symmetric and if symmetric then no reverse
- unify the code for Pad and Pocket (reversed is always visible)
- fix a typo in a bool name
2022-01-08 01:15:23 +01:00
Uwe
e2f883fcc4 [PD] Pad/Pocket: sort out common code
- sort out a constraint used by Pad and Pocket
- also unify Length2 parameter naming
2022-01-08 00:45:19 +01:00
Roy-043
cc447a061c Draft: Fix issues with translate and _tr (#5351) 2022-01-08 00:04:53 +01:00
Oleg Belov
d556a38752 Merge branch 'master' into path_simulator 2022-01-08 00:24:23 +03:00