3ds to STL


Good afternoon. I’m trying to save a file in 3ds format stl . Everything runs without errors, but the wrong stl file.
help me please
My code :
public static void Run3DCAD(string file, string ofile)
{
string path = file;
string result = Path.GetFileNameWithoutExtension(file);
//ExStart:Save3DScene
// The path to the documents directory.
        // Load a 3D document into Aspose.3D
        Scene scene = new Scene();
        // open an existing 3D scene
        scene.Open(file);
        // save Scene to a stream
        MemoryStream dstStream = new MemoryStream();
        scene.Save(dstStream, FileFormat.Discreet3DS);
        // Rewind the stream position back to zero so it is ready for next reader.
        dstStream.Position = 0;
        // save Scene to a local path
        result = "\u005C" + result;
        scene.Save(ofile + result + "_converted" + ".stl", FileFormat.STLASCII);
       
        //ExEnd:Save3DScene
    }</font></span></div><div><span style="background-color: rgb(255, 255, 255); line-height: 24px; white-space: pre-wrap;"><font color="#212121" face="arial, sans-serif"><br></font></span></div>

Hi Vladimir,


Thank you for contacting support. We have tested your 3DS file against the latest version 1.5.0 of Aspose.3D API and managed to replicate the problem of not loading output STL ASCII file in 3D Builder. We can import this output STL file in 3D MAX 2016 and it shows the eyeball object. Furthermore, when we converted your 3DS file to STL Binary, 3D Builder loads it properly and shows the eyeball object. We have logged the problem of not loading STL ASCII in 3D Builder under ticket id THREEDNET-165 in our bug tracking system. Your post has also been linked to this ticket. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused. As an alternative approach, please convert your 3DS files to STL Binary. We hope, this will help.

Hi Vladimir,


Thank you for being patient. We have a good news for you that the issue id THREEDNET-165 has now been resolved. If there is no issue in the QA phase, then this fix will be included in the next version of Aspose.3D for .NET 1.6.0. We’ll inform you via this forum thread as soon as the new release is published.

The issues you have found earlier (filed as THREEDNET-165) have been fixed in Aspose.3D for .NET 1.6.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as THREEDNET-165) have been fixed in Aspose.3D for .NET 1.6.1. Please discard the notification of version 6.1.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.