Free and Open Source 3-D Model Customizer for Websites to Democratize Design with OpenSCAD
"> Figure 1
<p>The flowchart of the use of the Free Open Source 3-D Customizer.</p> "> Figure 2
<p>The initial page of Free and Open Source 3-D Customizer loading the example SCAD file from <a href="#sec2dot3-designs-01-00005" class="html-sec">Section 2.3</a>.</p> "> Figure 3
<p>The parameters were adjusted on the Free Open Source 3-D Customizer page to create a new design.</p> "> Figure 4
<p>The new SCAD file was saved, and the Free Open Source 3-D Customizer page was reloaded with this new SCAD file.</p> "> Figure 5
<p>The measurement of the width of the breast (B) or the length over the top (L).</p> "> Figure 6
<p>The prosthetic breast model customizable in size on the Free Open Source 3-D Customizer with different options (<b>a</b>) for flat width measurement and (<b>b</b>) for rounded length measurement.</p> "> Figure 7
<p>Changing infill (red) of the prosthetic breast model in Slic3r Prusa Edition. The wall or skin (yellow) has no z step line.</p> ">
Abstract
:1. Introduction
2. Materials and Methods
2.1. Render-3d
Render3d Class
- __construct method is for initialing a root path for the Render-3d class.
- workingDir method is for getting and/or setting the current working directory. The working directory needs full permission to read, write, and execute (777).
- sceneDir method is for getting the scene directory that is used by Render-3d. This scene directory cannot be changed.
- filename method is for getting and setting the current working file. This method copies the original 3-D model file to the working directory and calls the file and filetype method.
- file method is for getting and setting the current base name of the processing files.
- fileType method is for getting and setting the current file type.
- dirMask method is for getting and setting the current directory permission for creating new directory.
- executable method is for getting and setting the location for the given command. This method is used for setting path and command for OpenSCAD and POV-Ray.
- convertTo method is for converting the current file to the given file type.
- render method is for rendering the 3-D model file into the image file and returning the full path of the image.
- getConverter method is for getting a converter to convert fromType to toType variables.
- getRenderer method is for getting renderer object of the given engine. The default engine is POV-Ray.
- registerConverter method is for registering a new converter object.
- registerRenderer method is for registering a rendering engine.
- cmd method is for running commands on the command line.
- options method is for getting and setting options used by converters and renderers.
- getBufferAndClean method is for getting contents in the buffer and then cleaning the buffer.
- startBuffer method is for starting the buffer.
- stopBuffer method is for stopping the buffer.
2.2. Free 3D Customizer
- readSCAD method is for reading SCAD files and extracting all the adjustable parameters.
- writeSCAD method is for writing new SCAD files with customized parameter vales.
- generateVarname method is for generating formatted parameter names and returns a string of these.
- generateElement method is for generating HTML elements according to the possible values of each parameter. Elements are textbox, dropdown boxes, sliders, or ranges.
2.3. Variables in SCAD File
// descriptionvariable_name = value; // possible values
Possible Values Format
hole_diameter = 2.5;
- ○
- Numbers// How deep should the center hole be?hole_depth = 1; // [0,1,5,50]
- ○
- Textsshow_wheels = “yes”; // [yes,no]
- ○
- Values with labelscube_size = 20; // [10:Small,20:Medium,30:Large]
- ○
- Max value only (min value is set to zero)// How thick should the side wheels be?wheel_thickness = 1; // [40]
- ○
- Min and max value// How thick should the side wheels be?wheel_thickness = 1; // [1:40]
- ○
- Min, step, and max value// How thick should the side wheels be?wheel_thickness = 1; // [1:0.5:40]
3. Results
3.1. PHP Files
3.2. Practical Example: External Breast Prosthesis
- //Two methods to measure for breast prosthetic either width of desired breast size (substitute in b directly) or Length over top of breast where l = b × (3/4)
- // Using width of breast size or length over top of breast?
- measure_choice = “width”; // [width,length]
- // What is the value in mm?
- value = 150;
- // Flat or rounded back?
- flat_or_rounded = “flat”; // [flat,rounded]
- //ignore these
- b = (measure_choice == “width”? value:value × 4/3);
- w = b × 2/3; //hidden sphere
- $fn = 100/1;
- module breast(){
- difference(){
- hull(){
- sphere(w/1.75);//Sphere main
- translate([w/5,w/2,−w/8])sphere(w/3);//sphere left
- translate([w/5,−w/2,−w/8])sphere(w/3);//sphere right
- translate([0,0,w/2])sphere(w/5);//sphere top
- }
- if (flat_or_rounded == “flat”) {
- translate([w,0,0])cube([w*2,w*2,w*2],center=true);//cleaving back with flat back
- }
- else {
- translate([w*5,0,0])sphere(w*5);//cleaving back with big sphere for round back
- }
- }
- }
- rotate([0,90,0])breast(); //print flat
3.3. Technical Details
$ php composer.phar dump-autoloader.
4. Discussion
5. Conclusions
Acknowledgments
Author Contributions
Conflicts of Interest
References
- Sells, E.; Bailard, S.; Smith, Z.; Bowyer, A.; Olliver, V. RepRap: The replicating rapid prototyper-maximizing customizability by breeding the means of production. In Proceedings of the World Conference on Mass Customization and Personalization, Cambridge, MA, USA, 10–11 October 2010. [Google Scholar]
- Jones, R.; Haufe, P.; Sells, E.; Iravani, P.; Olliver, V.; Palmer, C.; Bowyer, A. RepRap—The replicating rapid prototyper. Robotica 2011, 29, 177–191. [Google Scholar] [CrossRef]
- Bowyer, A. 3D printing and humanity’s first imperfect replicator. 3D Print. Addit. Manuf. 2014, 1, 4–5. [Google Scholar] [CrossRef]
- Rundle, G. A Revolution in the Making; Simon and Schuster: New York, NY, USA, 2014. [Google Scholar]
- Gibb, A.; Abadie, S. Building Open Source Hardware: DIY Manufacturing for Hackers and Makers, 1st ed.; Addison-Wesley Professional: Boston, MA, USA, 2014. [Google Scholar]
- Raymond, E. The cathedral and the bazaar. Knowl. Technol. Policy 1999, 12, 23–49. [Google Scholar] [CrossRef]
- Wohlers, T. Wohlers Report 2016: 3D Printing and Additive Manufacturing State of the Industry Annual Worldwide Progress Report; Wohlers Associates Inc.: Fort Collins, CO, USA, 2016. [Google Scholar]
- Frauenfelder, M. Make: Ultimate Guide to 3D Printing 2014: Maker Media; O’Reilly Inc.: Sepaspol, CA, USA, 2013. [Google Scholar]
- Moilanen, J.; Vaden, T. 3D printing community and emerging practices of peer production. First Monday 2013. [Google Scholar] [CrossRef]
- Pearce, J.M. Building research equipment with free, open-source hardware. Science 2012, 337, 1303–1304. [Google Scholar] [CrossRef] [PubMed]
- Pearce, J. Open-Source Lab: How to Build Your Own Hardware and Reduce Research Costs, 1st ed.; Elsevier: Waltham, MA, USA, 2014. [Google Scholar]
- Baden, T.; Chagas, A.; Marzullo, T.; Prieto-Godino, L.; Euler, T. Open laware: 3-D printing your own lab equipment. PLoS Biol. 2015, 13. [Google Scholar] [CrossRef]
- Coakley, M.F.; Hurt, D.E.; Weber, N.; Mtingwa, M.; Fincher, E.C.; Alekseyev, V.; Chen, D.T.; Yun, A.; Gizaw, M.; Swan, J.; et al. The NIH 3D print exchange: A public resource for bioscientific and biomedical 3D prints. 3D Print. Addit. Manuf. 2014, 1, 137–140. [Google Scholar] [CrossRef] [PubMed]
- Coakley, M.; Hurt, D.E. 3D Printing in the laboratory maximize time and funds with customized and open-source labware. J. Lab. Autom. 2016, 21. [Google Scholar] [CrossRef] [PubMed]
- Kentzer, J.; Koch, B.; Thiim, M.; Jones, R.W.; Villumsen, E. An open source hardware-based mechatronics project: The replicating rapid 3-D printer. In Proceedings of the 4th International Conference on Mechatronics, Kuala Lumpur, Malaysia, 17–19 May 2011; pp. 1–8. [Google Scholar]
- Schelly, C.; Anzalone, G.; Wijnen, B.; Pearce, J.M. Open-source 3-D printing technologies for education: Bringing additive manufacturing to the classroom. J. Vis. Lang. Comput. 2015, 28, 226–237. [Google Scholar] [CrossRef]
- Pearce, J.M.; Blair, C.; Laciak, K.J.; Andrews, R.; Nosrat, A.; Zelenika-Zovko, I. 3-D printing of open source appropriate technologies for self-directed sustainable development. J. Sustain. Dev. 2010, 3, 17–29. [Google Scholar] [CrossRef]
- Birtchnell, T.; Hoyle, W. 3D Printing for Development in the Global South: The 3D4D Challenge; Springer: Berlin, Germany, 2014. [Google Scholar]
- Kintel, M.; Wolf, C. OpenSCAD, The Programmers Solid 3D CAD Modeller. Available online: http://www.openscad.org/ (accessed on 20 March 2017).
- Valero-Gomez, A.; Gonzalez-Gomez, J.; Almagro, M.; Salichs, M.A. Boosting mechanical design with the C++ OOML and open source 3D printers. In Proceedings of the 2012 IEEE Global Engineering Education Conference (EDUCON), Marrakech, Morocco, 17–20 April 2012; pp. 1–7. [Google Scholar]
- Wohlers, T.T.; Caffrey, T. Wohlers Report 2015: 3D Printing and Additive Manufacturing State of the Industry Annual Worldwide Progress Report; Wohlers Associates: Fort Collins, CO, USA, 2015. [Google Scholar]
- Wittbrodt, B.; Glover, A.; Laureto, J.; Anzalone, G.; Oppliger, D.; Irwin, J.; Pearce, J. Life-cycle economic analysis of distributed manufacturing with open-source 3-D printers. Mechatronics 2013, 23, 713–726. [Google Scholar] [CrossRef]
- Petersen, E.; Pearce, J. Emergence of home manufacturing in the developed world: Return on investment for open-source 3-D printers. Technologies 2017, 5, 7. [Google Scholar] [CrossRef]
- Giseburt, R. Is One of Our Open Source Heroes Going Closed Source? Make Mag. Available online: http://makezine.com/2012/09/19/is-one-of-our-open-source-heroes-going-closed-source/ (accessed on 20 March 2017).
- Terdiman, D. Stratasys Acquires MakerBot in $403 Million Deal. CNET. Available online: https://www.cnet.com/news/stratasys-acquires-makerbot-in-403-million-deal/ (accessed on 20 March 2017).
- Pearce, J.M. Emerging business models for open source hardware. J. Open Hardw. 2017, 1, 2. [Google Scholar] [CrossRef]
- Prusa, J. Occupy Thingiverse Test Cube. Available online: http://www.thingiverse.com/thing:30808 (accessed on 20 March 2017).
- Lawsuit. Consolidated Amended Complaint for Violations of the Federal Securities Laws. Available online: https://cdn-shop.adafruit.com/pdfs/makerbot/classaction.pdf (accessed on 20 March 2017).
- Benchoff, B. Makerbot Has Now Cut 36% of Staff in Last 6 Months. Available online: http://hackaday.com/2015/10/09/makerbot-has-now-cut-36-of-staff-in-last-6-months/ (accessed on 20 March 2017).
- Benchoff, B. The MakerBot Obituary. Available online: http://hackaday.com/2016/04/28/the-makerbot-obituary/ (accessed on 20 March 2017).
- Petch, M. 3D Printing Business MakerBot lays off 30% of Staff, Stratasys Remains “Committee” 3D Printing Industry. Available online: https://3dprintingindustry.com/news/3d-printing-business-makerbot-lays-off-30-staff-stratasys-remain-committed-105846/ (accessed on 20 March 2017).
- Printable Part Sources. Available online: http://reprap.org/wiki/Printable_part_sources (accessed on 20 March 2017).
- Makerbot Terms of Use. Available online: https://www.thingiverse.com/legal/terms (accessed on 20 March 2017).
- Youmagine. Available online: https://www.youmagine.com/ (accessed on 20 March 2017).
- MyMiniFactory. Available online: https://www.myminifactory.com/ (accessed on 20 March 2017).
- Schull, J. Enabling the future: Crowdsourced 3D-printed prostheticsas a model for open source assistive TechnologyInnovation and mutual aid. In Proceedings of the 17th International ACM SIGACCESS Conference on Computers & Accessibility, Lisbon, Portugal, 26–28 October 2015. [Google Scholar]
- Burn, M.B.; Ta, A.; Gogola, G.R. Three-dimensional printing of prosthetic hands for children. J. Hand Surg. 2016, 41, e103–e109. [Google Scholar] [CrossRef] [PubMed]
- King, M.; Phillips, B.; Shively, M.; Raman, V.; Fleishman, A.; Ritter, S.; Mehta, K. Optimization of prosthetic hand manufacturing. In Proceedings of the 2015 IEEE Global Humanitarian Technology Conference (GHTC), Seattle, WA, USA, 8–11 October 2015; pp. 59–65. [Google Scholar]
- Handomatic. Available online: http://enablingthefuture.org/handomatic/ (accessed on 20 March 2017).
- Render-3D. Available online: https://github.com/libre3d/render-3d (accessed on 20 March 2017).
- Libre 3D. Available online: http://libre3d.com/ (accessed on 20 March 2017).
- OpenSCAD. Available online: http://www.openscad.org/ (accessed on 20 March 2017).
- POV-Ray. Available online: http://www.povray.org/ (accessed on 20 March 2017).
- Composer. Available online: https://getcomposer.org/ (accessed on 20 March 2017).
- Developer Documentation. Available online: http://customizer.makerbot.com/docs (accessed on 20 March 2017).
- Borghesan, D.H.P.; Gravena, A.A.F.; Lopes, T.C.R.; Brischiliari, S.C.R.; de Oliveira, M.; Demitto, C.M.D.A.; de Barros Carvalho, M.D.; Pelloso, S.M. Variables that affect the satisfaction of Brazilian women with external breast prostheses after mastectomy. Asian Pac. J. Cancer Prev. 2014, 15, 9631–9634. [Google Scholar] [CrossRef] [PubMed]
- Montazeri, A. Health-related quality of life in breast cancer patients: A bibliographic review of the literature from 1974 to 2007. J. Exp. Clin. Cancer Res. 2008, 27, 32. [Google Scholar] [CrossRef] [PubMed]
- McArdle, J.M.; George, W.D.; McArdle, C.S.; Smith, D.C.; Moodie, A.R.; Hughson, A.M.; Murray, G.D. Psychological support for patients undergoing breast cancer surgery: A randomised study. BMJ 1996, 312, 813–816. [Google Scholar] [CrossRef] [PubMed]
- Al-Ghazal, S.K.; Fallowfield, L.; Blamey, R.W. Comparison of psychological aspects and patient satisfaction following breast conserving surgery, simple mastectomy and breast reconstruction. Eur. J. Cancer 2000, 36, 1938–1943. [Google Scholar] [CrossRef]
- Kubon, T.M.; McClennen, J.; Fitch, M.I.; McAndrew, A.; Anderson, J. A mixed-methods cohort study to determine perceived patient benefit in providing custom breast prostheses. Curr. Oncol. 2012, 19, e43. [Google Scholar] [CrossRef] [PubMed]
- Roberts, S.; Livingston, P.; White, V.; Gibbs, A. External breast prosthesis use: Experiences and views of women with breast cancer, breast care nurses, and prosthesis fitters. Cancer Nurs. 2003, 26, 179–186. [Google Scholar] [CrossRef] [PubMed]
- Liang, Y.N.; Xu, B. Factors influencing utilization and satisfaction with external breast prosthesis in patients with mastectomy: A systematic review. Int. J. Nurs. Sci. 2015, 2, 218–224. [Google Scholar] [CrossRef]
- Slic3r. Available online: http://slic3r.org/ (accessed on 26 May 2017).
- Prusa, J. Introducing Slic3r Prusa Edition. Available online: http://www.prusaprinters.org/introducing-slic3r-prusa-edition/ (accessed on 26 May 2017).
- Brooks, G.; Kinsley, K.; Owens, T. 3D printing as a consumer technology business model. Int. J. Manag. Inf. Syst. 2014, 18, 271. [Google Scholar] [CrossRef]
- Jiang, P.; Leng, J.; Ding, K.; Gu, P.; Koren, Y. Social manufacturing as a sustainable paradigm for mass individualization. J. Eng. Manuf. 2016, 230, 1961–1968. [Google Scholar] [CrossRef]
- Laplume, A.; Anzalone, G.C.; Pearce, J.M. Open-source, self-replicating 3-D printer factory for small-business manufacturing. Int. J. Adv. Manuf. Technol. 2016, 85, 633–642. [Google Scholar] [CrossRef]
- Laplume, A.O.; Petersen, B.; Pearce, J.M. Global value chains from a 3D printing perspective. J. Int. Bus. Stud. 2016, 47, 595–609. [Google Scholar] [CrossRef]
- Dombroski, C.E.; Balsdon, M.E.; Froats, A. The use of a low cost 3D scanning and printing tool in the manufacture of custom-made foot orthoses: A preliminary study. BMC Res. Notes 2014, 7, 443. [Google Scholar] [CrossRef] [PubMed]
- Wittbrodt, B.; Laureto, J.; Tymrak, B.; Pearce, J.M. Distributed manufacturing with 3-D printing: A case study of recreational vehicle solar photovoltaic mounting systems. J. Frugal Innov. 2015, 1, 1. [Google Scholar] [CrossRef]
- Zhang, C.; Wijnen, B.; Pearce, J.M. Open-source 3-D platform for low-cost scientific instrument ecosystem. J. Labo Autom. 2016, 21, 517–525. [Google Scholar] [CrossRef] [PubMed]
- Zhang, C.; Anzalone, N.C.; Faria, R.P.; Pearce, J.M. Open-source 3D-printable optics equipment. PLoS ONE 2013, 8, e59840. [Google Scholar] [CrossRef] [PubMed]
- Gwamuri, J.; Wittbrodt, B.T.; Anzalone, N.C.; Pearce, J.M. Reversing the trend of large scale and centralization in manufacturing: The case of distributed manufacturing of customizable 3-D-printable self-adjustable glasses. Chall. Sustain. 2014, 2, 30–40. [Google Scholar] [CrossRef]
- Wittbrodt, B.; Pearce, J.M. 3-D printing solar photovoltaic racking in developing world. Energy Sustain. Dev. 2017, 36, 1–5. [Google Scholar] [CrossRef]
- Megaro, V.; Thomaszewski, B.; Nitti, M.; Hilliges, O.; Gross, M.; Coros, S. Interactive design of 3D-printable robotic creatures. ACM Trans. Gr. 2015, 34, 216. [Google Scholar] [CrossRef]
- Busch, S.F.; Weidenbach, M.; Fey, M.; Schäfer, F.; Probst, T.; Koch, M. Optical properties of 3D printable plastics in the THz regime and their application for 3D printed THz optics. J. Infrared Millim. Terahertz Waves 2014, 35, 993–997. [Google Scholar] [CrossRef]
- Yap, J.; Renda, G. Low-cost 3D-printable prosthetic foot. In Proceedings of the 3rd European Conference on Derign4Health, Sheffield, UK, 13–16 July 2015. [Google Scholar]
- Petersen, E.E.; Kidd, R.W.; Pearce, J.M. Impact of DIY Home Manufacturing with 3-D printing on the toy and game market. to be published.
- Kyrialou, H.; Nickerson, J.V.; Sabinis, G. Knowledge reuse for customization: Metamodels in an open design community for 3D printing. MIS Q. 2017, 41, 315–332. [Google Scholar]
- Osborn, L.S.; Pearce, J.; Haselhuhn, A. A Case for weakening patent rights. St. John’s Law Rev. 2015, 89, 1185–1253. [Google Scholar]
© 2017 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Nilsiam, Y.; Pearce, J.M. Free and Open Source 3-D Model Customizer for Websites to Democratize Design with OpenSCAD. Designs 2017, 1, 5. https://doi.org/10.3390/designs1010005
Nilsiam Y, Pearce JM. Free and Open Source 3-D Model Customizer for Websites to Democratize Design with OpenSCAD. Designs. 2017; 1(1):5. https://doi.org/10.3390/designs1010005
Chicago/Turabian StyleNilsiam, Yuenyong, and Joshua M. Pearce. 2017. "Free and Open Source 3-D Model Customizer for Websites to Democratize Design with OpenSCAD" Designs 1, no. 1: 5. https://doi.org/10.3390/designs1010005
APA StyleNilsiam, Y., & Pearce, J. M. (2017). Free and Open Source 3-D Model Customizer for Websites to Democratize Design with OpenSCAD. Designs, 1(1), 5. https://doi.org/10.3390/designs1010005