I need to create a script (a function ) in grasshooper (parametric design software) which will "unchampfer" a face of a polyhedra.
The script must have 4 imputs : 1. The imput geometry (the polyhedra)
2. The face i wont to unchampfer
3. The distance i wont to unchampher the face.
4. bolean function custom / full distance (if i chose "custom" than it will aply the 3. imput ... if i chose "full distance" the script must calculate the distance from initial face plane where the face will decepeare compleately)
The script must have 3 outputs : 1. the geometry resoulted from unchampher face script
2. The maximum distance (from initial face) where the face will be compleately unchampher.
3. An error report (if the script produce errors - incompatibility imputs, insuficient imput ...etc. / emty parameter if no errors)
The imput geometry can be mash or surface but the output geometry must be "breeb" .