Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Merge branch 'master' of https://github.com/yuechen-li-dev/Aetheris
Yuechen Lidfff36de0cb0
diff --cc Aetheris.Web.Runtime/sdk/src/index.d.tsindex 385243de,64c9caec..2e58056d--- a/Aetheris.Web.Runtime/sdk/src/index.d.ts+++ b/Aetheris.Web.Runtime/sdk/src/index.d.ts@@@ -46,15 -46,19 +46,19 @@@ export interface DeclarationSpec { readexport type LanguageEditOperation =| { readonly kind: 'setField'; readonly node: string; readonly field: string; readonly value: string }| { readonly kind: 'removeField'; readonly node: string; readonly field: string }- | { readonly kind: 'insertDeclaration'; readonly parent: string | null; readonly declaration: DeclarationSpec; readonly after?: string; readonly first?: boolean }+ | { readonly kind: 'insertDeclaration'; readonly parent: string | null; readonly declaration?: DeclarationSpec; readonly source?: string; readonly name?: string; readonly after?: string; readonly first?: boolean }| { readonly kind: 'removeDeclaration'; readonly node: string }| { readonly kind: 'renameDeclaration'; readonly node: string; readonly name: string }- | { readonly kind: 'moveDeclaration'; readonly node: string; readonly after?: string; readonly first?: boolean };+ | { readonly kind: 'moveDeclaration'; readonly node: string; readonly after?: string; readonly first?: boolean }+ | { readonly kind: 'insertFeature'; readonly node: string; readonly source: string; readonly name?: string };/** The edited source and the single replacement `[start, start + length)` → `replacement` that produces it from the original. `nodes` holds the outline id each operation left behind (created, renamed or edited), in order; removals add none. */export interface LanguageEdit { readonly document: string; readonly revision: string; readonly text: string; readonly changed: boolean; readonly edit: { readonly start: number; readonly length: number; readonly replacement: string }; readonly nodes: readonly string[]; readonly warnings: readonly string[] }+ /** Something a visual editor can add. `placement` `model` inserts with `insertDeclaration`; `feature` with `insertFeature` on a body. `source` declares `nameStem`; pass a unique `name` with the insert. Every item is proven to build. */+ export interface PaletteItem { readonly id: string; readonly label: string; readonly category: string; readonly description: string; readonly placement: 'model' | 'feature'; readonly nameStem: string; readonly source: string }+ export interface LanguagePalette { readonly version: 'firmament-palette/1'; readonly items: readonly PaletteItem[] }export interface LanguageHover { readonly document: string; readonly revision: string; readonly start: number; readonly length: number; readonly title: string; readonly description: string }export interface LanguageFormat { readonly document: string; readonly revision: string; readonly text: string; readonly changed: boolean }-export interface SemanticFieldSchema { readonly id: string; readonly name: string; readonly kind: string; readonly unit: 'None' | 'Length' | 'Angle'; readonly required: boolean; readonly default: string | null; readonly choices: readonly string[]; readonly description: string | null; readonly sourceEditable: boolean }+export interface SemanticFieldSchema { readonly id: string; readonly name: string; readonly kind: string; readonly unit: 'None' | 'Length' | 'Angle'; readonly required: boolean; readonly default: string | null; readonly choices: readonly string[]; readonly variants?: readonly string[]; readonly description: string | null; readonly sourceEditable: boolean }export interface SemanticOutputSchema { readonly id: string; readonly name: string; readonly kind: string; readonly sourceAddressable: boolean; readonly sourceRole: string | null }export interface SemanticConstructSchema { readonly id: string; readonly name: string; readonly context: string | null; readonly entry: string | null; readonly description: string | null; readonly compatibilityAlias: string | null; readonly fields: readonly SemanticFieldSchema[]; readonly outputs: readonly SemanticOutputSchema[] }export interface SemanticSchema { readonly version: 'firmament-semantic-schema/1'; readonly projectionVersion: 'firmament-field-projection/1'; readonly constructs: readonly SemanticConstructSchema[] }