Here is the (probably no completely) correct method: ( fn getEdgeNeighbors obj i edgesMask:#{} vertMask:#{} = ( local verts = polyop.getVertsUsin…
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 …
Maybe this could help: ( fn getContinuousEdgeGroups obj = ( local edgesMask = polyop.getEdgeSelection obj local selectedEdges = edgesMask as a…
maybe something like this: ( fn findItemIndexes arr = ( local usedValues = #() local indexes = #() for i = 1 to arr.count do ( local j = f…
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…
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…
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…
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…
You might want to check out gw.text
I think this post that I made a while back can be helpful
Cool, thanks!
Here is a screen capture to show what I meant:
Why not, it cuts around the shadow edges?
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…
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…