PathUtils.getPointsOnCurve(_path, _subdivision); How easy was that!
:) On Mar 22, 10:25 am, Fabrice3D <[email protected]> wrote: > routine is in the class. > On Mar 22, 2011, at 10:16 AM, wagster wrote: > > > Thanks Fabrice, > > > I believe pointoncurve routines aren't actually that hard - I'll put > > that on the to-do list. > > > On Mar 20, 7:24 pm, Fabrice3D <[email protected]> wrote: > >> 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? > >
