Hallo everybody.
In this topic I want to share with you some new technique witch allow to repair objects, remove fillets, restore faces.
Not long ago I know about method of repair objects that Michael discribed here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=446.17
I use MOI more than half of year but have know idea about this method. I have no idea how surfaces form and how they can be reset to their initial state.
After trying method that Michael show I thought that it is possible to automate about all steps of this procedure, so for example removing fillet become more simple action that can perform any unskilled user.
I asked Michael to make this kind of script and in 2 days script was ready, thanks Michael.
So let's start.
Some basics, that every body MUST know about surfaces!
EVERY SURFACE CAN BE RESTORED TO ITS ORIGINAL STATE.
Original state is state when surface was created first time. So any holes in it or trims that was made can be deleted, to "reset surface".
There is only 2 kinds of modification of initial surface:
1. Holes inside surface
2. And trims that change outer shape of surface.
So remember ANY TIME WE CAN RESET SURFACE TO ITS ORIGINAL STATE.
To remove holes inside surface just select its edges and press delete, hole will disappear.
I think it is very important thing that make life easer!
To reset surface to its original shape, you have to select all outter edges that makes loop and delete them.
Or select surface and run SeparateSelectOuterLoopsDeleteTrim.js script to make this process fully automatic.
Resetting Solids or joined surfaces.
All solids in general are joined surfaces that form this solid. So to reset solid we have to reset its surfaces.
Suppose we want to remove this fillet,
So what we need to do:
0. Remove fillet:
1. Separate all surfaces (it's clear without snapshot)
2. Delete outer loops of all surfaces to reset their initial states*
3. Select all surfaces and run trim command than remove all extra faces.
4. Join remained surfaces to make solid in it initial state.
*
we see these big surfaces on Step 3, because when MOI creates surfaces by planar or extrude from 2d curves, it creates surfaces that is bigger than you 2d sketch and than automatically trim it using your curves. So Initial state of this surface will be the surface that MOI creates before automatically trim it using your 2d curves.
This big surfaces will not creates when we create surface by using loft, sweep, network e.t.c. Or when we create solids from draw solid menu.
But now 1,2,3 steps are fully automatic thanks to SeparateSelectOuterLoopsDeleteTrim.js script.
All you need to do just delete fillet than select solid run script and than select faces to trim and than join remained surfaces.
So using this script we can remove fillets, chamfers and any changes that was made by Boolean operations.
For me the biggest problem using MOI was removing fillets, so before I saw Michael repair tutorial I have no idea how to remove them, except long process of creating new geometry that will replace fillets.
Now this process is much more simpler by using SeparateSelectOuterLoopsDeleteTrim comand.
For me things that I described here was the most important things that I learned since I started to use MOI.
So I think this fundamentals must know everybody.
How to install:
Copy SeparateSelectOuterLoopsDeleteTrim.js into the \commands sub-folder inside of MoI's main installation folder, then that will make a new command available named SeparateSelectOuterLoopsDeleteTrim. To trigger the command set up a shortcut key and put in the command name which is SeparateSelectOuterLoopsDeleteTrim (note - put in just the plain command name SeparateSelectOuterLoopsDeleteTrim , no extra "script:" at the front, no ".js" at the end).