View Full Version : making a button to drop in geometry?
this probably sounds pretty dumb, but is there a way to make a button that would create user defined basic unit of geometry.
For example if you model with tetraheons a lot, would there be a way to make a button that would create one?
thanks for your time
cheers
ktpr
|
|
mental
06-03-2003, 05:09 AM
try GeoSphere v0.2 (http://highend3d.com/files/dl.3d?group=melscripts&file_loc=GeoSphere_0-v0.2-.2_ba.zip&file_id=1678) or Geometric / Platonic Solids Constructor v2.0 (http://highend3d.com/files/dl.3d?group=melscripts&file_loc=Geometric_Constructor-v2.0-.mel&file_id=1347)
well I didn't actually mean that I model with tetrahedrons. That was just an example of some arbitary geometry to drop.
ktpr
mental
06-03-2003, 07:26 AM
you can create a base model and import it each time you need it. yes you can create a button to simplify the task. just open up your script editor, import the object, highlight the command(s) and while still in the script editor window go to file > save selected to shelf or middle mouse click and drag the highlighted code to the shelf manually.
for example you would place this line on your shelf to import the polygon model called 'cube':
file -import -type "OBJ" -rpr "cube" -options "mo=1" "D:/models/cube.obj";
if you want to perform anything more complicated than that (such as adding adjustable parameters) then you will have to script it in mel.
playmesumch00ns
06-03-2003, 12:51 PM
Take a look at the level tools scripts on the alias webiste. It's got a "props" thing where you just click on a thumbnail of the object and it imports the corresponding scene file. It's desgined for games, but I can't think of any reason why it wouldn't work for other applications.
CGTalk Moderation
01-15-2006, 07:00 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.