-
Notifications
You must be signed in to change notification settings - Fork 0
/
mesh_rot_script.mlx
42 lines (40 loc) · 2.62 KB
/
mesh_rot_script.mlx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE FilterScript>
<FilterScript>
<!-- Keep order of the (sub)params! -->
<!-- For X -->
<filter name="Transform: Rotate">
<Param enum_val0="X axis" enum_val1="Y axis" enum_cardinality="4" enum_val2="Z axis" enum_val3="custom axis" type="RichEnum" value="0" name="rotAxis"/> <!-- Axis of rotation - value -->
<Param enum_val0="origin" enum_val1="barycenter" enum_cardinality="3" enum_val2="custom point" type="RichEnum" value="0" name="rotCenter"/>
<Param type="RichDynamicFloat" value="XANGLE" min="-360" name="angle" max="360"/> <!-- Angle of rotation -->
<Param type="RichBool" value="false" name="snapFlag"/>
<Param x="0" y="0" z="0" type="RichPoint3f" name="customAxis"/>
<Param x="0" y="0" z="0" type="RichPoint3f" name="customCenter"/>
<Param type="RichFloat" value="30" name="snapAngle"/>
<Param type="RichBool" value="true" name="Freeze"/>
<Param type="RichBool" value="false" name="ToAll"/>
</filter>
<!-- For Y -->
<filter name="Transform: Rotate">
<Param enum_val0="X axis" enum_val1="Y axis" enum_cardinality="4" enum_val2="Z axis" enum_val3="custom axis" type="RichEnum" value="1" name="rotAxis"/> <!-- Axis of rotation - value -->
<Param enum_val0="origin" enum_val1="barycenter" enum_cardinality="3" enum_val2="custom point" type="RichEnum" value="0" name="rotCenter"/>
<Param type="RichDynamicFloat" value="YANGLE" min="-360" name="angle" max="360"/> <!-- Angle of rotation -->
<Param type="RichBool" value="false" name="snapFlag"/>
<Param x="0" y="0" z="0" type="RichPoint3f" name="customAxis"/>
<Param x="0" y="0" z="0" type="RichPoint3f" name="customCenter"/>
<Param type="RichFloat" value="30" name="snapAngle"/>
<Param type="RichBool" value="true" name="Freeze"/>
<Param type="RichBool" value="false" name="ToAll"/>
</filter>
<!-- For Z -->
<filter name="Transform: Rotate">
<Param enum_val0="X axis" enum_val1="Y axis" enum_cardinality="4" enum_val2="Z axis" enum_val3="custom axis" type="RichEnum" value="2" name="rotAxis"/> <!-- Axis of rotation - value -->
<Param enum_val0="origin" enum_val1="barycenter" enum_cardinality="3" enum_val2="custom point" type="RichEnum" value="0" name="rotCenter"/>
<Param type="RichDynamicFloat" value="ZANGLE" min="-360" name="angle" max="360"/> <!-- Angle of rotation -->
<Param type="RichBool" value="false" name="snapFlag"/>
<Param x="0" y="0" z="0" type="RichPoint3f" name="customAxis"/>
<Param x="0" y="0" z="0" type="RichPoint3f" name="customCenter"/>
<Param type="RichFloat" value="30" name="snapAngle"/>
<Param type="RichBool" value="true" name="Freeze"/>
<Param type="RichBool" value="false" name="ToAll"/>
</filter>
</FilterScript>