Behind the scenes the booleans will do the equivalent of an extrude of your profile curve, trim both the base solid and the extrusion, and automatically keep and join the right pieces to make new solids with "side walls" on them. It looks like you may be doing something like using Edit > Trim to cut the surface up by a side profile then leaving that hole - dont' do that, instead make sure your base object is a solid and then use boolean difference to cut it rather than Trim, the booleans are more oriented towards keeping things as solids while trim is a surface modeling operation. See these posts for some examples and explanations: Doing it that way will produce "side walls" automatically and you won't have any hole to fill in at all. Some more information on untrim here:įor the second kind of hole, the easiest method for that is to make your base object into a solid and then use a 2D side profile curve to cut away the material in the first place. Script: /* Toggle between opposite and inline browser modes */ moi.ui.browserPosition = (moi.ui.Hi wim, so yeah like bemfarmer mentions above the circular hole can just be deleted by an "untrim" operation (select the open edge and hit delete). Toggle between opposite and inline browser modes V2. Script: /* Toggle between adjacent and inline browser modes */ moi.ui.browserPosition = (moi.ui.browserPosition = 'Inside' ? 'Adjacent' : 'Inside') Toggle between adjacent and inline browser modes V2.
Script: /* Toggle browser pane on/off */ moi.ui.showBrowserPane = !moi.ui.showBrowserPane Yet another updated version of the ConstructionLine.
#Moi3d close curve install
You can also install Paul's custom command ConstructionLine to handle the stuff above. Script: /* switch selection from a face to its edges */ var gd = moi.geometryDatabase var faces = gd.getSelectedObjects().getFaces() gd.deselectAll() for ( var i = 0 i 0 ) gd.removeObject( em(clines.length-1) ) So for example, after you have your faces selected (either from their intiail selection or by using the Scene browser Style section to select them), trigger that script and then the edges that belong to those faces will get selected and you can then apply the style to them. SwitchSelectionFromFaceToEdges – this script switches selection from a selected face to its edges. Script:var viewport = moi.ui.getViewportUnderMouse() if ( viewport ) #3 to zoom extens for just one single viewport that the mouse is over or zoom extents all view if the mouse is not currently over a viewport. #2 for zooming extents for just one single viewport instead of all of them – it will zoom the active view it means the viewport under the mouse or the one that last had a click in it. It will zoom extents to the selected objects the first time you activate it, and if you do it a second time it will zoom extents to everything: ZoomExtents: It works the same as the reset button. Script:var v = moi.ui.getActiveViewport() if ( v ) v.interactiveViewChange('zoomarea')
ZoomArea – trigger the area zoom on the viewport that the mouse is over.
Script:moi.ui.getActiveViewport().Zoom( 1.1 ) Script:moi.ui.getActiveViewport().Zoom( 0.9 ) Script:moi.ui.getActiveViewport().Pan( 0, -1 ) Script:moi.ui.getActiveViewport().Pan( 0, 1 ) Script:moi.ui.getActiveViewport().Pan( 1, 0 )
Script:moi.ui.getActiveViewport().Pan( -1, 0 ) If the mouse is not currently over a viewport, it will use the one that last had a click in it, or if there is just one single viewport maximized it will use that one. Zoom & Pan – the way this version works is it will do it on the viewport the mouse is currently over. You put in a text surrounded by /* */, just after the script: part – see MoI forum for example.
#Moi3d close curve code
Note: for keyboard shortcus that have script code in them, you can put a comment in the code with a note in it. Simple shortcuts can be found in moi_hotkey.txt file. The code for shortcut should be one long single line. To define them, open Option dialog window, go to Shortcut keys section, push the "Add" button there which will insert a new blank shortcut key click in the "Key" column and add the key you want to use to activate it, like "H" for example then click in the "Command" column and paste in the script line _or_ open the moi.ini file (C:\Documents and Settings\\Application Data\Moi\moi.ini) and edit directly the section. You can put the following scripts as a keyboard shortcuts.