Planer Projection

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


The plane projection function wraps a given mesh input by projecting a place on to it from the specified direction. This function can be used to patch holes, create a new draped mesh over multiple objects, etc. The required inputs include the target file name, center of the object, direction of projection, size of the plane and its resolution.

Input:


Target: The uploaded .Obj target to be projected on.
Center: 3D coordinate of projection center, by default [0,0,0].
Direction: 3D vector defining, the direction where projection starts, by default [1,0,0].
Size:  Is the [U,V] input defining the size of the projected plane.
Resolution: Is the number cells in U and V direction.
File Name:  Name of the resultant file for the surface lattice.
T: [YOUR SECRET TOKEN]

Optional:


U_Dir: Defining the U diction of the projected plane.
V_Dir: Defining the V diction of the projected plane.

Output:

A list of result files in storage.

Example:

Input:   Target

Input: Target

Required:
{

    "target":"Body.obj",
    "center":[1,-3,1],
    "direction":[0,0,1],
    "size":[2,4],
    "resolution":[100,100],
    "filename":"P_Projection_Result.obj"
    "t": [YOUR SECRET TOKEN]

}

Full request URL:

https://studiobitonti.appspot.com/planerProjection


Response:

    ["P_Projection_Result.obj"]

This file can be downloaded at 

https://studiobitonti.appspot.com/storage/download?name=P_Projection_Result.obj&t=[YOUR SECRET TOKEN]
Result:   Projected mesh in black, input mesh in gray.

Result: Projected mesh in black, input mesh in gray.

Result:   Projected mesh.

Result: Projected mesh.

Francis Bitonti