mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-06 12:01:10 +00:00
SMLib bindings: a curve list holds up to 16384 curves, as the C API now takes
tangency-labs/smlib#63 raised SMLIB_CURVE_MAX_CURVES from 4096 to 16384; CURVE_MAX_CURVES follows it, so a profile of 5000 segments (a modelled thread, a fine polygon) extrudes: kernel tests::measure_of_a_body_with_many_faces passes (5002 faces, 15000 edges, 10000 vertices). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ use super::{ERR_ARG, RawBrep, new_brep};
|
||||
pub const CURVE_LINE: i64 = 1;
|
||||
pub const CURVE_ARC: i64 = 2;
|
||||
pub const CURVE_NURBS: i64 = 3;
|
||||
pub const CURVE_MAX_CURVES: usize = 4096;
|
||||
pub const CURVE_MAX_CURVES: usize = 16_384;
|
||||
pub const CURVE_MAX_DEGREE: usize = 25;
|
||||
pub const CURVE_MAX_POINTS: usize = 100_000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user