get info action and test feature added

This commit is contained in:
mmiscool 2023-06-04 00:25:38 +00:00
parent 87666bacbd
commit ee43515401
4 changed files with 12476 additions and 39 deletions

View file

@ -110,10 +110,11 @@ Generate `Tauri` Build for desktop
### Install Tauri Deps ### Install Tauri Deps
Navigate to the [scripts](./scripts/) folder and run the following command: Run the following command:
```bash ```bash
chmod +x ./setup_tauri.sh chmod +x ./scripts/setup_tauri_dev_linux.sh
sudo ./scripts/setup_tauri_dev_linux.sh
``` ```

View file

@ -24,6 +24,7 @@ export const GetInfo: any = {
const targetBody = params.targetBody; const targetBody = params.targetBody;
let resultingMessage = ""; let resultingMessage = "";
console.log(params);
if (targetBody instanceof MEdge){ if (targetBody instanceof MEdge){

View file

@ -25,6 +25,7 @@ import {DeleteBodyOperation} from "./features/deleteBody/deleteBody.operation";
import { DefeatureRemoveFaceOperation } from "./features/defeatureRemoveFace/defeatureRemoveFace.operation"; import { DefeatureRemoveFaceOperation } from "./features/defeatureRemoveFace/defeatureRemoveFace.operation";
import { WireLineOperation } from "./features/wireLine/wireLine"; import { WireLineOperation } from "./features/wireLine/wireLine";
import { MoveBodyOperation } from "./features/moveBody/moveBody.operation"; import { MoveBodyOperation } from "./features/moveBody/moveBody.operation";
import { TestFeatureOperation } from "./features/testFeature/testFeature.operation";
//import {TestOperation} from "./features/test/test.operation"; //import {TestOperation} from "./features/test/test.operation";
//imports of action type commands //imports of action type commands
import { GetInfo } from "./actions/getInfo/getInfo.action"; import { GetInfo } from "./actions/getInfo/getInfo.action";
@ -61,6 +62,7 @@ export const ModelerWorkspace: WorkbenchConfig = {
WireLineOperation, WireLineOperation,
MoveBodyOperation, MoveBodyOperation,
SimplifyOperation, SimplifyOperation,
TestFeatureOperation,
//TestOperation, //TestOperation,
GetInfo, GetInfo,
@ -90,8 +92,8 @@ export const ModelerWorkspace: WorkbenchConfig = {
["WIRE_LINE"], ["WIRE_LINE"],
['EXPORT_BREP', 'GET_INFO'], ['EXPORT_BREP', 'GET_INFO'],
//["TEST"] //["TEST"]
['TestFeature_TOOL'],
] ]
}, },

12433
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff