Repository navigation
OpenGeometry 3.0.0 - #25
Merged
Merged
Conversation
Restructure the 2.5 kernel and Three.js SDK to the planned layer tree and enforce the coding standards mechanically, with behaviour proven unchanged: the debug kernel snapshot (461 cases), the SDK snapshot and the API surface are byte-identical to the Phase A baseline, the parity oracle output equals its fixtures, and every gate passes on a clean rebuild. Kernel: one-way layer order, curated public API (776 to 322 paths), every non-test function at most 80 lines and 7 parameters, shared helpers consolidated, tests/source_rules with frozen one-way exception lists, a test-support crate, string errors typed. SDK: split into dto, kernel, world-graph, rendering, marks, bodies, picking, export and runtime modules behind a 63-line facade; strict tsconfig, typed ESLint with layer rules, source, cycle and duplicate checks, a testing entry, and the scripts and browser tests in their planned homes.
npm run check runs every Rust and SDK gate from main-v2.5 in a fixed order, logs each step to .check/<step>.log, keeps going past failures and exits non-zero with the failed step names. check:full adds the Playwright runs on three 0.168 and 0.184. --only and --from pick a subset.
…orted Covers --only, --from, --skip, the empty selection, unknown names and missing values, the test:wasm rename, and the performance and browser flake classifier, before verify.mjs exports them.
Clippy gets its own target dir so cargo re-lints only what changed without touching sources. A rotated20BooleanMs regression is retried twice and the memory disposal browser test is repeated five times before either counts as a failure; any other regressed metric is marked INVESTIGATE. Browser ports, Playwright output and vite caches follow OG_PW_PORT_BASE and the three version, so the 168 and 184 runs overlap. Step selection gains --skip, fails on empty selections and bad arguments with one line, and verify.mjs runs steps only as the entry script so its pure functions are testable.
… STEP Finding O:orc-1: batch subtraction had no oracle. These tests replay a batch-matrix fixture corpus recorded from main; they fail until the oracle writes it. The STEP matrix loop becomes one helper shared by the boolean and batch matrices.
Finding O:orc-1: subtract_planar_cutters had no oracle. The traced copy now records subtract_planar_cutters and its batch handlers, and a batch module rebuilds the snapshot's batch scenes (13 entries, 4 ordered scenes and the staged mixed scene in both orders, 23 rows) with main's builders, writing each row's result, handlers and STEP files to batch-matrix/, plus a serial fallback row for non-mixed coverage gaps. The STEP writer moves to write.rs so matrix and batch share it; matrix output is unchanged. Five helpers repeat the snapshot's across kernels and get allowed duplicate groups.
…ode per context Retires the frozen operations->world_graph upward imports and module cycle, and adds tests that SingularParameterization takes the code of its graph context and that every OperationError keeps its code and message as a GraphError. Both fail until OperationError and ErrorContext exist.
…form The five boolean .tess.json files are never read and no matrix or batch row has a tessellation fixture, so a regression in the ported trimmed-face refinement goes unnoticed. Main numbers refinement midpoints from a HashSet, so the comparison is made over an order-free canonical form built in test-support. The batch fixture listing moves to tests/parity/support.rs so the new test shares it.
The standards review of W-B1 found batch.rs sitting beside batch/, which breaks the mod.rs convention for directory modules, and parts.rs exposing upright, arc and Part's fields wider than their only users in parts.rs need. scene and ordered now sit below their last caller, and four duplicate-group reasons name the snapshot helpers as general fixtures rather than batch-only ones. No output changes.
operations no longer imports world_graph: creating steps return OperationError, which world_graph converts into GraphError with the same code, message and null details. CreatingOperation and ModifyingOperation move into world_graph, and operands.rs keeps its own invalid(). SingularParameterization now reports InvalidGeometry, and every graph entry point rewrites it by ErrorContext (Create/Rebuild to InvalidParameter, Transform to InvalidTransform). The frozen upward imports and the operations<->world_graph cycle are retired; the sweep line_edge duplicate pair is re-keyed and its merge deferred to the debt note.
…sults The oracle now tessellates every boolean fixture and every matrix and batch row whose result holds a BRep with main and with traced, asserts the two agree in an order-free canonical form, and writes it under tessellation/. Main numbers refinement midpoints from a HashSet, so vertex numbering is not stable across runs; the canonical form sorts vertices, triangles and outline segments so the fixtures are. The canonical helpers exist once per kernel, recorded as allowed duplicate groups.
The fixture-reading one-liner existed twice in the parity tests; it now lives once in support.rs beside parity_fixtures, both pub(super) like every other test-crate support module. The oracle's canonical.rs lists its steps below their caller in call order and separates every function with a blank line.
The standards verifier found invalid declared pub(super), which from operations/mod.rs is crate-wide, while its only callers are descendants of operations; private is the narrowest visibility that compiles. The blank line in sweep/mod.rs was left by the removed world_graph import.
86a80b4 removed a blank line in sweep/mod.rs, moving line_edge from line 270 to 269; the allowlist member now matches what check:duplicates reports. Hash, count and reason are unchanged.
The blank line added before canonical_vertices moved the later canonical functions down one line; the allowlist members now name the lines the duplicate check reports.
Pins D6 (a name over 4 KiB is LimitExceeded, empty stays InvalidParameter), D7 (the exportStep node list is exempt from the 64 KiB params cap, capped at 100,000 ids, ids over 1,024 chars are InvalidParameter) and the export of a Body's children in stored order. params.rs moves to params/mod.rs so its tests sit beside it.
Pins typed ErrorDetails on GraphError: every GeometryError variant keeps its code in every context, a failing chained operate names its handlers, tool index and og_ids, a failing multi-body export names the body, and the bindings DTO keeps the error JSON byte-identical. Retires the frozen serde_json entries on world_graph/error.rs.
expand_export now walks every node's children depth-first in stored order, so Solids parented under a Body are exported and Wires or Sheets under it are reported in skipped (S:step-4). A name over 4 KiB is LimitExceeded, separate from the InvalidParameter option faults (D6). exportStep reads its node list through params::nodes, which is exempt from the 64 KiB params cap, caps the list at 100,000 ids without allocating the extra one and rejects ids over 1,024 chars as it reads (D7).
…ar sweep seams stay bitwise watertight The validity test named 20 of the 28 verdict fixtures and skipped arc, circle, cuboid and the five builder-box and builder-sphere-cut pairs. Looping over every verdict file in the folder keeps new fixtures from being skipped. Refinement midpoints on the circular L-path sweep reuse the boundary sample they coincide with in uv; evaluating the surface there instead leaves seam edges that differ in the last bits and break bitwise watertightness. No parity fixture reaches the reuse, so it stays and this test pins it.
GraphError::Code now carries ErrorDetails instead of a serde_json Value, so error.rs leaves the frozen serde_json lists. Operate failures raised by the boolean handlers keep the handlers recorded so far, the failing tool's index and the operand og_ids; multi-body STEP export failures in preflight or emission name the failing body. The bindings build the error JSON through ErrorDto with unchanged bytes, and the snapshot tool records every GraphError as the same code/details/message JSON.
…ng pieces (OPE-26)
…a clipped stair waist tessellates (OPE-25)
… tests (OPE-22, OPE-23)
Every file main changed is a 2.0 file that the 3.0 tree deletes or replaces, so the 3.0 side is kept for each one. - 533710f (2.0.17) and the 2D region fixes of cba5c0a are in geom2d (OPE-5, OPE-6); their tests moved into the crate. - The memory work of cba5c0a is the memory module (OPE-16, OPE-17). - The tessellation cache and accuracy rule of cba5c0a do not apply to the 3.0 tessellator. - 46de326 (#28), the exact cylinder minus an oblique half-space cuboid, is not in 3.0 yet; tracked as OPE-33. - The root package.json keeps the 3.0 workspace form; the version lives in main/package.json.
…d in operate errors (OPE-34) A failed operate lost the specialised handler's reason: the generic fallback overwrote it and the handler trace was truncated, so a consumer could not tell which construction to change. A Trace now carries the success handlers, every handler attempted and the first specialised gap through the dispatch, the multi-tool and the batch paths. ErrorDetails::Operate gains attempted and, for CoverageGap, families; the kernel error, the operate message and the stored case results are unchanged. Operate is declared before CoverageGap so it round-trips. The SDK types OGError.details and exports ErrorDetails and OperateErrorDetails. The golden key graph.acceptance-session moves only by the two new detail fields. MIGRATION.md gains an Unreleased entry.
…t (OPE-30) classify_point pooled every face of a body and de-duplicated ray hits across solids, so a point whose ray crossed the contact of two solids could read Outside. Each solid is now judged by its outer shell and then its cavities; the body is Inside if any solid is, then Boundary, then Unknown, else Outside. The six boolean handlers that call it give the same results on the golden corpus. WorldGraph::classify_point, the classifyPoint binding and Body.classifyPoint answer in the body's own coordinates; a body with no solid (a Wire or a Sheet) is refused with InvalidOperand and a non-finite point with InvalidParameter. MIGRATION.md gains the entry, a checked ts block and the per-solid line.
On 3.0 the side count of a curved face followed the display bucket and was never forced even: a cylinder of radius 0.011 showed 5 sides in plan view, and an odd count made a lying cylinder differ from its mirror image. A full-turn circle or ellipse edge and the full-turn u (and torus v) of a cylinder, cone, sphere or torus face now get at least 12 segments, rounded up to even. A partial sweep gets the larger of ceil(12 * sweep / 2pi) and its old minimum, with a slack above the uv padding of boolean faces so a padded half-cylinder keeps one column per boundary segment. Above the floor the count still follows the bucket. 229 kernel cases with a curved face re-record (tessellation, display, mesh volume, acceptance buffers); no planar-only case moves. torus.tess.json gains one v row. The acceptance scene goes from 222 to 278 triangles, all from the thin rail; tessellation time +4 %. MIGRATION.md gains the line.
The kernel had sphere, cone, frustum and torus builders, used only by
boolean handlers and the shell; a catalog knob, domed lid or flared
pedestal could not be drawn.
OG_PRIMITIVE_SPHERE { radius }, OG_PRIMITIVE_CONE { radiusBottom,
radiusTop, height } and OG_PRIMITIVE_TORUS { majorRadius, minorRadius } are
new Primitive arms over the unchanged builders with a Frame3 origin: the
sphere centred on the plane origin, the cone and torus standing on the
plane. A zero top radius is a cone, a zero bottom radius the cone turned
over, radii within 4 geometric tolerances a cylinder, else a frustum.
Sizes not finite or not above 4 geometric tolerances, two zero cone radii,
and a minor radius not clearly below the major one are InvalidParameter.
A torus minus a cuboid is a pinned CoverageGap ['ring torus', 'cuboid'].
primitive.rs becomes primitive/{mod,sizes,solids}.rs to stay inside the
size limits. One new golden scene, graph.primitive.revolved; no existing
key moves. README and MIGRATION.md gain the entries.
…lid (OPE-35) 3.0 had no revolve: revolved_section turns one straight generator for the cylinder, cone and frustum and takes no profile, so a WC bowl could only be a straight ring on a disc. primitives::revolved_profile turns a closed line-and-arc loop in the (r, z) half-plane about the z line of a frame, one face per edge over the existing surface kinds: a constant-r line a cylinder, a constant-z line a plane disc or annulus, an oblique line a cone (turned over for a shrinking radius, with a collapsed apex), an arc on the axis a sphere, an arc off the axis a ring torus; a line on the axis gives poles. Every lateral face is a uv rectangle with Line2 pcurves, so the tessellator, STEP and IFC writers are unchanged. Face senses follow the outward profile normal. A profile that crosses or pinches the axis, meets it along two segments, an arc whose circle meets the axis, an arc through a pole, or a line too flat for a cone is InvalidGeometry. New stored fixtures revolved-bowl.* and ifc-body/revolved-bowl.ifc.json are recorded from the 3.0 kernel, not from the 2.0.18 oracle. Ten new golden scenes builders.revolved.*; no existing key moves.
…OPE-28)
The revolve builder had no graph operation or SDK call, so a consumer
could not draw a curved WC bowl.
CreatingOperation::Revolve { profile, axis? } turns a closed Profile wire a
full turn about an axis given in the profile's [u, v] (default: the plane's
v axis), through the same placement as the profile, so a moved profile and
a rebuild follow. The side of the axis comes from the profile's vertices
and arc midpoints. The solid is anchored on the profile node like an
extrude and rebuild keeps it a Solid. Builder refusals, a zero, non-finite
or subnormal axis, and unknown keys such as holes are InvalidParameter.
A revolved hemisphere minus a cuboid is a pinned CoverageGap.
SDK: new Solid(OG_OPERATION_REVOLVE, { profile, axis? }) with
OG_OPERATION_PARAMS_REVOLVE. MIGRATION.md states the default plane's
[u, v] -> (u, 0, -v) mapping and the plane that gives (u, v, 0), with a
checked WC bowl block; the partial turn and profiles with holes are
declared not built. README names the revolve. Six new golden scenes
creating.revolve.*; no existing key moves.
…r axis (OPE-31) None of the catalog's three cases worked on 3.0: an arc-edged extrusion minus a blind inset (the hollow oval pan), a cuboid with an upright cylinder that crosses a side face (subtract, union, intersect), and arc-edged operands as base or tool. The dispatch refused them all. prismatic_curved_boolean (handlers/generic/prismatic_curved) applies when both bodies are straight-walled prisms along one cylinder axis: it splits them at every vertex level, runs boolean_curved_regions per layer, takes the caps from the differences of neighbouring layers, and rebuilds the faces with provenance through the vertical-arc extrusion helpers. It sits last among the generic handlers, and is also tried once after an earlier generic handler fails, so a pair turned off the world axes builds. Tangency within 4 geometric tolerances is UnresolvedIntersection, except a touch at the end of a body's own arc on the same circle; a cylinder oblique to every cuboid axis stays a CoverageGap. Four scenes that were CoverageGap now build, each valid, closed and with an independently checked volume; the stored rows boolean-matrix/cylinder-sliced and batch-matrix/prismatic.single-round (and its fallback row) are re-stored from the 3.0 kernel. graph.acceptance-session gains the new name in details.attempted. Nine new golden scenes. MIGRATION.md gains the lines.
… (OPE-37)
The catalog's gates computed volume from the display mesh, and a user had
no way to check that a body is a valid closed solid.
tessellation::measure tessellates at a deflection (default: the graph's
tessellation accuracy), sums the signed triangle volumes and areas in the
order the test-support reader used, and returns the error bound it
computed: 4 * area * deflection for a curved body, 1e-10 * max(area, 1)
for a flat one. The cap is one named MAX_TRIANGLES constant. The volume
code moved from test-support, which now calls the kernel. It lives under
tessellation because query (layer 3) cannot import tessellation (layer 4).
query::validity reports valid, closed, the body type and the first error
of validate(), and never mutates.
WorldGraph::measure and WorldGraph::validity read the body's own brep, as
classifyPoint does: a scale in the placement is not applied. Bindings
return a number array and a plain object, so no JSON parse is added.
SDK: body.measure({ deflection? }) and body.validity(), with the exported
types Measure and Validity. No golden key and no snapshot case moves.
…t inset (OPE-36)
The kernel could hollow seven solid kinds, but only tests called it, and an
extrusion of a line-and-arc profile was refused, so the catalog built pans
and bowls from a plate and a liner.
WorldGraph::shell(og_id, thickness, scope) replaces the target in place
with revision + 1, under the operate rules for shared shapes; operate and
shell share one replace_shape tail. The report carries face_mappings from
each input face to its outer face and every inner face offset from any part
of it, and handlers is empty because no dispatch handler runs.
The arc-edged cavity uses a new exact inset of a line-and-arc region:
the region minus, per edge, a rectangle of half-width t or an annular
sector of radii r - t and r + t, plus a disk of radius t at every vertex,
in one curved region subtraction about the region's own centre. Tangent
junctions are placed exactly, within a tolerance scaled to the profile
extent. An inset that is empty, splits, or narrows to within four times the
geometric tolerance is UnresolvedIntersection. A thickness that is not
finite or not above four times the geometric tolerance is InvalidParameter;
an open sheet is CoverageGap ["restricted analytic shell", "open sheet"].
SDK: solid.operate(OG_OPERATION_SHELL, { thickness }). The golden record
shell.arc-edged-unsupported becomes shell.arc-edged with a body; new
records shell.d-pan, shell.graph.cuboid, shell.graph.refusals. The frozen
serde_json entry follows its one use from WorldGraph::operate to
WorldGraph::replace_shape.
…shapes (OPE-32) The README still said IFC export, offsets, arcs and spheres do not exist, did not tell a Node user how to get a mesh, and gave no way to check a body is a valid solid; the migration guide lacked the new reads and a worked WC pan. README: the Features and Reference tables name sphere, cone, torus, revolve, shell, classifyPoint, measure and validity; "What does not exist" is checked against index.d.ts. In Node a mesh is built after a matrix update (scene.updateMatrixWorld()), then flush or settled; a scene alone builds none (measured). body.validity() checks a solid. MIGRATION.md, Unreleased: the profile plane mapping stated once ([u, v] on the default plane lands at (u, 0, -v); normal [0, 0, 1] with xDirection [1, 0, 0] gives (u, v, 0)); measure and validity with a checked block; a WC pan block (D extrude, blind pocket, shell, revolved bowl); not-built lines for horn, spindle and lemon tori, a reflecting placement and half-space cuts of curved faces, each measured. Under 2.5 to 3.0: the sweep of an arc-edged profile is refused unless it is a capped straight sweep.
…E-39) Floorkit draws a section by subtracting a large cuboid from every body that crosses the plane, so what this boolean builds decides what a section can show. No test said which catalog body kinds build. Six golden cases subtract the clipper of tests/booleans/fixtures/floorkit-section-clipper.json from a cuboid with a cylinder bore, a cuboid tilted 15 degrees about x, a sweep elbow, a 120-degree cylinder sector, a revolved bowl and a ring torus, each cut through a plane of symmetry. Each record stores the faces and handlers, or the error, its families and the handlers attempted, and checks a built body's validity and half volume against the measured bound. The cases run multi_tool_boolean with one tool, which is the dispatch an operate call reaches and exposes the families and the attempted list. Today four kinds build (prismatic_curved_boolean, subtract_planar_polyhedra twice, subtract_vertical_arc_extrusion); the bowl gives CoverageGap ['full sphere input', 'full sphere input'] and the torus ['ring torus', 'cuboid']. No source change; six new golden keys.
The 2.0 kernel built a full cylinder minus a cuboid tilted against its axis exactly (main 46de326, #28); 3.0 deleted that code, so the cut was a CoverageGap at every tilt between 0 and 90 degrees. A new oblique path inside cylinder_box_boolean runs only where 3.0 refused before: the cylinder axis is aligned with no cuboid axis and exactly one cuboid face plane crosses the cylinder. It builds the side trimmed by the cut ellipse (or two rulings when the plane is parallel to the axis), full or chord-clipped caps and one planar cut face, for cylinder minus cuboid and the intersection in either order. Cuboid minus cylinder and the union stay refused. 2.0's guards are kept: the rounding bound and the 1/1000 r sliver limit at a side or rim, which give UnresolvedIntersection. Any other failure falls back to today's ["cylinder", "oblique cuboid intersection"] gap, so no input gets a worse error. The result reports cylinder_box_boolean, so no attempted list moves. Tests port 2.0's probe families with a closed-form kept volume; the STEP check pins the face, ellipse and pcurve-less edge counts. Twenty new golden keys booleans.cylinder-box.oblique-*; no existing key moves.
A placement cannot reflect (a frame stays right-handed and a scale stays
positive), so Floorkit rebuilt mirrored blocks from their source data and
their anchors and ports did not follow.
brep::mirrored reflects every point; surface frames become (Rx, -Ry, Rz),
which maps uv to (u, -v) on planes and (2 pi - u, v) on cylinders, cones,
spheres and tori, so the reflected normal is R n and face sense is kept;
curve frames become (Rx, Ry, -Rz), so edge parameters and ranges are kept.
One affine uv map remaps every pcurve, periodic lift, uv bound, tube and
intersection anchor; the loops are reversed in one pass through a shared
HalfEdge::reverse, which reverse_face now uses too. Face keys, edge keys
and provenance are kept with reversed toggled.
WorldGraph::mirror(og_id, MirrorPlane { origin, normal }, scope) rebuilds
the shape in the body's own coordinates with revision + 1, clears the
report, leaves the placement untouched and follows the SharedShape rule.
SDK: body.mirror({ origin, normal }, { instances? }). A reflecting PLACE or
SCALE still throws InvalidTransform. Nineteen new golden keys mirror.*; no
existing key moves.
…ugh the binding (OPE-44) The kernel suites already prove both behaviours; the SDK node tests did not. A band across a square now must leave two regions of the closed-form area, and curved region booleans must keep the exact closed-form area of their returned lines and arcs.
WorldGraph::bounds and local_bounds added the whole uv box of each face trim. For a plane face whose frame is turned against the world axes the corners of that box lie outside the face: a hip roof polyhedron was 4.1 m too wide on each side, and a quarter curved wall got the box of the full disk. Plane faces are now enclosed by their edges and vertices only; other faces keep their uv box, and bounds_unchecked (display, booleans, classification) is unchanged. Golden: 53 scenes move, only their bounds lines, each new box inside the old one (42 lose only the 1e-8 plane trim padding). Limit: a circle or ellipse edge on a frame turned against the world axes is still boxed through its turned local box.
The 070d008 gate failed at typecheck: tsconfig.tests.json checks the node tests, and the tuple cases and the disk helper of the OPE-44 tests inferred wide types. The cases are now records and direct calls, and the curved operands pass through wire() as in the other curved tests. The assertions are unchanged.
…t (OPE-45) Every create, dispose, transform and edit cloned the whole node and shape maps and diffed the union of all keys, and every SDK dispose swapped every registered body, so a building build was quadratic in its body count (4,000 live: create 3.84 ms, dispose 6.66 ms per body). The draft is now an overlay of the touched entries over the live maps; the commit stages the change set from the touched keys and the affected set in the old order and writes back only those entries; a failed mutation drops the overlay. changes_since finds its first change set by binary search. Body.dispose swaps only the bodies in the change set unless a geometry record became ready since the last flush. Create now costs 0.13-0.26 ms per body from 0 to 8,000 live bodies; change sets, rollback and marks are byte-equal to before over 50 random scripts. Edits and geometry arriving outside a render pass still swap every body (unchanged; follow-up issue).
A point exactly on a body's surface was often Inside, Outside or Unknown: the ray started at exactly 0 and dropped a start root that rounding put below it, and a start root on a trim edge or at a singular point gave Unknown. On a face shared by two rotated cubes at 1e3, 1,435 of 1,521 points were Outside against one cube and Inside against the other. classify_point_in_shell now projects the point onto each face first: a point within accuracy.geometric of a face, inside or on its trim, is Boundary; at a singular projection, a point within that distance of a face vertex is Boundary. ray_roots.rs is unchanged. Golden: 124 scenes move, only their classify grids, every changed grid point to Boundary. Boolean results (cases, validity, booleans) are unchanged. Limit: face_trim.rs tests a trim as a polyline (64 or 128 points), so near a sampled trim a point can still be on the wrong side, and a point just beyond it on the surface can be Boundary (up to 7.1e-5 on an oblique cylinder cut); tracked as OPE-55.
A radial arch prism 0.6 m wide through a curved wall of radius 2 or 3 refused: an anchor of the marched wall-cylinder x arch-cylinder branch lies on the arch face's trim edge, face_contains_uv gives None there, and the clip refused the span. clipped_span now skips such a span when an end anchor lies on or inside the trim of both faces. That exposed a rounding defect: an edge sampled at lo + (hi - lo) * 1 lands one ulp past the last anchor, and trace_predictor refused it, so 20 swept inputs committed a body that measure and classifyPoint could not evaluate. trace_predictor now accepts a parameter within 16 * EPSILON * max(|first|, |last|, 1) outside the branch and clamps it to the end. Before, such a parameter always failed; a parameter farther out still fails, and IntersectionDefinition::enclose keeps its strict range check. tests/booleans/curved_wall_arches.rs pins the 25-cell matrix and three more cells. The two w 0.6 cut cells use spring 1.4999999999999998; at exactly 1.5 R 2 w 0.6 refuses (pinned). Rectangle plus cylinder forms stay refused and are declared. Refusals of some near-arch inputs take longer (up to about 27 s in release for two arches 3 mm apart). Golden, cases, validity and the kernel snapshot are unchanged.
MIGRATION.md: the Unreleased entries join the 2.5 to 3.0 section, and
the section now covers mirror, the half-space table, the oblique cut,
arched openings in a curved wall, Boundary from classifyPoint, the
bounds of sloped and arc-edged faces and the create and dispose cost.
Sentences that compared with 3.0 now compare with 2.5; claims that
could not be checked against 2.5 were dropped. A pointed cone minus a
half-space cuboid throws InvalidGeometry, as measured, and a curved
region is { outer, holes }. A plane section of a body is not built.
README.md: the version note names 3.0.0, mirror has a Features entry
and a reference row, and a 2D region is { outer, holes }; a plain ring
throws InvalidParameter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new kernel, released as 3.0.0. It replaces the 2.0 code with a B-rep kernel in Rust and WebAssembly and a new TypeScript SDK for Three.js. Code written for 2.0 must change:
MIGRATION.mdshows how.What 3.0.0 adds on top of the new kernel:
The 2.0.17 and 2.0.18 fixes from
mainare carried into the new code.main's #28 (an exact cylinder cut by an oblique box face) is not in 3.0 yet: such a cut stops with aCoverageGaperror, not a wrong result.Checks:
npm run check:fullpasses.