Core and the app · crate

kinogaki-brep-mesh

Core

B-reps as polygons, below the viewport, renders and file exchange alike: each body's mesh by the installed mesher, cached on its geometry (meshed), and a value's bodies joined into one polygons value (joined): each body's mesh, the faces' polygons ...

Repository
Core and the app (kinogaki/studio-core)
Folder
studio/core/brep-mesh
Source
2 files, 466 lines
Tests
0 files, 0 lines
depends onused by tests alonedependencies for tests alone are listed below, not drawn

What it is

B-reps as polygons, below the viewport, renders and file exchange alike: each body's mesh by the installed mesher, cached on its geometry (meshed), and a value's bodies joined into one polygons value (joined): each body's mesh, the faces' polygons first and the edges' polylines after, as Geometry holds them. Bodies sit at their own origins (an assembly places them as standard Instances of B-reps). The viewport draws and an export writes the joined value; a render takes the bodies' meshes themselves (core/render-geometry), so bodies sharing one share a source. Pure data: nothing here draws.

Depends on

CrateRepositoryAsWhat it is
kinogaki-studio-apiSDKnormalKinogaki Studio's headless plugin API.

For its tests alone

CrateRepositoryAsWhat it is
kinogaki-studio-api-testingSDKtestsThe SDK's test support (a dev-dependency only): assert_refused for admission tests, read_hostile for a format's tests of hostile files, format for its scratch folders and round trips, workers as a host installs them, with wgpu an ...

Third-party

None.

Used by

CrateRepositoryAsWhat it is
kinogaki-geometry-viewCore and the appnormalGeometry, curves and B-reps in the viewport, independent of any GPU API: the SDK's standard values as surface packets (over the SDK's display triangulation and shading normals, so Solid draws what Render renders), the one picker that answers rays and boxes ...
kinogaki-projectCore and the appnormalStudio's project files: a document as a Prism document.
kinogaki-render-geometryCore and the appnormalThe render side of Studio's standard geometry values: what render engines receive for them, whatever kernel made them.

Modules

One file: the crate root.

Public types and traits

At the crate root

Structs Joined

Type aliases FindMesher

Besides these, 3 public functions at module level.