perforated screens

Hi,

I'm trying to create a circular perforation into an square shape (or any shape like in an ellipse). Does anyone know how to do this?

Do you have to turn the square shape into a solid? Is it possible to make cuts into a shape?

I've attached a picture, to show what i mean.

Thanks.

Parents Reply
  • Hi Ivana,

    Cutting holes in a square or other polygon requires an intermediate step: use the Polygon to create a BSplineSurface.FromClosedCurve, then use that BSplineSurface as input for another BSplineSurface.TrimByProjectedCurve. The curves (Circle nodes) are then the input to TrimCurve, which requires a list as input. In case of the circles, if they are more-dimensional lists (e.g. replicated), use MyCircles.Flatten() to make sure they are in a one-dimensional list. SelectorPoint could be any one of the Polygon's Vertices.

    Wishing you good success,

    Volker

       

    Answer Verified By: Mueller 

Children
No Data