Commit Graph

538 Commits

Author SHA1 Message Date
wandererfan
8cbcd243e6 [TD]Py routines for CenterLines 2019-12-16 20:36:10 -05:00
wandererfan
b54212f82c [TD]Python routines and extension for line formating 2019-12-16 20:36:10 -05:00
wandererfan
a71bc8f734 [TD]Python routines and extension for Cosmetic Edges 2019-12-16 20:36:10 -05:00
wandererfan
f63cd9255a [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wmayer
5939082b9f [skip ci] fix some warnings:
-Wunused-parameter
-Winconsistent-missing-override
2019-12-11 10:17:24 +01:00
wandererfan
15f180038f [TD]add ability to filter obvious geometry errors
- also add checks for geometry errors
2019-12-10 06:51:09 -05:00
wandererfan
02616b5674 [TD]soft fail on bad geometry error w/ polygon algo 2019-12-10 06:51:09 -05:00
donovaly
07ca5b9d39 TD: DrawProjGroup: add units for spacing
-also improve some tooltips
2019-12-10 06:50:27 -05:00
donovaly
fade9156b1 TD: DrawView.cpp: add routine for PropertyDistance change
X and Y were changed at first by me to PropertyLength and later by Wandererfan to PropertyDistance. For this second change there is handleChangedPropertyType() code missing. This PR adds this.

- also some code formatting improvements automatically done by MSVC
2019-12-08 15:42:07 -05:00
wandererfan
f9e492ccb6 [TD]DrawViewBalloon OriginX/Y to PropertyDistance 2019-12-07 15:44:48 -05:00
wandererfan
77bac6dd54 [TD]fix merge resolution error 2019-12-07 15:44:48 -05:00
donovaly
bb2db008ad TD: add units for line widths
- this also prevents negative values
- also fix an issue in DrawViewBalloon introduced by me recently
2019-12-07 08:37:56 -05:00
donovaly
70be2a2bff TechDraw: add unit for rotation 2019-12-07 07:29:07 -05:00
wandererfan
ed6adae509 [TD]fix dim text for multi value schemas 2019-12-05 07:10:08 -05:00
wandererfan
cc1b5736d9 [TD]fix jumping Rich Text Annotation 2019-12-04 10:16:19 -05:00
wandererfan
2fbf35eb50 [TD]fix Jumping Dimensions
- X,Y were changed to PropertyLength (>0), but some X,Y
  are relative, so X,Y sb PropertyDistance.
2019-12-03 17:12:01 -05: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
donovaly
f4c7c9bc25 DrawViewBalloon: add units there as well
since OriginX/Y depend on DrawView base X/Y

- also adapt the balloon test accordingly
2019-12-01 21:48:46 -05:00
donovaly
a89e55e1e7 DrawViewAnnotation: also call the handleChangedPropertyType of the base class 2019-12-01 21:48:46 -05:00
donovaly
f7ca1d91d3 TechDraw: add units for position
see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 for details
2019-12-01 21:48:46 -05:00
wandererfan
8bfac81548 [TD]fix "override" compiler warnings 2019-11-27 07:31:45 -05:00
wandererfan
7906c3a684 [TD]fix assembly CS has wrong XDir 2019-11-27 07:31:45 -05:00
wandererfan
a78e4229da [TD]correct face detection to avoid ghost faces 2019-11-27 07:31:45 -05:00
wandererfan
2f155b8316 [TD]Add geometry debugging tool 2019-11-27 07:31:45 -05:00
wandererfan
13ed0a1be9 [TD]Section Line position 2019-11-27 07:31:45 -05:00
wandererfan
566894c945 [TD]use XDirection to align DPGI in DPG 2019-11-27 07:31:45 -05:00
wandererfan
c01d6172e9 [TD]Handle missing XDirection on old files 2019-11-27 07:31:45 -05:00
wandererfan
804629d208 [TD]let DVD fail gracefully 2019-11-27 07:31:45 -05:00
wandererfan
c0ad642935 [TD]Fix detail position 2019-11-27 07:31:45 -05:00
wandererfan
9d9d41bcd0 [TD]correct alignment of Section & Detail with Base 2019-11-27 07:31:45 -05:00
wandererfan
7e6664e39d [TD] add CS3 dump 2019-11-27 07:31:45 -05:00
wandererfan
e0a7284135 [TD]Section UI changes 2019-11-27 07:31:45 -05:00
asapelkin
875a463923 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wandererfan
aea08de14c [TD]fix Compound of Edges as Source for View 2019-11-15 20:20:30 -05:00
wandererfan
4c0bb37f4d [TD]Add getEdges Py functions 2019-11-12 07:08:50 -05:00
wandererfan
e64929de14 [TD]const-ness for dump function parameter 2019-11-10 15:58:45 -05:00
wmayer
a31b15217a [skip ci] remove Standard_Handle.hxx to still support older OCC versions 2019-11-09 11:03:23 +01:00
wandererfan
a7c491e639 [TD]Fix wrong default for parameter 2019-11-07 16:59:10 -05:00
wandererfan
585a1ed772 [TD]fix duplicate name in parent & derived 2019-11-07 16:59:10 -05:00
wandererfan
cc1392ed73 [TD]Always show degree symbol 2019-11-07 16:59:10 -05:00
wandererfan
3921a22e8b [TD]CL removal 2019-11-06 20:31:02 -05:00
wandererfan
5957b72573 [TD]ensure default edge avail for geom copy 2019-11-06 20:31:02 -05:00
wandererfan
44b1f46858 [TD]Allow skip restore cosmetics
- temporary work around due to format changes during v019
  devl
2019-11-06 20:31:02 -05:00
wandererfan
4b93655b83 [TD]Avoid double delete on cosmetic items 2019-11-06 20:31:02 -05:00
wandererfan
cf94e56905 [TD]Save geometry and tag with centerline 2019-11-06 20:31:02 -05:00
wandererfan
f539a0ea8c [TD]use UUID for CosmeticEdges instead of indices 2019-11-06 20:31:02 -05:00
donovaly
cc0e1a8f3a DrawViewAnnotation: add transformation procedure for changed properties 2019-11-04 07:23:34 -05:00
donovaly
c673813f66 TD annotation: use more suitable properties
- see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 for details
- also simplify tooltips
2019-11-04 07:23:34 -05:00
wandererfan
e987560314 [TD]using namespace clean up 2019-11-03 18:52:19 -05:00