Dimensions Report / Cut-list

Dimensions Report / Cut-list

Anonymous
Not applicable
4,855 Views
6 Replies
Message 1 of 7

Dimensions Report / Cut-list

Anonymous
Not applicable

Hi there!

 

I'm trying to find a 3D software that generates a list of dimensions of every part/element used on the project.

I know that Fusion has the BOM feature, but I just want a list with the lenght, width and thickness of the parts. Is this possible with Fusion?

 

Can someone help me?

 

Thank you so much!

0 Likes
Accepted solutions (1)
4,856 Views
6 Replies
Replies (6)
Message 2 of 7

paul.clauss
Alumni
Alumni
Accepted solution

Hi @Anonymous

 

Thanks for posting! While Fusion 360 does not have a function to create a report of every dimension used in a component, you may be able to use  the CSV-BOM add-in to output a CSV table that includes x, y, and z bounding box dimensions. You can install the add-in using the instructions here.

 

I hope this helps! Please let me know if you have any questions.

Paul Clauss

Product Support Specialist




Message 3 of 7

Anonymous
Not applicable

It did help! Thank you so much!

0 Likes
Message 4 of 7

adesk.dns
Explorer
Explorer

Ran into this issue with only about 50 parts.  Ended up writing a small python script that 

- prints out size report (dimensions sorted, longest last)

- updates component description so it will show up in part list table on drawings

 

import adsk.core, adsk.fusion

def run(context):
    app = adsk.core.Application.get()

    product = app.activeProduct
    design = adsk.fusion.Design.cast(product)

    # Get the root component of the active design.
    rootComp = design.rootComponent

    # Get occurences from root
    occurrences = rootComp.occurrences

    for idx in range(0, occurrences.count):
        occ = occurrences.item(idx)
        subcomp = occ.component
        for bidx in range(0, subcomp.bRepBodies.count):
            body = subcomp.bRepBodies.item(bidx)

            dimvector = body.boundingBox.minPoint.vectorTo(body.boundingBox.maxPoint).asPoint()
            dims=sorted(dimvector.asArray())

            formx = product.unitsManager.formatInternalValue(dims[0])
            formy = product.unitsManager.formatInternalValue(dims[1])
            formz = product.unitsManager.formatInternalValue(dims[2])
            print (f'{idx},{body.name}, {formx}, {formy}, {formz}\r')
            subcomp.description=f'{formx} x {formy} x {formz}'

 

Save to file, open Text Commands and switch to `(x) Py`

 

Run this command:

import neu_dev; neu_dev.run_script("/path-to-file/partsizes.py")

 

Prints part dimension list that looks like this:

3,Front side, 1.50 in, 3.00 in, 54.00 in
4,Inside width support, 1.50 in, 3.00 in, 33.00 in
5,Inside width support (1), 1.50 in, 3.00 in, 33.00 in
6,Body1, 1.50 in, 3.00 in, 28.50 in

 

0 Likes
Message 5 of 7

rgC9VPT
Community Visitor
Community Visitor

Unfortunately the the CSV-BOM add-in doesn't appear to be available any more - does anyone have further suggestions. Thanks

0 Likes
Message 6 of 7

i.fanariotis
Contributor
Contributor

hi 🙂

 

I am getting this message

 

import neu_dev; neu_dev.run_script("/Users/mustakis/Desktop/partsizes.py")

Traceback (most recent call last):

File "<string>", line 1, in <module>

NeutronPythonException.TextCmdException: File "<string>", line 1

mport adsk.core, adsk.fusion

 

SyntaxError: invalid syntax

 

0 Likes
Message 7 of 7

Anonymous
Not applicable