# NOT RUN {
filename_stl = tempfile()
#Save the STL file into `filename_stl`
# }
# NOT RUN {
volcano %>%
sphere_shade() %>%
plot_3d(volcano,zscale=3)
save_3dprint(filename_stl)
# }
# NOT RUN {
#Save the STL file into `filename_stl`, setting maximum width to 100 mm
# }
# NOT RUN {
volcano %>%
sphere_shade() %>%
plot_3d(volcano,zscale=3)
save_3dprint(filename_stl, maxwidth = 100)
# }
# NOT RUN {
#'#Save the STL file into `filename_stl`, setting maximum width to 4 inches
# }
# NOT RUN {
volcano %>%
sphere_shade() %>%
plot_3d(volcano,zscale=3)
save_3dprint(filename_stl, maxwidth = 4, unit = "in")
# }
# NOT RUN {
#'#'#Save the STL file into `filename_stl`, setting maximum width (character) to 120mm
# }
# NOT RUN {
volcano %>%
sphere_shade() %>%
plot_3d(volcano,zscale=3)
save_3dprint(filename_stl, maxwidth = "120mm")
# }
Run the code above in your browser using DataLab