Skip to content

Commit bdd428c

Browse files
pandaGaumebghgary
andauthored
Add support fo Maya 2023 plugin (#1053)
* Add of Maya 2023 * Update Maya/Properties/AssemblyInfo.cs Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com> Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com>
1 parent 8d9acc3 commit bdd428c

File tree

4 files changed

+220
-9
lines changed

4 files changed

+220
-9
lines changed

Maya/Maya2Babylon.sln

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
<<<<<<< Updated upstream
43

5-
# Visual Studio 15
6-
VisualStudioVersion = 15.0.26730.12
7-
8-
=======
94
# Visual Studio Version 16
105
VisualStudioVersion = 16.0.31613.86
11-
>>>>>>> Stashed changes
126
MinimumVisualStudioVersion = 10.0.40219.1
137
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maya2Babylon2017", "Maya2Babylon2017.csproj", "{50780553-6248-463B-A0F3-F82C6CCEC703}"
148
EndProject
@@ -28,9 +22,16 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maya2Babylon2020", "Maya2Ba
2822
EndProject
2923
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maya2Babylon2022", "Maya2Babylon2022.csproj", "{CCCE1B88-0BB5-4D0C-BD2F-3E9F6E7DF180}"
3024
EndProject
25+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maya2Babylon2023", "Maya2Babylon2023.csproj", "{074CCED5-52D1-4CB3-94D8-B8B117D452E1}"
26+
EndProject
3127
Global
3228
GlobalSection(SharedMSBuildProjectFiles) = preSolution
3329
..\SharedProjects\GltfExport.Entities\GltfExport.Entities.projitems*{00356433-4277-48bb-ac33-92d3c47fe28b}*SharedItemsImports = 13
30+
..\SharedProjects\Babylon2GLTF\Babylon2GLTF.projitems*{074cced5-52d1-4cb3-94d8-b8b117d452e1}*SharedItemsImports = 4
31+
..\SharedProjects\BabylonExport.Entities\BabylonExport.Entities.projitems*{074cced5-52d1-4cb3-94d8-b8b117d452e1}*SharedItemsImports = 4
32+
..\SharedProjects\BabylonFileConverter\BabylonFileConverter.projitems*{074cced5-52d1-4cb3-94d8-b8b117d452e1}*SharedItemsImports = 4
33+
..\SharedProjects\GltfExport.Entities\GltfExport.Entities.projitems*{074cced5-52d1-4cb3-94d8-b8b117d452e1}*SharedItemsImports = 4
34+
..\SharedProjects\Utilities\Extensions.projitems*{074cced5-52d1-4cb3-94d8-b8b117d452e1}*SharedItemsImports = 4
3435
..\SharedProjects\Babylon2GLTF\Babylon2GLTF.projitems*{0ac46a8e-8c0d-4ebe-b64a-4cc274e0ff38}*SharedItemsImports = 4
3536
..\SharedProjects\BabylonExport.Entities\BabylonExport.Entities.projitems*{0ac46a8e-8c0d-4ebe-b64a-4cc274e0ff38}*SharedItemsImports = 4
3637
..\SharedProjects\BabylonFileConverter\BabylonFileConverter.projitems*{0ac46a8e-8c0d-4ebe-b64a-4cc274e0ff38}*SharedItemsImports = 4
@@ -77,6 +78,10 @@ Global
7778
{CCCE1B88-0BB5-4D0C-BD2F-3E9F6E7DF180}.Debug|Any CPU.Build.0 = Debug|Any CPU
7879
{CCCE1B88-0BB5-4D0C-BD2F-3E9F6E7DF180}.Release|Any CPU.ActiveCfg = Release|Any CPU
7980
{CCCE1B88-0BB5-4D0C-BD2F-3E9F6E7DF180}.Release|Any CPU.Build.0 = Release|Any CPU
81+
{074CCED5-52D1-4CB3-94D8-B8B117D452E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
82+
{074CCED5-52D1-4CB3-94D8-B8B117D452E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
83+
{074CCED5-52D1-4CB3-94D8-B8B117D452E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
84+
{074CCED5-52D1-4CB3-94D8-B8B117D452E1}.Release|Any CPU.Build.0 = Release|Any CPU
8085
EndGlobalSection
8186
GlobalSection(SolutionProperties) = preSolution
8287
HideSolutionNode = FALSE

Maya/Maya2Babylon2023.csproj

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{074CCED5-52D1-4CB3-94D8-B8B117D452E1}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>Maya2Babylon</RootNamespace>
11+
<AssemblyName>Maya2Babylon</AssemblyName>
12+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<TargetFrameworkProfile />
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>TRACE;DEBUG;MAYA2023</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
<PlatformTarget>AnyCPU</PlatformTarget>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>bin\Release\2023\</OutputPath>
30+
<DefineConstants>TRACE</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
<PlatformTarget>x64</PlatformTarget>
34+
</PropertyGroup>
35+
<ItemGroup>
36+
<Reference Include="GDImageLibrary">
37+
<HintPath>Refs\GDImageLibrary.dll</HintPath>
38+
</Reference>
39+
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
40+
<SpecificVersion>False</SpecificVersion>
41+
<HintPath>Refs\Newtonsoft.Json.dll</HintPath>
42+
</Reference>
43+
<Reference Include="openmayacs">
44+
<HintPath>Refs\2023\openmayacs.dll</HintPath>
45+
<Private>False</Private>
46+
</Reference>
47+
<Reference Include="System" />
48+
<Reference Include="System.Core" />
49+
<Reference Include="System.Drawing" />
50+
<Reference Include="System.Runtime.Serialization" />
51+
<Reference Include="System.Web" />
52+
<Reference Include="System.Windows.Forms" />
53+
<Reference Include="System.Xml.Linq" />
54+
<Reference Include="System.Data.DataSetExtensions" />
55+
<Reference Include="Microsoft.CSharp" />
56+
<Reference Include="System.Data" />
57+
<Reference Include="System.Net.Http" />
58+
<Reference Include="System.Xml" />
59+
<Reference Include="TargaImage">
60+
<HintPath>Refs\TargaImage.dll</HintPath>
61+
</Reference>
62+
<Reference Include="TQ.Texture">
63+
<HintPath>Refs\TQ.Texture.dll</HintPath>
64+
</Reference>
65+
</ItemGroup>
66+
<ItemGroup>
67+
<Compile Include="BabylonExportActionItem.cs" />
68+
<Compile Include="Exporter\BabylonExporter.CustomAttributes.cs" />
69+
<Compile Include="Exporter\BabylonExporter.Material.Optimiser.cs" />
70+
<Compile Include="Exporter\BabylonExporter.Camera.cs" />
71+
<Compile Include="Exporter\BabylonExporter.Light.cs" />
72+
<Compile Include="Exporter\BabylonExporter.Material.cs" />
73+
<Compile Include="Exporter\BabylonExporter.Animation.cs" />
74+
<Compile Include="Exporter\BabylonExporter.Mesh.cs" />
75+
<Compile Include="Exporter\BabylonExporter.Node.cs" />
76+
<Compile Include="Exporter\BabylonExporter.Skeleton.cs" />
77+
<Compile Include="Exporter\BabylonExporter.Texture.cs" />
78+
<Compile Include="Exporter\BabylonExporter.Writer.cs" />
79+
<Compile Include="Exporter\BabylonExporter.Logger.cs" />
80+
<Compile Include="Exporter\BabylonExporter.cs" />
81+
<Compile Include="Exporter\AnimationGroup.cs" />
82+
<Compile Include="Exporter\GlobalVertex.cs" />
83+
<Compile Include="Exporter\GLTFGlobalVertex.cs" />
84+
<Compile Include="Exporter\BabylonExporter.Material.Duplication.cs" />
85+
<Compile Include="Exporter\MaterialDuplicationData.cs" />
86+
<Compile Include="Exporter\PluginNodes\babylonAiStandardSurfaceMaterialNode.cs" />
87+
<Compile Include="Exporter\PluginNodes\babylonMaterialNodeBase.cs" />
88+
<Compile Include="Exporter\PluginNodes\babylonMPxNode.cs" />
89+
<Compile Include="Exporter\PluginNodes\babylonStandardMaterialNode.cs" />
90+
<Compile Include="Exporter\PluginNodes\babylonStingrayPBSMaterialNode.cs" />
91+
<Compile Include="Extensions\ColorExtension.cs" />
92+
<Compile Include="Extensions\MColorExtension.cs" />
93+
<Compile Include="Extensions\MFloatVectorExtension.cs" />
94+
<Compile Include="Extensions\MFloatPointExtension.cs" />
95+
<Compile Include="Extensions\MFnDependencyNodeExtension.cs" />
96+
<Compile Include="Extensions\MMatrixExtension.cs" />
97+
<Compile Include="Extensions\MPlugExtension.cs" />
98+
<Compile Include="Extensions\MPointExtension.cs" />
99+
<Compile Include="Extensions\MVectorExtension.cs" />
100+
<Compile Include="Extensions\MTransformationMatrixExtension.cs" />
101+
<Compile Include="Forms\ExporterForm.cs">
102+
<SubType>Form</SubType>
103+
</Compile>
104+
<Compile Include="Forms\ExporterForm.Designer.cs">
105+
<DependentUpon>ExporterForm.cs</DependentUpon>
106+
</Compile>
107+
<Compile Include="Exporter\GLTFBufferService.cs" />
108+
<Compile Include="Forms\AnimationForm.cs">
109+
<SubType>Form</SubType>
110+
</Compile>
111+
<Compile Include="Forms\AnimationForm.Designer.cs">
112+
<DependentUpon>AnimationForm.cs</DependentUpon>
113+
</Compile>
114+
<Compile Include="Forms\AnimationGroupControl.cs">
115+
<SubType>UserControl</SubType>
116+
</Compile>
117+
<Compile Include="Forms\AnimationGroupControl.Designer.cs">
118+
<DependentUpon>AnimationGroupControl.cs</DependentUpon>
119+
</Compile>
120+
<Compile Include="Loader.cs" />
121+
<Compile Include="MayaPlugin.cs" />
122+
<Compile Include="Properties\AssemblyInfo.cs" />
123+
<Compile Include="Properties\Resources.Designer.cs">
124+
<AutoGen>True</AutoGen>
125+
<DesignTime>True</DesignTime>
126+
<DependentUpon>Resources.resx</DependentUpon>
127+
</Compile>
128+
<Compile Include="Tools\Tools.cs" />
129+
<Compile Include="Tools\WebServer.cs" />
130+
</ItemGroup>
131+
<ItemGroup>
132+
<Folder Include="Refs\" />
133+
</ItemGroup>
134+
<ItemGroup>
135+
<WCFMetadata Include="Connected Services\" />
136+
</ItemGroup>
137+
<ItemGroup>
138+
<EmbeddedResource Include="Forms\AnimationForm.resx">
139+
<DependentUpon>AnimationForm.cs</DependentUpon>
140+
</EmbeddedResource>
141+
<EmbeddedResource Include="Forms\AnimationGroupControl.resx">
142+
<DependentUpon>AnimationGroupControl.cs</DependentUpon>
143+
</EmbeddedResource>
144+
<EmbeddedResource Include="Forms\ExporterForm.resx">
145+
<DependentUpon>ExporterForm.cs</DependentUpon>
146+
</EmbeddedResource>
147+
<EmbeddedResource Include="Properties\Resources.resx">
148+
<Generator>ResXFileCodeGenerator</Generator>
149+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
150+
<SubType>Designer</SubType>
151+
</EmbeddedResource>
152+
</ItemGroup>
153+
<ItemGroup>
154+
<None Include="Resources\maya_exporter_logo.jpg" />
155+
</ItemGroup>
156+
<ItemGroup>
157+
<None Include="Resources\MayaExporter.png" />
158+
</ItemGroup>
159+
<Import Project="..\SharedProjects\BabylonFileConverter\BabylonFileConverter.projitems" Label="Shared" />
160+
<Import Project="..\SharedProjects\GltfExport.Entities\GltfExport.Entities.projitems" Label="Shared" />
161+
<Import Project="..\SharedProjects\Utilities\Extensions.projitems" Label="Shared" />
162+
<Import Project="..\SharedProjects\Babylon2GLTF\Babylon2GLTF.projitems" Label="Shared" />
163+
<Import Project="..\SharedProjects\BabylonExport.Entities\BabylonExport.Entities.projitems" Label="Shared" />
164+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
165+
<PropertyGroup>
166+
<PostBuildEvent>setlocal enabledelayedexpansion
167+
168+
SET configurationName=$(ConfigurationName)
169+
ECHO %25configurationName%25
170+
171+
if not exist "$(SolutionDir)assemblies" mkdir "$(SolutionDir)assemblies"
172+
if not exist "$(SolutionDir)assemblies\2023" mkdir "$(SolutionDir)assemblies\2023"
173+
copy "$(TargetDir)*.dll" "$(SolutionDir)assemblies\2023\"
174+
del "$(SolutionDir)assemblies\2023\$(TargetName).dll"
175+
copy "$(TargetPath)" "$(SolutionDir)assemblies\2023\$(TargetName).nll.dll"
176+
if exist "D:\Programmes\Autodesk\Maya2023\bin\plug-ins\" copy "$(SolutionDir)assemblies\2023\*.dll" "D:\Programmes\Autodesk\Maya2023\bin\plug-ins\"
177+
if exist "C:\Program Files\Autodesk\Maya2023\bin\plug-ins\" copy "$(SolutionDir)assemblies\2023\*.dll" "C:\Program Files\Autodesk\Maya2023\bin\plug-ins\"
178+
179+
IF "%25configurationName%25"=="Debug" GOTO DebugOnMaya
180+
GOTO Close
181+
182+
:DebugOnMaya
183+
if exist "C:\Program Files\Autodesk\Maya2023\bin\maya.exe" START /d "C:\Program Files\Autodesk\Maya2023\bin" maya.exe
184+
GOTO Close
185+
186+
:Close
187+
PAUSE
188+
EXIT</PostBuildEvent>
189+
</PropertyGroup>
190+
<PropertyGroup>
191+
<PreBuildEvent>setlocal enabledelayedexpansion
192+
193+
SET configurationName=$(ConfigurationName)
194+
ECHO %25configurationName%25
195+
196+
IF "%25configurationName%25"=="Debug" GOTO OnDebug
197+
GOTO Close
198+
199+
:OnDebug
200+
taskkill /im maya.exe /f /fi "STATUS eq RUNNING"
201+
202+
:Close
203+
PAUSE
204+
EXIT</PreBuildEvent>
205+
</PropertyGroup>
206+
</Project>

Maya/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
77
// associées à un assembly.
88
[assembly: AssemblyTitle("Maya2Babylon")]
9-
[assembly: AssemblyDescription("")]
9+
[assembly: AssemblyDescription("Maya to Babylon exporter plugin.")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
11+
[assembly: AssemblyCompany("Microsoft Corporation")]
1212
[assembly: AssemblyProduct("Maya2Babylon")]
13-
[assembly: AssemblyCopyright("Copyright © 2017")]
13+
[assembly: AssemblyCopyright("Copyright © 2022")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

Maya/Refs/2023/openmayacs.dll

3.67 MB
Binary file not shown.

0 commit comments

Comments
 (0)