Moved to: https://github.com/p2or/blender-batch-import-wavefront-obj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Houdini Python shelf tool for comparing node networks | |
# Prints changes in networks followed by changes in parameters | |
# Original Author: @jrockstad | |
# https://forums.odforce.net/topic/24410-compare-difference-between-two-networks/ | |
# Usage: Select first network, shift-select second network, launch tool | |
# ----------------------------------------------- | |
# Network comparison functions | |
# ----------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
C = bpy.context | |
scene = C.scene | |
# path to the blend | |
filepath = "C:\\Users\\poor\\Desktop\\assets.blend" | |
prefix = "RNDR" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# DO NOT EDIT THIS FILE | |
# This file was automatically generated by Natron PyPlug exporter version 10. | |
# Hand-written code should be added in a separate file named N_FlickerExt.py | |
# See http://natron.readthedocs.org/en/master/devel/groups.html#adding-hand-written-code-callbacks-etc | |
# Note that Viewers are never exported | |
import NatronEngine | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --------------------------------------------------------------------------- | |
* Custom CSS to reduce title bar size | |
* ------------------------------------------------------------------------- */ | |
/* shrink headerbars (don't forget semicolons after each property) */ | |
headerbar { | |
min-height: 0px; | |
padding-left: 2px; /* same as childrens vertical margins for nicer proportions */ | |
padding-right: 2px; | |
background-color: #2d2d2d; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nano ~/.bash_profile | |
export PATH=$PATH\:/opt/gaffer-0.54.1.0-linux/bin | |
export GAFFERCYCLES="/opt/gafferCycles/" | |
export GAFFER_EXTENSION_PATHS=$GAFFERCYCLES:$GAFFER_EXTENSION_PATHS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
custom_range = (0,10) | |
filename = "~/flipbook/flip_$F4.png" | |
cur_desktop = hou.ui.curDesktop() | |
scene = cur_desktop.paneTabOfType(hou.paneTabType.SceneViewer) | |
flip_options = scene.flipbookSettings().stash() | |
flip_options.frameRange(custom_range) | |
flip_options.output(filename) | |
scene.flipbook(scene.curViewport(), flip_options) |