[Ipe-discuss] How to "reverse" the arc, when creating a shape?

Wojciech Zabolotny wzab01 at gmail.com
Sun Aug 23 10:56:18 CEST 2015


Hi,

I wanted to create a figure consisting of a few connected arcs.
The attached "kolka7.lua" script demonstrates the desired operation.

however I wanted to create each object consisting of two connected
arcs as a single path, and here I run into problems.

The script kolka6.lua works correctly, but the second arc covers
incorrect range of angles.
The script kolka6b generates correct arcs, but due to mismatched start
and end points it generates an error:
$ ipescript kolka6b
Assertion failed on line #322 (ipeshape.cpp): 'v0 == iCP.back()'

Is there any way to generate the arc covering the right range of
angles but in reversed direction?
Or may be I can simply reverse the generated arc so that start and end
points are swapped?

--
Thank you very much in advance,
With best regards,

Wojciech M. Zabołotny
My GPG/PGP keys:
standard: 8192R/FE58A848 (0720 9430 85DB 7CCD F4C5  5F1E 5107 91FB FE58 A848)
confidential: 16384R/C76D2FB0 (C4E7 9597 CF22 7B5D 28BF  4656 FED7
A63F C76D 2FB0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolka6.lua
Type: text/x-lua
Size: 672 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20150823/5015e283/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolka6b.lua
Type: text/x-lua
Size: 672 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20150823/5015e283/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolka7.lua
Type: text/x-lua
Size: 1034 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20150823/5015e283/attachment-0002.bin 


More information about the Ipe-discuss mailing list