If you want a curved profile, each vector for the profile (Vector3D or Number3D depending on engine version) has to be the result of a pointoncurve routine that you will have to define yourself . Internally no curve is defined for profile input. Along the path itself, the "curves" are the result of your profile "looking at" the next step vector (subdivision per segment) defined as well by a pointoncurve routine.
Fabrice On Mar 19, 2011, at 8:19 PM, wagster wrote: > I'm trying to use a GraphicsPath object to draw a profile for a > PathExtrusion which will require writing a simple parser to convert > one to t'other. > > The documentation for PathExtrusion says that the profile is defined > by a series of Number3D points. There is no mention of being able to > use curves in the profile but in the example it looks distinctly like > the extrusion has a curved profile. Curves are not possible with an > array of points (unless some are defined as control points). > > So... how do I translate CurveTo commands in a GraphicsPath object > into curved profiles for a PathExtrusion?
