circuit-json-to-gltf 0.0.46 → 0.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -38
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -181,42 +181,5 @@ interface BRepShape {
181
181
  polygons: Point[][];
182
182
  is_negative?: boolean;
183
183
  }
184
- interface PcbCopperPourRect {
185
- type: "pcb_copper_pour";
186
- pcb_copper_pour_id: string;
187
- covered_with_solder_mask: boolean;
188
- pcb_group_id?: string;
189
- subcircuit_id?: string;
190
- layer: LayerRef;
191
- source_net_id?: string;
192
- shape: "rect";
193
- center: Point;
194
- width: number;
195
- height: number;
196
- rotation?: any;
197
- }
198
- interface PcbCopperPourBRep {
199
- type: "pcb_copper_pour";
200
- pcb_copper_pour_id: string;
201
- covered_with_solder_mask: boolean;
202
- pcb_group_id?: string;
203
- subcircuit_id?: string;
204
- layer: LayerRef;
205
- source_net_id?: string;
206
- shape: "brep";
207
- brep_shape: BRepShape;
208
- }
209
- interface PcbCopperPourPolygon {
210
- type: "pcb_copper_pour";
211
- pcb_copper_pour_id: string;
212
- covered_with_solder_mask: boolean;
213
- pcb_group_id?: string;
214
- subcircuit_id?: string;
215
- layer: LayerRef;
216
- source_net_id?: string;
217
- shape: "polygon";
218
- points: Point[];
219
- }
220
- type PcbCopperPour = PcbCopperPourRect | PcbCopperPourBRep | PcbCopperPourPolygon;
221
184
 
222
- export { type BRepShape, type BoardRenderOptions, type BoundingBox, type Box3D, COORDINATE_TRANSFORMS, type Camera3D, type CircuitTo3DOptions, type Color, type ConversionOptions, type CoordinateTransformConfig, type GLTFExportOptions, type LayerRef, type Light3D, type OBJMaterial, type OBJMesh, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourPolygon, type PcbCopperPourRect, type Point, type Point3, type STLMesh, type Scene3D, type Size3, type Triangle, applyCoordinateTransform, clearGLBCache, clearOBJCache, clearSTLCache, convertCircuitJsonTo3D, convertCircuitJsonToGltf, convertSceneToGLTF, loadGLB, loadOBJ, loadSTL, renderBoardLayer, renderBoardTextures, transformTriangles };
185
+ export { type BRepShape, type BoardRenderOptions, type BoundingBox, type Box3D, COORDINATE_TRANSFORMS, type Camera3D, type CircuitTo3DOptions, type Color, type ConversionOptions, type CoordinateTransformConfig, type GLTFExportOptions, type LayerRef, type Light3D, type OBJMaterial, type OBJMesh, type Point, type Point3, type STLMesh, type Scene3D, type Size3, type Triangle, applyCoordinateTransform, clearGLBCache, clearOBJCache, clearSTLCache, convertCircuitJsonTo3D, convertCircuitJsonToGltf, convertSceneToGLTF, loadGLB, loadOBJ, loadSTL, renderBoardLayer, renderBoardTextures, transformTriangles };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "circuit-json-to-gltf",
3
3
  "main": "dist/index.js",
4
4
  "type": "module",
5
- "version": "0.0.46",
5
+ "version": "0.0.47",
6
6
  "scripts": {
7
7
  "test": "bun test tests/",
8
8
  "format": "biome format --write .",