Message Boards Message Boards

Download a .stl file from a 3DPlot using Mathematica online Student?

Posted 7 years ago
POSTED BY: Tom Mendoza
8 Replies
Posted 7 years ago

Sorry the operation seems to work but the file has zero bytes

enter image description here

POSTED BY: Tom Mendoza
Posted 7 years ago

Wow! that worked the files are available in my cloud now

enter image description here

POSTED BY: Tom Mendoza

They were always available, just not visible as CloudObjects.

POSTED BY: Carlo Barbieri
Posted 7 years ago
POSTED BY: Tom Mendoza

Try this:

CopyFile[
    "/wolframcloud/userfiles/ba9/ba9a1691-48ac-417b-964f-1a1467d3d5a6/model.stl",
    CloudObject["model.stl"]
]

I also strongly suspect that the value of $HomeDirectory for you is "/wolframcloud/userfiles/ba9/ba9a1691-48ac-417b-964f-1a1467d3d5a6/", correct?

That means that the file is in your home, but is not a CloudObject, however it should still be visible in your home (without doing the operation above).

POSTED BY: Carlo Barbieri
Posted 7 years ago

what i find interesting is the directory is wolframcloud/usrfiles which i can't find and is not on my system

enter image description here enter image description here

POSTED BY: Tom Mendoza

In what environment are you evaluating the code? Desktop or Cloud?

What is the output of the following evaluation for you?

FindFile[Normal[Printout3D[model, "model.stl"]]["FileName"]]
POSTED BY: Mikayel Egibyan
POSTED BY: Mikayel Egibyan
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract