Convert to instance?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  10 October 2005
Convert to instance?

With the majority of rendering I do for CAD models, the biggest killer is the accurate assemblies where everything is precisely located and this brings me to repeated parts. Consider fasteners or like parts.

When the model is exported from CAD, each 'instance' of a part becomes a discreet part that imports into C4D. For example, fastener in CAD would be fastener_1, fastener_2, fastener_3 and so on in C4D.

Is there a way to grab these like minded parts and convert them to an instance?
 
  10 October 2005
Definitely good suggestion for maxon in a future version of C4D!
__________________
digitecture.org
Design|Energy|Computation


 
  10 October 2005
Originally Posted by duderender: With the majority of rendering I do for CAD models, the biggest killer is the accurate assemblies where everything is precisely located and this brings me to repeated parts. Consider fasteners or like parts.

When the model is exported from CAD, each 'instance' of a part becomes a discreet part that imports into C4D. For example, fastener in CAD would be fastener_1, fastener_2, fastener_3 and so on in C4D.

Is there a way to grab these like minded parts and convert them to an instance?


I should also say, that the instancing retains their position.
 
  10 October 2005
This would be a product of the importer to properly convert blocks/symbols in a CAD file into C4D Instance objects, retaining transforms to scale, position and rotation, plus add a 'master' reference that is turned off but easy to find.

I have discussed this with Maxon many times, yet it never happens. It's frustrating, since there is already a block-type object in Cinema and it just isn't getting used in file import.
__________________
Ernest Burden III
Acme Digital
 
  10 October 2005
Use the attached Script (just unzip it in your library/scripts folder, then drag & drop it into your interface/assign it a keyboard shortcut, or access it via the plugins->Scripts menu).

To use : select the object that will be instanced, then run the script. Enter the starting part of the objects names that will be turned into instances, e.g. if you have a bunch of objects called Screw_1 Screw_2 Screw_3... etc then just enter Screw in the dialog. if the object you've got selected is the first name you want to use then just click ok with an empty text box.
Attached Files
File Type: zip Convert_To_Instance.zip (3.2 KB, 506 views)
__________________
The Third Party | Homepage | My Reel
"You need to know what you're doing before you start, and to start because you need what you're doing."
 
  10 October 2005
Originally Posted by mdme_sadie: Use the attached Script (just unzip it in your library/scripts folder, then drag & drop it into your interface/assign it a keyboard shortcut, or access it via the plugins->Scripts menu).

To use : select the object that will be instanced, then run the script. Enter the starting part of the objects names that will be turned into instances, e.g. if you have a bunch of objects called Screw_1 Screw_2 Screw_3... etc then just enter Screw in the dialog. if the object you've got selected is the first name you want to use then just click ok with an empty text box.


Thanks again mdme_sadie, seems like I've been keeping you busy today!

Your responses are appreciated.
 
  10 October 2005
Thanks mdme_sadie,

this is a handy script.

Peace,
Rich-Art.



Originally Posted by mdme_sadie: Use the attached Script (just unzip it in your library/scripts folder, then drag & drop it into your interface/assign it a keyboard shortcut, or access it via the plugins->Scripts menu).

To use : select the object that will be instanced, then run the script. Enter the starting part of the objects names that will be turned into instances, e.g. if you have a bunch of objects called Screw_1 Screw_2 Screw_3... etc then just enter Screw in the dialog. if the object you've got selected is the first name you want to use then just click ok with an empty text box.
__________________
Retired Cinema4D Guru


 
  10 October 2005
Glad you liked it. You could make it replace one object with any other object with a little more work I guess, but I'll leave that up to others to do
__________________
The Third Party | Homepage | My Reel
"You need to know what you're doing before you start, and to start because you need what you're doing."
 
  10 October 2005
Thanks mdme Sadie!
__________________
digitecture.org
Design|Energy|Computation


 
  10 October 2005


Brilliant! Thank you, Mdme.

(Wish I could do that sort of thing.)

Cheers,

D.
 
  10 October 2005
wow, thanks a lot, wished for something like that just a few days ago-very cool!

cheers
stefan
 
  10 October 2005
very cool per...
__________________
One never knows what each day is going to bring. The important thing is to be open and ready for it.

Henry Moore
 
  10 October 2005
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 10:35 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.