How to translate an imported mesh to the origin


Learn how to translate any imported mesh to have a centroid of (0,0,0) and how to turn this workflow into a custom block. 


1. Add Import Mesh

2. Add Translate Object

3. Expand the Properties of the Import Mesh block

    • Expand Bounding Box
    • Expand Centroid
    • Expand Vector


4. Drag the Negative vector property into the Vector Input of the Translate Object block

5. Check the Properties of the Translate Object block, and see that the centroid is now (0,0,0)

To make this process quick and repeatable, follow the steps below to create a compound block

    • Create a parameter variable of the Path input in the Import Mesh block
    • Drag the Path variable up to the Input section of the Notebook
    • Turn the Translate Object block into a variable
    • Drag the Translate Object variable into the Output section
    • Add a descriptive comment for the Path variable
    • Name the Notebook something that makes sense, and give the Notebook a useful description
    • Save the file using the same name was the Notebook

And that’s it! You’ve successfully translated your mesh to the origin

Are you still having issues? Contact the support team, and we’ll be happy to help!

Download the Example file:

More on this topic:


 stl mesh move block translate centroid imported adjust custom set 000 
Was this article helpful?