Demo branch adding JSCAD type, without implementing the render

Related to #411
This commit is contained in:
Kurt Hutten
2021-07-25 20:59:53 +10:00
parent 3f310a9aaf
commit de71b8f67c
7 changed files with 51 additions and 12 deletions

View File

@@ -1,7 +1,12 @@
import { DefaultKernelExport } from './common'
import type { CadPackage } from 'src/helpers/hooks/useIdeState'
import openscad from './openScadController'
import cadquery from './cadQueryController'
import jscad from './jsCadController'
export const cadPackages = {
export const cadPackages: {[key in CadPackage]: DefaultKernelExport} = {
openscad,
cadquery,
jscad,
}