MatanH
@matanh
New Member
Joined: Feb 14, 2024
Topics: 28 / Replies: 281
Reply
RE: Collect continuous selected edges/vertices in order?

Here is the (probably no completely) correct method: ( fn getEdgeNeighbors obj i edgesMask:#{} vertMask:#{} = ( local verts = polyop.getVertsUsin…

10 years ago
Forum
Reply
RE: Collect continuous selected edges/vertices in order?

Malkalypse you are right, I didn’t test my code on loops but I did have a special case for it that I should have tested. Here is a fixed version with …

10 years ago
Forum
Reply
RE: Collect continuous selected edges/vertices in order?

Maybe this could help: ( fn getContinuousEdgeGroups obj = ( local edgesMask = polyop.getEdgeSelection obj local selectedEdges = edgesMask as a…

10 years ago
Forum
Reply
RE: Array value indexing

maybe something like this: ( fn findItemIndexes arr = ( local usedValues = #() local indexes = #() for i = 1 to arr.count do ( local j = f…

10 years ago
Forum
Reply
RE: Correlation between mesh and poly faces ?

I tried your scenario and could find an issue with it. Here is my test code: ( fn convertMeshFaceToPolyFace m p f = ( local verts = (meshop.getVe…

11 years ago
Forum
Reply
RE: Correlation between mesh and poly faces ?

it probably isn’t, but in my case I couldn’t just convert to poly because I needed to use intersectRayEx function that works only with trimesh/editabl…

11 years ago
Forum
Reply
RE: Correlation between mesh and poly faces ?

coincidentally I also needed something like this today Martijn’s technique is pretty good but I couldn’t rely on 4 cornered faces so I wrote this litt…

11 years ago
Forum
Reply
RE: copy/paste base

I use it like this for years: $[2].baseobject = copy $[1].baseObject I usually want to make them instances so I use $[2].baseobject = $[1].baseObje…

11 years ago
Forum
Reply
RE: Static text information in viewport

You might want to check out gw.text

11 years ago
Forum
Reply
RE: Math for soft selection/affect region falloff

I think this post that I made a while back can be helpful

11 years ago
Forum
Reply
RE: Sublime3dsMax

Cool, thanks!

11 years ago
Forum
Reply
RE: Bake and cut geometry at shadows

Here is a screen capture to show what I meant:

12 years ago
Forum
Reply
RE: Bake and cut geometry at shadows

Why not, it cuts around the shadow edges?

12 years ago
Forum
Reply
RE: Bake and cut geometry at shadows

Here is a bit of a tricky way to do this without scripting, of course this process can be automated using a script. [ol] [li]Select the object you wa…

12 years ago
Forum
Reply
RE: controlling point cache playback speed with object travel speed ?

I don’t remember if I ever tried accessing the waveform controlling via script, but you could easily create your own periodic controller with a simple…

12 years ago
Forum
Page 2 / 21