it’s the projection/view direction for the specified positions onto the surface. As the code is expecting a world position from a mouse click to then …
Thank you, but that solution only works when cutting ONE face, not across multiple faces afaik. try running the script
delete objects p = plane() converttoPoly p p.cutfaces 1 [-8.2,-10.5,0.0] [8.25,2.2,0] [0,0,1];
I saw that. It would be nice to know what to be careful about… what to be careful about, these are the reference messages sent between a referenceM…
can’t comment on the ffd code, just a direct copy from the link you posted. Also the disableRefMsgs()/enableRefMsgs() come with a health warning USE W…
the code I’ve been running… fn lerp x y s = (x + s * (y – x)) fn mxssetedgevisflags m face flags = ( setEdgeVis m face 1 flags[1]; setEdgeV…
though if you use disableRefMsgs() & enableRefMsgs() you can get the ffd down to 110. and if you make the planes 100×100 segs you get sdk create…
some quick tests with the original Denis script where the box has 4 segs in every dimension and the created planes have 4 segs. sdk create t:31 mxs c…
That is certainly unfortunate. But if so, then it seems that you at least have a workaround with the C++/C# because of access to MNMesh and building…
there’s is a reason why you won’t find examples of that sort of thing in c# or c++ come to that, simple tasks like that are best/easiest/quickest done…
I would concur with Denis sdk is the way to go but that aside if your looking to convert that script to the “sdk” via c# then a slightly different app…
they are not constants as such they are macro definitions (c++) and are defined in the sdk include file interval.h #define FOREVER Interval(TIME_N…
you need to look at the sdk reference for mnmesh for editable poly objects
something like this? isNotUp = 1; fn Completed sender arg = ( sender.Dispose(); if isNotUp == 0 then format “Internet is Up “; else for…
you could use a hidden ping with the background worker isNotUp = 1; fn Ping site:”www.google.com” = ( HiddenDOSCommand (“ping ” + site + ” -n 2…