Grasshopper

algorithmic modeling for Rhino

Hi all,

When I use SDivide to subdivide a Brep, the subdivisions are based on the surface rather than floor levels. If I use contour for example, I can subdivide the surface based on a specified floor-to-floor height.  Example file is attached.

Is there a way to get the UV values on a surface from points on the contour lines?  Or is there a way to realign the SDivide so that it divides the surface at specific points (for example, where the surface intersects a floor rather than an even subdivision).  I would like to do some Curve On Surface stuff from the UV values

Any help would be great!!

Views: 1252

Attachments:

Replies to This Discussion

use the "surface closest point" component, beside closest point as 3d point, it outputs uv values.

Awesome! thanks a lot

I have one more question now, perhaps the surface was not made correctly in Rhino, but I can't figure out how to model it correctly...

when I look at the UV points they are ordered in an odd manner, see attached.

this causes problems when i want to break the grid of points into cells, each cell having 4 pts (ie: point A, point B, point C, point D).  because the points are ordered oddly, I get criss crossing when I draw the lines, see below:

any ideas?

here are the files

Attachments:

easiest way :

  1. sort points by Z values first (each level = data tree branch)
  2. then do a little trick :
  • make bounding box of your building
  • create a circle based on box centroid
  • for each point find a closest point on circle
  • sort points from each level(=branch) with "sort" component - as K input values from closest point on circle (parameter on curve)
  • you can rotate your circle in Z axis to adjust which one point should be first/last

how to sort points by z value and place them in branches according to level ?

here is def in which I do it, copy needed components :

http://www.grasshopper3d.com/forum/topics/collecting-outside-points...

(components : pcomp -> cset -> vb (in which input your points as D))

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