ageeye
51a23bd770
Use DraftVecUtils.tup only two times.
2019-12-26 15:54:10 -03:00
ageeye
b22c33ab61
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
0d17b6faaf
[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
6992863638
[Draft] Edit further cleanup
...
[Draft] Edit fix minor bug
2019-12-26 13:31:06 -03:00
carlopav
df846aaea4
[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
99f9aa42f7
[Draft] Edit: improved Draft Circle editing
...
Now Draft circle editing works also with App::Part
2019-12-26 13:31:06 -03:00
carlopav
4fc3af1390
[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
8dd2b328fe
[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
3f514b08bd
Draft: Layer, more code formating
2019-12-23 09:46:05 +01:00
JeromeL63
6c8875e58a
Draft: Layer, code formating
2019-12-23 09:46:05 +01:00
JeromeL63
a0e88dfbac
Draft: Layer, Separate Line color and shape color override
2019-12-23 09:46:05 +01:00
Bernd Hahnebach
7a652357fc
line endings, better handling in module directory
2019-12-19 22:26:15 +01:00
Bernd Hahnebach
8f7220da51
Draft: add gitattributes file to let git manage file endings and normalize them
2019-12-19 07:51:09 +01:00
Yorik van Havre
597de362c3
Draft: Fixed regression in Rotate tool
2019-12-17 15:30:31 -03:00
vocx-fc
fa73d29d84
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
39ee1654f9
Draft: fixed minor bug
2019-12-12 14:11:59 -03:00
Yorik van Havre
15f72b9167
Draft: fixed regression in rotations
2019-12-11 23:15:05 -03:00
0penBrain
0e96abb891
Improve Inkscape version parsing in SVG import
2019-12-06 14:35:59 -03:00
Zheng, Lei
8e4685fb2e
Draft: support linked transform and color override in link array
2019-12-06 14:33:59 -03:00
wmayer
68f998c6db
fix broken XML syntax in .ui file
2019-12-06 14:58:48 +01:00
luz.paz
e7ee5fe777
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
8c9d67c2c0
Draft: signal icon change in Layer
2019-12-04 18:59:28 +01:00
Zheng, Lei
d77b569c9c
Draft: fix Layer for Python2
2019-12-04 18:59:28 +01:00
luz.paz
379d041664
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
b809867021
Improve Python compatibility
...
According remark which I agree with
2019-11-29 14:52:29 +01:00
0penBrain
0a8c73f325
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@3db7496 (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
5ee4a2e87c
Draft: PySide should be available already
2019-11-21 16:35:29 +01:00
vocx-fc
c021ff70de
Draft: rename SubelementModify to SubelementHighlight
2019-11-11 18:04:10 -03:00
carlopav
7adca7be31
[Draft] Edit: allow multiple objects editing
...
Allow editing of multiple objects at once.
2019-11-11 18:00:02 -03:00
carlopav
c9522a6e63
[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
0347a4b7a6
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
c9402696f6
Draft: fix double translation in Draft._PointArray
2019-10-25 10:55:19 -03:00
vocx-fc
d57cc0c336
Draft: set the Autoconstraint view property only if the interface is up (FreeCAD.GuiUp)
2019-10-25 10:54:31 -03:00
vocx-fc
210dfbf13a
Draft: change DisplayMode only if the interface is up (FreeCAD.GuiUp)
2019-10-25 10:54:31 -03:00
luz.paz
892db1a770
Draft: whitespace fix [skip-ci]
2019-10-25 10:25:31 -03:00
luz.paz
bec8e1befd
Draft: use string operator instead of numeric LGTM fix
2019-10-25 10:25:31 -03:00
luz.paz
cf854a52a5
Draft: DraftEdit.py use string operator instead of numeric LGTM fix [skip ci]
2019-10-25 10:25:31 -03:00
luz.paz
6084bbfb1b
Draft: Draft.py missing translate() context LGTM fixes [skip ci]
2019-10-25 10:25:31 -03:00
luz.paz
1c981e8f14
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
d87e6324e5
[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
c6b79dd23f
Removed tabs
2019-10-21 15:58:44 -03:00
paullee0
bbff21935a
[Draft - DraftGeoUtils] Refine isReallyClosed() : Part of ArchWall / DraftGeomUtils Multi-Width Support Improvement Proposal
2019-10-21 15:58:44 -03:00
vocx-fc
443b948a64
Draft: clone icon with the light comming from above left
2019-10-17 17:44:19 -03:00
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
Yorik van Havre
387885aa2f
Draft: Fixed non-appearing texts in TechDraw views + support for ShowLine property
2019-10-17 15:33:59 -03:00
vocx-fc
1b044e91df
Draft: DraftGui, use boolean values to set up an option instead of numeric values 1 and 0
2019-10-14 16:45:33 -03:00
Syres916
867a09f731
[Draft] ShapeString Task Panel Allow Windows...
...
....Users to view Font Files without the need to modify permissions on the Fonts folder. Also keeping the rest of FreeCAD file dialog boxes as standard.
2019-10-11 19:11:12 -04:00
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
Yorik van Havre
1b3c41bcaa
Draft: Added property to hide lines in dimensions
2019-10-08 17:19:13 -03:00
Yorik van Havre
d96468734c
Draft: Better fix of copy mode
2019-10-08 16:32:23 -03:00