Klunk1
@klunk1
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 650
Reply
RE: I can't figure out how to use the "Cut" tool by script

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 …

12 years ago
Forum
Reply
RE: I can't figure out how to use the "Cut" tool by script

Thank you, but that solution only works when cutting ONE face, not across multiple faces afaik. try running the script

12 years ago
Forum
Reply
RE: I can't figure out how to use the "Cut" tool by script

delete objects p = plane() converttoPoly p p.cutfaces 1 [-8.2,-10.5,0.0] [8.25,2.2,0] [0,0,1];

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

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…

12 years ago
Forum
Reply
RE: Need Help converting a MAXScript to .NET

you need to look at the sdk reference for mnmesh for editable poly objects

12 years ago
Forum
Reply
RE: check internet connection without freezing 3d max at all

something like this? isNotUp = 1; fn Completed sender arg = ( sender.Dispose(); if isNotUp == 0 then format “Internet is Up “; else for…

12 years ago
Forum
Reply
RE: check internet connection without freezing 3d max at all

you could use a hidden ping with the background worker isNotUp = 1; fn Ping site:”www.google.com” = ( HiddenDOSCommand (“ping ” + site + ” -n 2…

12 years ago
Forum
Page 14 / 46