- cimery-kernel/src/occt.rs: OcctKernel (--features occt 전용) - Workplane::xy().sketch()로 PSC-I 14-vertex 2D 프로파일 생성 - Face::extrude(DVec3) → Solid (OCCT B-rep) - Mesher::try_new() + mesh() → 테셀레이션 - cimery Mesh로 변환 (vertices/normals/indices) - 기타 Feature: PureRustKernel 위임 - kernel/Cargo.toml: glam 0.24 (opencascade-rs 동일 버전) - cargo build --features occt 빌드 확인 완료 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
764 B
TOML
23 lines
764 B
TOML
[package]
|
|
name = "cimery-kernel"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[features]
|
|
# Enable the full OpenCASCADE kernel backend.
|
|
# Requires OCCT installed/compiled — see cimery/CLAUDE.md for setup.
|
|
# Build: cargo build -p cimery-kernel --features occt
|
|
occt = ["dep:opencascade", "dep:glam"]
|
|
|
|
[dependencies]
|
|
cimery-core = { workspace = true }
|
|
cimery-ir = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
# opencascade is OPTIONAL — only compiled with --features occt
|
|
opencascade = { git = "https://github.com/bschwind/opencascade-rs", optional = true }
|
|
glam = { version = "0.24", optional = true } # must match opencascade-rs glam version
|
|
|
|
[dev-dependencies]
|
|
cimery-core = { workspace = true }
|