RE: Real-world usage of hatch patterns

We have a huge pile (thousands) of engineering diagrams authored in CAD systems that use hatch patterns which are exported to CGM, which supports a standard (ISO) hatch pattern style as well as user-defined hatch pattern styles.

Our implementation of the SVG equivalents is to define the SVG pattern's constructed of lines (actual hatches) for each standard and user specified hatch pattern definition in the CGM sources.

Thomas Smailus

-----Original Message-----
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] 
Sent: Wednesday, March 18, 2015 16:03
To: www-svg
Subject: Real-world usage of hatch patterns

Here's a d3.js plugin for creating hatch patterns <http://riccardoscalco.github.io/textures/>.

Well, some are just plain <pattern>s.  But some are definitely <hatch>s.  Note, for example, that the library explicitly handles lines with orientations of N*π/8, but can't do anything better than that, because it's too hard to create a repeating pattern that works correctly.

~TJ

Received on Thursday, 19 March 2015 21:07:59 UTC