MOI3D to Modo preserving styles / materials
All  1-3  4-8

Previous
Next
 From:  Andy Peterson (ANDYPETE)
6551.4 In reply to 6551.3 
Sure. Are you working in modo? If so, here’s what I did (with some help from another modo user).

I’ve attached the python script. It’s run in modo. The assemblies I’m working with are STEP files from my client. I’m not sure where the hierarchy is lost. Technically, only the folders or grouping are lost. When I opened them in modo, I noticed a delimiter (“:”) in the item names indicating their place in the grouping structure. Using that index is the key to rebuilding the structure.

Here are typical item or layer names for one part:
MSH024RS: 71010903:1: Solid1
MSH024RS: 71010903:2: Solid1
MSH024RS: 71010903:3: Solid1

Here’s a break down of what the script does:

Iterate through the item list. For each item:

Strip the first number from the item name. In my case it’s the file name. You may not need to do this. If not, “new_name” is the variable you don’t need. You should be able to comment that line out and replace it’s occurrence with “layer_name.”

The second number (71010903) identifies the part to which the item belongs. Each unique number becomes a folder.

Creates a group locator and assigns the item to the group.

The script is quite simple. Talking to modo is where I’m inexperienced. But this was a huge time saver, so I’m happy share.

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andy Peterson (ANDYPETE)
6551.5 In reply to 6551.4 
I just realized that this may have been my first post on this forum.

So, hello everyone. I started using MoI sometime last year. I just have to say that it is a delight to use. I’m a designer and like most people, I use other software too. My focus is really people, and their ideas. For me, MoI shares the same kind of ‘space’ as markers or charcoal. It’s immediate, it always works. It’s right there, yet somehow transparent.

Of course, you all probably knew this…

Andy
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
6551.6 
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
6551.7 In reply to 6551.5 
Welcome to the forum Andy, I'm really glad that MoI has been useful for you!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Andy Peterson (ANDYPETE)
6551.8 In reply to 6551.7 
Thank you Pilou and Michael.

I like your artwork and MoI site, Pilou.

Michael, I think we spoke at SIGGRAPH years ago. I don’t think you had a Mac version at the time. Sorry I’m late to the party : )
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4-8