gyroid_solid_mask — 3D surface op

• 資料種類:無 → voxel(僅由參數決定的運算子 —— 不接受影像或資料輸入)

• 呼叫: import fullseye as fs; fs.ledger.gyroid_solid_mask(shape=(64, 64, 64), level=0.0, periods=1.0, thickness=0.3)(要直接呼叫實作,import render3d; render3d.gyroid_solid_mask(shape=(64, 64, 64), level=0.0, periods=1.0, thickness=0.3);從台帳取用則 ops3d.get("gyroid_solid_mask"))

用法

作為可列印實體的 gyroid —— 等值面 ±*thickness* 之內的殼。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

Returns a `volume` (float 0/1), so it feeds the existing voxel ops

(`vol_label / skeletonize_vol / mesh_slice_stack`) directly and needs

no marching cubes —— this form works on bare numpy, while

:func:gyroid_isosurface needs scikit-image.

★Why this earns its place: at `level = 0` the field is odd under the

body-centred inversion, so the solid fraction of the two sides is *exactly*

equal —— a symmetry fact the mask can be checked against (the measured

fraction above 0 converges on 0.5 as the grid refines), and the shell volume

grows linearly in *thickness* for small *thickness* because the level set has

finite area. Both are independent of how the field was sampled.

Raises `ValueError`: a grid below 8 per axis or over the cap;

non-positive periods; a non-finite level; a negative thickness.

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• minimal_surfaces — py -3.11 examples_3d/minimal_surfaces.py

型別可銜接的下一個運算子(可接受 voxel 作為輸入)

voxel_to_mips · voxel_to_mesh · signed_distance_field · to_points · sobel3d · hessian3d · curvature_maps · edt_jfa

同類別(surface)

minimal_surface · minimal_surface_bend · gyroid_isosurface · curve3d_tube_mesh


*Provenance: render3d.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.