Can someone help me as boxes.py help is the worst. Im trying to make a tray layout 3 sections 153w x330L in the back and 2 sections 228.6W x 203.2 L in the front
… when I try to save it, I get errors. It works fine till I edit removing dividers I dont want then I get
" An error occurred!
Can’t parse line 7 in layout: expected " “, “x” or “X” for char #4”
It only happens when I remove the dividers for the front section making it 3 down to 2 after input SX, SY. I appreciate any help.
Help us help you: we don’t know what you intended to do, how you changed the default values, or what any of the myriad parameters looked like when you tried to build it.
Screen shots of the failing values will show what’s not working.
AFAICT you cannot have different numbers of sections in different rows, because the dividers are continuous from front-to-back and left-to-right: there’s no provision for a divider extending partially across the base.
Although I haven’t built it, the pieces look plausible.
I think the trick is to divide the overall width into the Least Common Multiple of the sections in each part, then knock out the dividers you don’t want.
Setting specific widths may not work as well as letting The Algorithm divide the overall width by the LCM.
Is it possible to divide the top by 3 instead of 6 or are you trying to use a multiple? My box works until I remove dividers in the little diagram. I dont know if Im to remove +/- and add - where no connection, and + where there is one.
It seems the total number of sections must be a multiple of the sections in both parts. In your case, that’s 6 total sections = 3 × 2.
Then you knock out the walls you don’t want in each part, with the remaining walls aligned between the length markers along the top of the diagram. In your case, that’s minus three walls in the upper part and minus four walls in the lower part.
Basically, you can remove an existing wall from the initial layout, but you cannot add or move a wall.
Again subject to learning something new, a wall that does not align properly with the length markers isn’t allowed, because The Algorithm did not compute the position of that wall when it generated the initial layout.