Unrolling a Surface with Manual text for CNC

Hello all

can anyone please help me with this

I have a surface with a manually written drawing on it (see attached image). The entire surface is one piece, and I want to combine the text and the surface for unrolling purposes in CNC.

1.What is the recommended approach to combine the text and surface for unrolling
2.Are there any specific plugins or tools available that can facilitate this process?

grouping the points.3dm (272.7 KB)
labeling and nesting.gh (27.9 KB)

Your Breps are flat already. What kind of result do you expect?

sorry for my unclear question before


the problem is i couldnt merge the text and surface for unrolling . while i was unrolling i can see the surface but i couldnt place the text on the each piece .i want unroll the surface with text on each piece.

thank you

grouping the points.3dm (327.0 KB)
labeling and nesting.gh (27.9 KB)

I think the word “unrolling” is confusing people… unrolling is normally associated with flattening a curved surface into 2d surfaces that can be cut out of a sheet material, for example.

It looks like you are trying to split the surface and then move the pieces but take the associated text with them?

You could split the surface into pieces and then Group each piece with the right piece of text, then move the Groups.

1 Like

Labeled and nested the polysurfaces from your file.

Labels:

Nested:

Didn’t know what sheet sizes you wanted. With settings in the attached file, I get this result after ~360 nesting iterations (~2.5 minutes on my old computer). You could possibly get a more optimized nesting result with a different seed, and/or more iterations.

Tho only plugin used is OpenNest which can be installed by using the _PackageManager command. Also internalised the geometry from your file, so no Rhino file needed to open this.

231216_label_nest.gh (44.7 KB)

Edit: Above file was created with Rhino 7 on MacOS. Opened in Rhino 7 on Windows found that no single line fonts were installed. Installed fonts from here: Engraving Fonts and added ability to adjust vertical position of labels.

231216_label_nest_V2.gh (53.2 KB)

-Kevin

3 Likes

I apologize for the delayed response, but I wanted to express my sincere gratitude for taking the time to provide such a detailed and helpful solution! I’ve been able to successfully test the files you shared, and the nesting results look promising.

I have a couple of follow-up questions regarding specific aspects of the files and my desired outcomes:

Doubt 1:Could you please provide guidance on achieving a clean offset around the newly added rectangular grooves on the surface? The grooves are causing unwanted intersections at their corners, and I’ve been trying various approaches in Grasshopper but haven’t found a successful solution yet

Doubt 2: Would you please provide guidance on how to control the labeling start position within the Grasshopper file, ensuring that the (A-A) labeling consistently begins from one designated side for each main piece?

I’m hoping you could offer some guidance on these points to ensure I’m fully understanding the process and maximizing the results.

Thank you again for your expertise and assistance!

I appreciate you bringing this up! The terminology can be tricky. How can I better explain the process to avoid confusion? thank you for giving reply

20231228_label_nest.gh (26.5 KB)
labeling - 20231218.3dm (233.2 KB)
sorry forgot to upload the files , thank you

I think the key words for this topic are …

Nesting
Split
Group
Layout for manufacture.

ok sir , thank you , i will use this next time

I don’t understand what you are trying to do here.

If you want to offset the outer curve inward and intersect only the lines that divide the surfaces (not the notches/grooves) then this might be a way.

Breps from your file are internalised.
231231_Label_Nest_re-01.gh (41.3 KB)

This could be done by sorting the intersection points or adjusting the seam position on the offset curve.

From looking at your past activity on this forum, it looks like you have been asking questions related to the labeling and nesting of these surfaces for a couple of years now. Most of this “reverse engineering” could be avoided by simply using the geometry you are using to create these breps.

Could you provide a complete description of your project from start to finish?

-Kevin

I’m working on a project that involves generating three distinct labeling systems on nested pieces within a design. I’ve attached an pdf to visualize the desired labeling.

Labeling Requirements:

1.Main Piece Midpoint Labeling (X1-A to E):

Place a label in the format “X1-A” to “X1-E” at the exact midpoint of each main piece.
Labels should increment sequentially for each main piece (e.g., X1-A, X2-A, X3-A, etc.).


2.Subpiece Corner Labeling (AA.BB):
Apply labels “AA” and “BB” to opposite corners of each subpiece within a main piece.
Ensure consistent placement of “AA” and “BB” labels across all subpieces.

3.Subpiece Midpoint Labeling (Copying Main Piece Label):
Replicate the main piece’s midpoint label (X1-A, X2-A, etc.) at the exact midpoint of each subpiece.

Key Challenges:

Dynamically generating sequential labels (X1-A, X2-B, etc.) in the correct format.
Matching label placement to specific geometric points (midpoints, corners).
Ensuring consistency in label positioning across multiple pieces.

A quick note to say a huge thank you for helping me crack the “AA” corner labeling! That was a major roadblock, and I truly appreciate your guidance.

Outstanding Issues:

Main Piece Midpoint Labeling (X1-A to E):
Need assistance with dynamically generating sequential labels (X1-A, X2-B, etc.) and placing them at the exact midpoints of each main piece.
Subpiece Midpoint Labeling (Copying Main Piece Label):
Require guidance on replicating the main piece’s midpoint label at the exact midpoint of each corresponding subpiece.
Additional Question:

Controlling “AA” Label Origin:
How can I set a consistent origin point for the “AA” labeling sequence, ensuring it always starts from the same side of each main piece? This would maintain a uniform labeling pattern across all main pieces.
label problem.pdf (250.7 KB)

Thanks again for the awesome help on my last script
FINAL SCRIPT.gh (26.4 KB)
FINAL.3dm (4.0 MB)

Sorting and labeling the breps is not too difficult. Here I have grouped them into branches by ascending Y-coordinates and sorted them by x then z-coordinates (the breps in your file are on the XZ world plane).

re_02.gh (15.9 KB)
References geometry from the Rhino file in your last post:

The division of the breps seems somewhat arbitrary. Some are 1 piece, some have very small pieces, and some are cut at extreme angles.

labelling_001

What is your criteria for the starting position? Some of the breps are quite irregular in shape making sorting by angle difficult. Perhaps start at the division the farthest to the right (max world X-position - farthest right from front view).

I’m still curious about the origin of this geometry. Looks like contours but what determines the divisions?

-Kevin