Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 1 02-04-2012 , 06:38 AM
G-Man's Avatar
Subscriber
Join Date: May 2004
Location: Bowling Green. Kentucky U.S.A.
Posts: 810

Script Request

I was hoping that maybe someone like Next design who kindly offer their mel scripting talents to us all might be willing to undertake a challenge for me.

In my modeling for clients to have rapid prototyped meshes put out of some subjects i am sometimes given a pre made model to work with. Once the model is scaled to the final size sometimes i have to go back and re-size the details. Usually these details are either A, panel lines, or B, raised greeblies (normally modeled as separate objects)

My request is can someone please make a script that will allow me to select the outward facing polygon(s) on a greeblie and extrude them a specific distance along an axis set to the face, or perpendicular to the face that is selected.

IT is very time consuming to have to select each face and do this separately, sometimes i have to do this with upwards of 20k polys to get the details sized properly. To be honest it doesn't even have to move the faces, just translate along a path that is "Set to face" and give me a way to either See the distance translated, or input a specific number. Obviously I'll have several polygons facing different directions so they would all need their own translation orientation. Would it be possible to have the script auto select outward facing polygons on separate greeblies all at once?

Failing this, if it is impossible, would it be possible to write a script that gave me a window and showed me the distance that the polygon had moved along the Locally selected axis? For example when you extrude a poly that is rotated at some odd angle, 45 degrees in x and 27 in y and 33 in z or what ever, you get the the channel box readout stating that it is been translated 0.00 (or what ever) in local x,y,or z .

Any help would be most appreciated on this. and thank you in advance for the time spent doing it.

George


Last edited by G-Man; 02-04-2012 at 06:40 AM.
# 2 14-04-2012 , 05:36 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Wow, I just noticed this. Sorry mate.

Could you create a video or a series of images with what you want? I don't quite understand what you want. :/


Imagination is more important than knowledge.
# 3 14-04-2012 , 06:00 PM
Jay's Avatar
Lead Modeler - Framestore
Join Date: Feb 2003
Location: UK
Posts: 6,287
Man, did I not test this on site for you? What was my answer?

Jay

# 4 14-04-2012 , 07:43 PM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988

Man, did I not test this on site for you? What was my answer?

Jay

........ Huh?


Imagination is more important than knowledge.
# 5 15-04-2012 , 02:38 AM
G-Man's Avatar
Subscriber
Join Date: May 2004
Location: Bowling Green. Kentucky U.S.A.
Posts: 810

Man, did I not test this on site for you? What was my answer?

Jay

I posted this a few days before i sent you that e-mail Jay. You're answer worked well for the common extrudes.

I do still think that a script or plugin that would allow you to see the translation value of a selected component along the selected axis would be brilliant though. I'll see if i can get a screen grab series demonstrating what i mean there for you ND.

No problem on the reply. Ironically the job that i was working on that had this problem got postponed till after a big convention next month, i was asked to do something else in its stead.. a Studio accurate GR-75 Rebel Transport..yey...

George

# 6 15-04-2012 , 03:01 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Could be worse. They could've asked you to model a Morris Marina user added image

Yes... That was a Top Gear reference... user added image


Imagination is more important than knowledge.
# 7 15-04-2012 , 03:22 AM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Cue the piano falling...

# 8 15-04-2012 , 10:09 AM
Jay's Avatar
Lead Modeler - Framestore
Join Date: Feb 2003
Location: UK
Posts: 6,287
Okay cool, I still think that for the more angular stuff, you are pretty stuck, unless theres history on those faces. Thats why it works with my method, the extrude puts the history on it at that angle so the tool knows. A Coords script would be hard for those without history, thats why I mentioned modo for it, as did someone else if I recall you saying....its a no brainer then

Jay

# 9 15-04-2012 , 08:48 PM
G-Man's Avatar
Subscriber
Join Date: May 2004
Location: Bowling Green. Kentucky U.S.A.
Posts: 810
Aye, Modo. I need to learn that program i just don'e have time to do it with all the client demands on me atm.

The biggest problem i had with extrudes using your method on that model was the fact that all the greeblies were beveled, and when i extruded the poly sitting in the proper direction then it left a huge step looking area, which would show up on the prototype. If i extrude all of the polys that are taken in to the bevel then i get some screwed up extrusion that resembles a mushroom head.. My solution was to extrude the bevel then just scale the extruded areas in till it blended pretty close to the original tapered area.

Prototyping is a fun job, its amazing to be able to see your 3d models come to life as real subjects...but. Getting it all right is crazy, things that you could let go in visual effects cannot be overlooked in prototyping..and conversely things that you would have to fix on a model for rendering, can be totally ignored for a prototyped mesh.

Jay. If you want, i can show you pictured of the Prototyped Action VI (Wild KArrde) transport i send you in progress images of, finally got it in the mail a few dyas ago and snapped a few images before i sent it to the client.

George

# 10 29-04-2012 , 06:14 AM
G-Man's Avatar
Subscriber
Join Date: May 2004
Location: Bowling Green. Kentucky U.S.A.
Posts: 810

Could be worse. They could've asked you to model a Morris Marina user added image

Yes... That was a Top Gear reference... user added image

They just asked me to model a 33 inch long Medical frigate (nebulon B)...
Gave me a list of parts that were used to kit bash the studio model, and i have to track down kit scans of all of them, model them, re-size them, engineer a parts break down, and make sure its spot on, its a fan favorite and its been researched heavily in the scale modeling world. At 33 inches any errors will stick out like a sore thumb.. Quote on job... 2500$

Fun wow!

George

# 11 29-04-2012 , 04:52 PM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988


Imagination is more important than knowledge.
# 12 29-04-2012 , 05:08 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
Jay could you please post your method I oculd have a use for creating greebles and I am curious what method you use.


What was the advantage to using modo? I feel like I am sitting in on a lecture and missed the first 15 minutes lol.

thx


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 29-04-2012 at 05:11 PM.
# 13 29-04-2012 , 05:53 PM
G-Man's Avatar
Subscriber
Join Date: May 2004
Location: Bowling Green. Kentucky U.S.A.
Posts: 810

Or use that money towards a 3d scanner user added image

https://www.nextengine.com/

For that to be of use, i'd have to A, have several thousand dollars to buy the donor kit parts to scan.
Or B, have access to the studio model.

I have though been asked if i would consider buying a 3d scanner to work with. IF enough demand comes out of it i will eventually buy one. Right now though I wouldn't have been able to make the investment back i a 2 year time frame, so it hasn't proven to be worth it atm.

George

# 14 29-04-2012 , 06:14 PM
Jay's Avatar
Lead Modeler - Framestore
Join Date: Feb 2003
Location: UK
Posts: 6,287
CTbram

Its not a method for creating them, it was purely keeping history on extruded faces for editing later on, especially those that have been extruded at an angle. If history is deleted and frozen transforms have been done its basically impossible to edit the extrusion again especially the angled ones.

Modo has the ability to overlook such probs

J

# 15 29-04-2012 , 06:49 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
ah now I am following you. thx.


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads