Commit Graph

76 Commits

Author SHA1 Message Date
carlopav
f3f15b1a9b [Draft] Edit: preview node with mouseover
Preview editing nodes with mouse move.
Modified edit trackers to store in self.color the value. Also added a method to it to set color.
2019-10-17 17:43:57 -03:00
Zheng, Lei
4ba326fae0 Draft: fix for python2 2019-08-17 15:32:50 +02: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
f7587c30d8 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
Yorik van Havre
87154d67de Draft: Fixed wrong units display in snapping dimensions 2019-07-08 17:38:31 -03:00
carlopav
04ce90c4fd [Draft] Arc Tracker by 3points method
Added arcBy3Points method to arc tracker
2019-06-27 11:50:45 -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
Dion Moult
687b2778d3 Add draft grid color setting 2019-06-03 16:50:21 -03:00
Derek V. Schmalenberger
a6fca79576 increased default snapRange from 5 to 8
Grid snapping will fail with a snapRange of 5 if a line or arc passes through the grid point.
2019-05-20 11:08:48 -03:00
Dion Moult
9e619d0e4b Make ghostTracker support showing nodes as well 2019-05-08 10:26:55 -03:00
Yorik van Havre
79f3e1c57f Draft: Fixed crashing editTracker 2019-04-22 12:21:31 -03:00
carlopav
4e4218e01a Update DraftTrackers.py
Upate bezier curve tracker to accept a given degree of the curve and to be able to segment the preview in a similar way the curve creator work.
2019-04-08 17:17:21 -03:00
Yorik van Havre
187988b64b Draft: Fixed move/rotate of objects inside PArt containers - fixes #3485 2019-02-19 19:55:20 -03:00
Yorik van Havre
2ac0851d4c Draft: Small bugfix 2019-02-09 20:37:36 -02:00
Yorik van Havre
dd7aba2f65 Draft: small bugfix in trackers 2019-01-14 11:32:34 -02:00
Yorik van Havre
98ebeaa198 Draft: fixed bug in arc tracker 2019-01-02 18:05:34 -02:00
Yorik van Havre
54dd7c621d Draft: Fixed buggy ghost tracker 2018-11-21 18:37:39 -02:00
Yorik van Havre
f0d6a43d3d Arch: Using transparent style during walls and structs draw 2018-08-24 15:23:00 -03:00
JimStar
348ae51772 Extended global marker size to be used for other modes 2018-07-11 21:22:28 -03:00
JimStar
e5dc8bfffa Implemented a global setting for marker size and support of it for snapping in "Draft" workbench. In future this setting can be used for other markers too, to be able to set them all to comfortable size by just one global setting.
Before that (e.g. on MacBook Pro) it was very hard to see the microscopic selection-circle hidden behind much bigger cursor arrow when trying to snap e.g. a line to some vertex. Now this setting can be used for such displays to increase the marker size and make it clearly visible behind the cursor.
The already existing "sketcher marker size" property is intended to be used for sketcher only, so it's not suitable for global setup of all the markers' sizes uniformly...
2018-07-05 19:05:19 -03:00
looooo
77895f959d py3: draft fixes (grid)
integer-division (please remember using // for integer division ;)
+ use same color for arrow and line
2018-04-22 07:53:20 +02:00
Yorik van Havre
85b42a16d9 Draft: Fixed possible bug when removing trackers 2018-04-03 13:30:11 -03:00
Yorik van Havre
35ee3f03a7 Draft: Reducing memory leak in snapper - ussie #3340 2018-02-21 12:53:48 -03:00
Yorik van Havre
aa086c1dd9 Draft: Hold snapping points
When drawing (snapping) using the Draft module, it is now possible
to press the Q key to record points. Additional snap locations then
become available orthogonally to these hold points.
2017-04-05 19:04:05 -03:00
looooo
76a4e7469b py3: Draft: Trackers integer division 2017-02-04 15:48:43 +01:00
Yorik van Havre
c6144c218a Draft: improvements to Stretch code, added support for rectangles 2017-01-15 17:32:13 -02:00
Yorik van Havre
c704c28920 Draft: Added stretch tool - fixes #1163 2017-01-13 11:25:25 -02:00
wmayer
1855c80f36 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
4e1794f5c8 Draft: Fixed grid that was not working anymore after closing a document 2016-08-17 16:38:23 -03:00
Yorik van Havre
2938fde32c Draft: Grid can now be changed on-the-fly from the Set Working Plane button - fixes #2566 2016-05-29 19:23:11 -03:00
Yorik van Havre
2e91633da9 Draft: Added mirror tool (more graphical version of Part Mirror) - fixes #2215 2015-12-05 14:19:35 -02:00
Yorik van Havre
220afa90db Extending doxygen stuff for Draft & Arch 2015-09-04 19:14:36 -03:00
Yorik van Havre
a91fcc681c Draft: Improvements to Trimex tool - fixes #1598
* Autotrim 2 intersecting draft lines, wires or arcs
* Don't snap if CTRL is not pressed
* Allow to trim/extend against itself
2015-01-19 13:49:33 -02:00
Yorik van Havre
daedcf4f1c Draft: Adapted Draft module for python3 compatibility - issue #995 2014-10-05 19:40:14 -03:00
Sebastian Hoogen
e820a32653 issue #1701 2014-09-27 13:07:30 -03:00
Yorik van Havre
f796cacf65 Draft: Grid now checks preferences settings when redrawn - fixes #1671 2014-09-18 11:09:43 -03:00
Yorik van Havre
6ff67ee5c3 Draft: grid size is now settable in preferences 2014-08-28 16:00:08 -03:00
Sebastian Hoogen
69b09448d9 Draft Bezier Curves: Add functionality to mockup
- Split poles to multiple bezier segments
     - set degree of bezier curve
     - Close Draft bezier curves
     - set Degree at creation
     - implement addPoint for piecewise Bezier curves

Draft BezCurve bugfixes
    - fix Close button for BexCurve Edit
    - fix tracker behaviour in for BezCurve.undoLast

Draft Bezier Curve: use circle trackers for control points

Draft: prepare functions to make bezier knots tangent or symmetric
2014-02-23 11:54:58 -03:00
WandererFan
2d43d61b92 Add Draft Bezier Curve draw & edit mockup using bSpline tools. 2014-02-23 11:54:58 -03:00
Yorik van Havre
6987a70917 Draft: polygon tool can now use Part::RegularPolygon - fixes #0001305 2013-11-14 17:40:20 -02:00
Yorik van Havre
b3738a2fce Draft: Dimension recode - fixes #1000, #852, #678
Draft dimensions have been recoded and should now behave better in non-XY planes,
and gained several new properties to adjust their look.
2013-11-13 19:25:01 -02:00
Yorik van Havre
286d94060d Draft: applying workaround for pivy SoInput.setBuffer bug to draft splines 2013-10-25 17:41:48 -02:00
Yorik van Havre
0638b524ec Draft: workaround for pivy SoInput.setBuffer bug 2013-10-21 11:32:36 -02:00
Yorik van Havre
f654c632ba Arch: Window presets 2013-10-17 16:29:47 -03:00
Yorik van Havre
34cce64edc Draft: Rewrite of defaults handling 2013-10-09 15:40:38 -03:00
Yorik van Havre
0375c66986 Draft: Added a new bitsnpieces snap style 2013-10-08 17:02:46 -03:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
Yorik van Havre
b3f79881c5 Draft: removed unnecessary uses of DraftVecUtils 2013-07-30 16:48:28 -03:00
Yorik van Havre
407f4d9e2f Draft: Added face mode to Draft rectangle tracker 2013-07-06 18:41:43 -03:00