[Ipe-discuss] making an ipelet for changing a straight line
rote at inf.fu-berlin.de
Wed Jul 8 00:22:59 CEST 2015
I am attaching an ipelet for computing the total length of a set of
segments. It should at least be helpful for task 1.
For 3 and 4 you should be careful to use the correct API calls
> Date: Tue, 7 Jul 2015 09:38:28 +0000
> From: Jens Henrik Nielsen <jhn at byg.dtu.dk>
> Subject: [Ipe-discuss] making an ipelet for changing a straight line
> into a wave...
> Dear all,
> I have been using Ipe for some years now and now I wanted to move further and try to make a small ipelet which could be helpful in my daily work.
> I plan/hope to make an ipelet which can change a straight line into a wave like line by:
> 1) Extract the coordinates to the end-points of the curve
> 2) Add control points suitable locations between the end-points
> 3) Draw a Bezier curve using the control points
> 4) Remove the straight line.
> Since I'm quite new in this I was wondering if somebody could help me in the right direction? Right now I'm struggling just with extracting the coordinates for the end-points so just to get me started on that would be helpful.
> Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3670 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20150708/98079cb6/attachment.bin
More information about the Ipe-discuss