Commit Graph

1722 Commits

Author SHA1 Message Date
vocx-fc
ee4a067930 Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
bbc37d5537 Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
e844e7b4b6 Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
14c7f43614 Draft: WorkingPlane, Pythonic style, improved the docstrings; added the other getLocalRot() and getGlobalRot() related functions to the 'See also' sections; need to verify their operation as some of these methods seem to just return the original point 2019-08-09 16:54:50 -03:00
vocx-fc
05cb2cb4c1 Draft: WorkingPlane, Pythonic style, improved the docstrings; added a graphic to explain the type of point that the functions return; maybe getLocalCoords() should be named getRelativeCoords(), as the return value is a relative vector referred to the plane. 2019-08-09 16:54:50 -03:00
vocx-fc
023cf12c50 Draft: WorkingPlane, Pythonic style, improved the docstring; why does the projection invert the direction of the component, that is, -x instead of x, if the angle between the vectors x and u is larger than 1 radian? Why specifically 1 radian? 2019-08-09 16:54:50 -03:00
vocx-fc
ad74402d9f Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
ee09fc323a Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
34c2dcb277 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
53ef53e0c8 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
2bdf33478b Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
f13529deac Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
cf430bf754 Draft: WorkingPlane, Pythonic style, improved the docstring 2019-08-09 16:54:50 -03:00
vocx-fc
8ac3b21ca9 Draft: WorkingPlane, Pythonic style, improved the docstring; these methods only work when 'FreeCAD.GuiUp' is True; it should print a message to the console indicating that. 2019-08-09 16:54:50 -03:00
vocx-fc
5a4ca2a4f7 Draft: WorkingPlane, Pythonic style, improved the docstring; setup() only works when 'FreeCAD.GuiUp' is True, otherwise it fails silently. This should be change to print a message to the console. 2019-08-09 16:54:50 -03:00
vocx-fc
17f39fc410 Draft: WorkingPlane, Pythonic style, improved the docstrings; alignToSelection() only works when 'FreeCADGui.Selection' is available, that is, when the graphical interface is loaded. 2019-08-09 16:54:50 -03:00
vocx-fc
97a02d8795 Draft: WorkingPlane, Pythonic style, improved the docstrings; alignToSelection() only really works with Faces because it calls alignToFace(); it doesn't work with Edges nor Wires because alignToCurve() isn't fully implemented. 2019-08-09 16:54:50 -03:00
vocx-fc
7b91cbce33 Draft: WorkingPlane, Pythonic style, improved the docstrings 2019-08-09 16:54:50 -03:00
vocx-fc
51e6f91824 Draft: WorkingPlane, Pythonic style, improved the docstring, although alignToCurve is not yet implemented so it doesn't do anything 2019-08-09 16:54:50 -03:00
vocx-fc
1a328e58f4 Draft: WorkingPlane, Pythonic style, improved the docstring. 2019-08-09 16:54:50 -03:00
vocx-fc
04a0c0bbf8 Draft: WorkingPlane, Pythonic style, improved the docstring. 2019-08-09 16:54:50 -03:00
vocx-fc
2d294994a7 Draft: WorkingPlane, Pythonic style, improved the docstrings. 2019-08-09 16:54:50 -03:00
vocx-fc
9b3aba60b0 Draft: WorkingPlane, Pythonic style, improved the docstrings, in particular offsetToPoint(); I have some doubts about the implementation in 3D space as it seems to calculate a projected distance, and not the real distance; I don't think this is very helpful when the direction is different from perpendicular (normal); perpendicular distance is certainly the most common case, so I don't know if there is any problem at all in practice. 2019-08-09 16:54:50 -03:00
vocx-fc
59f66dcf87 Draft: WorkingPlane, Pythonic style, docstring of the initialization of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
dbbb84b441 Draft: WorkingPlane, Pythonic style, docstring of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
89b9e64786 Draft: WorkingPlane, Pythonic style, docstring of the plane class 2019-08-09 16:54:50 -03:00
vocx-fc
15b11b8cb9 Draft: WorkingPlane, Pythonic style, added whitespace 2019-08-09 16:54:50 -03:00
vocx-fc
1161cbb9ba Draft: WorkingPlane, moved document docstring to the top 2019-08-09 16:54:50 -03:00
vocx-fc
f54cbb9682 Draft: WorkingPlane, Pythonic style, added spaces after commas, and removed trailing whitespace 2019-08-09 16:54:50 -03:00
vocx-fc
ba5ba2af68 Draft: WorkingPlane, Pythonic style, added spaces after commas 2019-08-09 16:54:50 -03:00
vocx-fc
cdde9a4df6 Draft: WorkingPlane, Pythonic style, added spaces after commas 2019-08-09 16:54:50 -03:00
vocx-fc
0decb4118b Draft: WorkingPlane, Pythonic style, added spaces 2019-08-09 16:54:50 -03:00
vocx-fc
92797bc976 Draft: WorkingPlane, Pythonic style, add spaces 2019-08-09 16:54:50 -03:00
vocx-fc
4ecb107098 Draft: WorkingPlane, removed excessive indentation 2019-08-09 16:54:50 -03:00
vocx-fc
d3a41be668 Draft: WorkingPlane, removed unnecessary semi-colons and indentation 2019-08-09 16:54:50 -03:00
luz.paz
eb595acfec Fix misc. source comment typos
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -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`  
Fix ./src/Tools/fcinfo grammar + whitesapce  
Fix typos in ./src/Mod/Mesh/App/Core/Evaluation.cpp
2019-08-07 20:16:45 -04:00
vocx-fc
364e3927c1 Draft: improved the style of the code, checked with flake8 2019-07-26 10:54:01 -03:00
vocx-fc
edaf03b0a4 Draft: improved Python style, checked with flake8 2019-07-26 10:54:01 -03:00
Syres916
7674502063 [Draft] ImportSVG apply suggested changes
along with two bug fixes subsequently detected in testing
2019-07-25 23:36:34 -03:00
Syres916
3db7496ebf [Draft] ImportSVG - Set DPI automatically where possible
...otherwise request user input
2019-07-25 23:36:34 -03:00
Yorik van Havre
521fc29eac Draft: minor fixes to Label tool 2019-07-17 18:00:55 -03:00
luz.paz
ff1a7fd0a8 Fix typos
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -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`
2019-07-16 11:21:52 -03:00
donovaly
4703495334 update, fix and uniform draft tooltips 2019-07-16 13:28:06 +02:00
Yorik van Havre
8048f93627 Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
paullee0
589a2ac4f5 ArchWall_DraftGeomUtils Multi-Width support added
Discussion:- https://forum.freecadweb.org/viewtopic.php?f=23&t=36772&p=319829#p319829
2019-07-13 12:52:20 -03:00
Yorik van Havre
7eccda34d0 Arch: Lightweight mode for Arch References 2019-07-11 19:37:10 -03:00
luz.paz
c79fc5ce2c [Draft] source comment typo fix 2019-07-11 19:17:07 +02:00
Yorik van Havre
0d4106541c Draft: Fixed clone bugs 2019-07-11 12:44:04 -03:00
Yorik van Havre
cf18161dc2 Draft: discard unsupported curve types in intersection snap 2019-07-09 17:33:03 -03:00
Yorik van Havre
45367edb6d Arch/Draft: Fixed remaining bugs from latest commits 2019-07-09 15:07:00 -03:00