Light
@light
New Member
Joined: Feb 14, 2024
Topics: 6 / Replies: 370
Reply
RE: face translation (move) about it's normal… coordsys issues

Hi, You can try FraX of Orionflame found @ www.flamefx.com. Light

20 years ago
Forum
Reply
RE: Script running twice when added to a keyboard shortcut

I have tried your code, and it works OK as a hotkey. I have written this. Can you please try that and tell me if it works OK as a hotkey: macroScrip…

20 years ago
Forum
Reply
RE: Script running twice when added to a keyboard shortcut

Hi, Can you please post your filter fn? Light

20 years ago
Forum
Reply
RE: dumb question

Sorry, Sometimes I post a code here without parenthesis. But I always intend to say run the code in local scope, that should take the problem out. T…

20 years ago
Forum
Reply
RE: dumb question

Hi, In MXS, everything is an expression that returns something just like LISP. MXS always returns the last line of a code/fn when evaluated. So the s…

20 years ago
Forum
Reply
RE: maintaning aspect ratio

Hi, Maybe this does what you need: for i in selection do ( local theVal = random 0.95 1.05 scale i [theVal, theVal, theVal] ) Light

20 years ago
Forum
Reply
RE: How to remove flags in polyop.

Ah, I missed 1 parameter, mask! This should work: ( local sel = selection[1].baseObject local bit30 = bit.set 0 30 true polyOp.setFaceFlags sel (pol…

20 years ago
Forum
Reply
RE: How to remove flags in polyop.

#{} this means an empty bitArray. Assigning it to a bit means, you will have no face in that bit, which can be thought as “clearing” that bit. Light

20 years ago
Forum
Reply
RE: How to remove flags in polyop.

Hi, Try this: local sel = selection[1].baseObject local bit30 = bit.set 0 30 true polyOp.setFaceFlags sel #{} bit30 Light

20 years ago
Forum
Reply
RE: Script Request: Reset Smoothgroups

Hi, Assuming you want to use SG1 for all polys, polyOp.setFaceSmoothGroup selection[1] #all 1 should do what you need. Light

20 years ago
Forum
Reply
RE: separate two elementes to objects

Hi, There is a feature in Orionflame which explodes each elements as a seperate object. Although it only works for EPolys, it should give you the ide…

20 years ago
Forum
Reply
RE: Update values on selection

Hi, Try using a callback: when select selection[1] changes id:#selX64 do print “Selection Changed” Don’t forget to remove it when you no longer nee…

20 years ago
Forum
Reply
RE: open edges of an face selection

Ok, your code made clear. You want outline edges: local sel = selection[1].baseObject local faceSel = polyOp.getFaceSelection sel local faceEdges =…

20 years ago
Forum
Reply
RE: open edges of an face selection

I don’t understand. Do you want to select outline edges of current face selection or open edges of current face selection? If neither of them, then ca…

20 years ago
Forum
Reply
RE: open edges of an face selection

Hi, maybe this does what you need: local sel = selection[1].baseObject local faceEdges = polyOp.getEdgesUsingFace sel (polyOp.getFaceSelection sel) …

20 years ago
Forum
Page 25 / 26