Object name property in OpenNest

Hello Everyone,
I looked for documentation and on youtube but can’t figure this out, hope anyone could help me.
I’m not very familiar with GH, I’m trying to (2D) nest polysurfaces on a sheet, these solids are on the same plane and oriented, OpenNest with his basic options does a pretty decent job.

Only thing is, every part has it’s own object name, but while nesting, that object name goes missing,

Is there a way to keep the object name in each nested object ?

image

Thank you !

Here’s an example that bakes nested surfaces with their names from the referenced Rhino document.

This file uses the Elefront plug-in. This could be done with other plug-ins or scripts as well.

OpenNest_Obj_Name.3dm (398.2 KB)
OpenNest_Obj_Name.gh (14 KB)

-Kevin

2 Likes

Thank you so much Kevin, This could work as a workaround

No chances of actually keeping the name property then?

I don’t understand what you’re asking.

The baked objects from the output of the OpenNest component should have the same name property as the originals that were referenced from the Rhino file.

-Kevin

1 Like

Oh sorry, I totally misunderstood, thought it would just write the name as text

Just tried that and it’s exactly what I needed :slight_smile:

Thank you !

To review:

  • The solution by @kev.r was in his very first reply (post #1), not “post #5”.
  • You didn’t try it before reporting that it didn’t work.
  • You never posted your own code.

:man_facepalming:

1 Like

I actually posted my own code in the very first post. Yes, I hadn’t the chance to try that till now and, as I pointed out, based on what I read I thought it was just a workaround and I apologised.
To me the solution is actually in the #5 post where it shows the properties window with the object name, but I can still change it if that bothers you…

No, you posted images of your code. What is needed is the GH and Rhino files, which @kev.r went to the trouble of creating himself.

Yes, marking the wrong post as ‘Solution’ bothers me. Post #5 wasn’t necessary if you had tried the code he posted.