This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
693 additions
and
5,754 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.vscode | ||
*.pyc | ||
egLib.code-workspace |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) 2020 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,78 @@ | ||
# egLib | ||
|
||
A collection of scripts for SideFx Houdini - free for all purposes - no selling/reselling | ||
|
||
### Features: | ||
|
||
#### Provided Scripts | ||
This library provides a set of Scripts: | ||
|
||
- autofocus.py - does as it says | ||
- connectPoints.py - connects polyPoints | ||
- flipBook.py - makes a Flipbook from the current camera without croppin/scaling | ||
- hide.py - toggles hide afrom selected nodes from viewport | ||
- IN.py - Green Null with handy rename panel provided; appends to selected node (SOP), shortcut recommended | ||
- incrSave.py - save with date, name, version - iterates version(if necessary also date) on each save | ||
- makePlanarX.py - Flattens pointSelection in World X | ||
- makePlanarY.py - Flattens pointSelection in World Y | ||
- makePlanarZ.py - Flattens pointSelection in World Z | ||
- makeQCam.py - make a cam with QFrustum and QRig - needs qLib | ||
- measure.py - make a measure node from selected objects - if non selected create nulls instead | ||
- merge.py - merge selected with merge node (SOP) - Shortcut highly recommended (M works fine) | ||
- multiImporter.py - import multiple files (.bgeo, .abc, .fbx,...) into OBJ - Creates a OBJ_node with names for each selected file | ||
- out.py - Black Null with handy rename panel provided; appends to selected node (SOP); shortcut recommended | ||
- replaceString.py - search ALL nodes in the scene for all string-parms and replace a string if found | ||
- resetTrans.py - reset Transforms to zero (Components selectable) - OBJ | ||
- trajectory.py - create a visible trajectory for the selected object (OBJ) - needs Qlib installed | ||
- align.py - matches transform of 2 nodes in OBJ | ||
|
||
#### Provided HDAs | ||
|
||
- HexGrid - Creates a Hexagonal Grid | ||
- PolyCapFix - Fixes Holes | ||
- VolumeDisplacement.hdalc - Does VolumeDisplacement | ||
- VoronoiTransform.hdalc - Breaks things and Transforms Pieces | ||
- AtomArray.hdalc - As it says | ||
A collection of scripts for SideFx Houdini | ||
|
||
## Provided Scripts | ||
|
||
- align - Aligns Nodes to each other - based on transforms | ||
- autofocus - does as it says | ||
- flipBook - makes a Flipbook from the current camera without croppin/scaling | ||
- hide- toggles hide afrom selected nodes from viewport | ||
- in - Green Null with handy rename panel provided; appends to selected node (SOP), shortcut recommended | ||
- incrSave- save with date, name, version - iterates version(if necessary also date) on each save | ||
- isolate - isolates the selection - (hides everything else) | ||
- makePlanarX - Flattens pointSelection in World X | ||
- makePlanarY - Flattens pointSelection in World Y | ||
- makePlanarZ - Flattens pointSelection in World Z | ||
- makeQCam - make a cam with QFrustum and QRig - needs qLib | ||
- measure - make a measure node from selected objects - if non selected create nulls instead | ||
- merge - merge selected with merge node (SOP) - Shortcut highly recommended (M works fine) | ||
- multiImporter - import multiple files (.bgeo, .abc, .fbx,...) into OBJ - Creates a OBJ_node with names for each selected file | ||
- out - Black Null with handy rename panel provided; appends to selected node (SOP); shortcut recommended | ||
- replaceString - search ALL nodes in the scene for all string-parms and replace a string if found | ||
- resetTrans - reset Transforms to zero (Components selectable) - OBJ | ||
- showAll - unhides all Nodes in the secene | ||
- trajectory - create a visible trajectory for the selected object (OBJ) - needs Qlib installed | ||
|
||
## Provided HDAs | ||
|
||
- AtomArray.hdalc - As know from other DCCs | ||
- AutoUV_LowToHigh.hdalc - AutoUVs the LowRes Object and transfers UVs from Low to HighPoly - (SideFx)GameDev Logic inside | ||
- compressvdb.hdalc - save space with vdbs | ||
- compressvolume.hdalc - save space with vdbs | ||
- compressvolume.hdalc - save space with volumes | ||
- DeleteOutsidePieces.hdalc - delete pieces which are not on the inside | ||
- DigitalGrowth2D.hdalc - Line-Growth Solver | ||
- EdgeDisplacement.hdalc - EdgeDisplacement (PolyEdges) | ||
- LineGlow.hdalc - Shader | ||
- MacBethMantra.hdalc - a MacBethChart for Mantra | ||
- MacBethMantra.hdalc - a MacBethChart for Redshift | ||
- MoGraph_Shader - MoGraphStuff as known from other tools | ||
- MoGraph_Step - MoGraphStuff as known from other tools | ||
- MoGraph_Target - MoGraphStuff as known from other tools | ||
- EdgeDisplacement.hdalc - Displaces Edges | ||
- HexGrid - Creates a Flat Hexagonal Grid | ||
- Mograph_Displace.hda - MoGraphStuff as known from other tools | ||
- Mograph_Plain.hda - MoGraphStuff as known from other tools | ||
- Mograph_Random.hda - MoGraphStuff as known from other tools | ||
- AutoUV_LowToHigh.hdalc - AutoUVs the LowRes Object and transfers UVs from Low to HighPoly - (SideFx)GameDev Logic inside | ||
|
||
- MoGraph_Shader - MoGraphStuff as known from other tools | ||
- MoGraph_Step - MoGraphStuff as known from other tools | ||
- MoGraph_Target - MoGraphStuff as known from other tools | ||
- PolyCapFix - Fixes Holes | ||
- SmoothGeo - Smoothing of Geometry in a few different ways | ||
- VolumeDisplacement.hdalc - Does VolumeDisplacement (in SOP/VOPs on VDBs) | ||
- VoronoiTransform.hdalc - Breaks things and Transforms Pieces | ||
|
||
### additional Infos | ||
## additional Infos | ||
|
||
- Toolbar provided | ||
- Icons may follow | ||
- Tested on 17.5.360 | ||
- If you find any bugs, have suggestions or anything else please contact me via Twitter or per Mail | ||
- please check out my other Repos as well - they might be handy to you | ||
- easy Usage a provided shelf | ||
- provides error messages if required Libraries are missing | ||
- easy Install via Packages Workflow - see more below | ||
- Tested on Houdini 18.0.391 | ||
- Tested on Windows 10 and Linux (Ubuntu 19.10) | ||
- Open Source - Feel free to branch or fork | ||
|
||
## Installation: | ||
|
||
### Installation: | ||
Copy the Provided egLib.json to your houdini user Directory within the packages folder: | ||
|
||
Append egLib to Houdini Python path or add to 123.py or 456.py | ||
```/home/<user>/houdini18.0/packages``` | ||
|
||
``` | ||
import sys | ||
sys.path.append("<PathToLib>\scripts") | ||
``` | ||
Change the below line according to where you downloaded the git-Repository: | ||
|
||
For enabling the HDAs your Houdini.env needs to be extended (add this line to your houdini.env): | ||
```"EGLIB": "/home/elmar/git/egLib"``` | ||
|
||
``` | ||
HOUDINI_OTLSCAN_PATH=$HOUDINI_OTLSCAN_PATH;<PathToLib>\otls;& | ||
``` | ||
|
||
### Notes: | ||
## Notes: | ||
|
||
All of the scripts are free of charge for free use, commercial or non commercial whatsoever. Individual Licenses are added to each file as some of these are based on work done by other devs and shall be included in branches, adaptions of this scripts. Anyone is allowed to modify, develop, change the files for his/her purpose. | ||
All of the scripts are free of charge for free use, commercial or non commercial whatsoever. | ||
|
||
The Scripts in the scripts Folder shall be added as tools to a custom Toolbar. Linking them with some keyboard shortcuts is recommended. | ||
## Contact/Issues/Features/Questions | ||
|
||
If you find any bugs, have suggestions or anything else please open Issues or contact me via twitter or mail. Please check out my other Repos as well, they might be handy to you. | ||
|
||
### Contact/Issues/Features/Questions | ||
|
||
If you find any bugs, have suggestions or anything else please contact me via Twitter or per Mail. Please check out my other Repos as well, they might be handy to you. For any questions and/or improvement suggestions just contact me via twitter or mail.<br> | ||
Twitter: @eglaubauf <br> | ||
Web: www.elmar-glaubauf.at |
Oops, something went wrong.