Skip to content

Instantly share code, notes, and snippets.

View kohyuk91's full-sized avatar

kohyuk91

View GitHub Profile
# BSD 3-Clause License
#
# Copyright (c) 2019, Hyuk Ko.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
@kohyuk91
kohyuk91 / unbake.py
Last active December 10, 2019 01:13
"""
Usage
1. Select Camera
2. Select Object Point Group(s)
3. Run Script
"""
import maya.cmds as mc
selCamTrans = mc.ls(selection=True, long=True)[0]
#
#
# 3DE4.script.name: XZ Plane Flip
#
# 3DE4.script.version: v1.0
#
# 3DE4.script.gui: Orientation Controls::Edit::Align Multiple Points
#
# 3DE4.script.comment: Align multiple selected points to XZ Plane. The operation requieres at least 3 Points.
#
global proc shelf_Matchmove () {
global string $gBuffStr;
global string $gBuffStr0;
global string $gBuffStr1;
shelfButton
-enableCommandRepeat 1
-enable 1
-width 35
#
#
# 3DE4.script.name: Flip Tracking Direction
#
# 3DE4.script.version: v1.0
#
# 3DE4.script.comment: This tool will flip the tracking dirction of one selected point.
#
# 3DE4.script.gui: Manual Tracking Controls::View
import maya.cmds as mc
""" 로케이터 리스트 """
loc_list = mc.ls(selection=True) # [u'locator1', u'locator2', u'locator3']
for loc in loc_list:
""" 사각뿔 콘생성 """
polycone = mc.polyCone(subdivisionsAxis=4)[0]
# Name:
# easy_dewarp_reference_frames.py
#
# Author:
# Hyuk Ko ([email protected])
#
# Copyright (C) 2019 Hyuk Ko. All rights reserved.
#
#
# 3DE4.script.name: Easy Dewarp Reference Frames...
@kohyuk91
kohyuk91 / baker.py
Last active October 11, 2019 11:36
###############################################################################
# Name:
# baker.py
#
# Author:
# Hyuk Ko ([email protected])
#
# Copyright (C) 2019 Hyuk Ko. All rights reserved.
###############################################################################
// Copyright (C) 2000-2001 Michael Bazhutkin - Copyright (C) 2000 studio Klassika
// www.geocites.com/bazhutkin
// [email protected]
//
// Rivet (button) 1.0
// Script File
// MODIFY THIS AT YOUR OWN RISK
//
// Creation Date: April 13, 2001
//
# lookThruVisCam.py
#
# Author : HYUK KO / [email protected]
'''
import lookThruVisCam
lookThruVisCam.main("next")
'''
'''