Skip to content

Instantly share code, notes, and snippets.

@aspose-3d
aspose-3d / Aspose-3D-Java
Last active June 16, 2020 06:42
This Gist contains Java code snippets for examples of Aspose.3D for Java.
Aspose.3D for Java
@aspose-3d
aspose-3d / Examples-CSharp-3DModeling-Primitive3DModels-Primitive3DModels.cs
Last active August 25, 2021 02:46
This Gist contains .NET code snippets for examples of Aspose.3D for .NET.
// For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-.NET
// The path to the documents directory.
string MyDir = RunExamples.GetDataDir();
// Initialize a Scene object
Scene scene = new Scene();
// Create a Box model
scene.RootNode.CreateChildNode("box", new Box());
// Create a Cylinder model
scene.RootNode.CreateChildNode("cylinder", new Cylinder());