In advance I apologize for my english, I know it is not the best.
Here is an example of a workbench I'm working on. It is actually just a part of a bigger project I'm working on.
The workbench generates furniture and also the files for fabrication.
I'm actually not sure how the containers are meant to be used. This workbench uses it as an assembly. Therefore the structure will be generated automatically. The screenshot is in german, but it just says which room it is in and divides also the documentation and fabrication:
By clicking on the new button it generates the structure.
Now you can choose which furniture you want to generate (in this example it would be the table):
Later there is goign to be an UI for that. But for now it is just some variables that defines the parameters of the table.
It generates a group of all the individual parts that are interlocked. Now by selecting the "Tisch" ("table") group and the fabrication button,
it will copy all files and put those in the coordinate system of the specified CNC.
It is the "small box in bigger box problem" that must be solved.
At the moment it just takes the outer dimensions of the parts and it starts to arrange the biggest parts first. If the next smaller part doesn't fit anymore, it will go on with the next smaller parts and so on. The parts that doesn't fit anymore will be put on the next sheet. There is one problem at the moment with this. Parts that aren't box shaped will not be put in eachother. When creating a closet the algorythm works fine. But the table on sheet 2 is arranged very ineffectivly. Sheet 1 is way better arranged:
Sheet 1:
Sheet 2:
When the software is arranging the parts, it searches for the 2 parts with the biggest surface and turns the smaller one surface up. Which always is the side that will be milled.
It also creates the dxfs and exports them. Later this won't be neccesary. But at the moment I generate the G-Code with Estlcam. Later on hopefully "Path" will do this automatically.
It also creates a part list, with all the data like price and identnumber of the parts that must be bought.
Here are a few picture of the furniture that were done with this workbench:
There is quite a lot to do:
- The G-Code should be generated with the help of the Path workbench
- For the specification of the variables should be an UI
- The furniture that could be created will be extended
- The box in box algorythm must be improved
This is actually not quite relevant, but here is also a small add-on which manages the parts that must be bought:
By selecting the part and clicking on the icon, it will show all the informations about the part:
With the other icon the parts have to be bought can be searched:
It is basically just a sql database with the necessary data. For the creation of the sketches it also uses a database, this has the benefit that the sketch not always has to be created new.