/** * @moicad/sdk - Modern JavaScript CAD Library * * A high-performance CAD library for JavaScript/TypeScript with 98-99% OpenSCAD compatibility. * * @version 0.1.13 * @author moicad * @license MIT * * @example Fluent API (recommended) * ```typescript * import { Shape } from '@moicad/sdk'; * * const model = Shape.cube(10) * .union(Shape.sphere(5).translate([15, 0, 0])) * .color('red'); * * export default model; * ``` * * @example Functional API * ```typescript * import { cube, sphere, translate, union, color } from '@moicad/sdk'; * * const model = color('red', * union( * cube(10), * translate([15, 0, 0], sphere(5)) * ) * ); * * export default model; * ``` */ export { Shape } from './shape'; export { cube, sphere, cylinder, cone, pyramid, polyhedron, circle, square, polygon, text, surface, translate, rotate, scale, mirror, multmatrix, color, union, difference, intersection, hull, minkowski, linearExtrude, rotateExtrude, offset, projection, } from './functional'; export type { PrimitiveOptions, Color, Vector3, Vector2, TextOptions, SurfaceOptions, LinearExtrudeOptions, RotateExtrudeOptions, OffsetOptions, ProjectionOptions, Geometry, BoundingBox, ParseResult, EvaluateResult, } from './types'; export type { ScadNode, ColorInfo, ModifierInfo, HighlightInfo, GeometryObject, ParseError, EvaluationError, WsMessage, ExportOptions, ExportResult, RenderStage, RenderProgress, ProgressMessage, } from './types/geometry-types'; export { Vector2Schema, Vector3Schema, ColorSchema, SizeSchema, Size2DSchema, CubeParamsSchema, SphereParamsSchema, CylinderParamsSchema, ConeParamsSchema, PyramidParamsSchema, CircleParamsSchema, SquareParamsSchema, PolygonParamsSchema, PolyhedronParamsSchema, TranslateParamsSchema, RotateParamsSchema, ScaleParamsSchema, MirrorParamsSchema, LinearExtrudeParamsSchema, RotateExtrudeParamsSchema, BoundsSchema, GeometryStatsSchema, GeometrySchema, ParseErrorSchema, ParseResultSchema, EvaluationErrorSchema, EvaluateResultSchema, } from './schemas'; export type { CubeParams, SphereParams, CylinderParams, ConeParams, PyramidParams, CircleParams, SquareParams, PolygonParams, PolyhedronParams, TranslateParams, RotateParams, ScaleParams, MirrorParams, LinearExtrudeParams, RotateExtrudeParams, Bounds, GeometryStats, GeometryOutput, ParseResultOutput, EvaluateResultOutput, } from './schemas'; export { initManifold, isManifoldInitialized } from './manifold/engine'; export { Viewport, ViewportControls, StatsOverlay } from './viewport'; export type { SceneConfig, ViewportConfig, ViewportEventHandlers, CameraState } from './viewport'; export type { PluginManager, Plugin, PluginConfig, PluginHook, PrimitiveFunction, TransformFunction, FileHandler, SCADFunction, ViewportExtension, HookName } from './plugins'; export { DefaultPluginManager, pluginManager, PluginDiscovery, PluginLoader, loadPlugin, initializePlugins } from './plugins'; export { initializePlugins as initializeFunctionalPlugins } from './functional'; export { AIGenerator, GLBLoader, MemoryModelStorage, FileModelStorage, decomposeMesh, mergeMeshes } from './ai'; export type { AIGeneratorConfig, TextTo3DParams, ImageTo3DParams, UltrashapeParams, AIModelMetadata, ModelStorage, GenerationResult } from './ai/types'; export { FrameAnimator } from './animation'; export type { FrameAnimatorOptions, AnimationLanguage } from './animation'; export { WorkerManager, workerManager, createWorkerManager } from './workers/worker-manager'; export type { WorkerManagerOptions, EvaluationJob } from './workers/worker-manager'; export { interactive, fixedPart, hingePart, sliderPart, ballJointPart, linkedPart, createBoxWithLid, createDrawer, InteractionManager, ConstraintSolver, TransformGizmo, createGizmo, } from './interactive'; export type { ConstraintType, Constraint, InteractivePart, PartLink, PartState, InteractiveModel, InteractionEvents, InteractionManagerOptions, SerializedModelState, GizmoOptions, TransformDelta, Transform, Vector3 as InteractiveVector3, } from './interactive'; export declare const VERSION = "0.1.13"; export declare function getInfo(): { name: string; version: string; description: string; engines: { node: string; bun: string; }; features: string[]; }; //# sourceMappingURL=index.d.ts.map