Zheng, Lei
de9732db1e
Draft: disable implicit property linking in LinkArray
2019-08-30 13:35:25 +02:00
Yorik van Havre
5d2713e43f
Draft: Export DXF objects with BYLAYER color if applicable
2019-08-28 22:48:57 -03:00
Yorik van Havre
8782d39f8b
Draft: further fixes to svg generation code
2019-08-28 21:21:05 -03:00
Yorik van Havre
24caf8dab1
Draft: Fixed text color and faces with holes in SVG rendering
2019-08-28 20:09:25 -03:00
Yorik van Havre
04ff03fb58
Draft/TechDraw: Allow TD Draft views to not override individual colors and line type of rendered objects
2019-08-28 16:50:06 -03:00
Yorik van Havre
0e27f88bb7
Draft: Support for layer colors and linestyles in DXF import/export (legacy)
2019-08-27 22:59:35 -03:00
Yorik van Havre
0b3df322fb
Draft: misc small fixes
2019-08-27 21:29:20 -03:00
Yorik van Havre
f16f58c040
Draft: Fixed tooltips
2019-08-26 14:16:19 -03:00
Yorik van Havre
1e718010b9
Draft: Fixed regression in snapping
2019-08-26 14:01:15 -03:00
Yorik van Havre
d45a4a347e
Draft: fixed color buttons dialogs not starting with the right color
2019-08-24 19:41:26 -03:00
vocx-fc
271929016a
Draft: DraftFillet, changed some things about the implementation.
2019-08-22 10:54:41 -03:00
vocx-fc
12746d6148
Draft: added Draft_Fillet.svg as an icon, as a variation of the Sketcher fillet icon. Add it to Draft.qrc.
2019-08-22 10:54:41 -03:00
vocx-fc
4c5e719e45
Draft: added DraftFillet.py to the sources, also InitGui.py, Draft.py, DraftTools.py, and CMakeLists.txt
2019-08-22 10:54:41 -03:00
vocx-fc
f5f4fd5e07
Draft: _PointArray, removed the tabs, and replaced with four spaces; mixing spaces and tabs may cause a syntax error in Python 3
2019-08-20 10:31:01 -03:00
carlopav
b57132d53d
Draft Edit: enable Part::Line editing
...
Implemented editing part lines. Preview still to come.
2019-08-20 10:29:50 -03:00
carlopav
ed021a042c
Draft Edit: enable editing Part::Box
...
Added code to handle editing of part objects, ATM only for Part::Box
2019-08-20 10:29:50 -03:00
carlopav
4383652ff4
Draft Edit: bugfix when Draft is activated without document
...
Fixed bug when Draft is activated but no document is active
2019-08-20 10:29:50 -03:00
carlopav
644c2bae46
[Draft] Small bugfix in bezcurve editing
...
Solved bug when clicking on empty space while editing continuity.
2019-08-20 10:29:50 -03:00
carlopav
5e24782f40
[Draft] Draft Edit: completed subcommand key event
...
Completed subcommand key edit
2019-08-20 10:29:50 -03:00
carlopav
ef8ce0a820
[Draft] Draft Edit - various fixes ( fixes #3537 )
...
https://forum.freecadweb.org/viewtopic.php?f=3&t=29743&start=70
To solve issue with Hidpi display (fixes #3537 ), but also to improve node selection, I used some of @looo code from pivy graphics into the tool.
So:
- i got rid of the action function
- i separated selection and editing callbacks
- i got the mouse position from the callback event and not from FreeCADGui.ActiveDocument.ActiveView.getCursorPos()
- i rewrote the node selection mechanism using soraypickaction instead of getObjectInfo() and getObjectsInfo()
- i tried to put a bit of order in all the mess i made and try to document it.
- also fixed some of the preview code.
- i'm really really sorry for not being able to split the commit in multiple one, but the changes are huge and i was just able to separate minor things...
2019-08-20 10:29:50 -03:00
Yorik van Havre
4ca71c16d4
Draft: removed degub message
2019-08-19 13:42:29 -03:00
Zheng, Lei
7747680d35
Draft: fix PathLinkArray
2019-08-17 15:32:51 +02:00
Zheng, Lei
0a4f1abf00
Draft: fix Link(Path)Array
2019-08-17 15:32:51 +02:00
Zheng, Lei
d049eed121
Draft: fix for python2
2019-08-17 15:32:50 +02:00
Zheng, Lei
88b5b2a845
Draft/Arch related changes
...
* Add Draft_LinkArray and Draft_PathLinkArray that uses link for both
data and visualization, which supports linking external objects
* Add link group support for draft snap
* Fix ArchWindows expression ambiguity
2019-08-17 15:32:47 +02:00
Yorik van Havre
5ca5f906d9
Arch/TD: Support for Arch BuildingParts in TD ArchView
2019-08-16 19:03:49 -03:00
Yorik van Havre
7ee75eae6a
Draft: Shape2Dview now supports buildingparts
2019-08-16 16:40:50 -03:00
vocx-fc
bb96ff25df
Draft: importSVG, commit 19f87739 accidentally introduced blady merged code that produced syntax errors; then 1ad65467 tried to fix it by removing the syntax errors; however a large block of text needs to be removed as well; this was supposed to happen in pull request #2418 ; however, that pull request no longer merges cleanly so it was withdrawn; this commit finally fixes the problem.
2019-08-14 14:41:58 -03:00
luz.paz
020a66cddf
Fix misc. 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 -L od,orign,orginx,orginy`
2019-08-14 14:36:53 -03:00
vocx-fc
d1b19f7f3c
Draft: DraftTrackers.py, the docstrings need triple quotes and be next to the method or class name so they are correctly picked up by Doxygen or Sphinx to generate documentation; this complies with PEP 257
2019-08-14 14:34:31 -03:00
vocx-fc
24086baef4
Draft: DraftTools.py, the docstrings need triple quotes and be next to the method or class in order to be picked up by Doxygen or Sphinx; this complies with PEP 257.
2019-08-14 14:33:57 -03:00
vocx-fc
67de5e212d
Draft: Draft.py, the docstrings need triple quotes and be next to the method or class in order to be picked up by Doxygen or Sphinx; this complies with PEP 257
2019-08-14 14:33:15 -03:00
vocx-fc
1fdaec76fc
Draft: DraftLayer, the docstrings need triple quotes next to the method or class name so they are correctly picked up by the Doxygen or Sphinx program to generate the documentation
2019-08-14 14:32:26 -03:00
vocx-fc
813338d62e
Draft: WorkingPlane, improved Pythonic style, line length < 79 characters; shorter variables
...
to save space and have line lengths < 79 characters; added whitespace to comments
and used the self.__repr__() method to shorten the impression to the terminal;
broke the line inside parentheses to make the line shorter; inside alignToSelection() test for faces first
to use alignToFace(), which actually works; leave alignToCurve() for later,
as it doesn't actually do anything at the moment; improved docstrings in isOrtho(),
the orthogonality is tested for u, v, and axis, on the global axis +Y only;
removed wrongly placed comment in restore() method;
improved file docstring at the top.
2019-08-14 14:31:56 -03:00
vocx-fc
dc6b02917e
Draft: DraftGui.py, the docstrings need triple quotes and be next to the method or class in order to be picked up by Doxygen or Sphinx; this complies with PEP 257
2019-08-14 14:30:46 -03:00
vocx-fc
5db35a9612
Draft: importDWG.py, use FreeCAD.Console.Print, instead of basic Python print()
2019-08-14 14:29:32 -03:00
vocx-fc
8af1f0d4eb
Draft: importDWG.py, moved documentation text; added test for ODAFileConverter
2019-08-14 14:29:32 -03:00
vocx-fc
c4946349bf
Draft: importDWG.py, improve Pythonic style, maximum line length; also translate the console messages
2019-08-14 14:29:32 -03:00
vocx-fc
5356735114
Draft: importDWG.py, improve Pythonic style, spacing around commas
2019-08-14 14:29:32 -03:00
vocx-fc
6a492a3280
Draft: importDWG.py, added proper docstrings to the functions
2019-08-14 14:29:32 -03:00
Yorik van Havre
4d3f24a5b8
Draft: Reorganizing DraftEdit and future Draft command modules
2019-08-12 21:30:45 -03:00
Yorik van Havre
b2a32125bc
Draft: Fixed leftover from badly merged commit
2019-08-12 19:46:40 -03:00
Yorik van Havre
9f31341548
Draft: Fixed typo
2019-08-09 23:08:29 -03:00
Yorik van Havre
59863f4432
Merge branch 'misc-typos' of https://github.com/luzpaz/FreeCAD into luzpaz-misc-typos
2019-08-09 18:52:31 -03:00
vocx-fc
3e48aec60f
Draft: importSVG.py, commented out or removed unused variables. Quality of code checked with flake8 --ignore=E226,E266,E401,W503
2019-08-09 18:46:46 -03:00
vocx-fc
45bc9a73bb
Draft: importSVG.py, use auxiliary variables to reduce the length of the lines, particualrly the lines with regular expressions which search quantities in strings
2019-08-09 18:46:46 -03:00
vocx-fc
6b4e3b274f
Draft: importSVG.py, use auxiliary variables to reduce the length of the lines, and make the code more readable
2019-08-09 18:46:46 -03:00
vocx-fc
a5909173a5
Draft: importSVG.py, use auxiliary variables to reduce the length of the lines, avoid too many nested parentheses, and make the code more readable
2019-08-09 18:46:46 -03:00
vocx-fc
5de106b2b3
Draft: importSVG.py, test for FreeCAD.GuiUp to confirm that the interface is up; the old check doesn't work; show the Qt dialog only if the interface exist, otherwise assume 96 dpi
2019-08-09 18:46:46 -03:00
vocx-fc
dd8d3fb3c6
Draft: importSVG.py, improved spacing, used auxiliary variables to reduce the line length and clean up the code
2019-08-09 18:46:46 -03:00