Skip to content

Instantly share code, notes, and snippets.

@Hoikohroh
Hoikohroh / Poly_SliceAxis_20170512.ms
Created May 12, 2017 08:48
Maxscript : Poly_SliceAxis
/*
Poly_SliceAxis
2017/5/12
Align the slice plane local or world xyz axis.
this script works only Editable_Poly or Edit_Poly Modifire.
this script works only when slice plane active.
*/
function change_Slice_Local theMod axis = (
@Hoikohroh
Hoikohroh / Slice_Axis_20170505.ms
Created May 5, 2017 06:08
Maxscript:Slice_Axis
/*
Slice Axis
2017/5/5
description
add SliceModifier and GUI
if button pressed , the SliceModifier's sliceplane rotate.
*/
@Hoikohroh
Hoikohroh / check_over4verts_001.ms
Created March 18, 2017 10:57
Maxscript: check_over4verts
/*
check_over4verts
2017/03/18
------------------------------------------------
Description
Confirm existence of Ngon.
How to use
Select the object and execute this script.
@Hoikohroh
Hoikohroh / XForm_TypeIn_English_001.ms
Created October 27, 2016 06:19
Maxscript:XForm TypeIn for English
/*
XForm TypeIn
for English
2016 10/27
v001
*/
-- functions
function AddXformMod obj =(
@Hoikohroh
Hoikohroh / XForm_TypeIn_Japanese_001.ms
Created October 27, 2016 06:18
Maxscript:XForm TypeIn for Japanese
/*
XForm TypeIn
for Japanese
2016 10/27
v001
*/
-- functions
function AddXformMod obj =(
@Hoikohroh
Hoikohroh / add_guids.jsx
Last active October 7, 2016 01:49
adobe photoshop script "add_guids.jsx"
/*
add guids v01
adobe photoshop script.
add guids active document.
*/
//UI Settings
var winObj = new Window ("dialog", "add guids", [0,0,260,220]);
var panel1 = winObj.add("panel",[20,20,120,120],"Horizontal");
@Hoikohroh
Hoikohroh / Export_png_v2.jsfl
Created April 2, 2016 01:25
Adobe Animate Script:Export_png_v2
/*
change Log
ver 2
remove publish all frames.
skip empty frame.
after publish, restore to original publish settings.
*/
@Hoikohroh
Hoikohroh / Export_png_001.jsfl
Created March 25, 2016 05:14
Adobe Animate Script:Export_png
fl.outputPanel.clear();
var doc = fl.getDocumentDOM();
var baseName = doc.name.slice(0, -4); //remove ".fla" from filename
var tl = doc.getTimeline();
var maxFL = 0;
var myXML = new XML(doc.exportPublishProfileString()); //Get publish settings as XML
//Change PublishFormatProperties
myXML.PublishFormatProperties.flash = 0;
@Hoikohroh
Hoikohroh / Timeline_back_Keyflame_my.jsfl
Last active February 19, 2016 14:17
Timeline_back_Keyflame_my
//概要
//https://forums.adobe.com/message/6077557
//上記スレッドで紹介されていたスクリプトの私家版
//
//変更点
//1:break入れてエラー対策
//2:フォルダ選択中にコマンド実行した際、フォルダ内の最上位レイヤーに実行
//
//履歴
//v1.0 2016/02/19
@Hoikohroh
Hoikohroh / Timeline_next_Keyflame_my.jsfl
Created February 19, 2016 14:16
Timeline_next_Keyflame_my
//概要
//https://forums.adobe.com/message/6077557
//上記スレッドで紹介されていたスクリプトの私家版
//
//変更点
//1:break入れてエラー対策
//2:フォルダ選択中にコマンド実行した際、フォルダ内の最上位レイヤーに実行
//
//履歴
//v1.0 2016/02/19