File tree Expand file tree Collapse file tree 5 files changed +70
-0
lines changed
Expand file tree Collapse file tree 5 files changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "name" : " preditor" ,
3+ "version" : " 0.0.dev0" ,
4+ "environment" : {
5+ "append" : {
6+ "MAYA_MODULE_PATH" : " {relative_root}/maya" ,
7+ "ADSK_APPLICATION_PLUGINS" : " {relative_root}/studiomax"
8+ }
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <ApplicationPackage
3+ SchemaVersion =" 1.0"
4+ AutodeskProduct =" 3ds Max"
5+ ProductType =" Application"
6+ Name =" PrEditor"
7+ Description =" Initialize PrEditor inside 3ds Max."
8+ AppVersion =" 0.0.1"
9+ ProductCode =" {7b1e4ece-9a30-4afb-99ed-b9fb7c23e2f9}"
10+ UpgradeCode =" {2d245bb4-19cf-4f90-ae19-3ff006ed0f48}" >
11+ <CompanyDetails Name =" Blur Studio" Email =" opensource@blur.com" />
12+ <Components Description =" pre-start-up scripts parts" >
13+ <RuntimeRequirements OS =" Win64" Platform =" 3ds Max" SeriesMin =" 2025" SeriesMax =" 2025" />
14+ <ComponentEntry ModuleName =" ./preditor.ms" />
15+ </Components >
16+ <Components Description =" macroscripts parts" >
17+ <RuntimeRequirements OS =" Win64" Platform =" 3ds Max" SeriesMin =" 2025" SeriesMax =" 2025" />
18+ <ComponentEntry ModuleName =" ./PrEditor-PrEditor_Show.mcr" />
19+ </Components >
20+ <Components Description =" menu parts" >
21+ <RuntimeRequirements OS =" Win64" Platform =" 3ds Max" SeriesMin =" 2025" SeriesMax =" 2025" />
22+ <ComponentEntry ModuleName =" ./preditor_menu.mnx" />
23+ </Components >
24+ <Components Description =" light icon paths parts" >
25+ <RuntimeRequirements OS =" Win64" Platform =" 3ds Max" SeriesMin =" 2025" SeriesMax =" 2025" />
26+ <ComponentEntry AppName =" lighticons" Version =" 1.0.0" ModuleName =" ../../resource/img" />
27+ </Components >
28+ <Components Description =" dark icon paths parts" >
29+ <RuntimeRequirements OS =" Win64" Platform =" 3ds Max" SeriesMin =" 2025" SeriesMax =" 2025" />
30+ <ComponentEntry AppName =" darkicons" Version =" 1.0.0" ModuleName =" ../../resource/img" />
31+ </Components >
32+ </ApplicationPackage >
Original file line number Diff line number Diff line change 1+ macroScript PrEditor_Show
2+ category: " PrEditor"
3+ tooltip: " PrEditor..."
4+ IconName: " preditor.ico"
5+ (
6+ local preditor = python.import " preditor"
7+ preditor.launch()
8+ )
Original file line number Diff line number Diff line change 1+
2+ function configure_preditor = (
3+ local pysite = python.import " site"
4+ local preditor_install = getFilenamePath(getSourceFileName())
5+ -- TODO: Figure out how to point to the preditor venv
6+ pysite.addsitedir @"C:\blur\lib\py311qt60503\1\python\Lib\site-packages"
7+ -- print("Initializing Preditor")
8+ -- print(getFilenamePath(getSourceFileName()))
9+ local preditor = python.import " preditor"
10+ preditor.configure " studiomax"
11+ )
12+
13+ configure_preditor()
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <MaxMenuTransformations >
3+ <CreateMenuSeparator MenuId =" 658724ec-de09-47dd-b723-918c59a28ad1" Id =" 9cdc28de-9e70-471c-ae5c-d86e3b7fefba" BeforeId =" 4e206a37-f502-4fa8-ba0e-70dd427d507f" />
4+ <MoveItem DestinationId =" 658724ec-de09-47dd-b723-918c59a28ad1" ItemId =" 4e206a37-f502-4fa8-ba0e-70dd427d507f" />
5+ <CreateMenuAction MenuId =" 658724ec-de09-47dd-b723-918c59a28ad1" Id =" f243229b-f0f6-42b4-a94d-bebe9ef9777f" ActionId =" 647394-PrEditor_Show`PrEditor" />
6+ <MoveItem DestinationId =" 658724ec-de09-47dd-b723-918c59a28ad1" ItemId =" 9cdc28de-9e70-471c-ae5c-d86e3b7fefba" BeforeId =" f243229b-f0f6-42b4-a94d-bebe9ef9777f" />
7+ </MaxMenuTransformations >
You can’t perform that action at this time.
0 commit comments