Commit Graph

375 Commits

Author SHA1 Message Date
vocx-fc
1d83fa7d92 Draft: renamed the command Draft_Edit_Improved to Draft_SubelementModify because the previous name was confusing; also provide a new icon 2019-10-10 19:13:28 -03:00
Syres916
db17426a1e [Draft] Wire To BSpline fix to show new object
Discussion https://forum.freecadweb.org/viewtopic.php?f=8&t=39466
2019-10-07 13:45:25 -03:00
vocx-fc
24b07312c6 Draft: DraftTools, place the CubicBezCurve tool before the BezCurve, as the cubic curve is more used. 2019-10-07 13:45:01 -03:00
vocx-fc
0c18f5e256 Draft, makeBezCurve(), changed parameter Degree to degree, preferred lowercase 2019-10-07 13:44:25 -03:00
Yorik van Havre
b8de57d38e Draft: Show info message if an object cannot be scaled 2019-09-03 11:55:07 -03:00
Yorik van Havre
9fb6aec313 Split Draft_SelectPlane and DraftSetWorkingPlaneProxy to a separate file 2019-09-02 17:23:57 -03:00
Dion Moult
3c52a3c2d1 Fix UI labels and unit type to be angle instead of length when doing draft rotate 2019-09-02 16:05:36 -03:00
Yorik van Havre
5b2e74c3bd Draft: misc small fixes 2019-08-27 21:29:20 -03:00
Yorik van Havre
e9cbbb38ff Draft: Fixed tooltips 2019-08-26 14:16:19 -03:00
vocx-fc
d3ade5520e Draft: DraftFillet, changed some things about the implementation. 2019-08-22 10:54:41 -03:00
vocx-fc
d5ca09c77b 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
Zheng, Lei
de66e563e0 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
vocx-fc
a72d78507d 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
Yorik van Havre
16c26cb3b1 Draft: Reorganizing DraftEdit and future Draft command modules 2019-08-12 21:30:45 -03:00
Yorik van Havre
0d4106541c Draft: Fixed clone bugs 2019-07-11 12:44:04 -03:00
Yorik van Havre
7c53cbf921 Draft: Added button to working plane task panel to orient the view to the WP 2019-07-09 12:29:32 -03:00
Yorik van Havre
265faf6c59 Draft: General grid fixes
- Killed 'double-grid' bug
- Consistent one grid per view, be it new doc or new view
- Grid recreated when needed on each snap use
- Misc optimizations
2019-07-08 22:07:14 -03:00
Yorik van Havre
dadd8a8580 Draft: Fixed ghost not appearing in scale tool 2019-07-08 19:56:05 -03:00
Yorik van Havre
afed22ef01 Draft: Fixed bug in edit mode - Fixes #4047 2019-07-08 18:28:41 -03:00
Yorik van Havre
68f4eccc58 Arch: Added View clipping abilities to BuildingParts, like SectionPlanes 2019-07-06 20:22:30 -03:00
Yorik van Havre
169c975e19 Draft: Remember Offset copy mode separately from Move copy mode 2019-07-06 16:52:58 -03:00
Yorik van Havre
36bc48c9bf Draft: Better positioned layers button popup + new layer entry 2019-06-30 13:32:42 -03:00
Yorik van Havre
507c40669d Draft: Turned autogroup button into layers selector (added pref option to restore old groups-based system) 2019-06-30 01:00:50 -03:00
Yorik van Havre
44b9929d8c Draft: Fixed SelectPlane command not working when an object is selected 2019-06-29 19:48:41 -03:00
carlopav
e7e3550901 [Draft] Cleaned code in arc 3Points preview
Arc tracker during creation is computed by arc tracker new method.
2019-06-27 11:50:45 -03:00
carlopav
c351b9094a [Draft] Update DraftEdit PR with Yorik suggestions
Cleanings of import at the beginning of new module.
Moved command setup in InitGui and removed import DraftEdit from DraftTools.
2019-06-17 16:39:56 -03:00
carlopav
a4e2df115d Separate Draft Edit
My last attempt to separate draft edit. Everything seems to work fine.
2019-06-17 16:39:56 -03:00
Yorik van Havre
39e748229e Draft: Renamed DWire to Polyline 2019-06-05 19:07:30 -03:00
Yorik van Havre
5ee99ca4ee Draft: Introduced Layers system (former VisGroup) 2019-06-05 18:47:01 -03:00
Yorik van Havre
e2f65ef010 Draft: Fixed regressions in Scale tool + reimplemented Clone mode 2019-06-03 19:06:27 -03:00
Dion Moult
61625b4bfb Let getSupport() check if WP mode is set to auto before changing WP needlessly
Also refactor getSupport() function to be a little bit more semantic and reduce nested if statements so logic is clearer.
2019-06-03 16:49:51 -03:00
Dion Moult
95378e5c6b Fix draft missing line tracker when snapper detects an object without any snap targets 2019-06-03 16:36:07 -03:00
Yorik van Havre
d2d8a30cb2 Draft: Disbled by default the use of the Support property in Draft objects 2019-05-20 12:27:38 -03:00
Dion Moult
2f14667cea Set working plane immediately upon clicking the set working plane button if you have a face selected 2019-05-20 11:10:40 -03:00
Yorik van Havre
7e90fcfd9c Draft: Fixed regression in move tool 2019-05-17 17:44:59 -03:00
luz.paz
11f4f30a37 Misc. typo fixes
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 pard,wallthickness,commen,byteorder,alocation`
2019-05-17 13:19:36 +02:00
Yorik van Havre
2e616a4749 Draft: Removed annoying an unuseful verbose command line output 2019-05-16 15:31:57 -03:00
Yorik van Havre
bff34a36ec Draft: Fixed regression bug in Rotate 2019-05-16 14:38:46 -03:00
Yorik van Havre
76cf1ceb39 Draft: Enhancements to Working Plane selection UI 2019-05-15 19:48:58 -03:00
Yorik van Havre
6d2aee2c58 Draft: Updated icon for cubic bezier tool 2019-05-14 15:20:40 -03:00
Derek V. Schmalenberger
792a253830 removed unused view lookup 2019-05-14 15:42:51 +02:00
Yorik van Havre
a7cb6ed62c Draft: Allow to set the working plane from a section plane 2019-05-13 22:01:32 -03:00
Yorik van Havre
7d2498d65e Draft: Fixed Part primitives mode of Draft tools 2019-05-13 14:55:58 -03:00
Yorik van Havre
cfd04ac6af Draft: Fixed minor bug in Circle tool 2019-05-11 21:11:40 -03:00
Yorik van Havre
9d416bf385 Draft: allow to use different snapping task dialogs 2019-05-10 22:27:08 -03:00
Dion Moult
dc284e4d4d Fix scale command and simplify UI, add support for scale subelements 2019-05-08 10:27:44 -03:00
Dion Moult
fc24bf1446 Add subelement ghosts in scale command, and minor code cleanup
I suspect the scale command itself is a little broken, so I need to fix that before adding subelement support
2019-05-08 10:27:44 -03:00
Dion Moult
fd4992cb9a Implement rotation with optional copy of draft subelements 2019-05-08 10:27:44 -03:00
Dion Moult
91438c1688 Add subelement support for rotating individual vertices 2019-05-08 10:27:44 -03:00
Dion Moult
bc3af1afbc Code simplification of move subelements command 2019-05-08 10:26:55 -03:00