Ok,
I'll give it a look. There has been a change recently about how to walk the nodes of a curve. We need to make sure that we use Mental's API and not use the private fields explicitly. That caused a one-off problem in the past, so I suspect that this might have the same roots.
bob (ishmal)
On 7/31/2009 3:13 PM, Tavmjong Bah wrote:
On Fri, 2009-07-31 at 13:10 -0500, Bob Jamison wrote:
Easier to read, and more easily fixed. You have the output file for this? This is probably a quickie. I -LOVE- POVRay output of Inkscape thingies.
I've found a quick way to demonstrate the problem. Take an empty drawing and using the Text Tool, write the letter 'I' in Vera Sans. Convert the I to a path. The path is a rectangle that has five nodes, (one node is on top of another). This is what is in the POV file:
/*################################################### ### PRISM: path3427 ###################################################*/ #declare path3427 = prism { linear_sweep bezier_spline 1.0, //top 0.0, //bottom 16 //nr points /* 0*/<144.13281000, 154.97657000>,<144.13281000, 154.97657000>, <158.33594000, 154.97657000>,<158.33594000, 154.97657000>, /* 1*/<158.33594000, 154.97657000>,<158.33594000, 154.97657000>, <158.33594000, 50.00001000>,<158.33594000, 50.00001000>, /* 2*/<158.33594000, 50.00001000>,<158.33594000, 50.00001000>, <144.13281000, 50.00001000>,<144.13281000, 50.00001000>, /* 3*/<144.13281000, 50.00001000>,<144.13281000, 50.00001000>, <144.13281000, 154.97657000>,<144.13281000, 154.97657000> /* 4*/<144.13281000, 154.97657000>,<144.13281000, 154.97657000>, <144.13281000, 154.97657000>,<144.13281000, 154.97657000> }
Note that nr points is 16 but 20 are in the list. Note also that there is no comma after the 16th coordinate pair.
Tav