OcctKernel 구현 — PSC-I B-rep sweep + BRepMesh 테셀레이션
- 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>
This commit is contained in:
@@ -7,7 +7,7 @@ edition.workspace = true
|
||||
# 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"]
|
||||
occt = ["dep:opencascade", "dep:glam"]
|
||||
|
||||
[dependencies]
|
||||
cimery-core = { workspace = true }
|
||||
@@ -16,6 +16,7 @@ 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 }
|
||||
|
||||
Reference in New Issue
Block a user