Parametric CAD modeling for open source scientific hardware: Comparing OpenSCAD and FreeCAD Python scripts

Open source hardware for scientific equipment needs to provide source files and enough documentation to allow the study, replication and modification of the design. In addition, parametric modeling is encouraged in order to facilitate customization for other experiments. Parametric design using a solid modeling programming language allows customization and provides a source file for the design. OpenSCAD is the most widely used scripting tool for parametric modeling of open source labware. However, OpenSCAD lacks the ability to export to standard parametric formats; thus, the parametric dimensional information of the model is lost. This is an important deficiency because it is key to share the design in the most accessible formats with no information loss. In this work we analyze OpenSCAD and compare it with FreeCAD Python scripts. We have created a parametric open source hardware design to compare these tools. Our findings show that although Python for FreeCAD is more arduous to learn, its advantages counterbalance the initial difficulties. The main benefits are being able to export to standard parametric models; using Python language with its libraries; and the ability to use and integrate the models in its graphical interface. Thus, making it more appropriate to design open source hardware for scientific equipment.

[1]  André Maia Chagas,et al.  Haves and have nots must find a better way: The case for open scientific hardware , 2018, PLoS biology.

[2]  David Garlan,et al.  Documenting software architectures: views and beyond , 2002, 25th International Conference on Software Engineering, 2003. Proceedings..

[3]  Christoph M. Hoffmann,et al.  Geometric Constraint Solving in Parametric Computer-Aided Design , 2011, J. Comput. Inf. Sci. Eng..

[4]  Jim Haseloff,et al.  μCube: A Framework for 3D Printable Optomechanics , 2018 .

[5]  C. Herstatt,et al.  The Effect of Selective Openness on Value Creation in User Innovation Communities , 2014 .

[6]  Richard W Bowman,et al.  A one-piece 3D printed flexure translation stage for open-source microscopy. , 2015, The Review of scientific instruments.

[7]  Joshua M. Pearce,et al.  General Design Procedure for Free and Open-Source Hardware for Scientific Equipment , 2017 .

[8]  Rainer Stark,et al.  What is the “Source” of Open Source Hardware? , 2017 .

[9]  Gert Vegter,et al.  In handbook of discrete and computational geometry , 1997 .

[10]  Karthikeyan Sankaralingam,et al.  Kickstarting Semiconductor Innovation with Open Source Hardware , 2017, Computer.

[11]  Jami J. Shah,et al.  Designing with Parametric CAD: Classification and comparison of construction techniques , 1998 .

[12]  Joshua M. Pearce,et al.  Open-Source 3D-Printable Optics Equipment , 2013, PloS one.

[13]  Alejandra Valencia,et al.  A 3D Printed Toolbox for Opto-Mechanical Components , 2016, PloS one.

[14]  Joshua M. Pearce Open-Source Lab: How to Build Your Own Hardware and Reduce Research Costs , 2013 .

[15]  J. Serrano OPEN HARDWARE AND COLLABORATION , 2017 .

[16]  Rhys Jones,et al.  RepRap – the replicating rapid prototyper , 2011, Robotica.

[17]  Josef Hoschek,et al.  Handbook of Computer Aided Geometric Design , 2002 .

[18]  Christoph M. Hoffmann Solid modeling , 2004, Handbook of Discrete and Computational Geometry, 2nd Ed..

[19]  R. Vallance,et al.  OPEN DESIGN OF MANUFACTURING EQUIPMENT , 2022 .

[20]  Dirk Schaefer,et al.  MCAD - ECAD INTEGRATION: OVERVIEW AND FUTURE RESEARCH PERSPECTIVES , 2007 .

[21]  Maarten Steinbuch,et al.  Sharing Open Hardware through ROP, the Robotic Open Platform , 2013, RoboCup.

[22]  Karl Fogel,et al.  Producing open source software - how to run a successful free software project , 2005 .

[23]  Kevin Crowston,et al.  FLOSS Project effectiveness measures , 2016 .

[24]  Luis Felipe Rosado Murillo,et al.  Open hardware as an experimental innovation platform : preliminary research questions and findings , 2017 .

[25]  Joel Johansson,et al.  Review of CAD-model Capabilities and Restrictions for Multidisciplinary use , 2017 .

[26]  PARAMETRIC MODELING,et al.  PARAMETRIC MODELING , 2004 .

[27]  Martin Kaltenbrunner,et al.  The importance of open and frugal labware , 2018, Nature Electronics.

[28]  Michael J. Pratt,et al.  Introduction to ISO 10303 - the STEP Standard for Product Data Exchange. pp , 2001, J. Comput. Inf. Sci. Eng..

[29]  Jane Burry,et al.  Software Openness: Evaluating Parameters of Parametric Modeling Tools to Support Creativity and Multidisciplinary Design Integration , 2010, ICCSA.

[30]  R. Moreno,et al.  Design Automation Using Script Languages. High-Level CAD Templates in Non-Parametric Programs , 2017 .

[31]  Paul Kavanagh,et al.  The Open Source Definition , 2004 .

[32]  Lucia L Prieto-Godino,et al.  The €100 lab: A 3D-printable open-source platform for fluorescence microscopy, optogenetics, and accurate temperature control during behaviour of zebrafish, Drosophila, and Caenorhabditis elegans , 2017, PLoS biology.

[33]  Tamer M. M. Shahin,et al.  Feature-Based Design – An Overview , 2008 .

[34]  Nassim Belbaly,et al.  Successful OSS Project Design and Implementation , 2011 .

[35]  Aristides A. G. Requicha,et al.  Solid modeling and beyond , 1992, IEEE Computer Graphics and Applications.

[36]  Karl Fogel,et al.  How To Run A Successful Free Software Project - Producing Open Source Software , 2009 .

[37]  Jérémy Bonvoisin,et al.  Best practices of open source mechanical hardware , 2017 .

[38]  Lucia L. Prieto-Godino,et al.  Open Labware: 3-D Printing Your Own Lab Equipment , 2015, PLoS biology.