Grasshopper

algorithmic modeling for Rhino

i have a group of items-polzsurfaces- with the same layer

they are different in terms of size and shape

i filtered the first group according to volume

can i filter the rest groups according to shape or features like, i.e. only select the peaces with holes or the peaces which is not rounded etc ?

 

i usually use Cull Pattern or Dispatch

Views: 2001

Replies to This Discussion

is it possible to detect curvature (mean detect if there is a curved surface on the poly surface then filter the polysurfaces with the straight faces or to detect operation such as booleans and subtractions)

Hi Mohamed,

 

Here's something you might be able to work with. It uses the ratio between the volume of the object and its bounding box (Block Coefficient) to sort the BReps into categories.

 

Attachments:

thanks danny very interesting , but what if the both shapes have the same bounding box but they are different from inside

 

i used (Brep Edges ) to calculate the number of interior edges

it works perfectly

The ratio of Brep Volume and Bounding box volume would be different, so these two would be classed as different shapes. Is that what you are after?

 

PS the edges method is less demanding on the CPU 

exactly, it take a lot of time

 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service