Blend

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


The blend function takes two mesh objects with same topology and different vertices locations, then output a blended geometry given a value between 0 and 1.

Input:

compA:  name of component A obj file uploaded to storage
compB:  name of component B obj file uploaded to storage
filename: target output file name
value:  float between 0 and 1, the blend position between compA and compB
t: [YOUR SECRET TOKEN]

Output:

A list of result files in storage.

Example:

Component A and B

Component A and B

request input:
{
  "compA":"Blend_Input_A.obj", 
  "compB":"Blend_Input_B.obj",
  "value": 0.5, 
  "filename":"Blend_result.obj",
   “t”: "[YOUR SECRET TOKEN]"
}

Full request URL:
https://studiobitonti.appspot.com/blend 

Response:
    [“blend_result.obj”]

This file can be downloaded at:
https://studiobitonti.appspot.com/storage/download?name=Blend_result.obj&t=[YOUR SECRET TOKEN]
Result:   50% of component A and 50% component B

Result: 50% of component A and 50% component B

Francis Bitonti