hi,
attached is a small script which converts a Hilbert curve from the
sphere_sweep to a union of boxes.
no help or anything. to use either give it the name of an include file
generated by 'hilbert2d' or pipe the data in, eg:
$ hcs2b.tcl mycurve.inc
or
$ hilbert2d | hcs2b.tcl
the output is to stdout, and formatted like:
object {
union {
box {}
:
}
}
enjoy, jr.
Post a reply to this message
Attachments:
Download 'hcs2b.tcl.txt' (3 KB)
|