Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add excess walls and distance to TrayInsert so that you can keep sx,sy, yet still perfectly fit inside a box/tray #760

Open
ccrome opened this issue Feb 27, 2025 · 1 comment

Comments

@ccrome
Copy link
Contributor

ccrome commented Feb 27, 2025

Is your feature request related to a problem? Please describe.
I'd like the TrayInsert cells to be of a particular size. However, that size, plus the wall allowances, is not necessarily the perfect size to fit inside my chosen box.

Describe the solution you'd like
I'd like to be able to specify sx, and sy as before, so my cells are just right. I also want to specify an X and a Y, which defines the outer extents of the insert, which corresponds to the inner dimensions of the tray/box that this insert is destined for.

If there is extra space inside the tray that's not occupied by the TrayInsert, the TrayInsert should generate 2 more walls in each required dimension, and extend the extents to perfectly fill the desired X and Y.

I generated the inserts below by adding 2 extra to sx and sy and then manually trimming in lightburn. It would be more convenient to just put it in here.

** Pictures of something similar **

Image

Image

@ccrome
Copy link
Contributor Author

ccrome commented Feb 27, 2025

I guess an additional feature on top of that would be simply give sx and sy as a single measurement, and X and Y, and have it automatically divide up into as many equally spaced cells as possible.

sx = 30, sy = 60, x=354, y = 512 <--- make as many cells as fit
sx = 301, sy = 601, x=354, y = 512 <--- make a single cell in the middle. Silly in this case, but somebody might want such a single-cell box with margin, like maybe for shipping protection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant