[Ipe-discuss] Fwd: How to draw a spring?

Nathaniel Cunningham nathaniel.cunningham at gmail.com
Thu Feb 18 15:33:54 CET 2021


Yes, as Otfried said -- I plot multiple cycles of a parametric circle
(x=cos(t), y=sin(t) or similar) with an added translation (extra t term in
x or y).

I attach a screenshot showing an example including the values used in the
plot ipelet.

Nathaniel

[image: ipe plot springs.png]


On Thu, Feb 18, 2021 at 2:13 AM Hemza <hemza.dz at gmail.com> wrote:

> cool, I know about ipeplot and use it for basic functions plotting. could
> you elaborate more on how to describe a spring parametrically?
>
>
> On Wed, 17 Feb 2021 at 20:31, Nathaniel Cunningham via Ipe-discuss <
> ipe-discuss at lists.science.uu.nl> wrote:
>
>> The "plots" ipelet is a great way to create springs and other shapes that
>> can be mathematically defined!
>> https://github.com/lahvak/ipeplots
>>
>> -- Nathaniel
>>
>> On Wed, Feb 17, 2021 at 1:26 PM Nathaniel Cunningham <
>> nathaniel.cunningham at gmail.com> wrote:
>>
>>> The "plots" ipelet is a great way to create springs and other shapes
>>> that can be mathematically defined!
>>> https://github.com/lahvak/ipeplots
>>>
>>>
>>> On Wed, Feb 17, 2021 at 11:31 AM Hemza via Ipe-discuss <
>>> ipe-discuss at lists.science.uu.nl> wrote:
>>>
>>>>
>>>>
>>>> ---------- Forwarded message ---------
>>>> From: Hemza <hemza.dz at gmail.com>
>>>> Date: Wed, 17 Feb 2021 at 08:24
>>>> Subject: Re: [Ipe-discuss] How to draw a spring?
>>>> To: Fabien Lafont <lafont.fabien at gmail.com>
>>>>
>>>>
>>>> Thanks for the tips. svgtoipe is a good way to do it.
>>>>
>>>> On Wed, 17 Feb 2021 at 07:51, Fabien Lafont <lafont.fabien at gmail.com>
>>>> wrote:
>>>>
>>>>> With Bézier curves and the snap to grid you can easily make one. Then
>>>>> you can stretch it. Another solution is to use one that you like and use
>>>>> svgtoipe or pdftoipe.
>>>>>
>>>>> On Wed, Feb 17, 2021, 08:30 Hemza <hemza.dz at gmail.com> wrote:
>>>>>
>>>>>> it is possible to sketch 'zig zag' springs, but coils like springs
>>>>>> are not easy to sketch.
>>>>>>
>>>>>> On Wed, 17 Feb 2021 at 07:19, Fabien Lafont <lafont.fabien at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Just stretch it. Keyboard shortcut : e
>>>>>>>
>>>>>>> On Wed, Feb 17, 2021, 08:10 Hemza via Ipe-discuss <
>>>>>>> ipe-discuss at lists.science.uu.nl> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I just began to learn how to use Ipe. It is a great tool and
>>>>>>>> already saved me many hours on drawing physics illustrations.
>>>>>>>> One thing that I find frustrating to draw is drawing 'springs'
>>>>>>>> (which are crucial things in mechanics problems). In Tikz, you could
>>>>>>>> control how the spring looks like (see e.g
>>>>>>>> https://tex.stackexchange.com/questions/41608/draw-mechanical-springs-in-tikz).
>>>>>>>> Is there anything I can do to mimic this on Ipe?
>>>>>>>>
>>>>>>>> Hemza.
>>>>>>>>
>>>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/ipe-discuss/attachments/20210218/a6e14a3f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipe plot springs.png
Type: image/png
Size: 72696 bytes
Desc: not available
URL: <https://mailman.science.uu.nl/pipermail/ipe-discuss/attachments/20210218/a6e14a3f/attachment-0001.png>


More information about the Ipe-discuss mailing list