Welcome to Trimble Creator!

Hi Simon. Glad to see you using the graph!

You can use a set points node for this, alongside the triangulate 2d path. I’ve added a small snippet onto the end of your graph that you can take a look at.

Example graph

Basically, You’re resetting the points of the triangulate 2d path back to the point positions of the original curve.

Let me know how you get on!

1 Like

Got it. Thank you. Brilliant :grin:

Can’t see how to create a list of number (float) values to choose from.

I want to create a box with three predefined lists of choices - one list each for width, height and depth - with the option of typing a value not in the list. The values aren’t equally spaced, so I can’t just use a parameter slider with a fixed step value.

A further complication is that I want the values to represent units of feet, and not just whole numbers of feet - ideally, a mix of feet and inches, usually but not always a multiple of 6".

Tried Number List node. Although the default ‘list size’ is 10, Add Item stops working after I’ve added three values, and I can’t see any way to add more values.

When I click on Add Item after there are three values (indexes 0 to 2) I see a quick blink showing an index of 3 and a value of 0, but it disappears immediately. The Add Item dialogue has no scroll bar, and using Tab to go to the next field doesn’t work either

Bug?

I’m using Chrome - latest Version 107.0.5304.110 (Official Build) (x86_64) on Mac Monterey.

Another related question:

Is this the right kind of node?

Is there another way of providing a drop down list of values to choose a number from? If so, what should I use?

Tried a number switch but it seems to be hard coded to accept only four choices, and I need more than that.

Is choice the right kind of node to use instead? Couldn’t initially see how to set it up, but an example helped me see that.

How to convert text to number
The choice nodes outputs a value which is apparently the chosen index, and a text value which is the chose option value.

How do I convert the text value to a number? It isn’t accepted as a number by the input to an xyz to vector node.

And I can’t find any type of node to use the text output as a number. If I drag the text output and drop it, the only node type available (even when I search for ‘number’) is another choice box.

There’s an example graph Setting a number list item, but I can’t see how it works.

The number list node seems to have an empty <float list> although when I click on it I see a list (again limited to three values) all the same value.

And the output of the set number list item just shows the empty <float list> as its value.

I’m finding the experience of trying to create live components a mix of interesting, partially successful, and very frustrating.

It seems to me there needs to be a list (at least) of what different types of nodes exist (lots!), and an easily accessible set of simple but not trivial examples of how to use each, with a short summary of when and why to use one rather than another.

I’ve found it sometimes useful to guess that there might be an example in the list of Live Components accessible from the Graph Browser, but it’s very hit or miss whether I guess the right name to search for, and I haven’t found a way of displaying everything. A single wild card character like * or % doesn’t work. Three asterisks produces more, but all?

And some of the examples that look potentially helpful - for example, Training - MF1 - are either incomplete or don’t work.

Temporarily stuck on my present attempt at a second LC following my moderately successful JWM shelves 4 and the tutorial based on that.

I want an LC to draw a box with a selection of options for width, height and depth drawn from lists of possible options for each, with a further option to type in a number not in the list, for any dimension.

I’d use it on my iPad to replace a hard coded Ruby extension I wrote (but haven’t published) to draw flats of standard sizes in my theatre set models in desktop SU.

But I’m stuck for the moment.

Any suggestions for a way forward would be welcome, but I’ll have to stop for today, as I can’t see a way forward.

This is a known bug.

1 Like

Thanks, Dan. Where might I have found the list ( before I had your link) if I’d thought to look for it?

Hello John
This is a Graph to make a choice between 8 presets or a personal value
and a bonus boolean to define presets

https://creator.trimble.com/graph?assetURI=whp:ed26f6a0-1b37-46b5-8966-b531203f33b1

For inch entries, once imported into SketchUp, if the model is in inches, turn off the graph units at the top of the settings box, and you will be able to enter inches.

Thank you, Simon. I’ll study that tomorrow. At a superficial glance just looking at the image of the graph (not the live graph) it looks horribly complicated.

I feel there ought to be a much simpler way of doing it!

Maybe the bug in number list will get fixed in time, and would do what I want?

Is there no way to convert a string text that looks like a number (from a choice node) into a float number?

Hello John, I don’t think is complicated, It does what you want!

For the string the only node you can link is the expression Node

Hi John,

It seems you’ve gotten some good answers from Dan and Simon. I’ll round off a couple of the other questions you have.

  1. A choice node requires you to set a comma separated list of options in order to set the dropdown (Option1,Option2,Option3,…).
  2. Once the number list bug is fixed, you’ll simply be able to set a customized number list to set the options and use a get number list item node to select a particular value within the list based on the index provided by the choice node (all in all only ~3 or so nodes). Simon’s is a great example where you are able to completely customize a list through the Parameter panel.
  3. A list of all the nodes we have available to use with examples and summary for each is something that has been much requested, and is something that we are very much wanting to do. I’ll be sure to provide an update (here on the forum) on this documentation as soon as I can!
  4. Otherwise, be sure to have a look out for the tooltips when hovering over some of the inputs/outputs of nodes, these will often give a brief explanation of what they do. You can also see a tooltip with a brief explanation of the node itself when hovering over it in the node search window (via the hamburger icon to the right of the search bar when creating the node).

Cheers,

In this category. I was able to find it fast because I had read that topic, knew that @simjoubert had authored it, and about when.

The forum search feature allows filtering by member nicknames by entering an @ followed by their nick (same as you would if pinging them from the body of a posting.)

Anyway, if searching from within this category, on “number list node” the very first search “hit” is the one I linked above.

Thanks again, Dan. I should have thought of that, and at one time I did read through the whole of this thread but didn’t remember that part of it, or perhaps at the time didn’t realise that I would need it later. I’m still pretty new at LCs.

1 Like

Cameron, thanks.

I’d just worked that out as you were replying - I found an example by searching for ‘choice’ in the graph browser and saw how it worked.

Useful to remember. I’ve seen it happen by accident a couple of times when my mouse was over a node and hovered briefly, but haven’t used it systematically.

Any updates on Trimble creator? I wonder if it’s gonna be web based or will it be integrated on a future desktop version of Skp pro.

It’s intended to be web based.

How can I efficiently model crossbeams spanning between two large beams that both curve upward and inward, with slanted sides, preferably parametrically (perhaps using Trimble Creator), ensuring each crossbeam has the correct length and angle at the end? Also, how can I easily adjust the center-to-center distance, with the crossbeams automatically updating accordingly?”

hello, is it down ?

https://creator.trimble.com is not loading in Safari for me, but does load in Chrome.

1 Like

oh ok it does work in chrome here too (which I didn’t try) but I mainly use firefox and it used to work. And because it is my default selected browser, live components don’t work in sketchup (blank page when modifying a live component)

I will try to find the right person to let know.

1 Like

Is it possible to display the volume of live component model? After downloading in SketchUp for Desktop?

Hi, does anyone know how to extract the “volume” information of a ‘Live Component’ opened in SketchUp desktop? I was unable to get that information despite exploding the model. I suspect it could be due to the way the model surfaces are triangulated (if you turn on hidden view, you will see triangulation in the downloaded Creator models)

Any suggestions or solution to this are welcome.

Thank you