Hey folks here the work in progress of conversion of my Blender 3d model into 3dm file with Moi3d SubD feature, many crashes and the imports was made with few or single mesh and often the complex shapes are splitted in many object in order to avoid the mess generated surface during import, and the model is made for this workflow. and I also gained experience for better modelling with both application.
The options can be set on the 2nd parameter being sent to the moi.geometryDatabase.fileExport() function. You can remove the NoUI=true if you want to have the mesh dialog shown or you can add additional parameters in there separated by semi-colons. The available parameters are:
code:
Different possible options:
NoUI=true
Angle=12.0
Output=ngons | quads | triangles
MaxLength=0.0
MaxLengthApplyTo=curved | planes | all
MinLength=0.0
AspectRatio=0.0
Weld=true
Display=shadedwithedges | shadednoedges | wireframe
ExpandedDialog=false
So if you want to have no mesh dialog shown and have it use an angle parameter of 6, you would make it like this:
I've found a way to import objects to Blender without OD script.
You have to create two scripts, one for Blender and Moi.
I'm not a programmer, I've watched a couple of tutorials and modified OD script.
Blender 3.0 -
Run it and then assign a shortcut in your search bar.
bl_info = {
"name": "Paste From External",
"version": (1, 0),
"blender": (3, 00, 0),
"author": "Dude",
"description": "Paste from an external Object of other applications / instances to a current mesh",
"category": "Object"
}
import bpy
class PasteFromExternal(bpy.types.Operator):
"""Object Cursor Array"""
bl_idname = "object.paste_from_external"
bl_label = "Paste From External"
1. Create a .js script with a name "CopyToBlender.js"
2. Place that script to - C:\Program Files\MoI 4.0\commands
3. Assing a shortcut, for example - Ctrl+Alt+C "CopyToBlender"
Installed it, works great. Maybe it's good though to mention in the installation instructions page that, depending on folder permissions, it only works if you first create the BMOI exchange folder.
On Windows, after installing everything you'd need to first create a folder named C:\Users\username\AppData\Local\Temp\BMOI , or you'll get a permission error message.
Thanks again! This makes exchanging objects between MoI and Blender pleasantly convenient.
ah yes! thank you for the suggestion. I use Autohotkey to verify if the folder exists or not and create it. With Autohotkey, I also map PageUp in either software to automatically send the export command, open/activate the other software, and send the import command. Basically just one key press to move between both.