Rhino For Film. all the cool tools to make our Film jobs easier!!

30Sep/09Off

Hatch Tools plug-in first WIP: ver.090915

HatchTools plug-in WIP: ver.090915

Updated 10.05.09 - rebuilt to fix loading issues, no usability changes

Here is the very bare bones version of the hatch tools plug-in, please use with caution as this is my first C++ plug-in. I would like however to start getting some feedback as to bugs found and features you want to see.

This plug-in will allow you to select lines, polylines, and curves to convert into a hatch pattern. It is pretty limited in its current state, no preview, no help file (and a pretty nasty warning if you do hit F1 when running the command), but it SHOULD (hopefully) give you a hatch pattern which you then can import back into Rhino using File->Import->*.pat. It adds one command htMakeHatch and the options are as follows:

The only command added at this point is htMakeHatch (ht is for Hatch Tools, hopefully there will be other commands that this plug-in enables down the line)
XPadding - This adds room to the overall bounding box of the hatch in the current CPlane X direction
YPadding - This adds room to the overall bounding box of the hatch in the current CPlane Y direction
DecimatioTolerance - (First bug, this should be DecimationTolerance 😉 ) - Similar to the Rhino Convert command. Because all hatches are made up of straight line segments, this option lets to set how crude that conversion to polylines will be
MaxBboxGap - This may just end up replacing DecimationTolerance entirely as it is a bit more important to the overall quality. This is the maximum distance gap that any single line in a hatch definition can have. Not only are hatches all made up of straight lines, the are all infinite lines, so this lets you set how long a gap you can have relative to the bounding box of the curves selected to convert into a hatch. The higher the number, the longer the definition is, so I have been finding between 5 - 10 seems to be working.

Download it HERE.
created by: Sam Page .
release date: 09-15-2009
works in:  v4 and v5 32 bit only

Tagged as: , 2 Comments