Skip to content

Latest commit

 

History

History
116 lines (62 loc) · 4.04 KB

File metadata and controls

116 lines (62 loc) · 4.04 KB

Object Seperation Walkthrough

Overview

Import Object

Modeling and Selection

Object Parenting

Overview

This is step by step walkthrough on how to achieve object seperation for use in segmentation. This is done in the event that object file has all the pieces as a whole object instead of having the sections seperated.
*Note: this was done on Mac, but should be similar if done on other OS.

Import Object

Open up you blender application and pick general file. You should see the default layout as shown below

Blender start up

Clear all the current object as they might intefere with the next steps.

Delete objects

Go under file and import the object. Up till now I've only experimented with .obj and .stl files however, you are free to choose as long as the object points

For this, I used the Dawn model as an example.

Models are found here: https://nasa3d.arc.nasa.gov/models/printable

Dawn

Modeling and Selection

Once object is imported, go to modeling and select wireframe.

Modeling

You can select the points and sections you want to seperate into different objects. By using the mouse to drag a select box, use the 'Lasso select' or mannually selecting the points.

*Note: You can use shift key + mouse to add on to what has already been selected. You need to play around with the different angles and zoom to be precise.

Mouse Select dragging

Selecting

Lasso Select Option

Selecting

After Selecting the desired section to seperate, click mesh and go to seperate, then click selection. You can also press P for shorcut.

https://docs.blender.org/manual/en/latest/modeling/meshes/editing/mesh/separate.html

Seperation

Once seperated, another object should appear under the collection or scene. Change the mode back to object mode instead of edit mode to view the changes.

Select One Select Two

Save the file as .obj and it is ready to be used for data generation!

Object Parenting

This part can be safely ignored since the initial constructor in the code does the parenting, however this part shows how to do it manually. Do not add empty plain axis when using the generator code, as it assumes the imported object file has all the objects seperated and will assign an empty plain axis as a parent

After we've done the seperation, we need to do the parenting to ensure that the seperated objects move together. To do this we're going to add an empty plain axis.

Empty axis

Select the objects with the empty axis as the active object. When parenting is set, the active object will be the parent of all selected. To do this, use the ctlr key and select (ctrl key + left click) all of the objects with the empty axis being the last one. This is because the last object to be selected is the empty object. To know which is current the active object, it is has a lighter yellow highlight on the name compared to the orange highlight on the other objects

Click the parenting option under Object -> parent -> object.

parentingOption

Pretty good video describing object parenting:

Official documentation on parenting: