Boolean

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

The boolean function process the input of two mesh objects into a combined, divided or insertion of the meshes.

Input:

Input1: Name of first .obj component file uploaded to storage.
Input2: Name of second .obj component file uploaded to storage.
Output: Result file name for the boolean operation in .obj format.
Operation: Choose one from union,difference and intersection.

Union - Combines the given meshes.
Difference - Splits the given meshes.
Intersection -  Intersection between the given meshes.

Token: [YOUR SECRET TOKEN]


Output:

A list of result file in storage

Example - Boolean Union

Boolean Input A and B. Sphere and textured sphere.

Boolean Input A and B. Sphere and textured sphere.

 
Inputs A and B positioned on top of each other.

Inputs A and B positioned on top of each other.

request input:
{
  "input1": "Boolean_Input_A.obj", 
  "input2": "Boolean_Input_B.obj",
  "output": "Boolean_Union_Result.obj", 
  "operation": "union", 
  "t": [YOUR SECRET TOKEN]
}


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

Response:
    [“boolean_union_result.obj”]

This file can be downloaded at 
https://studiobitonti.appspot.com/storage/download?name=boolean_union_result.obj&t=[YOUR SECRET TOKEN]
Boolean Union Result

Boolean Union Result

 

Example - Boolean Difference

request input:
{
  "input1": "Boolean_Input_A.obj", 
  "input2": "Boolean_Input_B.obj",
  "output": "Boolean_Union_Result.obj", 
  "operation":"difference", 
  "t": [YOUR SECRET TOKEN]
}


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

Response:
    [“boolean_Difference_result.obj”]

This file can be downloaded at 
https://studiobitonti.appspot.com/storage/download?name=boolean_difference_result.obj&t=[YOUR SECRET TOKEN]
 
Boolean Difference Result

Boolean Difference Result

Example - Boolean Intersection

request input:
{
  "input1": "Boolean_Input_A.obj", 
  "input2": "Boolean_Input_B.obj",
  "output": "Boolean_Union_Result.obj", 
  "operation":"intersect", 
  "t": [YOUR SECRET TOKEN]
}

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

Response:
    [“boolean_intersection_result.obj”]

This file can be downloaded at 
https://studiobitonti.appspot.com/storage/download?name=boolean_intersection_result.obj&t=[YOUR SECRET TOKEN]
Boolean Intersection Result

Boolean Intersection Result

Francis Bitonti