New Person Here

I am a new user of the scripting module in mimics, and somewhat familiar with python but no expert by any means. I created a pseudo code for what I want to do within mimics core. Would anyone be willing to point me in the direction of how to write this. Thanks!

PSUEDO CODE Mimics Core

1. Import

2. Opens ‘New Mask’ within Segment tab

3. Ensures ‘limit number of shells’ and ‘limit shells volume’ are unselected

4. ‘OK’ button selected

5. Creates Mask

6. Selects ‘Mask 3d preview’

7. Opens 3d view of mask

8. Opens ‘Edit Mask’ with lasso tool to only keep tibias

9. Opens Sagittal View to remove bones distal to tibias

10. Opens Multiple Slice edit with Ellipse tool

11. Exits Sagittal view

12. Opens 3d view of mask

13. Opens ‘edit masks’ with lasso tool

14. Allows user to remove any unwanted bone slices

15. Duplicates Model

16. Deletes Original left tibia, renames mask (SAMPLE# Right Tibia)

17. Deletes duplicate right tibia, renames mask (SAMPLE# Left Tibia)

18. Creates Parts for SAMPLE# Right Tibia and SAMPLE# Left Tibia

19. Exports both parts to 3-matic

20. End of code in Mimic core

PSUEDO CODE 3-MATIC

1. Opens ‘Shell’ tool found under ‘Mark’ tab

2. User marks bodies to keep in SAMPLE# Right Tibia

3. ‘Invert’ tool selected in the ‘edit’

4. ‘Marked Triangles’ deleted

5. Repeats steps 1-4 for SAMPLE# Left Tibia

6. Opens ‘Fix’ tab in top banner

7. Opens ‘Fix Wizard’

8. User selects ‘SAMPLE# Right Tibia’ for part

9. ‘Follow Advice’ button selected until no further fixes can occur

10. Reopens ‘Fix Wizard’

11. User selects ‘SAMPLE# Left Tibia’ for part

12. ‘Follow Advice’ button selected until no further fixes can occur

13. ‘File tab opened

14. Export option selected

15. ‘STL’ option selected

16. In ‘Entities’ selection, both SAMPLE# Right Tibia and SAMPLE# Left Tibia should be selected

17. User selects location for Output Directory

18. ‘Apply’ button selected

19. Closes 3-MATIC

20. User selects whether to save or not

PSUEDO CODE Mimics Core

21. Saves current project to user defined location

22. Opens ‘New Project’

23. User selects folder with .DICOM images

24. ‘Next’ Button selected

25. ‘Open’ button selected

26. Loop

Hi Cameron,

This is quite a lengthy workflow. I would advise to open the Scripting Guide in Mimics Core and 3-matic and work through the Tutorials that are included. Further, the individual API descriptions contain examples of how to use them. They are very structured, e.g. mimics.segment.threshold, meaning ‘software’.’tab’.’operation’, followed by the desired parameters. There may also be options for individual or group training on scripting if you contact your account manager or application engineer.

Best,

Sjoerd