If I have a list of vectors, is it possible to create an object (e.g. a cube) centred on each vector in the list, using Sverchok? If so, how can this be done?
There is a lot of steps to make this happen, but it is pretty simple, so here it goes:
Make sure that you put your list in a .txt file - for this example call it PointList.txt, and it will use the CSV format.
Load this file into Blender.
Note: In this format every line in the file is one point location in
In the 3D Viewport Add a Cube - Shift+A >> Mesh >> Cube.
In the Node Editor Add a Text Input Node - Shift+A >> Text >> Text in.
Set your Text Input Node to have the following settings & Click Load:
Next Add a Vectors In Node - Shift+A >> Vector >> Vector in and connect your Text Input Node to like the following:
Next Add a Matrix In Node - Shift+A >> Matrix >> Matrix in and connect your Vectors Output of your Vectors In Node to Matrix In Node at its Location socket:
Next Add a Sv Instancer Node - Shift+A >> Scene >> Mesh instancer. Then ensure that your Object Name is set to the name of the Cube that you added in Step 3. above, click "use" and connect the two Matrix Sockets between the Nodes like the following:
To help you convert your data format, here is a screenshot of how to convert the format that you have shown in your comment:
You just wanted to have instance duplications?
I usually use Viewer Draw to see the preview. And the "Matrix" input is what you want to use for this.
Provide the Mesh Data and the Matrix (transform) will be where the duplication or instances will be placed. If you have list of Vectors already, whether it is via Text Input or being generated using another node, you just plug in the Vector List into the Matrix In.
If you want "real objects" in 3D View right away, you can use BMesh MK2 Viewer node. That will generate actual objects.