Commit Graph

638 Commits

Author SHA1 Message Date
carlopav
d4e32c1607 [Draft] getGroupContents and App::Part
App::Part contained objects should not be moved if also App::Part is moved
2019-12-29 15:24:14 +01:00
carlopav
f0d21a8755 [Draft] Move and Rotate documentation of recent changes
[Draft] Edit: small typo fix
2019-12-29 11:46:02 +01:00
carlopav
36340068ec [Draft] Draft.rotate() add support for App::Part 2019-12-27 22:44:07 +01:00
carlopav
f2792f9fc6 [Draft] Draft.move() add support for App::Part
Added getGlobalPlacement to vector calculation.
[Draft] Move bug fix
2019-12-27 20:41:04 +01:00
luz.paz
8cfa85cf18 Draft: [skip ci] Fix header uniformity
This PR fixes header uniformity across all Draft files
2019-12-27 00:16:12 +01:00
Zheng, Lei
ad3167137d Draft: fix array restore 2019-12-26 15:56:31 -03:00
ageeye
2a5328b693 Use DraftVecUtils.tup only two times. 2019-12-26 15:54:10 -03:00
ageeye
0f81a0dd68 Fix the Draft Array polar type. Rotate first global and then object own rotation(spin) of placement. 2019-12-26 15:54:10 -03:00
Yorik van Havre
4e167f32bb Draft: Fixed regression in Rotate tool 2019-12-17 15:30:31 -03:00
Yorik van Havre
bb5f17c7f7 Draft: fixed minor bug 2019-12-12 14:11:59 -03:00
Yorik van Havre
97804f851d Draft: fixed regression in rotations 2019-12-11 23:15:05 -03:00
Zheng, Lei
65bc3ae5c0 Draft: support linked transform and color override in link array 2019-12-06 14:33:59 -03:00
vocx-fc
6f98a20c03 Draft: fix double translation in Draft._PointArray 2019-10-25 10:55:19 -03:00
vocx-fc
28831b4c78 Draft: set the Autoconstraint view property only if the interface is up (FreeCAD.GuiUp) 2019-10-25 10:54:31 -03:00
vocx-fc
10cb6835a3 Draft: change DisplayMode only if the interface is up (FreeCAD.GuiUp) 2019-10-25 10:54:31 -03:00
luz.paz
e804698edc Draft: use string operator instead of numeric LGTM fix 2019-10-25 10:25:31 -03:00
luz.paz
5c5fa07c10 Draft: Draft.py missing translate() context LGTM fixes [skip ci] 2019-10-25 10:25:31 -03:00
luz.paz
30a717beac Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,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`
2019-10-21 16:02:23 -03:00
Yorik van Havre
60d843b2c1 Draft: Added property to hide lines in dimensions 2019-10-08 17:19:13 -03:00
Yorik van Havre
144df82f14 Draft: Better fix of copy mode 2019-10-08 16:32:23 -03:00
Yorik van Havre
f6d4c06ce9 Draft: Fixed copying of windows 2019-10-07 15:46:16 -03:00
M G Berberich
4f13d25933 Draft circular array
Adds a circular array case to the Draft Array.

Parameters are: radial and tangential distance, number of circles,
symmetry-axes, axis and center of rotation.

see https://forum.freecadweb.org/viewtopic.php?f=13&t=39726 (german)
2019-10-07 13:53:10 -03:00
M G Berberich
fcb021a4dd Circular Array
ciruclar array for Draft workbench
2019-10-07 13:53:10 -03:00
vocx-fc
e731d08c38 Draft, makeBezCurve(), changed parameter Degree to degree, preferred lowercase 2019-10-07 13:44:25 -03:00
Zheng, Lei
694cfc202e Draft: relax Part::Feature type checking for Link support
Replace isDerivedFrom('Part::Feature') with hasattr(obj,'Shape')
2019-10-07 10:48:42 -03:00
vocx-fc
f55059cedf Draft: new icon for Draft_Dimension in the tree view in SVG, instead of XPM 2019-10-07 14:17:17 +02:00
Zheng, Lei
de9732db1e Draft: disable implicit property linking in LinkArray 2019-08-30 13:35:25 +02:00
Yorik van Havre
0b3df322fb Draft: misc small fixes 2019-08-27 21:29:20 -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
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
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
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
Yorik van Havre
9f31341548 Draft: Fixed typo 2019-08-09 23:08:29 -03:00
Yorik van Havre
f86f0ec5e1 Draft: minor fixes to Label tool 2019-07-17 18:00:55 -03:00
Yorik van Havre
3e326fe2e2 Draft: Fixed clone bugs 2019-07-11 12:44:04 -03:00
carlopav
498075e73f [Draft] Bezcurve fix to display length
Added property Length to bezcurve objects.
2019-07-08 22:21:58 -03:00
Yorik van Havre
46f253d5d0 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
Hakan Seven
8be919c288 [Draft] Wavy Object Fix for Point 2019-06-17 16:52:45 -03:00
wandererfan
4cdef8ec5c Fix missing recompute in Draft ShapeString 2019-06-10 21:31:00 -04:00
Yorik van Havre
2c918366e4 Draft: Introduced Layers system (former VisGroup) 2019-06-05 18:47:01 -03:00
Yorik van Havre
7957e065db Draft: Fixed regressions in Scale tool + reimplemented Clone mode 2019-06-03 19:06:27 -03:00
Yorik van Havre
4e9eb995df Draft: Now uses general FreeCAD shape colors instead of defining its own 2019-06-03 17:47:39 -03:00
Dion Moult
7a2f05541c Recognise gridColor config as an unsigned type
Forgot to commit this earlier
2019-06-03 16:50:21 -03:00
Dion Moult
514fa9d4fc Add customisable in-command shortcut keys rather than hardcoding them 2019-06-03 16:31:25 -03:00
Yorik van Havre
8a432cc830 Draft: Fixed regression bug in Rotate 2019-05-16 14:38:46 -03:00