2026-07-25 18:49:18 +03:00
|
|
|
[package]
|
|
|
|
|
name = "ocs_web_worker"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
refactor(offset): take polyline offsetting from cadkernel
The offset core moves out: normalising the source, the cavalier_contours
call, the sharp-corner join fixup and the conversion back. What stays is
entity work — reading an LwPolyline in, writing offset LwPolylines out,
and the per-type offsets for lines, arcs, circles, ellipses and splines,
which are analytic and never needed the polyline machinery.
`BulgeArc` moves with it, since the offset preprocessing splits over-half-
turn arcs and cannot work without it. `entities::common` now re-exports it
from the kernel, so the twelve modules already reaching for
`entities::common::BulgeArc` are untouched.
`norm_rad` was a fourth copy of angle normalisation, after the three
removed from trim, fillet and explode. It now aliases the kernel's.
cavalier_contours leaves this crate's manifest: nothing here calls it any
more, and it arrives through the kernel's `offset` feature instead, which
acadifc forwards.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 16:01:43 +03:00
|
|
|
acadrust = { package = "acadifc", git = "https://github.com/OpenAEC-Foundation/acadifc.git", rev = "0a61cf9", features = ["serde"] }
|
2026-07-25 18:49:18 +03:00
|
|
|
bincode = "1.3"
|
2026-07-25 21:34:29 +03:00
|
|
|
console_error_panic_hook = "0.1"
|
2026-07-25 18:49:18 +03:00
|
|
|
getrandom = { version = "0.3", features = ["wasm_js"] }
|
|
|
|
|
js-sys = "0.3"
|
2026-08-03 12:47:48 +03:00
|
|
|
sha2 = "0.10"
|
2026-07-25 18:49:18 +03:00
|
|
|
wasm-bindgen = "0.2"
|