Ruby code to make multiple slices of a model? Or another approach to this?

Using the “Create Group From Slice” function in Section Plane to take “snapshots” of new rooms:

Create section - create group - copy - click out of section - paste - move section down 1 foot - repeat.

This generates a “stacked floorplan” that lets me annotate things all at once & send it to the architect to update:

This is what it looks like “unstacked”:

3 issues with this:

1.) It’s repetitive and seems like a perfect opportunity for a Ruby script or an extension. I don’t know the first thing about Ruby though.

2.) It’s all generic untagged groups; unless I also stop and tag them, or carefully place them in order, it becomes more difficult to order them properly. This is also something that can be scripted out I’m sure.

3.) Is there an existing extension that does this? I wouldn’t even know what to look for in terms of keywords; anything I found that has to do with sections is nowhere near this process.

Any advice would be appreciated! Or if someone wants to take on a mini-project, I’ll pay you for a custom extension.

TIG’s Slicer from Sketchucation will make quick work of at least most of that if your building is a solid object.

Or consider my SectionCutFace tool from SketchUcation, that does what create-group-from-section does, but also adds faces to the lines where it can; it can also be ‘dynamic’ but that’s perhaps too much for your needs…

2 Likes

@TIG, you’re amazing. The Contour tool is EXACTLY what I was looking for! 2 clicks, 20 seconds, and it’s done!

My Contour tool was next on my list of options, but you found it yourself…

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.