Skip to content

Commit 3776338

Browse files
committed
Merged work (#836, #830 wip, #844)
2 parents ff6c22b + 251bbc4 commit 3776338

File tree

5 files changed

+1270
-0
lines changed

5 files changed

+1270
-0
lines changed

NetworkViewMenu.xml

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!--
4+
This file defines the menu items in the Houdini Network View pane.
5+
6+
Files named the same (ie. NetworkViewMenu.xml) can exist in
7+
$HOME/houdiniX.Y/ directory and will supplement the original definitions
8+
found in $HFS/houdini/ (aka $HH).
9+
10+
The format in this file is similar to the format in $HH/MainMenuMaster.
11+
See the comments in that file for more advanced customization abilities.
12+
13+
Note that the id's correspond to their hotkeys with the h. prefix. Please
14+
use ids that begin with playbar. when adding new items.
15+
16+
For scriptItem elements, a 'kwargs' python dictionary is provided with the
17+
following values:
18+
'parms' : A list of hou.Parm objects which the script was invoked
19+
upon.
20+
'toolname' : The menu item's hotkey id
21+
'altclick' : True if the Alt key was also pressed, False otherwise
22+
'ctrlclick' : True if the Ctrl key was also pressed, False otherwise
23+
'shiftclick' : True if the Shift key was also pressed, False otherwise
24+
'cmdclick' : True if the Option key was also pressed, False
25+
otherwise. Note that this can only be true on OSX.
26+
-->
27+
28+
<mainMenu>
29+
<menuBar>
30+
31+
<subMenu id = "qLib_network_view_menu">
32+
<modifyItem><insertBefore>help_menu</insertBefore></modifyItem>
33+
<label>qLib</label>
34+
35+
<subMenu id = "select_submenu">
36+
<label>Select (wip)</label>
37+
38+
<scriptItem id="pane.wsheet.select_all_of_same_type_ql">
39+
<label>All of Same Type</label>
40+
<scriptCode><![CDATA[
41+
hou.ui.displayMessage(str(kwargs))
42+
]]></scriptCode>
43+
</scriptItem>
44+
45+
<separatorItem />
46+
47+
<scriptItem id="pane.wsheet.select_bypassed_ql">
48+
<label>Bypassed</label>
49+
<scriptCode><![CDATA[
50+
hou.ui.displayMessage(str(kwargs))
51+
]]></scriptCode>
52+
</scriptItem>
53+
54+
<scriptItem id="pane.wsheet.select_non_bypassed_ql">
55+
<label>Non-Bypassed</label>
56+
<scriptCode><![CDATA[
57+
hou.ui.displayMessage(str(kwargs))
58+
]]></scriptCode>
59+
</scriptItem>
60+
61+
<separatorItem />
62+
63+
<scriptItem id="pane.wsheet.select_frozen_ql">
64+
<label>Frozen</label>
65+
<scriptCode><![CDATA[
66+
hou.ui.displayMessage(str(kwargs))
67+
]]></scriptCode>
68+
</scriptItem>
69+
70+
<scriptItem id="pane.wsheet.select_non_frozen_ql">
71+
<label>Non-Frozen</label>
72+
<scriptCode><![CDATA[
73+
hou.ui.displayMessage(str(kwargs))
74+
]]></scriptCode>
75+
</scriptItem>
76+
77+
<separatorItem />
78+
79+
<scriptItem id="pane.wsheet.select_subnetworks_ql">
80+
<label>Sub-Networks</label>
81+
<scriptCode><![CDATA[
82+
hou.ui.displayMessage(str(kwargs))
83+
]]></scriptCode>
84+
</scriptItem>
85+
86+
<scriptItem id="pane.wsheet.select_non_subnetworks_ql">
87+
<label>Non-SubNetworks</label>
88+
<scriptCode><![CDATA[
89+
hou.ui.displayMessage(str(kwargs))
90+
]]></scriptCode>
91+
</scriptItem>
92+
93+
<separatorItem />
94+
95+
<scriptItem id="pane.wsheet.select_hdas_ql">
96+
<label>All HDA Nodes</label>
97+
<scriptCode><![CDATA[
98+
hou.ui.displayMessage(str(kwargs))
99+
]]></scriptCode>
100+
</scriptItem>
101+
102+
<scriptItem id="pane.wsheet.select_unlocked_hdas_ql">
103+
<label>Unlocked HDAs</label>
104+
<scriptCode><![CDATA[
105+
hou.ui.displayMessage(str(kwargs))
106+
]]></scriptCode>
107+
</scriptItem>
108+
109+
<scriptItem id="pane.wsheet.select_locked_hdas_ql">
110+
<label>Locked HDAs</label>
111+
<scriptCode><![CDATA[
112+
hou.ui.displayMessage(str(kwargs))
113+
]]></scriptCode>
114+
</scriptItem>
115+
116+
</subMenu>
117+
118+
<separatorItem />
119+
120+
<scriptItem id="pane.wsheet.tmp_show_kwargs_ql">
121+
<label>debug: show kwargs [qL]</label>
122+
<scriptCode><![CDATA[
123+
hou.ui.displayMessage(str(kwargs))
124+
]]></scriptCode>
125+
</scriptItem>
126+
127+
</subMenu>
128+
129+
130+
</menuBar>
131+
</mainMenu>
Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
2+
#include "NodeGraphCommon.inc"
3+
4+
PaletteBackground: GREY(0.5)
5+
PaletteSelected: YELLOW
6+
ShapePaletteShape: GREY(0.2)
7+
8+
BackgroundImageLocate: WHITE
9+
BackgroundImageBorder: YELLOW
10+
BackgroundImageBrightness: YELLOW
11+
BackgroundImageLink: GREY(0.8)
12+
13+
GraphOverlayLeftText: 0.2 0.9 0.9
14+
GraphOverlayCenterText: 0.7 0.7 0.7
15+
GraphOverlayRightText: WHITE
16+
17+
GraphBackground: GREY(0.6)
18+
GraphOverviewBackground: GREY(0.50)
19+
GraphOverviewViewRegion: 0.5 0.3 0.5
20+
GraphOverviewBorder: GREY(0.3)
21+
GraphPromptText: GREY(0.1)
22+
GraphGridLines: GREY(0.12)
23+
GraphGridPoints: BLACK
24+
25+
GraphNameText: GREY(0.1)
26+
GraphNodeTypeText: GREY(0.4)
27+
GraphCommentText: #335559
28+
GraphDescriptiveNameText: #39526E
29+
GraphContextOptionDepsText: #6DB4BD
30+
GraphLopLastModifiedPrimText: #6DB4BD
31+
GraphLopLayerCountText: #6DB4BD
32+
GraphOutputForViewText: #6DB4BD
33+
GraphNetworkBoxText: WHITE
34+
GraphNetworkBoxTextDark: BLACK
35+
GraphNetworkBoxNameText: #76A8E1
36+
GraphIndirectText: WHITE
37+
GraphIndirectTextDark: BLACK
38+
39+
GraphItemBorder: BLACK
40+
GraphMinimizeButton: GREY(0.8)
41+
42+
GraphTemplateFlag: #DD7DD7
43+
GraphSelectableTemplateFlag: #B151BB
44+
GraphBypassFlag: #E7CD2F
45+
GraphRenderFlag: #A779FF
46+
GraphDisplayFlag: #308DFF
47+
GraphOutputFlag: 0.75 0.4 0.0
48+
GraphSelectableFlag: #ABEA21
49+
GraphExportFlag: #FFA600
50+
GraphHiddenFlag: #90BECD
51+
GraphAudioFlag: 0.0 0.5 0.5
52+
GraphThumbnailFlag: 0.35 0.6 0.2
53+
GraphLockFlag: #FF 33 00
54+
GraphSoftLockFlag: #C4 E3 61
55+
GraphDebugFlag: #6CC6B2
56+
GraphMaterialFlag: 0.75 0.4 0.0
57+
GraphDisplayAndRenderFlag: 0.00 0.68 0.94
58+
GraphDisplayAndOutputFlag: 0.75 0.45 0.36
59+
GraphFilterFlag: #55FFC1
60+
61+
GraphDisplayHighlight: #44679A
62+
GraphExportHighlight: #734670
63+
GraphRenderHighlight: #9273CB
64+
GraphOutputHighlight: #6B5634
65+
GraphTemplateHighlight: #734670
66+
GraphFilterHighlight: #298966
67+
68+
GraphDopObjectData: 0.65 0.65 0.65
69+
GraphDopData: 0.50 0.80 0.50
70+
GraphDopRelData: 0.20 0.60 0.20
71+
GraphDopSolverData: 0.7 0.5 0.9
72+
GraphDopAnyData: 0.9 0.9 0.9
73+
GraphSopHeightfield: 0.145 0.667 0.557
74+
GraphSopConstraints: 0.9 0.6 0.3
75+
76+
GraphConnector: #616D76
77+
GraphConnectorLabel: #616D76
78+
GraphConnectorError: #901000
79+
GraphCopMaskInput: 0.50 0.80 0.50
80+
GraphWire: #616D76
81+
GraphWireUnused: 0.24 0.24 0.24
82+
GraphWireError: RED
83+
GraphWireLoopBack: 0.3 0.3 1.0
84+
GraphWireSelection: #d0d000
85+
GraphWireNodeSelection: #800000
86+
GraphWireLongFaded: GREY(0.3)
87+
GraphWireLongerFaded: GREY(0.3)
88+
GraphWireStub: GREY(0.70)
89+
GraphWireStubSelection: YELLOW
90+
GraphWireCut: RED
91+
GraphWireCutPath: #802000
92+
GraphSpareWire: #5F 31 CC
93+
94+
GraphDependency: #EF8FA9
95+
GraphDependencyEndAffector: #668E4A
96+
GraphDependencyExternalIn: GREY(0.2)
97+
GraphDependencyExternalOut: GREY(0.1)
98+
99+
GraphPickFill: 0.9 0.9 0.9
100+
GraphPreSelection: 0.75 0.86 1.0
101+
GraphItemCurrent: #FFD400
102+
GraphItemCurrentNonSelected: #C89C9C
103+
GraphItemSelection: #EEF81C
104+
GraphItemSelectionContrast: BLACK
105+
GraphItemContentsSelection: #6E780C
106+
GraphSnapLine: #5C704D
107+
108+
GraphFlyoutBackgroundFlagOn: BLACK
109+
GraphFlyoutBackgroundFlagOff: BLACK
110+
GraphFlyoutEdgeFlagOff: GREY(0.3)
111+
GraphFlyoutInfo: GREY(0.1)
112+
GraphFlyoutWarning: 0.2 0.2 0.0
113+
GraphFlyoutError: 0.2 0.0 0.0
114+
115+
GraphDotPinAccent: GREY(0.3)
116+
117+
GraphCopPreviewBackground: GREY(0.1)
118+
GraphCopBottomButtonEnabled: GREY(0.1)
119+
120+
GraphVopConnectorGroupName: WHITE
121+
GraphVopConnectorBackground: GREY(0.25)
122+
GraphVopBottomButtonEnabled: GREY(0.1)
123+
GraphVopBottomButtonDisabled: GREY(0.6)
124+
125+
GraphShopConnectorBackground: GREY(0.1)
126+
127+
GraphSubnetShadow1: BLACK
128+
GraphSubnetShadowBlend1: 0.6
129+
GraphSubnetShadow2: WHITE
130+
GraphSubnetShadowBlend2: 0.3
131+
132+
GraphErrorBadgeDot: 1.00 0.00 0.00
133+
GraphWarningBadgeDot: 0.77 0.60 0.04
134+
GraphCommentBadgeDot: 0.15 0.67 0.64
135+
GraphNodeLockedBadgeDot: 1.00 0.35 0.43
136+
GraphNodeUnloadBadgeDot: 0.60 0.65 0.73
137+
GraphNodeHasDataBadgeDot: 0.45 0.75 0.45
138+
GraphNeedsCookBadgeDot: 0.97 0.91 0.11
139+
GraphHdaLockedBadgeDot: 0.43 0.47 0.48
140+
GraphHdaUnlockedBadgeDot: 0.98 0.49 0.55
141+
GraphTimeDependentBadgeDot: 0.72 0.91 0.53
142+
GraphVexCachedBadgeDot: #FF5AD2
143+
GraphVexCachableBadgeDot: #AA3E8C
144+
GraphNotCompilableBadgeDot: #E5B985
145+
GraphConstraintsBadgeDot: #97C473
146+
GraphKinematicsBadgeDot: #FF9370
147+
GraphHasTakeDataBadgeDot: #979797
148+
GraphNodeUnloadBadgeDot: #D19F9F
149+
GraphNodeHasDataBadgeDot: #9FABD1
150+
151+
GraphPdgProgressOutline: WHITE
152+
GraphPdgProgressPrecook: #324D59
153+
GraphPdgProgressCooking: #B8E986
154+
GraphPdgProgressCooked: #4D8C2f
155+
GraphPdgProgressWarning: #EBF802
156+
GraphPdgProgressError: WHITE
157+
GraphPdgProgressIncomplete: #5D8642
158+
159+
GraphPdgProgressErrorCircle: #D0021B
160+
GraphPdgProgressErrorFill: #730000
161+
GraphPdgProgressNormalFill: #232323
162+
163+
GraphPdgSummaryBackground: GREY(0.1)
164+
GraphPdgSummaryFilterOn: #FFD42A
165+
GraphPdgSummaryWorkItemCooked: GREY(0.9)
166+
GraphPdgSummaryWorkItemCooking: GREY(0.45)
167+
GraphTaskGraphWorkItemWaiting: GREY(0.45)
168+
GraphPdgSummaryWorkItemUncooked: GREY(0.45)
169+
GraphPdgSummaryWorkItemFailed: #FF0000
170+
GraphPdgSummaryWorkItemCancelled: #EBB502
171+
172+
GraphTaskGraphBackground: GREY(0.1)
173+
GraphTaskGraphBorder: GREY(0.7)
174+
GraphTaskGraphSeeMore: GREY(0.9)
175+
GraphTaskGraphWorkItemCooked: #529232
176+
GraphTaskGraphWorkItemCooking: #ADFF49
177+
GraphTaskGraphWorkItemWaiting: #354B60
178+
GraphTaskGraphWorkItemUncooked: GREY(0.45)
179+
GraphTaskGraphWorkItemFailed: #FF0000
180+
GraphTaskGraphWorkItemCancelled: #69511B
181+
GraphTaskGraphWorkItemSelected: #FFD42A
182+
GraphTaskGraphWorkItemHovered: #33EEFF
183+
GraphTaskGraphWorkItemAncestor: #99FF79
184+
GraphTaskGraphWorkItemDescendant: #2AFFCB
185+
GraphTaskGraphNormalWire: GREY(0.9)
186+
GraphTaskGraphMappedWire: #80FFA2
187+
GraphTaskGraphIndirectWire: #D9DD70
188+
189+
GraphTaskGraphWorkItemPerfFast: #316D09
190+
GraphTaskGraphWorkItemPerfMed: #E89904
191+
GraphTaskGraphWorkItemPerfSlow: #FF0909
192+
193+
GraphTopBottomButtonEnabled: GREY(0.1)
194+
GraphTopBottomButtonDisabled: GREY(0.6)

0 commit comments

Comments
 (0)