Create a circle by entering a circumference?

I want to create a circle with a 40 mm CIRCUMFERENCE. Is there a field (box for entering data) in Lightburn where I can enter “40” and I will get a circle with a 40 mm circumference?

In the size field you can input formulas.
Not near the pc to test, maybe if you type 2*pi/40.

{D9DDE6FE-DCBA-4613-82D3-0E540D6848F8}

circumfrence=40mm - Search

{9DC3ACA5-6856-4824-A57B-686841C62D18}

{DC9405AC-3D37-4E39-B47B-96F90B345B37}

2 Likes

That should be Circumference/Pi (without the 2* as well). LB doesn’t seem to support the “Pi” constant (AFAICT) so just type 40/3.1415926 in the Width or Height Box (making sure you have aspect ratio lock on first). You might not need Pi to 7 decimals so just round accordingly.

EDIT: Ok, after consulting the online docs I see that “pi” is the constant (as quoted in your post!), so 40/pi would be what you’d need to enter to get a circumference of 40mm.
image

2 Likes

LightBurn’s expressions support pi() as a function (which is admittedly a bit odd, but it’s how the library we use works).

So you can type

40/pi()

into the size field and it will give you the correct answer.

1 Like

You don’t need the brackets btw.

1 Like

Ahh - ok, it looked like it was a function, but I think it’s just that your original was capitalized, and the code is case sensitive.

3 Likes

You´re right, The size is the diameter and the correct formula circumference/Pi.
HELP! first time brain dead in the morning :smiley: :smiley: maybe I´m getting old officially or a lot of things happening in the BUS :smiley:.

1 Like

Early in the morning, you may have too much blood in your caffeine stream. :drop_of_blood:

3 Likes

I use the rotary tool for circle calculations lol

3 Likes

Very astute! Nicely done, amigo.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.