(esel2 – esel1).isEmpty and (esel1 – esel2).isEmpty returns false I clearly see the difference between the two
sure ( delete objects tri = Teapot segments:4 convertToMesh tri setFaceSelection tri #{25..40, 97..112, 153..168, 225..240, 281..296, 353..368, 391…
it doesn’t produce the same exact result but it is indeed much more performant
oh, so you need to fence faces tri = $ fsel = getFaceSelection tri esel = meshop.getEdgesUsingFace tri fsel meshopGetEdgesReverseEdge = meshop.getEd…
? meshop.getOpenEdges <Mesh mesh>
so what about VertexPaint modifier, did you try it? standard 4 segment Teapot runs at about 10fps with 2 lights and shadows on (but it feels like it h…
If you want to move everything then caching will be mostly useless caching functions is something that you already did with GetFaceCenter I use Share…
if none of the objects are moving or animated you can cache out faceVerts, verts poisitions, faceCenters … etc here’re my numbers (nothing is cached …
maybe there’s a better way of doing it for ss in selectionsets do ( selectionsets[ ss.name ] = for s in ss where not s.isHidden collect s )
works for 2014 max function DMONotification = ( windowHandle = DialogMonitorOPS.GetWindowHandle() if windowHandle != undefined do …
yep, rows can be accessed like this here’s another way to go cam = cameras[1] cam.fovType = 1 half_x_angle = cam.curfov / 2.0 cam.fovType = 2 half_…
you can probably check whether vert is in front of the camera in mxs get2DPoint function … local x = ( p.x – xMin ) / ( sX – ( xM…
Didn’t check your sources yet, but here’s the possible maxscript alternative that doesn’t need MapScreenToView ( — fn get2DPoint pos yTop:true = …
This is from ViewExp class изображение.png919x323 20.4 KB If you check sdk examples there’re plenty of examples how it is used. Without c# code po…
google is your everything GeeksforGeeks – 27 Nov 18 Check whether an Array is Subarray of another Array – GeeksforGeeks …