Skip to content

Commit

Permalink
BJs ToolBox v1.3
Browse files Browse the repository at this point in the history
first version on GitHub
  • Loading branch information
nicelifeBS committed Dec 28, 2013
1 parent 191dbeb commit 215842c
Show file tree
Hide file tree
Showing 10 changed files with 1,060 additions and 0 deletions.
21 changes: 21 additions & 0 deletions configs/BJS_Tools_palette.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<configuration>
<atom type="Attributes">
<hash type="Sheet" key="11851693841:sheet">
<atom type="Label">BJ's Tools</atom>
<atom type="Style">forcetabs</atom>
<atom type="Export">1</atom>
<atom type="Group">BJs_Tools</atom>
<list type="Control" val="sub 56836215643:sheet">
<atom type="Label">MARI Tools</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">56836215643:sheet</atom>
</list>
<list type="Control" val="sub 27723702610:sheet">
<atom type="Label">Thread Tools</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">27723702610:sheet</atom>
</list>
</hash>
</atom>
</configuration>
149 changes: 149 additions & 0 deletions configs/MARI_Tools.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
<?xml version="1.0"?>
<configuration>
<atom type="Attributes">
<hash type="Sheet" key="56836215643:sheet">
<atom type="Label">MARI Tools</atom>
<atom type="Export">0</atom>
<list type="Control" val="sub 06062216127:sheet">
<atom type="Label">Import</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">06062216127:sheet</atom>
</list>
<list type="Control" val="sub 85460216309:sheet">
<atom type="Label">Tools</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">85460216309:sheet</atom>
</list>
<list type="Control" val="sub 68981216109:sheet">
<atom type="Label">Options</atom>
<atom type="Hash">68981216109:sheet</atom>
</list>
<list type="Control" val="div ">
<atom type="Alignment">full</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">24242216782:control</atom>
</list>
</hash>
<hash type="Sheet" key="06062216127:sheet">
<atom type="Label">Import</atom>
<list type="Control" val="cmd user.value MARI_TOOLS_delimiter ?">
<atom type="Label">Delimiter</atom>
<atom type="Tooltip">The delimiter is used to find the UDMI in the filename. MARI default is &quot;.&quot;. E.g. DIFF.layer.1013.tif</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">52734614257:control</atom>
</list>
<list type="Control" val="cmd user.value MARI_TOOLS_filter_clips ?">
<atom type="BooleanStyle">checkmark</atom>
<atom type="Label">Ignore 8x8 Textures</atom>
<atom type="Tooltip">Delete images that are 8x8 pixels</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">85734215749:control</atom>
</list>
<list type="Control" val="cmd user.value MARI_TOOLS_gamma ?">
<atom type="BooleanStyle">checkmark</atom>
<atom type="Label">Gamma Correction</atom>
<atom type="Tooltip">if active gamma of textures is leveled</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">85734215749:control</atom>
</list>
<list type="Control" val="div ">
<atom type="Alignment">full</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">87730614291:control</atom>
</list>
<list type="Control" val="cmd @MARI_Tools.py loadFiles">
<atom type="Label">Import Textures</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">02933216073:control</atom>
</list>
</hash>
<hash type="Sheet" key="85460216309:sheet">
<atom type="Label">Tools</atom>
<atom type="Layout">vtoolbar</atom>
<atom type="IconMode">both</atom>
<atom type="IconSize">large</atom>
<list type="Control" val="cmd @MARI_Tools.py setUVoffset">
<atom type="Label">Set UV offset</atom>
<atom type="Tooltip">Sets the UV offset according to the selected clip name</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">78298216338:control</atom>
</list>
<list type="Control" val="cmd @MARI_Tools.py MARI_TOOLS_gammaCorrect">
<atom type="Label">Gamma Correct Selection</atom>
<atom type="Tooltip">Corrects gamma value of selected images</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">99260216663:control</atom>
</list>
<list type="Control" val="cmd @MARI_Tools.py sortSelection">
<atom type="Label">Sort Selection</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">39980216861:control</atom>
</list>
<list type="Control" val="cmd @reload_all">
<atom type="Label">Reload All Textures</atom>
<atom type="Enable">0</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">10284216883:control</atom>
</list>
<list type="Control" val="cmd @MARI_Tools.py createPolySets">
<atom type="Label">Create Selection Sets</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">42241317968:control</atom>
</list>
</hash>
<hash type="Sheet" key="68981216109:sheet">
<atom type="Label">Options</atom>
<atom type="StartCollapsed">1</atom>
<list type="Control" val="cmd user.value MARI_TOOLS_delimiter ?">
<atom type="Label">Delimiter</atom>
<atom type="Tooltip">The delimiter is used to find the UDMI in the filename. MARI default is &quot;.&quot;. E.g. DIFF.layer.1013.tif</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">41475216426:control</atom>
</list>
<list type="Control" val="cmd vertMap.list txuv ?">
<atom type="Label">UV Map</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">32639613735:control</atom>
</list>
<list type="Control" val="cmd user.value MARI_TOOLS_gammavalue ?">
<atom type="Label">Gamma Value</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">77976371124:control</atom>
</list>
</hash>
</atom>

<!-- USER VALUES-->
<atom type="UserValues">
<hash type="RawValue" key="MARI_TOOLS_gamma">true</hash>
<hash type="Definition" key="MARI_TOOLS_gamma">
<atom type="Type">boolean</atom>
</hash>
<hash type="RawValue" key="MARI_TOOLS_filter_clips">true</hash>
<hash type="Definition" key="MARI_TOOLS_filter_clips">
<atom type="Type">boolean</atom>
</hash>
<hash type="RawValue" key="MARI_TOOLS_gammavalue">0.4546</hash>
<hash type="Definition" key="MARI_TOOLS_gammavalue">
<atom type="Type">float</atom>
</hash>
<hash type="Definition" key="MARI_TOOLS_delimiter">
<atom type="Type">integer</atom>
<atom type="ArgType">MARI_TOOLS_delimiter-list</atom>
<atom type="StringList">option1;option2</atom>
</hash>
</atom>

<!--Argument Types-->
<atom type="CommandHelp">
<hash type="ArgumentType" key="MARI_TOOLS_delimiter-list@en_US">
<atom type="UserName">MARI TOOLS Delimiter Options</atom>
<hash type="Option" key="option1">
<atom type="UserName">Period "."</atom>
</hash>
<hash type="Option" key="option2">
<atom type="UserName">Underscore "_"</atom>
</hash>
</hash>
</atom>
</configuration>
92 changes: 92 additions & 0 deletions configs/Thread_Tools.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0"?>
<configuration>

<!-- UI -->
<atom type="Attributes">
<hash type="Sheet" key="27723702610:sheet">
<atom type="Label">Thread Tools</atom>
<atom type="Tooltip">Set diameter, side and number of threads then choose to create which thread type you want to create. The profile is currently not cusomizable!</atom>
<atom type="Desc">Creates threads automatically. User can choose to create inner or outer thread.</atom>
<atom type="IconMode">both</atom>
<atom type="IconSize">large</atom>
<list type="Control" val="sub 37896717548:sheet">
<atom type="Label">Settings</atom>
<atom type="Style">inline</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">37896717548:sheet</atom>
</list>
</hash>
<hash type="Sheet" key="37896717548:sheet">
<atom type="Label">Settings</atom>
<atom type="Style">inline</atom>
<list type="Control" val="cmd user.value thread_diameter ?">
<atom type="Label">Diameter</atom>
<atom type="Tooltip">Set diameter of thread</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">12351717978:control</atom>
</list>
<list type="Control" val="cmd user.value num_segments ?">
<atom type="Label">Sides</atom>
<atom type="Tooltip">Set sides for thread</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">43214702647:control</atom>
</list>
<list type="Control" val="cmd user.value num_threads ?">
<atom type="Label">Number of Steps</atom>
<atom type="Tooltip">Set how many steps you like. Basically the height of the thread.</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">50790700363:control</atom>
</list>
<list type="Control" val="div ">
<atom type="Alignment">full</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">02181717756:control</atom>
</list>
<list type="Control" val="sub 26272784711:sheet">
<atom type="Label">Create Threads</atom>
<atom type="Style">inline</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">26272784711:sheet</atom>
</list>
</hash>
<hash type="Sheet" key="26272784711:sheet">
<atom type="Label">Create Threads</atom>
<atom type="Style">inline</atom>
<atom type="Layout">htoolbar</atom>
<atom type="Justification">right</atom>
<atom type="IconMode">both</atom>
<atom type="IconSize">large</atom>
<list type="Control" val="cmd @CreateThreads.py innerThread">
<atom type="Label">Create Inner Threads</atom>
<atom type="Tooltip">Creates an inner thread</atom>
<atom type="IconImage">kit_BJsToolbox:icons/innerThread_btn.png</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">46672717392:control</atom>
</list>
<list type="Control" val="cmd @CreateThreads.py outerThread">
<atom type="Label">Create Outer Threads</atom>
<atom type="Tooltip">Creates an outer thread</atom>
<atom type="IconImage">kit_BJsToolbox:icons/outerThread_btn.png</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">26841784972:control</atom>
</list>
</hash>
</atom>

<!-- USER VALUES -->
<atom type="UserValues">
<hash type="RawValue" key="thread_diameter">0.02</hash>
<hash type="Definition" key="thread_diameter">
<atom type="Type">distance</atom>
</hash>
<hash type="RawValue" key="num_threads">5</hash>
<hash type="Definition" key="num_threads">
<atom type="Type">integer</atom>
</hash>
<hash type="RawValue" key="num_segments">12</hash>
<hash type="Definition" key="num_segments">
<atom type="Type">integer</atom>
</hash>
</atom>

</configuration>
Binary file added icons/BJsToolbox_btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/innerThread_btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/outerThread_btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions index.CFG
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0"?>
<configuration kit="BJsToolbox" version="1.3">
<import>kit_BJsToolbox:</import>
<import>scripts</import>
<import>configs</import>
<import>icons</import>

<!-- LAYOUT -->
<atom type="Frame">
<hash type="Layout" key="edit.BJsToolbox_layout" val="applicationLayout">
<atom type="IdealSize">255 390</atom>
<list type="Port">attrform 0 1 0 1 BJsToolbox_layout_vp0</list>
<atom type="PostRestoreCommand"></atom>
<atom type="Icon"></atom>
</hash>
<hash type="Layout" key="base.BJsToolbox_layout" val="applicationLayout">
<atom type="IdealSize">170 180</atom>
<list type="Port">attrform 0 1 0 1 BJsToolbox_layout_vp0</list>
</hash>
<hash type="attrform" key="base.BJsToolbox_layout_vp0" val="1">
<list type="ExportedSheet">11851693841:sheet</list> <!-- Hash key from palette -->
<atom type="TrackFormEdSelection">0</atom>
<atom type="PreviousTabHash"></atom>
<atom type="Cookie">64059337038:StartCollapsed</atom>
<atom type="ViewportLock2">0 0</atom>
<atom type="MinHeader">1</atom>
<atom type="QuadLock">0</atom>
<atom type="ViewportTitle">BJ's Toolbox</atom>
<atom type="ViewportClass">vpapplication</atom>
</hash>
</atom>
<!-- BUTTON -->
<atom type="Attributes">
<hash type="Sheet" key="45199745472:sheet">
<atom type="Label">BJ's Toolbox Button</atom>
<atom type="Style">inline</atom>
<atom type="Layout">htoolbar</atom>
<atom type="Justification">left</atom>
<atom type="IconMode">icon</atom>
<atom type="IconSize">small</atom>
<hash type="InCategory" key="modoModesTail#tail">
<atom type="Ordinal">124</atom>
</hash>
<list type="Control" val="cmd layout.createOrClose cookie:BJsToolbox_cookie layout:BJsToolbox_layout title:&quot;BJs Toolbox&quot; width:322 height:320 persistent:1 style:palette">
<atom type="Label">BJ's Toolbox</atom>
<atom type="IconImage">kit_BJsToolbox:icons/BJsToolbox_btn.png</atom>
<atom type="StartCollapsed">0</atom>
<atom type="Hash">55377745542:control</atom>
</list>
</hash>
</atom>
</configuration>
Loading

0 comments on commit 215842c

Please sign in to comment.