-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Problem] Assembly: BOM export #12456
Comments
See Paul's WIP workbench: |
@APEbbers would you consider making a PR to main freecad to integrate your bom tool to the assembly workbench? |
@pierreporte @maxwxyz can you please checkout Paul's BOM functionality and make any comments about functionality issues or such? So that if we get it in core we can get it right. |
@PaddleStroke Overall the base features are there. The major issues are the first three. The other ones could be considered refinements even though it’s far from trivial. Besides this, the list is not in a particular order. Sensitive to #12907 (the lock symbol is present in the spreadsheet, no detection of instances). Available columns not very useful, but this is actually #12136. Sensitive to #11742 because it asks for bodies when a BOM should be about parts only. When a new BOM is created, the spreadsheet object is replaced so manually entered data is lost. Number column is a hierarchical value (1 for root, 1.1 for first child, 1.2 for the second, etc.) It can be useful but, if it is to be linked with a drawing, it needs to be only integers. The column itself may not be useful by default. Unnecessary styling by default. The file information block should be on top to comply with CSV format: tt should be in the header. Same for summary block.
BOM doesn’t update automatically when new parts are added. I think that it shouldn’t work with spreadsheets, except for pre-export so the user can do things before exporting to CSV, Excel or whatever. It should be a window with all the options so it changes dynamically depending on what the user selects (single level, raw, columns, etc.) This window would have buttons to create a spreadsheet object or export directly to a file. The window would be a good basis for future mass analysis of the assembly (to see what part is the heavier). The UI/UX could be way better even without that window: there should be just one button. The task box would give all the options for every possible scenario. The Create BOM button should be on top of the task panel like for sketches. Maybe take inspiration from Alibre: |
I can’t create a BOM if there is already a TechDraw page in the document. When I insert a spreadsheet view of the BOM, it shows the following first picture instead of the second: A separate spreadsheet object is useless for drawing. I get that it is necessary for the current implementation. This is the assembly used: bom test.zip (contains multiple FCStd files) |
Have been using the asm_bom branch for a little while and it looks very promising. |
thanks for the test. Yes it should be fairly easy to expand the functionality. By cutlists you mean to be able to select objects to exclude? |
I think you mean a list of profiles (Beams, C-profiles, tubes, etc.) with the length and angle they need to be cut to. @snelweg: Am I right? |
Almost. We woodworkers need slightly more information then if it was just a bunch of weldments. Wood-panels and beams do not have standardized measurements as steel tubes and such have. In OnShape there is a cutlist, but of course it only works for steel beams. I tried to use that metal cutlist but it just does not work with wood. There are some attempts at proper woodworking BOM;s and cutlist's in FreeCAD. The one in Linkstage3 is very good. The one in Assembly4 wb is also working and is expandable. The one that was made for the A2plus WB was very nice too. With a cutlist we will be able to use online nesting software and calculate what boards and panels we have to buy. Same examples and explanations of what woodworkers 'need'. https://www.youtube.com/watch?v=HqAnKHmwbY4 |
No. Woodworkers use the dimensions of the panels from a BOM to generate a cutlist. The cutlist shows all the same materials grouped together (ie thickness). We can use that list for making a nested view of all the materials we need for a project. It's very well explained here: https://woodbin.com/ref/project-design-and-planning/bill-of-materials/ Some on-line nesting programs that you feed a cutlist to and it generates nice view of complete panels with all the cuts you have to make. https://www.cutlistoptimizer.com/ https://www.opticutter.com/linear-cut-list-calculator Thanks for starting the BOM, I hope there will be some cooperation with all the other people that are working on that functionality. |
I found something that works for the way most woodworkers model their projects. |
Ok so I understand the need. Yes the current tool can be expanded to do this. We could add 'length, width, thickness' columns automatically generated from the solid dimensions. And add a way for user to sort objects by a property. |
Great, that is good news. Where I said bodies in my initial response I mean parts btw. The parts are pieces of wood which have been worked on, they are final parts and are used in an assembly. There are many things to consider to make a good BOM. It's good to see the basics are there already. In this screenshot you can see that the dimensions of the different parts are shown. The problem is that ALL the parts in the file are counted as unique, so in an assembly there are to many parts shown as quantity. Here is an example of a cutlist, this is an external program that imports the cutlist from Ondsel and does some magic stuff. |
As a follow up. This will introduce a naming scheme that is used in most industries along the lines of:
https://wiki.opensourceecology.org/wiki/FreeCAD_BOM_Generator |
@snelweg It is not a good idea to tie a BOM/PDM/PLM solution with FreeCAD at this level. It should be some sort of API with add-ons provided by vendors, similar to Ondsel Lens. PDM/PLM support is absolutely essential, and it is required in some industries, so it should be possible to plug any software to FreeCAD with an experience as close as native, not just one. |
Is there an existing issue for this?
Problem description
There is no way to generate and export a BOM (bill of materials) from an assembly. It would be great to generate a spreadsheet with the part name, amount, unit, and more part specific details (if they can be defined; e.g. weight, size,..) and custom parameters (like part numbers, description, etc.).
This should be linked and updated with the assembly.
Full version info
Subproject(s) affected?
Assembly
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: