Shapemetry API / BrepCurveJson
Type Alias: BrepCurveJson
BrepCurveJson = {
kind:"line";start:Vec3Json;end:Vec3Json; } | {kind:"circle";center:Vec3Json;normal:Vec3Json;radius:number;xAxis:Vec3Json;yAxis:Vec3Json; } | {kind:"arc";center:Vec3Json;normal:Vec3Json;radius:number;xAxis:Vec3Json;yAxis:Vec3Json;startAngle:number;endAngle:number; } | {kind:"ellipse";center:Vec3Json;normal:Vec3Json;semiMajor:number;semiMinor:number;xAxis:Vec3Json;yAxis:Vec3Json; } | {kind:"freeform";degree:number;knots:number[];controlPoints:Vec3Json[];weights:number[]; } | {kind:"segment";parent:CurveJson;windowStart:number;windowEnd:number; }
Defined in: nurbsBrep/topo/serialize.ts:74