Convert curve to lines at integer coordinates?

What I get with _Convert (points anywhere):

Screenshot showing points on non integer coordinates

What I want (points on grid):

Screenshot showing points on integer coordinates

This is to create line art graphics for small OLED displays.

Hello - so, some nearby grid coordinate that makes segments of approximately a certain length, not too far from the input curve, correct? What will be the input, besides the curve? Number of points? Segment length?

-Pascal

[quote=“pascal, post:2, topic:99468”]
some nearby grid coordinate that makes segments of approximately a certain length, not too far from the input curve, correct?[/quote]

Length can vary, but otherwise it’s correct.

Could be, but I don’t really know, thought that there is perhaps already a function out there that does what I want.

Well, I don’t know - here’s something - it is hard to tell if it is what you want or not.

CurveGridPts.py (2.6 KB)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal