Grasshopper Rhino export *.3mf?

Can we please get the option to export *.3mf with the Grasshopper Rhino Export Model Block Definition component?

2 Likes

Hi Martin -
I’ve added this thread to RH-71542 Create Export Model component in GH1
-wim

1 Like

I logged this for the Export Model Block component:

RH-90722 Export Block does not support 3MF

1 Like

Export works now but the imported geometry does not have a useful name

‘^(null)’

export_3mf.gh (13.1 KB)

test.3mf (357.2 KB)

Are you getting object names out of the 3MF Save As out of Rhino? I do not see them.

What app are you using to test 3MF results?

I don’t get names when exporting from Rhino.

The example file in the viewer shows a name.

Online 3D Viewer rhombicuboctahedron.3mf

So, I think that is the bug. The 3MF file format itself. I will get it reported.

Thanks for the detailed information and samples.

1 Like

I’ve used GrabCAD a while ago to set up a print with overlaps and priorities.

Here the part name is ‘Default’ for all parts. It would be useful to have names, for sorting and quicker selection…

I modified a *.model *.xml file from an unzipped *.3mf and zipped the files into a *.3mf again. Imported in Rhino, the objects has the name I set.

named.3mf (299.3 KB)

The name also appears in the Online 3D viewer

As an addition, I was wondering why I can’t export multiple block instances into a *.3mf file?

Here’s my definition. The export also failed in Rhino. According to *.3mf specs, instance export should work.

export_instances_3mf.gh (21.6 KB)

This if what I get with the example script:

There are multiple blocks in the result. But, what would you expect it to be? is it a naming thing?

I think if there are multiple instances of the same block then they should not get renamed in the 3MF?

Not sure what the issue was with this 18_instances.3mf export yesterday, it worked fine now.

Would be nice if the instances also had object names.

I added individual names for the blocks in my export definition

export_instances_3mf.gh (23.8 KB)

We are making some changes, so we will see if we can get the naming right.

1 Like

Since we are looking into 3MF code at the moment, let’s continue our conversation on how assemblies and blocks should work.

1 Like

I forgot about the linked topic. Feel free to delete or merge…

Trying to.figure out if all objects need to be in a block, or if blocks geometry should be saved alongside blocks?

I think this works now