Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

how do I create a shape from a section using max?
show user profile  dazza000
how do I create a shape from a section using max?
I can't figure this out. I can create a section easly enough:
section length:13 width:51 POS:[ -10,10,0]

But how do i create the shape?
I imagine it would be something like createShape 'Shape01'

but i can't crack it
Can anybody help
thanks dazza
read 1627 times
4/20/2008 6:21:06 PM (last edit: 4/20/2008 6:21:06 PM)
show user profile  Dave
Erm, what?

Are you trying to create shapes in Maxscript or something? What do you mean by "section"?

"I flew over Egypt once"

read 1623 times
4/20/2008 6:25:28 PM (last edit: 4/20/2008 6:25:28 PM)
show user profile  ulisei
hey dazza -

convert your object to editable mesh or poly
if you like the mesh go to edit geometry/ edges respectively, select your desired edges and hit the CREATE SHAPE FROM EDGES button - there you go, you only have eventually set the vertices interpolation to corner.
if you use polys there is a button named CREATE SHAPE FROM SELECTION - does the same.

greetings, U.

read 1608 times
4/20/2008 7:44:57 PM (last edit: 4/20/2008 7:46:04 PM)
show user profile  dazza000
to Dave
Yes . on the command pannel are the buttons create/shapes/section.
Once you have created a section ( this is only a "slice plane" at this stage ) you can then press the
button "create shape". The result is a true cross secton of the selected object whare the slice plane was . I guess this result is a spline.
Waht I am wanting to know is how do you "press this button" in max script in order to create this final cross section.

thanks fro replying. dazza
read 1597 times
4/20/2008 8:00:08 PM (last edit: 4/20/2008 8:00:08 PM)
show user profile  Dave
Hmm, well i'm by no means an expert in Maxscript... hell i'm not even a beginner really. But when I open up the Maxscript listener, and use the button in edge mode / editable poly. The listener reports back with this:

$.EditablePoly.createShape "Shape01" off $

Which, I can only assume... is saying "create the shape and call it Shape01 off of the selection"

If you'e already well aware of this, and are looking for a way to 'make your own button' I suppose... then I'm of no use what so ever. Someone around here will definitely know the answer though.

"I flew over Egypt once"

read 1593 times
4/20/2008 8:06:14 PM (last edit: 4/20/2008 8:09:17 PM)
show user profile  dazza000
I'm just not receiving this valuable piece of data coming back in the listener:
I literally don't see:

$.EditablePoly.createShape "Shape01" off $

I'm using v6.0, and am working on a heavily booleand editable polly.

It also might be a quirk on my installation .
read 1582 times
4/20/2008 8:19:45 PM (last edit: 4/20/2008 8:19:45 PM)
show user profile  Dave
Hmm, well I don't know if this will help or not, but here's what my MacroRecorder settings are like:

"I flew over Egypt once"

read 1580 times
4/20/2008 8:22:00 PM (last edit: 4/20/2008 8:22:00 PM)
show user profile  dazza000
Its odd but no I don't see this.
Anyway I have found something else that does help me.
This converts the resulting output to a spline:

s = section length: 10 width: 10 pos:[-10,10,0] isSelected:on
conVertToSplineShape s
s.renderable = true = "shape01"

Lets consider the matter closed
dazza dazza
read 1574 times
4/20/2008 9:05:54 PM (last edit: 4/20/2008 9:05:54 PM)
#Maxforums IRC
Open chat window