How to implement panel/shelf copying with reference point alignment and array input in Ruby API?

Hi everyone,

I am not a programmer/coder, but I am looking for a plugin (or Ruby script logic) that can recreate the cabinet/shelf copying workflow shown in this video.

Here is what the tool does:

  1. Select a panel/shelf and drag to copy it.
  2. Enter precise distance in the VCB (e.g. 400 mm).
  3. Toggle reference alignment by pressing TAB (switches between Inside-to-Inside, Outside-to-Outside, and Center/Midpoint).
  4. Create an array by typing multiplication commands in the VCB (e.g. ‘*3’ or ‘*4’).

Since I don’t write code myself, I usually rely on existing plugins or AI to help generate scripts.

Does anyone know:

  1. Is there an existing plugin that already has this exact functionality?
  2. If not, how difficult is this logic to implement in Ruby for a beginner using AI tools?

Any advice or plugin recommendations would be greatly appreciated!

Thank you!

Perhaps:

@dezmo Ah, thanks! I’ve had it installed for a long time, but I’ve only ever used it for the cut list patterns. I had no idea the plugin could do that too.

Hello,

Here is a preview of what OpenCutList will be able to do in its next 8.0 version :

Thanks for the clarification! @dezmo and @boris.beaulant Since my first question has already been answered, I’d like to ask my second question again:

If not, how difficult would it be for a beginner to implement this logic in Ruby with the help of AI tools?

I think that AI can do everything you need. So in fact, it’s now not a complexe task for a human. The biggest challenge I see is that, as a beginner, you’ll find it harder to steer the conversation with the right questions or lines of inquiry. But it’s certainly not impossible.
Otherwise, you can simply wait for the next release of OpenCutList :wink:

The questions are, how well do you know and use the Sketchup Ruby API and ist documentation or Ruby in general? Do you know and understand the examples referenced in above documentation on Github? Do you know and understand the Extension Requirements? Etc. etc…
Do you know how to and what AI tool(s) to use? Do you accept what the AI “​​says” without understanding it?..

So it’s “exactly” that difficult. :blush: