Login  Register

drawing a pattern of object as a function of its position

Posted by tetukowski on Feb 09, 2023; 2:28am
URL: https://forum.librecad.org/drawing-a-pattern-of-object-as-a-function-of-its-position-tp5722473.html

Hi all,
First of all, i'm pleased to see the final release r2.20.
Which for me as a user means that libreCAD is still alive.
I'm very thankful for that!

I have never done this before (even in AutoCAD), i don't know if doable.
I want to draw thousands  or more of objects in a rectangular pattern.
but each objects has some feature that depends on its position.
for example, if an angle of a line in an object is called "alpha",
then, mathematically speaking , alpha = f(x,y).
for small number of x, y, manually is still possible.
but i have around >10k of positions.

is there a way to do this?
It seems it needs scripting, is it possible to somehow use python?
I saw old docs of LibreCAD 3 Lua scripting, but I'm not sure and i don't know Lua.

thank you very much.
best regards,
teko