Notifications
Clear all

[Closed] The Viewport Maxscript Editor – NEW

@ Kickflipkid687: No problem man! I’ve been meaning to learn dotNet for a while now, I just keep getting distracted with all these crazy ideas… I’ll do an integration once the nodes have been extracted to work as .ms files. I think this ‘code view’ popup idea is going to be crucial for programmers. And it opens a lot of possibilities up. Let me get this working in a somewhat stable manner… lots to do.

Yeah, no problem

Yeah, so

getUserPropBuffer $

That will extract the whole block of text in the User Properties of the Node. So might be useful…

Here’s the latest on the script.

It can build value nodes, and assign custom attributes to them.
Rollouts and code nodes all have grey padding circles as well.
They are completely customizable in size, text, and padding.
Nodes are not written to code yet, rollouts and UI elements will still work fine if linked properly.

getUserPropBuffer $ – That sounds useful!

wonder if i could do:


  local myUserProps
   try(myUserProps = getUserPropBuffer  $) catch()
   if (myUserProps != undefined) then (do some stuff)
  

that would help to see if the $ node has VMEIDs, maybe faster than how I have it written currently.

Great idea for a tool.

I’m interested in something like this to be able to load and save the layout of ui elements. Allowing edits etc.

Will it be ok if I were to dig in and alter your script to see if I can make this?

cheers,

cw

@wallasaurus: Sure! Just keep it free and open to everyone.

Lets make this official: The script is released under the GNU Public License 2.0 as of now.

IMO, no node based UI discussion is complete without a look at grasshopper. An addon to Rhino, it is free to download… seemingly in perpetual beta.

The UI is awesome, the most natural an intuitive interface I’ve worked with. It comes with tons of different algorythmic nodes…

I’ve tried to do similar things with the Zookeeper demo; make a couple script controller nodes, group them together, expose their input/output and have that group define a new function/node. I don’t know that ZK has quite that functionality…

http://www.rhino3d.com/
http://www.grasshopper3d.com/

Whatever the case, I can’t wait for all of the disparate node interfaces to be unified; schematic view, Node Joe/Slate, PFlow, the Orbaz toolboxes, Zoo Keeper. It all needs a unified UI.

@Kickflipkid687: Oh nos! I has problems with teh dotnets.

The black text is the line generating the error. The only thing I changed was the file address to where the .pngs are loaded from. There’s just two .pngs in the folder, with transparency. I’m missing something, just let me know what I need to do to get it working. Thanks again matt! BTW, your Halo Reach work is awesome.

@ jonahhawk: Thanks for the tip to grasshopper 3d.
“For designers who are exploring new shapes using generative algorithms, Grasshopper® is a graphical algorithm editor tightly integrated with Rhino’s 3-D modeling tools.”
Very inspiring stuff! Also, here is a link to zookeeper for everyone. I wasn’t sure what zookeeper was until I went to the site. Pretty awesome!

Oh, I think I know what’s wrong.

Here’s the fix

http://dl.dropbox.com/u/6895456/DotNetdragdrop.ms

The .ms doesn’t generate any errors, but it’s not loading the .pngs, or it’s not displaying them. Or… here is what I’m getting back:

Here’s a screen-cap of the directory of what I’m trying to load (100×100 px images).

Page 5 / 9