b3dExtrudeSurface

Extrudes surface geometry along normals by creating side faces and displaced cap. Takes mesh (surface-based mesh entity), surface (surface index to extrude), distance (extrusion distance as double, positive outward), smooth (0 = sharp edges, non-zero = smooth normals). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

mesh Int
surface Int
distance Int
smooth Int

Returns

Void

Quick Summary

Extrudes surface geometry along normals by creating side faces and displaced cap. Takes mesh (surface-based mesh entity), surface (surface index to extrude), distance (extrusion distance as double, positive outward), smooth (0 = sharp edges, non-zero = smooth normals). Returns nothing.

Technical Exegesis...

Extrudes surface geometry along normals by creating side faces and displaced cap. Takes mesh (surface-based mesh entity), surface (surface index to extrude), distance (extrusion distance as double, positive outward), smooth (0 = sharp edges, non-zero = smooth normals). Returns nothing. Validates mesh exists, type is ENTITY_MESH, surface-based, locked, and surface index valid. Finds boundary edges (edges used by only 1 triangle - perimeter of surface).

Example

Example.bam
; No example implemented yet