mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 04:45:06 +01:00
comment out IGES case
This commit is contained in:
parent
59642c22dd
commit
94503d8e2c
1 changed files with 9 additions and 4 deletions
|
|
@ -82,10 +82,15 @@ export const ImportModelOpperation: OperationDescriptor<ImportModelParams> = {
|
|||
|
||||
} else if (FileName.endsWith("IGES") || FileName.endsWith("IGS")) {
|
||||
|
||||
//IGES import
|
||||
FS.writeFile("newIgesObject", rawContent);
|
||||
oci.igesread("newIgesObject", "newIgesObject");
|
||||
returnObject.created.push(occ.io.getShell("newIgesObject"));
|
||||
throw new CadError({
|
||||
kind: CadError.KIND.INVALID_INPUT,
|
||||
code: 'IGES is not supported yet'
|
||||
});
|
||||
|
||||
// //IGES import
|
||||
// FS.writeFile("newIgesObject", rawContent);
|
||||
// oci.readbrep()igesread("newIgesObject", "newIgesObject");
|
||||
// returnObject.created.push(occ.io.getShell("newIgesObject"));
|
||||
|
||||
} else {
|
||||
throw new CadError({
|
||||
|
|
|
|||
Loading…
Reference in a new issue