Volume Lattice

Endpoint: https://studiobitonti.appspot.com/volumeLattice


The volume lattice function generates arrays of a given lattice structure across a volume in a parametric fashion. The input parameters take in a base component of the volume and a module to be arrayed. Other parameters like component size help define the size of the module which is arrayed.

Input:


Component: Is the uploaded .Obj component to be arrayed.
Volume: Uploaded bounding volume mesh to be populated.
Component Size: Defines the size of the base component.
File Name:  Name of the resultant file for the surface lattice.
T: [YOUR SECRET TOKEN]

Optional:

BlendTargets: List of other components to be blended according to chosen attractors.

Output:

A list of result files in storage.


Example:

Input:     Lattice Unit

Input: Lattice Unit

Input:   Surface

Input: Surface

Required:
{

   "component":"Example_LatticeUnit.obj",
   "volume": "Vol_Latt_Base.obj",
   "componentSize": 1.2,
   "filename": "Vol_Lattice_Example.obj",
   "t" : [YOUR SECRET TOKEN]

}

Full request URL:

https://studiobitonti.appspot.com/volumeLattice


Response:

    ["Volume_Lattice_Example.obj"]

This file can be downloaded at:
https://studiobitonti.appspot.com/storage/download?name=Volume_Lattice_Example.obj&t=[YOUR SECRET TOKEN]
Output:   Axonomatric View

Output: Axonomatric View

Output:   Top View

Output: Top View

Output:   Side View

Output: Side View

Advance Example:

Using attractors and blend component.

Input:   Componenets Unit_0 & Unit_ 1

Input: Componenets Unit_0 & Unit_1

Input:   Volume

Input: Volume

Required:
{
    "component": "unit_1.obj",
    "volume": "Vol.obj",
    "componentSize": 0.5,
    "filename": "vol_lattice.obj",
    "t":[YOUR SECRET TOKEN],
    "blendTargets":[
        {
            "component":"unit_0.obj",
            "attractor":{
                "point": [0,0,0],
                "range": 2
            }   
        }       
    ]
}
  
Output:   Side View of volume lattice

Output: Side View of volume lattice

Output:   Top View

Output: Top View

Francis Bitonti