ScriptSpot home

Wire Mesh Generator

Downloads

3ds Max compatibility
See original listing claims
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.04
From original requirements
2010–2027
Original version requirement
3ds Max 2010 - 2027
Author’s update date
Legacy votes
20
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

BodyulCG

Vladislav Bodyul

More by this author

Description

Wire Mesh Generator is a 3ds Max script that creates a procedural chain-link style wire mesh spline with adjustable parameters.

Comments (15)
Barry

Awesome work

Just adding a note to say this is an awesome script that I'm going to get a lot out of use out of. Thanks so much.

Vladislav Bodyul

Thank you all!

Marth Crowley

i love your scriptz

breh. the labryinth maker is really useful.

Will be playing with this one as well. :D

Mark Beckitt

Hi Wladislaw

Another great script, your work is immense, thanks for sharing, + and commented

Max

Very cool, thanks!

Nevil Redfield(Nasser Merati)

Cool

another cool stuff from Wladislaw.

Branko Živković

+1

Cool man. Just keep it up.
Cheers!

Reply to Branko Živković
Branko Živković

Suggestions:
- bending option (it will be nice when wire mesh can be seamlessly wraped around cylindrical or spherical mesh)
- different kind of abstract wickerwork patterns

Reply to Branko Živković
Vladislav Bodyul

Thanks for suggestions.

"- bending option (it will be nice when wire mesh can be seamlessly wraped around cylindrical or spherical mesh)"
I will try to add it.
---
"- different kind of abstract wickerwork patterns"
That's what I now did. Works a little incorrectly.
WireMeshGenerator_test | (GIF)

Reply to Branko Živković
Vladislav Bodyul

@barigazy

Thanks big for thread of Forum. I think it's useful to me.
If interested, here's a basic piece of code (function without "bend ends"). But I think it needs to be redone for wrapping around cylindrical or spherical mesh as you suggest.

Reply to Vladislav Bodyul
Branko Živković

I changed a bit your code, nothing special but this way U can avoid some repetitions

-- ........................... 78 line
local inv = (-1) -- for invert position of points
local tmpArr = deleteItem (deepcopy pointArr[1]) 1

for i = 2 to HalfTurn do
(
tmpArr = deepCopy tmpArr
for j in tmpArr do
(
j.x *= inv
j.y *= inv
j.z += (CellSize)
)
join pointArr[1] tmpArr
)

for i = 1 to (Rows - 1) do
(
tmpArr = deepCopy pointArr[1]
for j in tmpArr do
(
-- if i is odd number then multiply with inv value
if mod i 2 != 0 do (j.x *= inv ; j.y *= inv)
j.x += ((CellSize - (Radius * 4)) * i)
)
append pointArr tmpArr
)

delete $TempGrid*
local sp = splineshape name:(uniquename "TempGrid") sides:Sides thickness:(Radius * 2) \
render_displayRenderMesh:DisplayRM render_displayRenderMesh:DisplayRM

for i in pointArr do
(
addnewspline sp
for j in i do (addknot sp (numSplines sp) #smooth #line j)
)

Reply to Vladislav Bodyul
Branko Živković

Yep. It represents best way to operate on odd and even items in array ei


oeData = dataPair odd:#() even:#()
oeData.odd = for i = 1 to 10 collect
(
if mod i 2 != 0 then i else (append oeData.even i ; dontcollect)
)