Grasshopper

algorithmic modeling for Rhino

move and intersect separate surfaces (if condition)

hi everyone

i am working on a definition that forces intersections for multiple separate surfaces.

it should merge TextObjects (cursive fonts) into a single surface.

output will be sent to laser cutter.

i started with this logic:


if Surface count > 1 then move Geometry by the vector of the closest brep (BrepClosestPt)

but i want the value (currently NumSlider) to be RELATIONAL TO THE INPUT GEOMETRY and test itself until intersection+additional offset.

 

any help would be much appreciated!!! ;-)

*alternative TextObjects within the definition

Views: 500

Attachments:

Replies to This Discussion

hi tom

thanks for the reply! 

i want to avoid the NumSlider completely, so the script could process relatively and intersect any given TextObject, minimizing manual iterations. (needs process 30 names simultaneously) 

perhaps the definition should loop until

If Srf(n) > 1  

Then False

- i will try this on hoopsnake.

* any idea how to control the additional offset after intersection?

(for fabrication - intersection width between characters should be ~ 2mm)

^ i'd be happy to learn different approaches from other scripts to understand this command. 

thanks again!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service