MeshObjectID =  mesh .cube .create  (  MeshObjectID ,  ChamferRadius ,  ChamferDivisions  )  
                                          
Description :

This instruction creates a chamfered cube primitive.

Parameters :

  • Size of the side of the cube.
  • Radius of the chamfer.
  • Number of divisions of the chamfer.

Return Handle :

  • ObjectID of the mesh if the creation was successful, NULL otherwise.

Examples :