Skip to content

Commit 82a7864

Browse files
committed
Merge pull request #4 from AamirWaseem/master
Aspose.3D for .NET API Examples using Aspose Visual Studio Plugin 2.2
2 parents 65dbfc4 + 6b63c39 commit 82a7864

File tree

12 files changed

+435
-328
lines changed

12 files changed

+435
-328
lines changed
Binary file not shown.

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/AsposeVisualStudioPlugin.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<DebugSymbols>true</DebugSymbols>
2020
<Optimize>false</Optimize>
2121
<IntermediateOutputPath>..\..\obj\</IntermediateOutputPath>
22-
<OutputPath>..\..\out\</OutputPath>
22+
<OutputPath>..\out\</OutputPath>
2323
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
2424
<DefineConstants>DEBUG;TRACE</DefineConstants>
2525
<WarningLevel>4</WarningLevel>
@@ -214,10 +214,12 @@
214214
</EmbeddedResource>
215215
<EmbeddedResource Include="GUI\SampleWizardPage.resx">
216216
<DependentUpon>SampleWizardPage.cs</DependentUpon>
217+
<SubType>Designer</SubType>
217218
</EmbeddedResource>
218219
<EmbeddedResource Include="Properties\Resources.resx">
219220
<Generator>ResXFileCodeGenerator</Generator>
220221
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
222+
<SubType>Designer</SubType>
221223
</EmbeddedResource>
222224
</ItemGroup>
223225
<ItemGroup>
@@ -244,9 +246,10 @@
244246
<PropertyGroup>
245247
<PreBuildEvent>
246248
</PreBuildEvent>
247-
<PostBuildEvent>copy F:\new_projects\SVN\MP\Marketplace\VisualStudio\VSPluginRepo\out\AsposeVisualStudioPlugin.dll F:\new_projects\SVN\MP\Marketplace\VisualStudio\VSPluginRepo\out\AsposeVisualStudioPlugin5.dll
248-
copy F:\new_projects\SVN\MP\Marketplace\VisualStudio\VSPluginRepo\out\AsposeVisualStudioPlugin.dll F:\new_projects\SVN\MP\Marketplace\VisualStudio\VSPluginRepo\out\AsposeVisualStudioPlugin8.dll
249-
copy F:\new_projects\SVN\MP\Marketplace\VisualStudio\VSPluginRepo\out\AsposeVisualStudioPlugin.dll F:\new_projects\SVN\MP\Marketplace\VisualStudio\VSPluginRepo\out\AsposeVisualStudioPlugin12.dll</PostBuildEvent>
249+
<PostBuildEvent>copy E:\ASPOSE\AsposeVisualStudioPlugin\out\AsposeVisualStudioPlugin.dll E:\ASPOSE\AsposeVisualStudioPlugin\out\AsposeVisualStudioPlugin5.dll
250+
copy E:\ASPOSE\AsposeVisualStudioPlugin\out\AsposeVisualStudioPlugin.dll E:\ASPOSE\AsposeVisualStudioPlugin\out\AsposeVisualStudioPlugin8.dll
251+
copy E:\ASPOSE\AsposeVisualStudioPlugin\out\AsposeVisualStudioPlugin.dll E:\ASPOSE\AsposeVisualStudioPlugin\out\AsposeVisualStudioPlugin12.dll
252+
copy E:\ASPOSE\AsposeVisualStudioPlugin\out\AsposeVisualStudioPlugin.dll E:\ASPOSE\AsposeVisualStudioPlugin\out\AsposeVisualStudioPlugin13.dll</PostBuildEvent>
250253
</PropertyGroup>
251254
<ProjectExtensions />
252255
<Target Name="AfterBuild">

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/AsposeVisualStudioPlugin.csproj.user

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@
1212
<StartArguments>/resetaddin AsposeVisualStudioPlugin.Connect</StartArguments>
1313
<StartAction>Program</StartAction>
1414
</PropertyGroup>
15+
<PropertyGroup>
16+
<ProjectView>ShowAllFiles</ProjectView>
17+
</PropertyGroup>
1518
</Project>

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/AsposeVisualStudioPlugin.xml

Lines changed: 196 additions & 196 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/AssemblyInfo.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
88
//
9-
[assembly: AssemblyTitle("")]
10-
[assembly: AssemblyDescription("")]
9+
[assembly: AssemblyTitle("Aspose .NET Visual Studio Plugin")]
10+
[assembly: AssemblyDescription("Aspose .NET Visual Studio Plugin with Aspose.3D")]
1111
[assembly: AssemblyConfiguration("")]
12-
[assembly: AssemblyCompany("")]
13-
[assembly: AssemblyProduct("")]
14-
[assembly: AssemblyCopyright("")]
15-
[assembly: AssemblyTrademark("")]
12+
[assembly: AssemblyCompany("Aspose Pty Limited")]
13+
[assembly: AssemblyProduct("Aspose.Total for .NET")]
14+
[assembly: AssemblyCopyright("Aspose Pty Limited 2001 - 2015")]
15+
[assembly: AssemblyTrademark("Aspose")]
1616
[assembly: AssemblyCulture("")]
1717

1818
//
@@ -26,7 +26,7 @@
2626
// You can specify all the value or you can default the Revision and Build Numbers
2727
// by using the '*' as shown below:
2828

29-
[assembly: AssemblyVersion("1.0.*")]
29+
[assembly: AssemblyVersion("2.2.*")]
3030

3131
//
3232
// In order to sign your assembly you must specify a key to use. Refer to the

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/Core/AsposeComponents.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ public AsposeComponents()
9191
asposeNote.set_name(Constants.ASPOSE_NOTE);
9292
asposeNote.RemoteExamplesRepository = "https://github.com/zaheertariq/Aspose_Note_NET.git";
9393
list.Add(Constants.ASPOSE_NOTE, asposeNote);
94+
95+
AsposeComponent aspose3D = new AsposeComponent();
96+
aspose3D.set_downloadUrl("");
97+
aspose3D.set_downloadFileName("aspose.3d.zip");
98+
aspose3D.set_name(Constants.ASPOSE_3D);
99+
aspose3D.RemoteExamplesRepository = "https://github.com/aspose3d/Aspose_3D_NET.git";
100+
list.Add(Constants.ASPOSE_3D, aspose3D);
94101
}
95102
}
96103
}

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/Core/Constants.cs

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class Constants
2121
public static string ASPOSE_OCR = "Aspose.OCR";
2222
public static string ASPOSE_IMAGING = "Aspose.Imaging";
2323
public static string ASPOSE_NOTE = "Aspose.Note";
24+
public static string ASPOSE_3D = "Aspose.3D";
2425

2526
public static string WEBSERVICE_ENDPOINT = "http://community.aspose.com/community/SecureServices/AsposeDownloads.asmx";
2627

@@ -66,7 +67,8 @@ public class Constants
6667
+ "\n» Generate barcode images and save to stream or image file"
6768
+ "\n» Recognize barcodes from stream or image file"
6869
+ "\n» Render Windows metafiles (WMF) to images"
69-
+ "\n» Convert Windows metafiles (WMF) to other graphics formats";
70+
+ "\n» Convert Windows metafiles (WMF) to other graphics formats"
71+
+ "\n» Convert 3D FBX (ASCII, Binary) and STL (ASCII, Binary) file formats";
7072

7173
public static string ASPOSE_CELLS_FEATURE_TEXT =
7274
"Aspose.Cells for .NET is an Excel® " +
@@ -158,6 +160,20 @@ public class Constants
158160
+ "\n open files and manipulate the elements of OneNote books, "
159161
+ "\n from text, images and properties to more complex elements, "
160162
+ "\n and then export to PNG, GIF, JPEG, BMP or PDF formats. ";
161-
163+
164+
public static string ASPOSE_3D_FEATURE_TEXT =
165+
"Aspose.3D for .NET is a class library"
166+
+ "\n FBX (ASCII, Binary) and STL (ASCII, Binary) file formats."
167+
+ "\n developers can easily create, read, convert, modify "
168+
+ "\n and control the substance of these 3D document formats"
169+
+ "\n Create a 3D Scene"
170+
+ "\n Creating a Mesh Surface"
171+
+ "\n Add mesh Geometry to the 3D Scene"
172+
+ "\n Set up Normal or UV on the Graphic Objects"
173+
+ "\n Apply Transformation to a Node"
174+
+ "\n Node Hierarchy in the 3D Scene Document"
175+
+ "\n Share Mesh's Geometry Data between Multiple Nodes"
176+
+ "\n Render an Animation Object"
177+
+ "\n Apply Materials to 3D Objects";
162178
}
163179
}

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/GUI/ComponentWizardPage.Designer.cs

Lines changed: 27 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/GUI/ComponentWizardPage.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,12 @@ void processComponents()
306306
AsposeComponents.list.TryGetValue(Constants.ASPOSE_NOTE, out component);
307307
component.Selected = true;
308308
}
309+
if (checkBoxAspose3D.Checked)
310+
{
311+
AsposeComponent component = new AsposeComponent();
312+
AsposeComponents.list.TryGetValue(Constants.ASPOSE_3D, out component);
313+
component.Selected = true;
314+
}
309315
}
310316

311317

@@ -325,7 +331,7 @@ private bool isComponentSelected()
325331
{
326332
if (checkBoxAsposeCells.Checked || checkBoxAsposeWords.Checked || checkBoxAsposePdf.Checked || checkBoxAsposeSlides.Checked ||
327333
checkBoxAsposeDiagram.Checked || checkBoxAsposeBarCode.Checked || checkBoxAsposeTasks.Checked || checkBoxAsposeEmail.Checked ||
328-
checkBoxAsposeOCR.Checked || checkBoxAsposeImaging.Checked || checkBoxAsposeNote.Checked)
334+
checkBoxAsposeOCR.Checked || checkBoxAsposeImaging.Checked || checkBoxAsposeNote.Checked || checkBoxAspose3D.Checked)
329335
return true;
330336

331337

@@ -345,6 +351,7 @@ private void InitializedCustomComponents()
345351
setTooltip(checkBoxAsposeOCR, Constants.ASPOSE_OCR_FEATURE_TEXT);
346352
setTooltip(checkBoxAsposeImaging, Constants.ASPOSE_IMAGING_FEATURE_TEXT);
347353
setTooltip(checkBoxAsposeNote, Constants.ASPOSE_NOTE_FEATURE_TEXT);
354+
setTooltip(checkBoxAspose3D, Constants.ASPOSE_3D_FEATURE_TEXT);
348355
}
349356

350357
private void setTooltip(Control control, string message)
@@ -433,6 +440,11 @@ private void checkBoxAsposeNote_CheckedChanged(object sender, EventArgs e)
433440
{
434441
validateForm();
435442
}
443+
444+
private void checkBoxAspose3D_CheckedChanged(object sender, EventArgs e)
445+
{
446+
validateForm();
447+
}
436448

437449
#endregion
438450

@@ -451,6 +463,7 @@ void setComponentsCheckValue(bool value)
451463
checkBoxAsposeOCR.Checked = value;
452464
checkBoxAsposeImaging.Checked = value;
453465
checkBoxAsposeNote.Checked = value;
466+
checkBoxAspose3D.Checked = value;
454467
}
455468

456469
private void logoButton_Click(object sender, EventArgs e)
@@ -482,5 +495,6 @@ private void AbortButton_Click(object sender, EventArgs e)
482495

483496
Close();
484497
}
498+
485499
}
486500
}

Plugins/VisualStudio/ExploreExamples/AsposeVisualStudioPlugin/GUI/ComponentWizardPage.resx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@
133133
» Recognize barcodes from stream or image file
134134
» Render Windows metafiles (WMF) to images
135135
» Convert Windows metafiles (WMF) to other graphics formats
136-
» Read, convert, create, edit and manipulate Microsoft OneNote files.</value>
136+
» Read, convert, create, edit and manipulate Microsoft OneNote files
137+
» Read, convert, create, edit and manipulate 3D files FBX, STL formats</value>
137138
</data>
138139
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
139140
<value>231</value>

0 commit comments

Comments
 (0)