You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Nick!
I have tried looking at the code of this resource project, and learning so many things with this project, I have a particular doubt, Can I export the drawing as .stl or .obj file?
As a beginner I am just trying to figure out things in this project,
While saving the file the the SavePainting() function of program.cs is called which then further calls the ToFileData() function of Painting.cs is called which then further calls LinePointToString() function which is particularly defined to store each line point with a particular string in a defined format, and that file gets saved basically with that series of strings, While loading the saved file with the LoadPainting() this encoded strings are decoded in accordingly in the painting.cs and then further assigned to the painting.cs object and then the painting is again formed or loaded, correct me if I am wrong.
I am making a stereokit project related to this in which I can basically if possible export the drawings in a 3d model or 2D image of the drawing, is it possible
Thanks!
The text was updated successfully, but these errors were encountered:
It's certainly possible! But not built-in. "Lines" in StereoKit are "special effect" type visuals, not geometry, and don't necessarily transfer well from one application to the next. You could certainly interpret it in some particular way, and export that data.
StereoKit also doesn't currently have much in the way of format export functionality built-in. So while writing an .stl or .obj can be fairly simple, you'd still have to do that part yourself!
Hello Nick!
I have tried looking at the code of this resource project, and learning so many things with this project, I have a particular doubt, Can I export the drawing as .stl or .obj file?
As a beginner I am just trying to figure out things in this project,
While saving the file the the SavePainting() function of program.cs is called which then further calls the ToFileData() function of Painting.cs is called which then further calls LinePointToString() function which is particularly defined to store each line point with a particular string in a defined format, and that file gets saved basically with that series of strings, While loading the saved file with the LoadPainting() this encoded strings are decoded in accordingly in the painting.cs and then further assigned to the painting.cs object and then the painting is again formed or loaded, correct me if I am wrong.
I am making a stereokit project related to this in which I can basically if possible export the drawings in a 3d model or 2D image of the drawing, is it possible
Thanks!
The text was updated successfully, but these errors were encountered: