vocx-fc
1b45c3da7e
Draft: fix CMakeLists to install files in directories
2019-12-28 15:56:02 -03: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
vocx-fc
11f4fabf2f
Draft: add GuiCommandBase class to serve as the parent class of all DraftTools
...
Prepare auxiliary directories to restructure all graphical tools
for objects, viewproviders, gui commands, and taskpanels.
2019-12-27 11:01:34 -03: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
Syres916
e96dcda79d
[Draft] ImportDXF Bug upgrading from 0.16
...
See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=41879
2019-12-26 15:52:30 -03:00
carlopav
b14dca0918
[Draft] Edit further cleanup
...
[Draft] Edit fix minor bug
2019-12-26 13:31:06 -03:00
carlopav
6ab4a8a202
[Draft] Edit _ code cleanup
...
According to @vocx_fc suggestions, this commit is a first cleanup of the code.
2019-12-26 13:31:06 -03:00
carlopav
81862dd280
[Draft] Edit: improved Draft Circle editing
...
Now Draft circle editing works also with App::Part
2019-12-26 13:31:06 -03:00
carlopav
64314e557a
[Draft] Edit _ improved rectangle editing
...
Improved rectangle editing to use 3 nodes. Now it works also inside App::Part
2019-12-26 13:31:06 -03:00
carlopav
7042446504
[Draft] Edit: general refactor
...
Changed names of several methods from set to get, changed the general set of nodes, improved placement calculation to use getGlobalPlacement instead of Placement.
2019-12-26 13:31:06 -03:00
Bernd Hahnebach
242d151323
Draft: Layer, more code formating
2019-12-23 09:46:05 +01:00
JeromeL63
c467651599
Draft: Layer, code formating
2019-12-23 09:46:05 +01:00
JeromeL63
df77b588c5
Draft: Layer, Separate Line color and shape color override
2019-12-23 09:46:05 +01:00
Bernd Hahnebach
66b853cff8
line endings, better handling in module directory
2019-12-19 22:26:15 +01:00
Bernd Hahnebach
8e09ea8a32
Draft: add gitattributes file to let git manage file endings and normalize them
2019-12-19 07:51:09 +01:00
Yorik van Havre
4e167f32bb
Draft: Fixed regression in Rotate tool
2019-12-17 15:30:31 -03:00
vocx-fc
2a4fb552ec
Draft: move the TestDraft unit tests to separate modules
...
This results in better organization of the tests,
avoiding extremely big files.
2019-12-17 15:06:36 -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
0penBrain
90825d290a
Improve Inkscape version parsing in SVG import
2019-12-06 14:35:59 -03:00
Zheng, Lei
65bc3ae5c0
Draft: support linked transform and color override in link array
2019-12-06 14:33:59 -03:00
wmayer
c7a1854701
fix broken XML syntax in .ui file
2019-12-06 14:58:48 +01:00
luz.paz
a45d3f743d
Tooltips: added missing tooltips + refined pre-existing
...
Some pre-existing tooltips needed to be a compound of lines instead of 1 long one.
Removed bold text from tooltip
Removed URL from tooltip
2019-12-05 17:07:44 +01:00
Zheng, Lei
bad5a31327
Draft: signal icon change in Layer
2019-12-04 18:59:28 +01:00
Zheng, Lei
ee418c1281
Draft: fix Layer for Python2
2019-12-04 18:59:28 +01:00
luz.paz
ea0868a433
Fix typos and some trailing whitespace
...
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-12-03 12:22:59 +01:00
0penBrain
47dfe708d9
Improve Python compatibility
...
According remark which I agree with
2019-11-29 14:52:29 +01:00
0penBrain
82931b4368
Fix bad 'pt' unit definition
...
'pt' unit has been defined as 1.25 px while it is 4/3 px (~1.33 px).
Relates to issue #4200
Relates to Syres916@469e01d (despite bug always existed, even before this commit)
Source : https://oreillymedia.github.io/Using_SVG/guide/units.html
2019-11-29 14:52:29 +01:00
vocx-fc
1987ecabdd
Draft: PySide should be available already
2019-11-21 16:35:29 +01:00
vocx-fc
6626b52b5f
Draft: rename SubelementModify to SubelementHighlight
2019-11-11 18:04:10 -03:00
carlopav
54f59edff1
[Draft] Edit: allow multiple objects editing
...
Allow editing of multiple objects at once.
2019-11-11 18:00:02 -03:00
carlopav
e3d8da2cf1
[Draft] Edit: fix bug #4187
...
Fix bug #4187 . When canceling a Dwire editing session with the Esc key or the "close" button Dwire editing breaks.
2019-11-11 17:59:08 -03:00
vocx-fc
7bd3dc7b72
Draft: TestDraft, refactor unit tests, 66 in total.
...
Only 50 test are really performed.
Some tests are not fully implemented, for example, arc_3points, dimension_radial,
shapestring, trim, extend, and stretch. The reason is that there are no proper
functions to test.
In order to have a unit test, basic functions that perform these actions
must be written inside Draft.py. At the moment, these tests just
run a _fake_function() which always returns successfully
and thus the test always passes without problem.
There are also tests for the import and export
of SVG, DXF, DWG, and OCA files. Currently these are also not implemented.
Sample files could be provided in the source tree in order to test basic operations
like opening, import, and export.
A complete unit test would require writing a test for each geometrical element
that could be imported and exported, that is, line, circle, arc, rectangle, etc.
These tests are inspired by the tests in the FEM workbench.
Import of modules is tested, as well as the creation and modification tools.
Eventually, the tests should be migrated to individual modules,
and test files should be provided to serve as reference.
2019-11-05 09:29:25 -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
690209ae5a
Draft: whitespace fix [skip-ci]
2019-10-25 10:25: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
ef95ac7d46
Draft: DraftEdit.py use string operator instead of numeric LGTM fix [skip ci]
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
carlopav
5783027945
[Draft] Edit: pick radius according to user preferences (issue #4162 )
...
Reference tracker issue #4162 https://freecadweb.org/tracker/view.php?id=4162
Reference topic. https://forum.freecadweb.org/viewtopic.php?f=23&t=40060 .
Changed ui file to insert edit preferences (at the moment inside draft and grid, for the affinity with snap). Created a new draft preference: DraftEditPickRadius.
2019-10-21 16:00:36 -03:00
Yorik van Havre
7c556b5daa
Removed tabs
2019-10-21 15:58:44 -03:00
paullee0
f1219d5e7f
[Draft - DraftGeoUtils] Refine isReallyClosed() : Part of ArchWall / DraftGeomUtils Multi-Width Support Improvement Proposal
2019-10-21 15:58:44 -03:00
vocx-fc
8c2ff4ca8a
Draft: clone icon with the light comming from above left
2019-10-17 17:44:19 -03:00
carlopav
f3a4dda5b3
[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