How to make a cube by vertices?

Hi, all.

I have 8 vertices and would like to make a cube using these vertices.

Later, I will get surfaces from the cube.

However, I have some trouble making the cube.

I tried to use other nodes but failed.

Does anyone know how to make a cube using 8 vertices?

image

Checking2.dyn (8.7 KB)

@Ella Please drop your dyn file

@salvatoredragotta
ok, I just attached file :slight_smile:

What are you selecting with the Select Model Element node

@salvatoredragotta
I forgot to explain. I selected one column and I would like to remake this column by shared coordinates.

try this:

Checking2 - v2.dyn (20.8 KB)

2 Likes

If it’s orthagonal you could just get the bounding box.

1 Like

@salvatoredragotta
@JacobSmall

Thank you both for your comments.
I tried salvo’s script and it was successful! Thank you.
I also found the simple way to solve this problem based on the Jacob’s comment.


I extracted minimum and maximum point from the point list and created bounding box which can be converted into the Cube.
Anyway, thank you for helping me!