Commit Graph

18 Commits

Author SHA1 Message Date
WandererFan
97ca11f9f2 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
fad1edb9ce Add formatVector for Vector2d 2017-01-29 19:40:33 -05:00
WandererFan
2fef05c718 Revise edge & vector compare function for clarity 2017-01-14 16:56:30 +01:00
WandererFan
139edb2415 Working revolving part DPG 2016-12-29 14:43:25 +01:00
WandererFan
489a25e462 check vectors parallel, vec rotate arb axis, vec format improve 2016-12-29 14:42:31 +01:00
WandererFan
906bffba8f Initial DrawingViewDetail 2016-11-24 14:44:37 -02:00
WandererFan
cf22852ee3 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
1f0899ef3d Improve handling of duplicate edges in projection 2016-11-18 10:14:29 +01:00
WandererFan
503d718520 Add planar embedding to EdgeWalker 2016-11-18 10:13:41 +01:00
WandererFan
c8f380516a Fix accented characters within SVG symbol 2016-11-01 20:02:15 -04:00
WandererFan
70b5c241d1 AutoScaling Fixes for non-DVP objects 2016-10-31 11:06:15 -02:00
WandererFan
ce9f4f199a Fix XAxis orientation
Remove need for XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
001bbf52d6 Performance Ph2 2016-10-06 11:00:35 -03:00
WandererFan
cebe2faee1 Handle degenerate edges in face detection 2016-09-08 16:18:52 +02:00
WandererFan
b47eff76ae Changes re const, ref and TopExp per wmayer
Refactor debug routines to DrawUtil
2016-09-01 12:14:42 -04:00
WandererFan
9a93185f7e Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
Ian Rees
898587454f Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
WandererFan
189839e93d Add Mod/TechDraw/App 2016-07-11 15:32:16 +02:00