gyroid_isosurface — 3D surface op

• Data kinds: कोई नहीं → mesh (केवल arguments से तय होने वाला op — यह कोई image या data input नहीं लेता)

• Call: import fullseye as fs; fs.ledger.gyroid_isosurface(shape=(64, 64, 64), level=0.0, periods=1.0) (implementation को सीधे call करना हो तो import render3d; render3d.gyroid_isosurface(shape=(64, 64, 64), level=0.0, periods=1.0), registry से लेना हो तो ops3d.get("gyroid_isosurface"))

उपयोग

gyroid — nodal approximation से बनी triply periodic surface।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

Samples sin x cos y + sin y cos z + sin z cos x over periods unit cells and extracts the level set. At level = 0 the field is odd under the body-centred inversion, so the two sides have exactly equal volume — a symmetry fact, independent of the meshing, that the existing mesh_volume can be pointed at.

★Honest limit, stated in the contract: this is the *nodal approximation* to the gyroid, not the exact triply periodic minimal surface. Schoen's gyroid has H = 0 everywhere; the nodal surface has a residual mean curvature (measured, not hidden) of about 12 % of the principal-curvature scale at a 64³ grid —— compare the exact families in minimal_surface, whose |H| median is 1e-4 against a curvature scale of order 1. Use the gyroid as a scaffold and a picture, not as a claim of minimality.

Parameters

shape : (nz, ny, nx)

level : float

Iso value. 0 gives the balanced surface; non-zero splits the volume.

periods : float

Unit cells along each axis.

Returns a mesh (vertices, faces).

★The thickened solid form lives in gyroid_solid_mask, not behind a keyword here —— one function that returns a mesh or a volume depending on an argument cannot be given a single declared output type, and a ledger row that lies about its output is the defect class this library keeps catching (indices_to_labels: one word covering a 1-D mask and a 3-D volume).

Raises ValueError: a grid below 8 per axis or over the cap; non-positive periods; a level outside the field's range (no surface exists there — reported rather than returning an empty mesh); negative thickness.

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• minimal_surfaces — py -3.11 examples_3d/minimal_surfaces.py

वे अगले ops जिनसे type जुड़ता है (mesh को input के रूप में लेते हैं)

mesh_to_voxel · mesh_to_points · to_points · fuse_to_voxel · ambient_occlusion · cast_shadow · supersample_mesh · render_beauty

इसी category के (surface)

minimal_surface · minimal_surface_bend · gyroid_solid_mask · curve3d_tube_mesh


*Provenance: render3d.py — 3D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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