Does anyone have a good suggestion for creating a detailed Bill of Materials (BOM) from Rhino 7?
We are designing a boat with hundreds of parts, as well as nested plate cutouts, and we need a way to create a BOM with detailed info like part number, quantities, manufacture info, weights, materials, etc., that can be extracted from our model.
Thanks in advance!
Well, it won’t do quantities, but otherwise my plugin, Peterstools, might fit the bill.
Petertools is great…Pretty simple to just export or paste the results into excel to total quantities.
If all your parts are blocks, you can utilize the count feature in block manager. Obviously that comes with the initial overhead of set up and modeling, coupled with the poor performance of nested blocks in rhino, but if you are already modeling like that, this should give you everything you are asking about.
Thank you. This is what I was thinking. Do you know if there is a way to export this data to a spreadsheet, and how much info can be extracted (ex. material, weights, part numbers, etc.)
Here is a screen shot on the info that can be pulled from objects with the above mentioned Petertools…
Once you select/check the boxes and hit OK it gives you the option to either create a CSV file or put the info on the clipboard which can then just be pasted directly pasted into an open excel sheet.
I would recommend using elefront to help organize your blocks with attributes. I couldn’t find a good tool that provides a live database. I tested out Antfarm but it doesn’t seem to be in active development and was missing some features. I’m using swiftlet to write data to an online database like Airtable or Xano. That way you have a way of keeping track of your BOM as you model. You could also use Make or integromate to manipulate your data, for example if you wanted to group your BOM by assembly and pre-populate a google doc. The real problem is going to keeping the model accurate in terms of counts and getting the right count for the the right type, ie SF, LF etc. SF is typically the surface area of one side of a volume for example. Counts will need to align to objects so it you have objects in a block those won’t get counted correctly, or conversely if several blocks make up one object then you might overcount. Sounds simple but the devil is in the details. There might be some nautical software that takes care of all of this for you based on your industries standards, but I’m not aware of any.
Hi Ryan,
Here is simple Py script that will write the block name, description, and counts to a CSV file.
It will work in Rhino 7 or 8, Windows or Mac.
export_block_counts2.zip (1.2 KB)
- Open Rhino.
- Type RunPythonScript and load export_block_counts.py
- It writes all blocks count and info to a CSV file with the file name and location that you specify.
- You can open it is Xcel to sort, format and run reports.
Command: RunPythonScript
Block counts exported to the file name and location that you specify.
Video here:
We have also logged wish: RH-78336/Enhanced-Block-Count
If you like the way this works or want it to work differently, start learning scripting here Scripting category on this Forum.
Sincerely,
Mary Ann Fugier
Here is version 3!
export_block_counts3.zip (1.8 KB)
This one includes a dialog to select Block definition properties to export.
I wrote this Toolbar macro, but you will need to replace my path with your own:
! -RunPythonScript “C:/Users/mary/Desktop/Scripts/export_block_counts.py” Enter
If you are using Rhino 8, try Dale’s Garage to add an panel for your Python scripts.
Rhino 8: type command PackageManager → Garage. Install and open Scripts panel:
Use the file folder icon to browser to your Python scripts folder. I keep one right under the Desktop and when I write or download a script, it always goes there.
Let us know if this works for you.
Sincerely,
Mary Ann Fugier
This is so awesome Mary!!! This is going to make BOM’s in Rhino so much easier and user friendly!
Thank you so much for developing this wonder tool!!!
Ryan
Mary!
This is incredible! You put a lot of smiles of faces here at my office. I can’t thank you enough for getting this done. This is so good.
Much appreciated.
Ryan Luke
Aurora Marine Design
619-253-4584
ryan.luke@auroramarinedesign.net
Hi Mary, is this tool included in Rhino 8? Or it will be in 9?
Which one? There is lot of tools mentioned in this thread.
Thanks,
– Dale
The enhanced block count is on the list to be written as a native command for Rhino 9. Currently you will need to use the .py script.
The YT is not public, because of customer files:
RH-78336/Enhanced-Block-Count
But when the command is ready to test in the WIP, we will let you know here and in the Serengetti category.
Thanks,
Mary Ann Fugier
Thank you for the info Mary!
@dale I wasn’t clear, but I meant the a whole model BOM solution for Rhino.
It is very easy to get drawings and layouts out of Rhino into production, but getting dynamic info out of Rhino in a streamlined manner without plugins not so much, or meybe I’m not aware of Rhino’s tools enough or the right workflow.
Like this script that may solve my need to export that data in a structured manner:
Only to find it after half of a workday digging in the forum, Google, dozens of not uptated third party plugins, buried in a comment of a thread for a script that may or may not stop working someday.
My background is is jewelry, and I’m just starting to work on mass production of CNC cut parts for home furniture and architecture, in wood and sheet metal.
Maybe I don’t know the right workflow, or the right tool, but how architects and engineers have been getting hundreds of parts data ou of Rhino for the last 20 years? By hand?
Mixing ConvertTextToBlockAttribute
with UserText
, and text fields kinda works, but the Match function in UserText copies the keys AND the values from one block to another but the function doesn’t work anymore(?). And can I get a table (csv?) from it?
Dale, sorry for the wall of text, don’t waste time on trying to solve my particular issue, I still got some learning to do, but my point is that Rhino has the largest part of it’s user base using it for architectural and building, and a native data export functionality like Mary’s script was not included in Rhino untill this day (and isn’t). (Or maybe I don’t know how to do it)
In the other hand, you guys are the most helpful and supportive software company that I now, handling individual needs and wishes on a daily basis, so congratulations to the whole team that directly listen to us users.
Hi @diegodx ,
This will surely help check this video you go to minute 3:48.
If you need any custom BOM in Rhinoceros that can be exported in Excel, do not hesitate to contact me we can do it swiftly and quickly as an external plugin for you
My contact is farouk.serragedine@gmail.com
Farouk