brepjs API Reference
    Preparing search index...

    Interface VoxelFieldOptions

    Field tuning. resolution sizes the longest bbox axis in voxels; padding is the air-margin ring (>= 1) Surface Nets needs AND the headroom an outward offset has before it clips at the grid boundary (the grid is fixed at voxelize time — size both for the intended maximum offset).

    interface VoxelFieldOptions {
        padding?: number;
        resolution?: number;
    }
    Index

    Properties

    padding?: number
    resolution?: number