ReigeKwitt commited on
Commit
bbb12d6
·
verified ·
1 Parent(s): 3996274

Upload 32 files

Browse files
Files changed (33) hide show
  1. .gitattributes +24 -0
  2. AB Alex (1).blend +3 -0
  3. AB Steve (1).blend +3 -0
  4. AB v2 (PUBLIC RIG).blend +3 -0
  5. Black Plasma Rig v2/BPS Rig v2 (Armature Updated).blend +3 -0
  6. Black Plasma Rig v2/Black Plasma Rig v2 (Facial Rig modified).blend +3 -0
  7. Black Plasma Rig v2/Black Plasma Rig v2 Armored.blend +3 -0
  8. Black Plasma Rig v2/Black Plasma Rig v2 Lite.blend +3 -0
  9. Black Plasma Rig v2/Black Plasma Rig v2 modified and updated.zip +3 -0
  10. Black Plasma Rig v2/Black Plasma Rig v2.blend +3 -0
  11. Black Plasma Rig v2/HEROBRINE_TEMPLATE (BPSRigv2).blend +3 -0
  12. Black Plasma Rig v2/Seriously Read Me.txt +18 -0
  13. IAN_Rig_Modified/IAN_Rig_V2_2.79 (Updated).blend +3 -0
  14. IAN_Rig_Modified/IAN_Rig_V2_2.79 (Updated).blend1 +3 -0
  15. IAN_Rig_Modified/IAN_Rig_V2_2.79 Fixed Layer.blend +3 -0
  16. IAN_Rig_Modified/IAN_Rig_V2_2.79 Fixed Layer.blend1 +3 -0
  17. IAN_Rig_Modified/IAN_Rig_V2_2.79 Modified.blend +3 -0
  18. IAN_Rig_Modified/IAN_Rig_V2_2.79 Modified.blend1 +3 -0
  19. IAN_Rig_V2_2.79 (Updated).blend +3 -0
  20. IAN_Rig_V2_2.79.blend +3 -0
  21. IAN_Rig_V2_2.8.blend +3 -0
  22. SS V.1.1.1/Smooth_Stone_1.1.1_Manual.pdf +3 -0
  23. SS V.1.1.1/Smooth_Stone_v1.1.1.blend +3 -0
  24. SS V.1.1.1/smooth_stone.zip +3 -0
  25. SS V.1.1.1/unknown.png +3 -0
  26. Smooth_Stone_v1.1.0.zip +3 -0
  27. Smooth_Stone_v1.1.0/Smooth Stone v1.1.0.blend +3 -0
  28. Smooth_Stone_v1.1.0/Smooth Stone.py +961 -0
  29. Smooth_Stone_v1.1.0/textures/plain face.png +3 -0
  30. Thomas Animations Rig.zip +3 -0
  31. Thomas Animations Rig/Hair_Tutorial.blend +3 -0
  32. Thomas Animations Rig/ThomasAnimations_Rig.blend +3 -0
  33. Thomas Animations Rig/ThomasAnimations_Rig_NoArmor .blend +3 -0
.gitattributes CHANGED
@@ -58,3 +58,27 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ AB[[:space:]]Alex[[:space:]](1).blend filter=lfs diff=lfs merge=lfs -text
62
+ AB[[:space:]]Steve[[:space:]](1).blend filter=lfs diff=lfs merge=lfs -text
63
+ AB[[:space:]]v2[[:space:]](PUBLIC[[:space:]]RIG).blend filter=lfs diff=lfs merge=lfs -text
64
+ Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2/Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2[[:space:]](Facial[[:space:]]Rig[[:space:]]modified).blend filter=lfs diff=lfs merge=lfs -text
65
+ Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2/Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2[[:space:]]Armored.blend filter=lfs diff=lfs merge=lfs -text
66
+ Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2/Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2[[:space:]]Lite.blend filter=lfs diff=lfs merge=lfs -text
67
+ Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2/Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2.blend filter=lfs diff=lfs merge=lfs -text
68
+ Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2/BPS[[:space:]]Rig[[:space:]]v2[[:space:]](Armature[[:space:]]Updated).blend filter=lfs diff=lfs merge=lfs -text
69
+ Black[[:space:]]Plasma[[:space:]]Rig[[:space:]]v2/HEROBRINE_TEMPLATE[[:space:]](BPSRigv2).blend filter=lfs diff=lfs merge=lfs -text
70
+ IAN_Rig_Modified/IAN_Rig_V2_2.79[[:space:]](Updated).blend filter=lfs diff=lfs merge=lfs -text
71
+ IAN_Rig_Modified/IAN_Rig_V2_2.79[[:space:]](Updated).blend1 filter=lfs diff=lfs merge=lfs -text
72
+ IAN_Rig_Modified/IAN_Rig_V2_2.79[[:space:]]Fixed[[:space:]]Layer.blend filter=lfs diff=lfs merge=lfs -text
73
+ IAN_Rig_Modified/IAN_Rig_V2_2.79[[:space:]]Fixed[[:space:]]Layer.blend1 filter=lfs diff=lfs merge=lfs -text
74
+ IAN_Rig_Modified/IAN_Rig_V2_2.79[[:space:]]Modified.blend filter=lfs diff=lfs merge=lfs -text
75
+ IAN_Rig_Modified/IAN_Rig_V2_2.79[[:space:]]Modified.blend1 filter=lfs diff=lfs merge=lfs -text
76
+ IAN_Rig_V2_2.79[[:space:]](Updated).blend filter=lfs diff=lfs merge=lfs -text
77
+ IAN_Rig_V2_2.79.blend filter=lfs diff=lfs merge=lfs -text
78
+ IAN_Rig_V2_2.8.blend filter=lfs diff=lfs merge=lfs -text
79
+ Smooth_Stone_v1.1.0/Smooth[[:space:]]Stone[[:space:]]v1.1.0.blend filter=lfs diff=lfs merge=lfs -text
80
+ SS[[:space:]]V.1.1.1/Smooth_Stone_1.1.1_Manual.pdf filter=lfs diff=lfs merge=lfs -text
81
+ SS[[:space:]]V.1.1.1/Smooth_Stone_v1.1.1.blend filter=lfs diff=lfs merge=lfs -text
82
+ Thomas[[:space:]]Animations[[:space:]]Rig/Hair_Tutorial.blend filter=lfs diff=lfs merge=lfs -text
83
+ Thomas[[:space:]]Animations[[:space:]]Rig/ThomasAnimations_Rig_NoArmor[[:space:]].blend filter=lfs diff=lfs merge=lfs -text
84
+ Thomas[[:space:]]Animations[[:space:]]Rig/ThomasAnimations_Rig.blend filter=lfs diff=lfs merge=lfs -text
AB Alex (1).blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88de853b0bfefe945222bf259c1064db6682754dc077973ccfb4214db440297f
3
+ size 4963756
AB Steve (1).blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:761879201e83d580003db5c5ffda8edd1a036557b29e41f46ae3bdd811dbbff6
3
+ size 5014700
AB v2 (PUBLIC RIG).blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:495cc4fe34d0f1333df66a883c4adc1c3a0b04038ad393eca3ddd047b9f0c77a
3
+ size 5665257
Black Plasma Rig v2/BPS Rig v2 (Armature Updated).blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ab3c21657a86f5417efc82b1f4de9824af901ed87736473b7b1c9abe071a369
3
+ size 2640944
Black Plasma Rig v2/Black Plasma Rig v2 (Facial Rig modified).blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96d9808c50b304422e4c012b7a9cfeaed51bca238a9b81c13ec5fa26b49b6eae
3
+ size 2706644
Black Plasma Rig v2/Black Plasma Rig v2 Armored.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46b58c58ebec441944c45a15ce43cee15c2ef199f45f7123292c04b906085c73
3
+ size 6016096
Black Plasma Rig v2/Black Plasma Rig v2 Lite.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a72dceca63a3620efd9d331cb72addfdec31d93bfda5bc6dac3f154bc20de82
3
+ size 1798352
Black Plasma Rig v2/Black Plasma Rig v2 modified and updated.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0d8108d2de4aa6de4b12c89c810e440da7c3f343d2c7bcd6ee10e6b052f4dfa
3
+ size 2916548
Black Plasma Rig v2/Black Plasma Rig v2.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c855c37864e9162088be172278f75b6a0aa79983143515088dd45a9c6be38001
3
+ size 2663712
Black Plasma Rig v2/HEROBRINE_TEMPLATE (BPSRigv2).blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2708fc3aa7fb654111f7f8c75cd581ed664e57196aaf5fa02aa6e523daa8724
3
+ size 2684432
Black Plasma Rig v2/Seriously Read Me.txt ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Black Plasma Studios Rig v2
3
+ --------------------------------------
4
+
5
+ Thanks for downloading the BPS Rig!
6
+
7
+ If you append the rig and are unable to select it or move it, immedediately press L and go to Make Local > All.
8
+
9
+ See the full tutorial here explaining everything about how to use the rig:
10
+ https://youtu.be/WZ3Fpgqr1NI
11
+
12
+ --------------------------------------
13
+
14
+ Created by PixelFrosty
15
+ https://www.youtube.com/channel/UClzPBaE7G-H3SrsfFeW2FlQ
16
+
17
+ Designed for Black Plasma Studios
18
+ https://www.youtube.com/blackplasmastudios
IAN_Rig_Modified/IAN_Rig_V2_2.79 (Updated).blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75e38ccf6822f7f1e5f6492b8bad8701bfcc8e25fdc41206b887337915674d01
3
+ size 3498244
IAN_Rig_Modified/IAN_Rig_V2_2.79 (Updated).blend1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58e6bace818c0403cb43b12faf63b557d4cfc33e1206fd83a8fbcb94f5f37aa8
3
+ size 3498244
IAN_Rig_Modified/IAN_Rig_V2_2.79 Fixed Layer.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2c68ff6e5f62cad47dd50a0139e8464d8ab6f72233bc527c120c8947c592ac2
3
+ size 3433132
IAN_Rig_Modified/IAN_Rig_V2_2.79 Fixed Layer.blend1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73f4375435ce85656ce52dda5f67172b530d5a327eb9abfdb08c9fe183162fc6
3
+ size 3433900
IAN_Rig_Modified/IAN_Rig_V2_2.79 Modified.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6edca73399ac2391a65b436d58ba8e07fbfc1ccd336cc897f168913ae83ac594
3
+ size 3510248
IAN_Rig_Modified/IAN_Rig_V2_2.79 Modified.blend1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74cbd1493b1fec12a2a0e3cbb06aa55e4e13cf12d28a12cf5cda7a982d2cbaab
3
+ size 3534924
IAN_Rig_V2_2.79 (Updated).blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8fd28c3bdb62c29c2d94a42a0a37458d654b1eb3c37d1b96c93b70d77e27172
3
+ size 3498244
IAN_Rig_V2_2.79.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbaf4aa81836c1c877a9228debf6c3331c99ed026d6f325e906f61f31e97f2e3
3
+ size 3640548
IAN_Rig_V2_2.8.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:315f226676c94201512b242f82932d36aec24e139e815bb66fd5a9ab15711b70
3
+ size 3512864
SS V.1.1.1/Smooth_Stone_1.1.1_Manual.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c82595dd5b8c54fbd66c97427fb67c841937fbb67ef61f3783145b394259b273
3
+ size 5238281
SS V.1.1.1/Smooth_Stone_v1.1.1.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247eb77c096ae6537450ca87f1d61423ee786be2feeff5b411c426b7d8e748b1
3
+ size 12150296
SS V.1.1.1/smooth_stone.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d57a44c20b774ec467278a7f39e25c69b6f95ddbe712b60ba63ae98a892381ed
3
+ size 2018013
SS V.1.1.1/unknown.png ADDED

Git LFS Details

  • SHA256: e826518abb9560e344490876c8faad07b1a8acff085b11ddf9ee495143c604c8
  • Pointer size: 131 Bytes
  • Size of remote file: 324 kB
Smooth_Stone_v1.1.0.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:866c19c19f5af60e9ba84a907899782fd3c79d0ac352ab4485a12c54e126efe6
3
+ size 1930540
Smooth_Stone_v1.1.0/Smooth Stone v1.1.0.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:607ac5b607ca77ec57874eaeeac976555ea0ecc6b98efc8d4ed1248f93868758
3
+ size 11966112
Smooth_Stone_v1.1.0/Smooth Stone.py ADDED
@@ -0,0 +1,961 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ bl_info = {
2
+ "name": "Smooth Stone",
3
+ "author": "DarthLilo and MineAPI",
4
+ "version": (1, 1, 0),
5
+ "blender": (2, 93, 0),
6
+ "location": "View3d > Tool",
7
+ "description": "Adds a panel for the Smooth Stone Rig",
8
+ "warning": "",
9
+ "tracker_url": "https://discord.gg/3G44QQM",
10
+ "category": "Lilo's Rigs",
11
+ }
12
+
13
+ #SETUP
14
+
15
+ import bpy
16
+ from bpy.props import IntProperty, BoolProperty, StringProperty, FloatProperty, EnumProperty, FloatVectorProperty, PointerProperty
17
+
18
+ # IMPORT PROPERTY
19
+ # bpy.types.Object.prop = FloatProperty(
20
+ # name="Prop Test", description="Testing PYTHON", default=0, min=0, max=1)
21
+
22
+ rig_id = "smooth_stone"
23
+
24
+ #RIG SELECTION LOCKOUT
25
+
26
+ def isRigSelected(context):
27
+ return bpy.context.active_object.parent if partOfRig(bpy.context.active_object) else bpy.context.active_object
28
+
29
+
30
+ def partOfRig(obj):
31
+ try:
32
+ #obj.parent.data.get("rig_id") == rig_id
33
+ return False
34
+ except (AttributeError, KeyError, TypeError):
35
+ return False
36
+
37
+
38
+ def faceobj(rig):
39
+ try:
40
+ for obj in rig.children:
41
+ try:
42
+ if obj.data['main_face'] == 1:
43
+ return obj
44
+ except:
45
+ pass
46
+ except (AttributeError, KeyError, TypeError):
47
+ return False
48
+
49
+ def main_face(rig):
50
+ try:
51
+ for obj in rig.children:
52
+ try:
53
+ if obj.data['main_face'] == 1:
54
+ return obj
55
+ except:
56
+ pass
57
+ except (AttributeError, KeyError, TypeError):
58
+ return False
59
+
60
+ # MAIN PANEL
61
+
62
+ class PropertiesPanel(bpy.types.Panel):
63
+ bl_label = "Rig Panel"
64
+ bl_idname = "PT_RigPanel"
65
+ bl_space_type = 'VIEW_3D'
66
+ bl_region_type = 'UI'
67
+ bl_category = 'SS V1'
68
+
69
+ @classmethod
70
+ def poll(self, context):
71
+ rig = isRigSelected(context)
72
+ try:
73
+ return (rig.data.get("rig_id") == rig_id)
74
+ except (AttributeError, KeyError, TypeError):
75
+ return False
76
+
77
+
78
+ def draw(self, context):
79
+ layout = self.layout
80
+ col = layout.column()
81
+ obj = context.object
82
+
83
+ row = layout.row()
84
+ col = layout.row()
85
+ col.label(text= "Smooth Stone v1.1.0", icon= 'BLENDER')
86
+
87
+ # PROPERTY ADD
88
+ # row.prop(obj, "prop", text="Property Testing", slider=True)
89
+
90
+
91
+ #BONE LAYERS
92
+
93
+ class BoneLayers(bpy.types.Panel):
94
+ bl_label = "Bone Layers"
95
+ bl_idname = "PT_BoneLayers"
96
+ bl_space_type = 'VIEW_3D'
97
+ bl_region_type = 'UI'
98
+ bl_category = 'SB V1'
99
+ bl_parent_id = 'PT_RigPanel'
100
+
101
+
102
+ @classmethod
103
+ def poll(self, context):
104
+ rig = isRigSelected(context)
105
+ try:
106
+ return (rig.data.get("rig_id") == rig_id)
107
+ except (AttributeError, KeyError, TypeError):
108
+ return False
109
+
110
+ def draw(self, context):
111
+ layout = self.layout
112
+ col = layout.column()
113
+ obj = context.object
114
+
115
+ layout.scale_y=1.5
116
+ row = layout.row()
117
+ col.prop(context.active_object.data, 'layers', index=0, toggle=True, text='Main Rig')
118
+ row = layout.row()
119
+ col.prop(context.active_object.data, 'layers', index=4, toggle=True, text='Face Rig')
120
+ col.prop(context.active_object.data, 'layers', index=20, toggle=True, text='Advanced Facial')
121
+ col.prop(context.active_object.data, 'layers', index=5, toggle=True, text='Dynamic Hair')
122
+ col.prop(context.active_object.data, 'layers', index=16, toggle=True, text='Body Tweak')
123
+ row.label(text= " Right Arm")
124
+ row.label(text= " Left Arm")
125
+ row = layout.row()
126
+ row.prop(context.active_object.data, 'layers', index=17, toggle=True, text='Fingers')
127
+ row.prop(context.active_object.data, 'layers', index=1, toggle=True, text='Fingers')
128
+ row = layout.row()
129
+ row.prop(context.active_object.data, 'layers', index=21, toggle=True, text='FK Arm')
130
+ row.prop(context.active_object.data, 'layers', index=6, toggle=True, text='FK Arm')
131
+ row = layout.row()
132
+ row.prop(context.active_object.data, 'layers', index=18, toggle=True, text='IK Arm')
133
+ row.prop(context.active_object.data, 'layers', index=2, toggle=True, text='IK Arm')
134
+ row = layout.row()
135
+ row.prop(context.active_object.data, 'layers', index=22, toggle=True, text='Easy Parent')
136
+ row.prop(context.active_object.data, 'layers', index=7, toggle=True, text='Easy Parent')
137
+ row = layout.row()
138
+ row.label(text= " Right Leg")
139
+ row.label(text= " Left Leg")
140
+ row = layout.row()
141
+ row.prop(context.active_object.data, 'layers', index=24, toggle=True, text='FK Leg')
142
+ row.prop(context.active_object.data, 'layers', index=8, toggle=True, text='FK Leg')
143
+ row = layout.row()
144
+ row.prop(context.active_object.data, 'layers', index=19, toggle=True, text='IK Leg')
145
+ row.prop(context.active_object.data, 'layers', index=3, toggle=True, text='IK Leg')
146
+
147
+
148
+ class updateProp(bpy.types.Operator):
149
+ bl_idname = "smoothstone.update_prop"
150
+ bl_label = "Update value."
151
+
152
+ thingToChange: StringProperty(name=" ")
153
+
154
+ def execute(self, context):
155
+ rig = isRigSelected(context)
156
+ if rig[self.thingToChange] == 0.0:
157
+ rig[self.thingToChange] = 1.0
158
+ else:
159
+ rig[self.thingToChange] = 0.0
160
+
161
+ for area in bpy.context.screen.areas:
162
+ if area.type == 'VIEW_3D':
163
+ area.tag_redraw()
164
+
165
+ context.object.update_tag()
166
+
167
+ return {'FINISHED'}
168
+
169
+ # RIG SETTINGS
170
+
171
+ class RigSettings(bpy.types.Panel):
172
+ bl_label = "Rig Settings"
173
+ bl_idname= "PT_RigSettings"
174
+ bl_space_type = "VIEW_3D"
175
+ bl_region_type = "UI"
176
+ bl_category = "SB V1"
177
+ bl_parent_id = "PT_RigPanel"
178
+
179
+
180
+ @classmethod
181
+ def poll(self, context):
182
+ rig = isRigSelected(context)
183
+ try:
184
+ return (rig.data.get("rig_id") == rig_id)
185
+ except (AttributeError, KeyError, TypeError):
186
+ return False
187
+
188
+
189
+ #CUSTOM PROPERTIES IMPORT
190
+ bpy.types.Object.IK_P_TREE_L = IntProperty(
191
+ name="Arm Parent Tree L", description="Swaps the parent for the R IK", default=0, min=0, max=2)
192
+
193
+ bpy.types.Object.IK_P_TREE_R = IntProperty(
194
+ name="Arm Parent Tree L", description="Swaps the parent for the L IK", default=0, min=0, max=2)
195
+
196
+ bpy.types.Object.Hip = FloatProperty(
197
+ name="Hip", description="Pulls the hips inward", default=0, min=0, max=1)
198
+
199
+ bpy.types.Object.Breast = FloatProperty(
200
+ name="Breast", description="Changes the chest size", default=0, min=0, max=1)
201
+
202
+ bpy.types.Object.Bevel_Mouth = FloatProperty(
203
+ name="Beveled Mouth", description="Changes the amount of bevel on the mouth", default=0, min=0, max=2)
204
+
205
+ bpy.types.Object.rig_quality = IntProperty(
206
+ name="Rig Quality", description="Increases or decreases the quality of the rig (CAN CAUSE EXTREME LAG AT LEVEL 3)", default=0, min=0, max=3)
207
+
208
+ bpy.types.Object.render_quality = IntProperty(
209
+ name="Render Quality", description="Changes the quality of the rig in final render (Higher level = Slower Render Times)", default=0, min=0, max=3)
210
+
211
+ bpy.types.Object.legdeform = FloatProperty(
212
+ name="Leg Deform", description="Changes the amount of leg deform", default=0, min=0, max=1)
213
+
214
+ bpy.types.Object.eyetype = IntProperty(
215
+ name="Eye Texture", description="Changes the texture of the eyes", default=1, min=1, max=7)
216
+
217
+ bpy.types.Object.eyelashaddontype = IntProperty(
218
+ name="Eyelash Details", description="Changes the detail on the eyelashes", default=1, min=1, max=4)
219
+
220
+ bpy.types.Object.upperbodywidth = FloatProperty(
221
+ name="Body Width Upper", description="Changes the upper body width", default=0, min=0, max=1)
222
+
223
+ bpy.types.Object.armtype_L = IntProperty(
224
+ name="Arm Type", description="Changes the size of the arms (Steve - Alex - 3px)", default=1, min=1, max=3)
225
+
226
+ bpy.types.Object.armtype_R = IntProperty(
227
+ name="Arm Type", description="Changes the size of the arms (Steve - Alex - 3px)", default=1, min=1, max=3)
228
+
229
+ bpy.types.Object.jaw_influence = FloatProperty(
230
+ name="Jaw Influence", description="Changes the amount of jaw)", default=0, min=0, max=1)
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+ def draw (self, context):
240
+ layout = self.layout
241
+ col = layout.column()
242
+ obj = context.object
243
+ rig = isRigSelected(context)
244
+
245
+ layout.scale_y=1.5
246
+ col.label(text= "Settings Panel", icon= 'TOOL_SETTINGS')
247
+ row = layout.row()
248
+ if rig["antilag"] == 0:
249
+ setting = row.operator("smoothstone.update_prop", text="Anti-Lag", icon="LAYER_USED")
250
+ setting.thingToChange = "antilag"
251
+ else:
252
+ setting = row.operator("smoothstone.update_prop", text="Anti-Lag", icon="LAYER_ACTIVE")
253
+ setting.thingToChange = "antilag"
254
+ row = layout.row()
255
+ row.prop(obj, "rig_quality", text="Rig Quality", slider=True)
256
+ row = layout.row()
257
+ row.prop(obj, "render_quality", text="Render Quality", slider=True)
258
+ row = layout.row()
259
+ if rig["disableface"] == 0:
260
+ setting = row.operator("smoothstone.update_prop", text="Disable Face Rig", icon="LAYER_USED")
261
+ setting.thingToChange = "disableface"
262
+ else:
263
+ setting = row.operator("smoothstone.update_prop", text="Disable Face Rig", icon="LAYER_ACTIVE")
264
+ setting.thingToChange = "disableface"
265
+
266
+
267
+
268
+ # MAIN SETTINGS
269
+
270
+ class RigSettings1(bpy.types.Panel):
271
+ bl_label = "Main Settings"
272
+ bl_idname= "PT_MainSettings"
273
+ bl_space_type = "VIEW_3D"
274
+ bl_region_type = "UI"
275
+ bl_category = "SB V1"
276
+ bl_parent_id = "PT_RigSettings"
277
+
278
+
279
+ @classmethod
280
+ def poll(self, context):
281
+ rig = isRigSelected(context)
282
+ try:
283
+ return (rig.data.get("rig_id") == rig_id)
284
+ except (AttributeError, KeyError, TypeError):
285
+ return False
286
+
287
+ def draw (self, context):
288
+ layout = self.layout
289
+ scene = context.scene
290
+ rig = isRigSelected(context)
291
+ obj = context.object
292
+
293
+ layout.scale_y=1.5
294
+ row = layout.row()
295
+ if rig["body_stretch"] == 0:
296
+ setting = row.operator("smoothstone.update_prop", text="Body Stretch", icon="LAYER_USED")
297
+ setting.thingToChange = "body_stretch"
298
+ else:
299
+ setting = row.operator("smoothstone.update_prop", text="Body Stretch", icon="LAYER_ACTIVE")
300
+ setting.thingToChange = "body_stretch"
301
+ row = layout.row()
302
+ if rig["ankle_swap"] == 0:
303
+ setting = row.operator("smoothstone.update_prop", text="Ankle Swap", icon="LAYER_USED")
304
+ setting.thingToChange = "ankle_swap"
305
+ else:
306
+ setting = row.operator("smoothstone.update_prop", text="Ankle Swap", icon="LAYER_ACTIVE")
307
+ setting.thingToChange = "ankle_swap"
308
+ row = layout.row()
309
+ if rig["extrude_layers"] == 0:
310
+ setting = row.operator("smoothstone.update_prop", text="Extrusion Layers", icon="LAYER_USED")
311
+ setting.thingToChange = "extrude_layers"
312
+ else:
313
+ setting = row.operator("smoothstone.update_prop", text="Extrusion Layers", icon="LAYER_ACTIVE")
314
+ setting.thingToChange = "extrude_layers"
315
+
316
+ row = layout.row()
317
+ row.label(text= " Right Arm")
318
+ row.label(text= " Left Arm")
319
+ row = layout.row
320
+ c = layout.column()
321
+ row = c.row()
322
+ split = row.split(factor=0.5, align=True)
323
+ c = split.column()
324
+ c.prop(obj, "armtype_R", text="Arm Type", slider=True)
325
+ c = split.column()
326
+ c.prop(obj, "armtype_L", text="Arm Type", slider=True)
327
+ row = layout.row
328
+ c = layout.column()
329
+ row = c.row()
330
+ split = row.split(factor=0.5, align=True)
331
+ c = split.column()
332
+ if rig["Fingers_R"] == 0:
333
+ setting = c.operator("smoothstone.update_prop", text="Fingers", icon="LAYER_USED")
334
+ setting.thingToChange = "Fingers_R"
335
+ else:
336
+ setting = c.operator("smoothstone.update_prop", text="Fingers", icon="LAYER_ACTIVE")
337
+ setting.thingToChange = "Fingers_R"
338
+ c = split.column()
339
+ if rig["Fingers_L"] == 0:
340
+ setting = c.operator("smoothstone.update_prop", text="Fingers", icon="LAYER_USED")
341
+ setting.thingToChange = "Fingers_L"
342
+ else:
343
+ setting = c.operator("smoothstone.update_prop", text="Fingers", icon="LAYER_ACTIVE")
344
+ setting.thingToChange = "Fingers_L"
345
+ row = layout.row
346
+ c = layout.column()
347
+ row = c.row()
348
+ split = row.split(factor=0.5, align=True)
349
+ c = split.column()
350
+ if rig["IK_ARM_RIGHT"] == 0:
351
+ setting = c.operator("smoothstone.update_prop", text="FK Arm", icon="LAYER_USED")
352
+ setting.thingToChange = "IK_ARM_RIGHT"
353
+ else:
354
+ setting = c.operator("smoothstone.update_prop", text="IK Arm", icon="LAYER_ACTIVE")
355
+ setting.thingToChange = "IK_ARM_RIGHT"
356
+ c = split.column()
357
+ if rig["IK_ARM_LEFT"] == 0:
358
+ setting = c.operator("smoothstone.update_prop", text="FK Arm", icon="LAYER_USED")
359
+ setting.thingToChange = "IK_ARM_LEFT"
360
+ else:
361
+ setting = c.operator("smoothstone.update_prop", text="IK Arm", icon="LAYER_ACTIVE")
362
+ setting.thingToChange = "IK_ARM_LEFT"
363
+ row = layout.row
364
+ c = layout.column()
365
+ row = c.row()
366
+ split = row.split(factor=0.5, align=True)
367
+ c = split.column()
368
+ if rig["ARS"] == 0:
369
+ setting = c.operator("smoothstone.update_prop", text="Stretch", icon="LAYER_USED")
370
+ setting.thingToChange = "ARS"
371
+ else:
372
+ setting = c.operator("smoothstone.update_prop", text="Stretch", icon="LAYER_ACTIVE")
373
+ setting.thingToChange = "ARS"
374
+ c = split.column()
375
+ if rig["ALS"] == 0:
376
+ setting = c.operator("smoothstone.update_prop", text="Stretch", icon="LAYER_USED")
377
+ setting.thingToChange = "ALS"
378
+ else:
379
+ setting = c.operator("smoothstone.update_prop", text="Stretch", icon="LAYER_ACTIVE")
380
+ setting.thingToChange = "ALS"
381
+ row = layout.row
382
+ c = layout.column()
383
+ row = c.row()
384
+ split = row.split(factor=0.5, align=True)
385
+ c = split.column()
386
+ c.prop(obj, "IK_P_TREE_R", text="IK Parent", slider=True)
387
+ c = split.column()
388
+ c.prop(obj, "IK_P_TREE_L", text="IK Parent", slider=True)
389
+ row = layout.row()
390
+ row.label(text= " Right Leg")
391
+ row.label(text= " Left Leg")
392
+ row = layout.row()
393
+ c = layout.column()
394
+ row = c.row()
395
+ split = row.split(factor=0.5, align=True)
396
+ c = split.column()
397
+ if rig["IK_LEG_RIGHT"] == 0:
398
+ setting = c.operator("smoothstone.update_prop", text="FK Leg", icon="LAYER_USED")
399
+ setting.thingToChange = "IK_LEG_RIGHT"
400
+ else:
401
+ setting = c.operator("smoothstone.update_prop", text="FK Leg", icon="LAYER_ACTIVE")
402
+ setting.thingToChange = "IK_LEG_RIGHT"
403
+ c = split.column()
404
+ if rig["IK_LEG_LEFT"] == 0:
405
+ setting = c.operator("smoothstone.update_prop", text="FK Leg", icon="LAYER_USED")
406
+ setting.thingToChange = "IK_LEG_LEFT"
407
+ else:
408
+ setting = c.operator("smoothstone.update_prop", text="FK Leg", icon="LAYER_ACTIVE")
409
+ setting.thingToChange = "IK_LEG_LEFT"
410
+ row = layout.row
411
+ c = layout.column()
412
+ row = c.row()
413
+ split = row.split(factor=0.5, align=True)
414
+ c = split.column()
415
+ if rig["LRS"] == 0:
416
+ setting = c.operator("smoothstone.update_prop", text="Stretch", icon="LAYER_USED")
417
+ setting.thingToChange = "LRS"
418
+ else:
419
+ setting = c.operator("smoothstone.update_prop", text="Stretch", icon="LAYER_ACTIVE")
420
+ setting.thingToChange = "LRS"
421
+ c = split.column()
422
+ if rig["LLS"] == 0:
423
+ setting = c.operator("smoothstone.update_prop", text="Stretch", icon="LAYER_USED")
424
+ setting.thingToChange = "LLS"
425
+ else:
426
+ setting = c.operator("smoothstone.update_prop", text="Stretch", icon="LAYER_ACTIVE")
427
+ setting.thingToChange = "LLS"
428
+
429
+ # COSMETIC SETTINGS
430
+
431
+
432
+ class RigSettings2(bpy.types.Panel):
433
+ bl_label = "Cosmetic"
434
+ bl_idname= "PT_CosmeticSettings"
435
+ bl_space_type = "VIEW_3D"
436
+ bl_region_type = "UI"
437
+ bl_category = "SB V1"
438
+ bl_parent_id = "PT_RigSettings"
439
+
440
+ @classmethod
441
+ def poll(self, context):
442
+ rig = isRigSelected(context)
443
+ try:
444
+ return (rig.data.get("rig_id") == rig_id)
445
+ except (AttributeError, KeyError, TypeError):
446
+ return False
447
+
448
+ def draw(self, context):
449
+ layout = self.layout
450
+ col = layout.column
451
+ obj = context.object
452
+ rig = isRigSelected(context)
453
+ face = main_face(rig)
454
+ row = layout.row()
455
+
456
+ layout.scale_y=1.6
457
+ row.label(text= "Customization Settings", icon= 'TOOL_SETTINGS')
458
+
459
+
460
+ ### PASTE ME
461
+ # row = layout.row
462
+ # c = layout.column()
463
+ # row = c.row()
464
+ # split = row.split(factor=0.5, align=True)
465
+
466
+
467
+ class CustomizeFace(bpy.types.Panel):
468
+ bl_label = "Face"
469
+ bl_idname= "PT_CosmeticFace"
470
+ bl_space_type = "VIEW_3D"
471
+ bl_region_type = "UI"
472
+ bl_category = "SB V1"
473
+ bl_parent_id = "PT_CosmeticSettings"
474
+
475
+ @classmethod
476
+ def poll(self, context):
477
+ rig = isRigSelected(context)
478
+ try:
479
+ return (rig.data.get("rig_id") == rig_id)
480
+ except (AttributeError, KeyError, TypeError):
481
+ return False
482
+
483
+ def draw(self, context):
484
+ layout = self.layout
485
+ col = layout.column
486
+ obj = context.object
487
+ rig = isRigSelected(context)
488
+ face = main_face(rig)
489
+
490
+ layout.scale_y=1.5
491
+
492
+
493
+ ### PASTE ME
494
+ # row = layout.row
495
+ # c = layout.column()
496
+ # row = c.row()
497
+ # split = row.split(factor=0.5, align=True)
498
+
499
+ row = layout.row
500
+ c = layout.column()
501
+ row = c.row()
502
+ split = row.split(factor=0.5, align=True)
503
+ if rig["Eyelash"] == 0:
504
+ setting = c.operator("smoothstone.update_prop", text="Eyelashes", icon="LAYER_USED")
505
+ setting.thingToChange = "Eyelash"
506
+ else:
507
+ setting = c.operator("smoothstone.update_prop", text="Eyelashes", icon="LAYER_ACTIVE")
508
+ setting.thingToChange = "Eyelash"
509
+ c = layout.column()
510
+ c.prop(obj, "eyelashaddontype", text="Eyelash Details", slider=True)
511
+ c = layout.column()
512
+ row = c.row()
513
+ split = row.split(factor=0.5, align=True)
514
+ c.prop(obj, "Bevel_Mouth", text="Bevel Mouth", slider=True)
515
+ c = layout.column()
516
+ if rig["texture_deform"] == 0:
517
+ setting = c.operator("smoothstone.update_prop", text="Texture Deform", icon="LAYER_USED")
518
+ setting.thingToChange = "texture_deform"
519
+ else:
520
+ setting = c.operator("smoothstone.update_prop", text="Texture Deform", icon="LAYER_ACTIVE")
521
+ setting.thingToChange = "texture_deform"
522
+ c = layout.column()
523
+ if rig["dynamic_eyes"] == 0:
524
+ setting = c.operator("smoothstone.update_prop", text="Normal Eyes", icon="LAYER_USED")
525
+ setting.thingToChange = "dynamic_eyes"
526
+ else:
527
+ setting = c.operator("smoothstone.update_prop", text="Dynamic Eyes", icon="LAYER_ACTIVE")
528
+ setting.thingToChange = "dynamic_eyes"
529
+ row = layout.row
530
+ c = layout.column()
531
+ row = c.row()
532
+ split = row.split(factor=0.5, align=True)
533
+ c = split.column()
534
+ if rig["tongue"] == 0:
535
+ setting = c.operator("smoothstone.update_prop", text="Tongue", icon="LAYER_USED")
536
+ setting.thingToChange = "tongue"
537
+ else:
538
+ setting = c.operator("smoothstone.update_prop", text="Tongue", icon="LAYER_ACTIVE")
539
+ setting.thingToChange = "tongue"
540
+ c = split.column()
541
+ if rig["cartoonteeth"] == 0:
542
+ setting = c.operator("smoothstone.update_prop", text="Cartoon Teeth", icon="LAYER_USED")
543
+ setting.thingToChange = "cartoonteeth"
544
+ else:
545
+ setting = c.operator("smoothstone.update_prop", text="Cartoon Teeth", icon="LAYER_ACTIVE")
546
+ setting.thingToChange = "cartoonteeth"
547
+ row = layout.row
548
+ c = layout.column()
549
+ row = c.row()
550
+ split = row.split(factor=0.5, align=True)
551
+ c = split.column()
552
+ if rig["betterjaw"] == 0:
553
+ setting = c.operator("smoothstone.update_prop", text="Jaw", icon="LAYER_USED")
554
+ setting.thingToChange = "betterjaw"
555
+ else:
556
+ setting = c.operator("smoothstone.update_prop", text="Jaw", icon="LAYER_ACTIVE")
557
+ setting.thingToChange = "betterjaw"
558
+ c = split.column()
559
+ if rig["jaw3"] == 0:
560
+ setting = c.operator("smoothstone.update_prop", text="Round Jaw", icon="LAYER_USED")
561
+ setting.thingToChange = "jaw3"
562
+ else:
563
+ setting = c.operator("smoothstone.update_prop", text="Round Jaw", icon="LAYER_ACTIVE")
564
+ setting.thingToChange = "jaw3"
565
+ c = layout.column()
566
+ row = c.row()
567
+ split = row.split(factor=0.5, align=True)
568
+ c.prop(obj, "jaw_influence", text="Jaw Strength", slider=True)
569
+
570
+ class CustomizeFaceEmote(bpy.types.Panel):
571
+ bl_label = "Emotions"
572
+ bl_idname= "PT_CosmeticFaceEmote"
573
+ bl_space_type = "VIEW_3D"
574
+ bl_region_type = "UI"
575
+ bl_category = "SB V1"
576
+ bl_parent_id = "PT_CosmeticFace"
577
+
578
+ @classmethod
579
+ def poll(self, context):
580
+ rig = isRigSelected(context)
581
+ try:
582
+ return (rig.data.get("rig_id") == rig_id)
583
+ except (AttributeError, KeyError, TypeError):
584
+ return False
585
+
586
+ def draw(self, context):
587
+ layout = self.layout
588
+ col = layout.column
589
+ obj = context.object
590
+ rig = isRigSelected(context)
591
+ face = main_face(rig)
592
+
593
+ layout.scale_y=2
594
+
595
+
596
+ ### PASTE ME
597
+ # row = layout.row
598
+ # c = layout.column()
599
+ # row = c.row()
600
+ # split = row.split(factor=0.5, align=True)
601
+
602
+ # split c = split.column()
603
+
604
+ c = layout.column()
605
+ row = c.row()
606
+ split = row.split(factor=0.5, align=True)
607
+ if rig["disappointed"] == 0:
608
+ setting = c.operator("smoothstone.update_prop", text="Sick", icon="LAYER_USED")
609
+ setting.thingToChange = "disappointed"
610
+ else:
611
+ setting = c.operator("smoothstone.update_prop", text="Sick", icon="LAYER_ACTIVE")
612
+ setting.thingToChange = "disappointed"
613
+
614
+ row = layout.row
615
+ c = layout.column()
616
+ row = c.row()
617
+ split = row.split(factor=0.25, align=True)
618
+
619
+ c = split.column()
620
+ if rig["emotionR1"] == 0:
621
+ setting = c.operator("smoothstone.update_prop", text="Scared TR", icon="LAYER_USED")
622
+ setting.thingToChange = "emotionR1"
623
+ else:
624
+ setting = c.operator("smoothstone.update_prop", text="Scared TR", icon="LAYER_ACTIVE")
625
+ setting.thingToChange = "emotionR1"
626
+ c = split.column()
627
+ if rig["emotionR2"] == 0:
628
+ setting = c.operator("smoothstone.update_prop", text="Scared TL", icon="LAYER_USED")
629
+ setting.thingToChange = "emotionR2"
630
+ else:
631
+ setting = c.operator("smoothstone.update_prop", text="Scared TL", icon="LAYER_ACTIVE")
632
+ setting.thingToChange = "emotionR2"
633
+ c = split.column()
634
+ if rig["emotionL1"] == 0:
635
+ setting = c.operator("smoothstone.update_prop", text="Scared TR", icon="LAYER_USED")
636
+ setting.thingToChange = "emotionL1"
637
+ else:
638
+ setting = c.operator("smoothstone.update_prop", text="Scared TR", icon="LAYER_ACTIVE")
639
+ setting.thingToChange = "emotionL1"
640
+ c = split.column()
641
+ if rig["emotionL2"] == 0:
642
+ setting = c.operator("smoothstone.update_prop", text="Scared TL", icon="LAYER_USED")
643
+ setting.thingToChange = "emotionL2"
644
+ else:
645
+ setting = c.operator("smoothstone.update_prop", text="Scared TL", icon="LAYER_ACTIVE")
646
+ setting.thingToChange = "emotionL2"
647
+ c = layout.column()
648
+ row = c.row()
649
+ split = row.split(factor=0.5, align=True)
650
+ c = split.column()
651
+ if rig["emotionR6"] == 0:
652
+ setting = c.operator("smoothstone.update_prop", text="Shocked M", icon="LAYER_USED")
653
+ setting.thingToChange = "emotionR6"
654
+ else:
655
+ setting = c.operator("smoothstone.update_prop", text="Shocked M", icon="LAYER_ACTIVE")
656
+ setting.thingToChange = "emotionR6"
657
+ c = split.column()
658
+ if rig["emotionL6"] == 0:
659
+ setting = c.operator("smoothstone.update_prop", text="Shocked M", icon="LAYER_USED")
660
+ setting.thingToChange = "emotionL6"
661
+ else:
662
+ setting = c.operator("smoothstone.update_prop", text="Shocked M", icon="LAYER_ACTIVE")
663
+ setting.thingToChange = "emotionL6"
664
+ row = layout.row
665
+ c = layout.column()
666
+ row = c.row()
667
+ split = row.split(factor=0.25, align=True)
668
+ c = split.column()
669
+ if rig["emotionR4"] == 0:
670
+ setting = c.operator("smoothstone.update_prop", text="Scared BR", icon="LAYER_USED")
671
+ setting.thingToChange = "emotionR4"
672
+ else:
673
+ setting = c.operator("smoothstone.update_prop", text="Scared BR", icon="LAYER_ACTIVE")
674
+ setting.thingToChange = "emotionR4"
675
+ c = split.column()
676
+ if rig["emotionR3"] == 0:
677
+ setting = c.operator("smoothstone.update_prop", text="Tired BL", icon="LAYER_USED")
678
+ setting.thingToChange = "emotionR3"
679
+ else:
680
+ setting = c.operator("smoothstone.update_prop", text="Tired BL", icon="LAYER_ACTIVE")
681
+ setting.thingToChange = "emotionR3"
682
+ c = split.column()
683
+ if rig["emotionL4"] == 0:
684
+ setting = c.operator("smoothstone.update_prop", text="Tired BR", icon="LAYER_USED")
685
+ setting.thingToChange = "emotionL4"
686
+ else:
687
+ setting = c.operator("smoothstone.update_prop", text="Tired BR", icon="LAYER_ACTIVE")
688
+ setting.thingToChange = "emotionL4"
689
+ c = split.column()
690
+ if rig["emotionL3"] == 0:
691
+ setting = c.operator("smoothstone.update_prop", text="Scared BL", icon="LAYER_USED")
692
+ setting.thingToChange = "emotionL3"
693
+ else:
694
+ setting = c.operator("smoothstone.update_prop", text="Scared BL", icon="LAYER_ACTIVE")
695
+ setting.thingToChange = "emotionL3"
696
+
697
+
698
+ c = layout.column()
699
+ row = c.row()
700
+ split = row.split(factor=0.5, align=True)
701
+ c = split.column()
702
+ if rig["emotionR5"] == 0:
703
+ setting = c.operator("smoothstone.update_prop", text="Tired 2 BL", icon="LAYER_USED")
704
+ setting.thingToChange = "emotionR5"
705
+ else:
706
+ setting = c.operator("smoothstone.update_prop", text="Tired 2 BL", icon="LAYER_ACTIVE")
707
+ setting.thingToChange = "emotionR5"
708
+ c = split.column()
709
+ if rig["emotionL5"] == 0:
710
+ setting = c.operator("smoothstone.update_prop", text="Tired 2 BL", icon="LAYER_USED")
711
+ setting.thingToChange = "emotionL5"
712
+ else:
713
+ setting = c.operator("smoothstone.update_prop", text="Tired 2 BL", icon="LAYER_ACTIVE")
714
+ setting.thingToChange = "emotionL5"
715
+ c = layout.column()
716
+ row = c.row()
717
+ split = row.split(factor=0.5, align=True)
718
+ if rig["emotionblush"] == 0:
719
+ setting = c.operator("smoothstone.update_prop", text="Blush", icon="LAYER_USED")
720
+ setting.thingToChange = "emotionblush"
721
+ else:
722
+ setting = c.operator("smoothstone.update_prop", text="Blush", icon="LAYER_ACTIVE")
723
+ setting.thingToChange = "emotionblush"
724
+
725
+ c = layout.column()
726
+ row = c.row()
727
+ split = row.split(factor=0.5, align=True)
728
+ if rig["emotionangry"] == 0:
729
+ setting = c.operator("smoothstone.update_prop", text="Angry", icon="LAYER_USED")
730
+ setting.thingToChange = "emotionangry"
731
+ else:
732
+ setting = c.operator("smoothstone.update_prop", text="Angry", icon="LAYER_ACTIVE")
733
+ setting.thingToChange = "emotionangry"
734
+
735
+ class CustomizeBody(bpy.types.Panel):
736
+ bl_label = "Body"
737
+ bl_idname= "PT_CosmeticBody"
738
+ bl_space_type = "VIEW_3D"
739
+ bl_region_type = "UI"
740
+ bl_category = "SB V1"
741
+ bl_parent_id = "PT_CosmeticSettings"
742
+
743
+ @classmethod
744
+ def poll(self, context):
745
+ rig = isRigSelected(context)
746
+ try:
747
+ return (rig.data.get("rig_id") == rig_id)
748
+ except (AttributeError, KeyError, TypeError):
749
+ return False
750
+
751
+ def draw(self, context):
752
+ layout = self.layout
753
+ col = layout.column
754
+ obj = context.object
755
+ rig = isRigSelected(context)
756
+ face = main_face(rig)
757
+
758
+ layout.scale_y=1.5
759
+
760
+
761
+ row = layout.row
762
+ c = layout.column()
763
+ row = c.row()
764
+ split = row.split(factor=0.5, align=True)
765
+
766
+ if rig["Bevel"] == 0:
767
+ setting = c.operator("smoothstone.update_prop", text="Bevel", icon="LAYER_USED")
768
+ setting.thingToChange = "Bevel"
769
+ else:
770
+ setting = c.operator("smoothstone.update_prop", text="Bevel", icon="LAYER_ACTIVE")
771
+ setting.thingToChange = "Bevel"
772
+ c = layout.column()
773
+ c.prop(obj, "legdeform", text="Leg Deform", slider=True)
774
+ c = layout.column()
775
+ c.prop(obj, "upperbodywidth", text="Upper Body Width", slider=True)
776
+ c = layout.column()
777
+ row = c.row()
778
+ split = row.split(factor=0.5, align=True)
779
+ c = split.column()
780
+ c.prop(obj, "Hip", text="Hip", slider=True)
781
+ c = split.column()
782
+ c.prop(obj, "Breast", text="Chest", slider=True)
783
+ c = layout.column()
784
+ row = c.row()
785
+ if rig["smooth_bends"] == 0:
786
+ setting = c.operator("smoothstone.update_prop", text="Smooth Bends", icon="LAYER_USED")
787
+ setting.thingToChange = "smooth_bends"
788
+ else:
789
+ setting = c.operator("smoothstone.update_prop", text="Smooth Bends", icon="LAYER_ACTIVE")
790
+ setting.thingToChange = "smooth_bends"
791
+ c = layout.column()
792
+ if rig["dynamic_hair"] == 0:
793
+ setting = c.operator("smoothstone.update_prop", text="Dynamic Hair", icon="LAYER_USED")
794
+ setting.thingToChange = "dynamic_hair"
795
+ else:
796
+ setting = c.operator("smoothstone.update_prop", text="Dynamic Hair", icon="LAYER_ACTIVE")
797
+ setting.thingToChange = "dynamic_hair"
798
+
799
+
800
+ ### PASTE ME
801
+ # row = layout.row
802
+ # c = layout.column()
803
+ # row = c.row()
804
+ # split = row.split(factor=0.5, align=True)
805
+
806
+ class Materials(bpy.types.Panel):
807
+ bl_label = "Materials"
808
+ bl_idname= "PT_Materials"
809
+ bl_space_type = "VIEW_3D"
810
+ bl_region_type = "UI"
811
+ bl_category = "SB V1"
812
+ bl_parent_id = "PT_RigSettings"
813
+
814
+ @classmethod
815
+ def poll(self, context):
816
+ rig = isRigSelected(context)
817
+ try:
818
+ return (rig.data.get("rig_id") == rig_id)
819
+ except (AttributeError, KeyError, TypeError):
820
+ return False
821
+
822
+ def draw(self, context):
823
+ layout = self.layout
824
+ col = layout.column
825
+ obj = context.object
826
+ rig = isRigSelected(context)
827
+ face = main_face(rig)
828
+
829
+ layout.scale_y=1.5
830
+ row = layout.row()
831
+ row.label(text= "Skin Materials", icon= 'MATERIAL_DATA')
832
+ row = layout.row()
833
+ row = layout.row()
834
+ row.prop(face.material_slots[0].material.node_tree.nodes['color'].inputs[1], 'default_value', text="Auto SSS", slider=True)
835
+ row = layout.row()
836
+ row.prop(face.material_slots[0].material.node_tree.nodes['color'].inputs[3], 'default_value', text="Sensitivity", slider=True)
837
+ row = layout.row()
838
+ row.prop(face.material_slots[0].material.node_tree.nodes['color'].inputs[4], 'default_value', text="SSS", slider=True)
839
+ row = layout.row()
840
+ row.prop(face.material_slots[0].material.node_tree.nodes['color'].inputs[2], 'default_value', text="Skin Color", slider=True)
841
+ row = layout.row()
842
+ row.prop(face.material_slots[0].material.node_tree.nodes['color'].inputs[2], 'default_value', text="SSS Color", slider=True)
843
+ row = layout.row()
844
+
845
+
846
+ # DRAWING NODE TEST
847
+
848
+ def confirm_eyemat_group():
849
+ #reference to the nodegroup instance
850
+ for mat in bpy.data.materials:
851
+ #This gets only 'TestMat' material
852
+ if mat.name == 'Eyes':
853
+ # if
854
+ node_ref = mat.node_tree.nodes['Eyes']
855
+ return node_ref
856
+
857
+
858
+ class Eyematerial(bpy.types.Panel):
859
+ bl_label = "Face Materials"
860
+ bl_category = "SB V1"
861
+ bl_space_type = "VIEW_3D"
862
+ bl_region_type = "UI"
863
+ bl_idname= "PT_EyeMat"
864
+ bl_parent_id = "PT_Materials"
865
+
866
+ #replacement for the draw function of your panel:
867
+ def draw(self, context):
868
+ layout = self.layout
869
+ col = layout.column
870
+ obj = context.object
871
+ rig = isRigSelected(context)
872
+ face = main_face(rig)
873
+
874
+ layout.scale_y=1.5
875
+ row = layout.row()
876
+ # row.label(text= "Extra features temporarily disabled", icon= 'ERROR')
877
+ row = layout.row()
878
+ row.label(text= " Left Eye", icon= 'MATERIAL_DATA')
879
+ row.label(text= " Right Eye", icon= 'MATERIAL_DATA')
880
+ row = layout.row()
881
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[0], 'default_value', text="", slider=True)
882
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[3], 'default_value', text="", slider=True)
883
+ row = layout.row()
884
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[1], 'default_value', text="", slider=True)
885
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[4], 'default_value', text="", slider=True)
886
+ row = layout.row()
887
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[2], 'default_value', text="", slider=True)
888
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[5], 'default_value', text="", slider=True)
889
+ boxlayout = layout.box().column()
890
+ boxlayout.label(text= "Right Eye Gradient", icon= 'MATERIAL_DATA')
891
+ reg1 = face.material_slots[1].material.node_tree.nodes['Gradient Right']
892
+ boxlayout.template_color_ramp(reg1, "color_ramp", expand=True)
893
+ boxlayout = layout.box().column()
894
+ boxlayout.label(text= "Left Eye Gradient", icon= 'MATERIAL_DATA')
895
+ leg1 = face.material_slots[1].material.node_tree.nodes['Gradient Left']
896
+ boxlayout.template_color_ramp(leg1, "color_ramp", expand=True)
897
+ row = layout.row()
898
+ row.label(text= " Specular")
899
+ row.label(text= " Roughness")
900
+ row = layout.row()
901
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[6], 'default_value', text="", slider=True)
902
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[7], 'default_value', text="", slider=True)
903
+ row = layout.row()
904
+ row.prop(face.material_slots[1].material.node_tree.nodes['color'].inputs[8], 'default_value', text="Gradient Eyes", slider=True)
905
+ row = layout.row()
906
+ row.prop(obj, "eyetype", text="Eye Texture", slider=True)
907
+ row = layout.row()
908
+ row.prop(face.material_slots[2].material.node_tree.nodes['color'].inputs[0], 'default_value', text="Eyebrows", slider=True)
909
+ row = layout.row()
910
+ row.prop(face.material_slots[3].material.node_tree.nodes['color'].inputs[0], 'default_value', text="Eyewhites", slider=True)
911
+ row.prop(face.material_slots[3].material.node_tree.nodes['spec'].inputs[0], 'default_value', text="Specular", slider=True)
912
+ row = layout.row()
913
+ row.prop(face.material_slots[4].material.node_tree.nodes['color'].inputs[0], 'default_value', text="Tongue", slider=True)
914
+ row = layout.row()
915
+ row.prop(face.material_slots[5].material.node_tree.nodes['color'].inputs[0], 'default_value', text="Teeth", slider=True)
916
+ row = layout.row()
917
+ row.prop(face.material_slots[6].material.node_tree.nodes['color'].inputs[0], 'default_value', text="Eyelashes", slider=True)
918
+ row = layout.row()
919
+ row.prop(face.material_slots[7].material.node_tree.nodes['color'].inputs[0], 'default_value', text="Mouth", slider=True)
920
+ row = layout.row()
921
+ row.prop(face.material_slots[9].material.node_tree.nodes['color'].inputs[0], 'default_value', text="Expressions", slider=True)
922
+ row.prop(face.material_slots[9].material.node_tree.nodes['color'].inputs[19], 'default_value', text="Alpha", slider=True)
923
+ row = layout.row()
924
+ row.prop(face.material_slots[10].material.node_tree.nodes['color'].inputs[0], 'default_value', text="Anger", slider=True)
925
+ row = layout.row()
926
+ row.prop(face.material_slots[11].material.node_tree.nodes['color'].outputs[0], 'default_value', text="Sickness", slider=True)
927
+
928
+
929
+
930
+
931
+
932
+
933
+
934
+ def register():
935
+ bpy.utils.register_class(PropertiesPanel)
936
+ bpy.utils.register_class(BoneLayers)
937
+ bpy.utils.register_class(RigSettings)
938
+ bpy.utils.register_class(RigSettings1)
939
+ bpy.utils.register_class(RigSettings2)
940
+ bpy.utils.register_class(Materials)
941
+ bpy.utils.register_class(Eyematerial)
942
+ bpy.utils.register_class(updateProp)
943
+ bpy.utils.register_class(CustomizeFace)
944
+ bpy.utils.register_class(CustomizeFaceEmote)
945
+ bpy.utils.register_class(CustomizeBody)
946
+
947
+ def unregister():
948
+ bpy.utils.unregister_class(PropertiesPanel)
949
+ bpy.utils.unregister_class(BoneLayers)
950
+ bpy.utils.unregister_class(RigSettings)
951
+ bpy.utils.unregister_class(RigSettings1)
952
+ bpy.utils.unregister_class(RigSettings2)
953
+ bpy.utils.unregister_class(Materials)
954
+ bpy.utils.unregister_class(Eyematerial)
955
+ bpy.utils.unregister_class(updateProp)
956
+ bpy.utils.unregister_class(CustomizeFace)
957
+ bpy.utils.unregister_class(CustomizeFaceEmote)
958
+ bpy.utils.unregister_class(CustomizeBody)
959
+
960
+ if __name__== "__main__":
961
+ register()
Smooth_Stone_v1.1.0/textures/plain face.png ADDED

Git LFS Details

  • SHA256: 75e57a1214f1823a3f43628942dc6f63d5bf3d49b0a8d249659e9f4eee9a497f
  • Pointer size: 129 Bytes
  • Size of remote file: 2.52 kB
Thomas Animations Rig.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c8426ab423a663630fdb875040315b5c9edaa68c0f31ad554645cd45a5d288f
3
+ size 1836173
Thomas Animations Rig/Hair_Tutorial.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee773335df87b8452945f4bf8b697eb8455c943d9b7fb3fd35d3a82ea459b097
3
+ size 6825044
Thomas Animations Rig/ThomasAnimations_Rig.blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f239d60b2860d8a699500f5d1ca0d07d455bcee45f86b53b792130480bbb282b
3
+ size 6743172
Thomas Animations Rig/ThomasAnimations_Rig_NoArmor .blend ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f5dc5617f8671f91d9a7659737d9fb1cabe01f62f11412a85c4f7e12e1c6d86
3
+ size 5985088