Is it possible to automate different tasks like creating a block and trimming within a single plug in ?

Is it possible to automate different tasks like creating a block and trimming within a single plug in ?

gopikishore.vayalthotaQ8SUC
Explorer Explorer
652 Views
2 Replies
Message 1 of 3

Is it possible to automate different tasks like creating a block and trimming within a single plug in ?

gopikishore.vayalthotaQ8SUC
Explorer
Explorer

Hello,

 

I am associated with University Leipzig. I am involved in a project with a start up company that aims to automate modifying the dental scans from intra oral scanner to 3d printable models. 

 

Manually it involves 3 simple steps.

1.Trimming the unnecessary data from the scan

2. Extruding a base to the dental model

3. Creating a nametag in the model.

 

I have been assigned to create plugins for these tasks.  I was asked to give an approximate timeline to create independent plugins for these steps? Also I am further wondering about the plausibility of creating a single plugin that could do these three tasks. 

 

https://dental.formlabs.com/blog/scan-to-model-preform/

 

In this link you can find further detailed information about the steps involved in modifying the dental scans. 

 

I would like to ask the experts in the community about the approximate time period that a beginner would need to create these plugins. (I have done basic python programming course during my education). 

 

Also the important question would be to know if it is possible that I could create a single Plug in for all these tasks. I would highly appreciate if you could provide details about the potential learning curve that I need or possible problems that I could face while approaching this problem.

 

(Initially I tried to this in Fusion 360. I watched tutorials and learned to create a plugin for creating a rectangular block. But just recently I learned than Fusion 360 API did not provide the functionality  to edit mesh bodies. And I am just wondering if it is possible in Autodesk Meshmixer?)

 

Thanks for your time and help in advance. 

 

I have uploaded the images of a raw dental scan and modified model. 

 

I would be happy if you need any further information.

 

Best regards,

Gopikishore

0 Likes
653 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Using mmApi you can't do a plugin but some external remote application controlling MM's actions so MM will perform each tool action running such a code.

Think one can not automate the first step as it needs user interaction to decide how to align and cut off not needed surfaces. But you can call tools like Transform or PlaneCut and wait until the user accepts the very step...

Step2 extruding the surface and adding a base can be automated if you can do it in MM manually. My ToolManager _V3AA script (somehow a macro recorder saving the current tool and its settings to a cue) might help to construct a workflow.

Labeling the result in a clean way is more complicated. I did this attempt using OpenSCAD in the background to generate a text surface, convert it to a MESHMIX-OpenPart and drop it to a given position at the target surface.

 

Basically: Anything doable. If you have some experience in Python and some knowledge in MM and mesh processing it should need a time frame of just a few days to get such a script.

 

 

0 Likes
Message 3 of 3

hfcandrew
Advisor
Advisor

d3mesh does all this: https://d3tool.com/product/d3mesh/