Commit Graph

44 Commits

Author SHA1 Message Date
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
2f155b8316 [TD]Add geometry debugging tool 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
e64929de14 [TD]const-ness for dump function parameter 2019-11-10 15:58:45 -05:00
wandererfan
88b07896e6 [TD]Extent Dimensions 2019-11-02 14:59:32 -04:00
wandererfan
5e41f84a38 [TD]Add dumpCS function to DrawUtil 2019-10-01 17:30:35 -04:00
Tomas Pavlicek
39518f8dff Complete remake of drawing dimensions 2019-09-25 15:20:14 +02:00
Zheng, Lei
e90d09dc40 TechDraw: Link related changes
* Support link and group objects

* Support view sync by implementing view provider API getMDIView()

* Use handleChangedPropertyType() for object migration instead of
  reimplementing Restore() because of a lots of changes in
  PropertyContainer::Restore().

* Various other small fixes.
2019-08-17 15:15:46 +02:00
wandererfan
cb10b651ea [TD]Py functions for CenterLines and formatting 2019-07-19 20:17:20 -04:00
wandererfan
fbfdb69c20 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
40c0347b25 Fix crash on Dimension with corrupted References 2019-04-24 19:52:39 -04:00
wmayer
d7ec2b1368 Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wandererfan
47f4a9dacb Add formatter for gp_Pnt 2018-10-30 13:25:33 +01:00
wandererfan
95f95d54fb Use Face or 3D direction for View and ProjGroup
- use current 3D window direction as starting
  direction for DrawViewPart and ProjectionGroup
- if a Face is selected, use Face normal as
  starting direction.
2018-09-06 08:00:00 +02:00
wandererfan
8ee01aaf68 Fix extension line direction in isometric views 2018-06-22 10:47:55 -03:00
wandererfan
91a0aff25f Coverity fixes
CID 174671
CID 174670
CID 174669
CID 174668
CID 174667
CID 174664
2018-04-23 07:55:38 +02:00
WandererFan
02b64dca3a VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
d7544b4223 Prevent Loop in BRepBuilderAPI_Transform
- if a scale transform with scale = 0 is passed to
  BRepBuilderAPI_Transform, it will loop forever.
  If Page.keepUpdated is false, and Views have not yet
  been executed (ex at load time), Views will have a
  0.0 x 0.0 bbox and if Autoscale is true, a scale of
  0.0 will be used in fit-to-page.
2018-02-01 17:01:12 -05:00
WandererFan
75900944c9 Add tolerance parm to checkParallel 2017-06-23 08:14:46 +02:00
WandererFan
fd1a1b2685 Increase tolerance for overlapping Vertexes
Some "valid" shapes are being passed to findShapeOutline where edges
that should be connected are in fact separated 10x the expected tolerance
(2*Precision::Confusion) for 2 overlapping TopoDS_Vertex.
IntTools_Tools:ComputeVV also reports these Vertices as further apart than
their combined tolerances should allow.
This change introduces a tolerance into DrawUtil and EdgeWalker vertex
comparisions that is quite "sloppy" (0.00001) but which handles the sample
objects correctly. This tolerance is adequate for drawings.  Other uses
should be considered on case by case basis.
2017-04-02 20:04:34 -03:00
WandererFan
7a78e8f7b3 Add formatVector for Vector2d 2017-01-29 19:40:33 -05:00
WandererFan
5874a83409 Replace Vector3D ==/!= with difference < Precision::Confusion() 2017-01-20 00:09:38 -02:00
WandererFan
1a58733227 Revise edge & vector compare function for clarity 2017-01-14 16:56:30 +01:00
WandererFan
01b34749a9 Section directions from rotated DPGI's 2016-12-29 14:43:37 +01:00
WandererFan
920eb5eaf7 Working revolving part DPG 2016-12-29 14:43:25 +01:00
WandererFan
3d824dd8dc check vectors parallel, vec rotate arb axis, vec format improve 2016-12-29 14:42:31 +01:00
WandererFan
082045456f Initial DrawingViewDetail 2016-11-24 14:44:37 -02:00
WandererFan
dd13cb2534 Fix handling of BezierCurves
Replace custom bbox code with OCC/Base code
Refactor duplicate code Geometry/DrawProjectSplit
2016-11-20 10:06:00 +01:00
WandererFan
5295f1e2e2 Improve handling of duplicate edges in projection 2016-11-18 10:14:29 +01:00
WandererFan
78de266aa3 Add planar embedding to EdgeWalker 2016-11-18 10:13:41 +01:00
WandererFan
0efa65a8b9 MSVC syntax fix 2016-11-01 20:02:15 -04:00
WandererFan
54bd97c4f4 Fix accented characters within SVG symbol 2016-11-01 20:02:15 -04:00
WandererFan
be8c59e561 Fix Travis error re variable length arrays 2016-10-31 11:06:15 -02:00
WandererFan
a79d672bbd AutoScaling Fixes for non-DVP objects 2016-10-31 11:06:15 -02:00
WandererFan
4a9778e230 Fix XAxis orientation
Remove need for XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
e0ca83d5cc Performance Ph2 2016-10-06 11:00:35 -03:00
WandererFan
c4551e2727 Handle degenerate edges in face detection 2016-09-08 16:18:52 +02:00
WandererFan
32ba9c202d Changes re const, ref and TopExp per wmayer
Refactor debug routines to DrawUtil
2016-09-01 12:14:42 -04:00
WandererFan
1dfdc5f079 Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
Ian Rees
d12dbd8f56 Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
WandererFan
05bca371dc more /Drawing/TechDraw/ edits. VP name conflicts 2016-07-11 15:32:16 +02:00
WandererFan
2fbc4025cd ProjectionAlgo & DrawingExport renames 2016-07-11 15:32:16 +02:00
WandererFan
d24e9be1bf Add Mod/TechDraw/App 2016-07-11 15:32:16 +02:00