Message Boards Message Boards

Export .nb file to a .stl file using Wolfram Cloud?

Posted 5 years ago

Hi, I need to export from my .nb file to a .stl, I have wolframcloud with Standard (Education) plan, but I cant find a way to actually create the .stl file. I post here the code, it's quite simple, but I cant find a way to get the .stl file.

I only press Shift + Enter and the solid of revolution appears just fine, but there is no .stl file. Does it have something to do with my plan? I attached the file.

Attachments:
POSTED BY: Jaime Gonzalez

You should use CloudExport to export an expression in a specific format to the cloud. e.g.

In[7]:= model = RevolutionPlot3D[ Piecewise[{ {y = 6, 0 < x <= 3}, {y = -0.5*x + 7.5, 3 < x <= 4}, {y = 5.5, 4 < x <= 5}, {y = 0.5*x + 3, 5 < x <= 6}, {y = 6, 6 < x <= 7}, {y = 0.5*x^2 - 9 x + 89/2, 7 < x <= 9}, {y = 4, 9 < x <= 10} }], {x, 0, 10}, Mesh -> None, RevolutionAxis -> {1, 0, 0}]; In[26]:= obj = CloudExport[model, "STL", "stlObj.stl"] Out[26]= CloudObject["https://www.wolframcloud.com/obj/damanjits/\ stlObj.stl"] In[32]:= CloudImport[obj, "STL" ]

POSTED BY: Damanjit Singh
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