How to Cut a Surface in to different parts

Sheathing_TEST.rvt (4.9 MB)
Hi there,
I am working on a problem to optimize floor sheathing using dynamo. Floor sheathing comes in 4’x8’ size. So I need to tackle how optimize the sheathing layout with minimum cutting of sheathing. Some of the constraints are,

  1. 8’ length portion of sheathing should be in spanning direction of floor.
  2. Minimum side length should be 2’ for any sheathing while in cut state.

I am tried really hard to solve this, but i am not getting a work flow to satsfy the constraints given above.
for getting floor boundary and spanning direction I have created a line detail item. I am using its lines as floor boundary and direction vector as spanning direction. I would request all of you to provide some idea on how to adress these issues to make a GD script.
SheathingCreation.dyn (124.3 KB)

Not sure if you have seen this great blog post from @john_pierson - it should give you a pretty good start.

3 Likes