Skip to content

Can the Painting be exported as a 3d model(.stl, .obj) #5

@ayushtamra

Description

@ayushtamra

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions