You can find more details at: Convert DWG to OBJ in Java
Last active
April 1, 2022 10:07
-
-
Save aspose-com-gists/5f5a2a11185672a58d724784f1b2524b to your computer and use it in GitHub Desktop.
Convert DWG to OBJ in Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the input DWG file | |
Image image = Image.load("sample.dwg"); | |
// Cast the Image class object to CadImage type | |
CadImage cad = (CadImage)image; | |
// Initialize ObjOptions class object | |
ObjOptions options = new ObjOptions(); | |
// Save output OBJ Object file | |
cad.save("sample.obj", options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment