Hi Andrey,
Probably yes. Plastimatch has an ASCII format, but it does require that the point locations are sorted around the polygon. The ASCII format also requires 3D coordinates and a few other caveats. Please let give a bit more detail and I can give cleaner suggestion of the difficulty of marshalling over.
Greg
From: plast...@googlegroups.com <plast...@googlegroups.com>
On Behalf Of Andrey Fedorov
Sent: Friday, October 02, 2020 4:25 PM
To: Plastimatch <plast...@googlegroups.com>
Subject: [Plastimatch] Rasterizing planar contours
External Email - Use Caution
--
You received this message because you are subscribed to the Google Groups "Plastimatch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
plastimatch...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/plastimatch/2eec75be-0ce3-4927-b959-955ced4a233en%40googlegroups.com.
Hi AF,
Yes. Perhaps plm might better than your script, it implements the standard line-scan polygon fill algorithm. But there are always caveats as you know.
The plastimatch ASCII format has a specification, albeit bare-boned. The easiest way to understand how to marshall data would be to create a segmentation and then convert it using plastimatch with the --output-cxt option. The specification is below, but making an example will be easy and useful. Happy to help any questions!
To view this discussion on the web visit https://groups.google.com/d/msgid/plastimatch/d3aa828e-96e1-496c-9c3a-3daedc6174b5n%40googlegroups.com.