Introducing text into a perforated surface

I have this code and I would like to add text to the surface, without the holes in it, so basically just deleting the circles in the text, could someone help?
fachada perforada simple.gh (14.5 KB)

Your geometry is not internalized:

Elements of this code look like mine :interrobang:

This is definitely my code and has nothing to do with text. What are you up to :question:


fachada perforada simple_2025Jun25a.gh (20.6 KB)

From four days ago:

P.S. I got a “Hello World!” demo of this very quickly but am struggling with including the small parts of the text in the extrusion… :thinking:

1 Like

It is your code from the other day, I copied it exactly because i’m testing things out for a project i’m doing in architecture school… I know there’s no text in it, I was wondering how could that possibly be done. Is it a problem that I use your code? Sorry if there is!

1 Like

OK, I finally got this. It is weird and far more difficult than expected because I tried to do it like the other thread. But text is different :bangbang:

The small bits of letters like “e”, “o” and “d” make it unfeasible to extrude the largest fragment after splitting the surface with curves. Instead, I extruded the surface and subtracted the text and holes (now cylinders instead of circles).


fachada perforada text_2025Jun25b.gh (25.7 KB)

I seriously question the value of doing this stuff as it deprives the beginner of the struggle of trying many different ways until finding a method that works.

1 Like

Thank you a lot! I’m also learning using youtube videos, but I always seem to confuse in some step and can not advance forward. Again, thank you for the help these two times

Three things:

  1. To improve performance, I reduced the number of holes. When you know it works, the number of holes can be increased.

  2. I used Bounding Box around the text to check for collisions but it can be done differently (see attached version ‘Jun26a’). If this is not what you want, use version ‘Jun26b’. Both SLOW!

  3. Tolerance - I used extrusion thickness as length of the cylinders and am a little surprised that worked. Would be safer to extend the cylinders on both sides of the extrusion, though I left it alone in this version.


fachada perforada text_2025Jun26a.gh (26.4 KB) (BELATED POST)


fachada perforada text_2025Jun26b.gh (29.3 KB)

Thinking about the SLOW versions using SDiff in the light of a new day, I have MUCH FASTER versions :red_exclamation_mark: These extrude a boundary surface made with the perimeter edge curve, the circles and the text. WAY BETTER :bangbang:

Version ‘Jun26e’ corresponds to version ‘Jun26b’ using the Bounding Box around the text:


fachada perforada text_2025Jun26e.gh (28.3 KB)

Version ‘Jun26d’ corresponds to version ‘Jun26a’ without the Bounding Box:


fachada perforada text_2025Jun26d.gh (25.5 KB)

Both show the circles which are useful in predicting the result, before the extrusion.

It occurs to me that one might want to extrude the culled holes without the text and then engrave the top of the extrusion with the text?


fachada perforada text_2025Jun26f.gh (28.5 KB)


fachada perforada text_2025Jun26g.gh (27.6 KB)

2 Likes

This image has ‘U Count’ and ‘V Count’ set to 120 for a total of 14641 holes. After culling edge frames there are 14161 holes and after culling the text bounding box there are 13124 holes extruded in ~5.2 minutes. Baking adds more time… Still, :+1: :smiling_face_with_sunglasses:

1 Like

Thank you ! I was having a lot of problems with exporting the surface to create a render because rhino was crashing everytime !