Explore The OpenCutList Lab

Hello SketchUppers,

Thanks to the success of the latest beta, I’m pleased to open this new discussion thread to invite you to test and explore the research of the OpenCutList Lab.

Opening our lab to the public is also a way we want to reward the community for their valuable feedback on the development of the extension.

What does this extension do?

OpenCutList extension generates cut lists, estimates, cutting diagrams, labels, exploded views, SVG, DXF for woodworking or similar projects.

What is the lab?

The Lab is a fancy word for the version currently under development for the next update of the extension.

What can you expect?

You can expect the most advanced version and rapid bug fixing. In return, we would be happy to receive your feedback, comments, and suggestions, here.

How to enter the LAB ?

Just follow this link.

Welcome!


Experiments

4 Likes

Experiment #1 : Deep Rename

For this first experiment, we suggest testing a part renaming module.
Using a selection and a formula written in Ruby, this module allows you to rename parts in cascade.

This module can rename thousands of component definitions in one single click :+1:

Here’s an example where the name of the parent group is used to change the name of the component definitions it contains. This can be useful for making two pieces of furniture unique based on the same initial geometry.

Get your test tubes ready, and thank you in advance for your feedback!

Where can I find a description of the update to understand what exactly we are testing?) Where will the update description be published in the future?

Hello @KScher ,

Here, that’s why I opened this thread. Check me previous response to get info about the first feature.

Otherwise, each addition is written to the ChangeLog.

Here again :face_with_tongue:

2 Likes

Experiment #2 : (true) Deep Make Unique

For the second experiment, we suggest testing the Deep Make Unique feature.

This feature allows you to “make unique” a portion of the hierarchy tree. So it is available on a Component Instance as on a Group :+1:

And it also works if you have nested components. Of course, within the portion, the instances are always linked to a common definition.

So, the component structure is not lost. It is simply “make unique” from the other instances of the model to allow modifications without fear of problems.

Thank you in advance for your feedback!

3 Likes

Experiment #3 : Basic Math in VCB

In reaction to this proposal we are pleased to invite you to test further use of math operation when entering length value in VCB in Draw and Handle Tools. The allowed operations are + - * /.

Examples :

  • 2m+50cm/2
  • -2*(@+10)

This feature allows you to combine multiple units, parentheses, and the special character @ which refers to the length value given by the mouse location.

Combine multiple units

Use nested parenthesis

Thank you in advance for your feedback!

2 Likes

We’ve had several discussion in the past about improving the VCB.
In the latest I had suggested that anything in parenthesis be considered a math expression.

You’re on the right track here.

ping @TedVitale_SU

Hello @DanRathbun , thank you for your feedback!

In this working solution, all characters are always a math expression. You can check the source code here.

The only thing I’m not happy with is the first step where I insert | to be able to tokenize the input expression.

Whatever the protocol becomes, must still honor the current way that absolute and relative coordinates are entered. (I haven’t had a chance to view the code.)

Whatever the protocol becomes, must still honor the current way that absolute and relative coordinates are entered.

What do you mean by “relative” or “absolute” ?

This function only get a signed length from an expression. The use of this value as relative or absolute is delegated to the tool that uses this value, but the way the input could be catch doesn’t change, no?

On this Help page, see the Note box in the section on Drawing a Line:

1 Like

SketchUp is magical! Even after 10 years of use, I’m still discovering new features! Thanks Dan.

Else, this feature is not incompatible with the read length logic proposed here.

<x, y, z> is a list of 3 lengths enclosed by <> used here as relative coordinates.

So, for exemple <1+2, 2m+50, 3*4> is possible in this logic. And as when reading a size, @ character represent the x, y, or z coordinate of the point under the mouse.

So the read sequence could be

  1. detect <> or [ ] to determine if it’s a point
  2. if yes, split on list separator
  3. read 3 lengths

Else, reading a length or a point depends of the tool. Rectangle tool don’t need it for example.

1 Like

So, @DanRathbun, here is the implementation of relative and absolute point input for OCL Draw Polygon Tool :wink:.

You can now enter an absolute point for rectangle and circle based shape first point too.

I’m not sure that it’s really easy to use. But it works closer then native line tool.

And of course, in this implementation, as coord is a list you can type <100==> to set <100,100,100>

3 Likes