Notifications
Clear all

[Closed] CgTalk Maxscript Challenge 011: "Circular Array Tool"

Wow… great work guys! I’ve been away overseas, so it’s great to come back and see such amazing work going on!
I’ll post a new challenge as soon as I can!

Version 2.6
rewritten from the ground up!
(no wallpapers this time)

[left][color=blue]plugin[/color] shape [color=black]Extended_Rect[/color]
[/left]
[left]name:[color=maroon]“Rectangle2”[/color]
[/left]
[left]classID:#(0x133067, 0x5437[color=black]5[/color])
[/left]
[left]extends:rectangle version:1
[/left]
[left]category:[color=maroon]“Splines”[/color]
[/left]
[left](
[/left]
[left][color=blue]tool[/color] create
[/left]
[left](
[/left]
[left][color=blue]local[/color] startPoint
[/left]
[left][color=blue]on[/color] mousePoint click [color=blue]do[/color]
[/left]
[left][color=blue]case[/color] click [color=blue]of[/color]
[/left]
[left][color=black]([/color]
[/left]
[left]1:[color=black] startPoint = [/color]nodeTM.translation = gridPoint
[/left]
[left]3:[color=black] [/color]#stop
[/left]
[left])
[/left]
[left][color=blue]on[/color] mouseMove click [color=blue]do[/color]
[/left]
[left][color=blue]case[/color] click [color=blue]of[/color]
[/left]
[left](
[/left]
[left]2: (delegate.width= abs gridDist.x
[/left]
[left]delegate.length= abs [color=black]gridDist[/color].y
[/left]
[left]nodeTM.translation[color=black] = startpoint + [/color]gridDist[color=black]/2.[/color]
[/left]
[left])
[/left]
[left]3: delegate.corner_radius = amax 0 -gridDist.x
[/left]
[left])
[/left]
[left])
[/left]
[left][left])[/left][/left]
[left][left]T[/left][/left]
[left][left]script plugin,Create object last.Save scene.Next,Open scene ,Error.[/left][/left]

hello leelittledragon,

llooks like you post got lost in the mail.

Ther is a known issue (does everyone know?) with scripted shape plugins. If you use them you need to collapse them before saving your file, otherwise max will crash when you re-load it. This isn’t a problem with max9
If you want to fix a file, un-install the plugin and the offending shapes will be replaced with geometry stand-ins and you will be able to load the file (minus the shapes)

adios.

J.

Page 3 / 3