Browser-Based Parametric Modeling: Bridging Web Technologies with CAD Kernels
DOI:
https://doi.org/10.63282/3050-9246.IJETCSIT-V1I3P107Keywords:
Browser-Based CAD, Parametric Modeling, WebAssembly, JavaScript, CAD Kernel, IndexedDB, WebGL, OpenCascade, Performance Optimization, Cloud CADAbstract
Parametric modeling has turned out to be a mandatory maxim in computer-aided design (CAD) that allows designers and engineers to build geometrically limited models that can be shaped or changed without problems by manipulating parameters. However, the conventional CAD systems are highly dependent on hardware-demanding software installation along with the platform-specific systems. This paper discusses the possibility of parametric modelling to work through browsers, incorporating CAD kernels with web technologies, specifically WebAssembly and JavaScript. WebAssembly makes web-capable execution fast (near-native performance), whereas JavaScript is the glue providing user interaction, presentation of a UI, and the ability to dynamically modify parameters of a design. This study explores the realities, challenges and problems associated with integrating CAD kernels like OpenCascade and Parasolid with web front-ends and the implications of dealing with performance bottlenecks, problems of persistent storage, responsiveness of user interfaces and management of data in the cloud. The idea is to assess the possibility of the existence of an alternative to conventional desktop-based modeling environments in the form of a web-based platform. One of the fundamental issues will be interactive performance, as the computational intensity is characteristic of the parametric operations. We look at WebAssembly optimizations and multi-threading (when possible), and compare the complexities of models with responsiveness trade-offs. The solutions we investigate in persistent model storage are local browser storage (IndexedDB) and remote storage through REST APIs and GraphQL. They provide details of a complete case study where a sophisticated parametric model is formulated, edited and saved entirely on the browser. Our results are compared with those of other existing traditional CAD platforms in terms of metrics such as load time, interaction delay, model regeneration rate, and user satisfaction, as measured through surveys. Our results show that parametric modeling with a browser can not only be done, but it can also be sufficient to cover a broad scope of design opportunities, especially in cases of collaborations, learning and lightweight design. Nevertheless, it has a problem in scaling up with very complex assemblies and in advanced integration of simulation. This paper lays the groundwork for future research into high-performance web-based CAD systems and their integration into broader digital engineering workflows
Downloads
References
[1] Haas, A., Rossberg, A., Schuff, D. L., Titzer, B. L., Holman, M., Gohman, D., ... & Bastien, J. F. (2017, June). Bringing the web up to speed with WebAssembly. In Proceedings of the 38th ACM SIGPLAN conference on programming language design and implementation (pp. 185-200).
[2] Nicolaescu, P., Derntl, M., & Klamma, R. (2013, October). Browser-based collaborative modeling in near real-time. In 9th IEEE International Conference on Collaborative Computing: Networking, Applications and Worksharing (pp. 335-344). IEEE.
[3] Groß, T., Pfitzmann, B., & Sadeghi, A. R. (2005, September). Browser model for security analysis of browser-based protocols. In European Symposium on Research in Computer Security (pp. 489-508). Berlin, Heidelberg: Springer Berlin Heidelberg.
[4] Virtanen, J. P., Hyyppä, H., Kurkela, M., Vaaja, M. T., Puustinen, T., Jaalama, K., ... & Hyyppä, J. (2018). Browser-based 3D for the built environment. Nordic Journal of Surveying and Real Estate Research, 13(1), 54-76.
[5] Gonzalez, A., & Reid, L. G. (2005, May). Platform-independent accessibility api: Accessible document object model. In Proceedings of the 2005 International Cross-Disciplinary Workshop on Web Accessibility (W4A) (pp. 63-71).
[6] Baba, Y., & Nobeoka, K. (1998). Towards knowledge-based product development: the 3-D CAD model of knowledge creation. Research policy, 26(6), 643-659.
[7] Jazayeri, M. (2007, May). Some trends in web application development. In Future of Software Engineering (FOSE'07) (pp. 199-213). IEEE.
[8] Miller, M. (2008). Cloud computing: Web-based applications that change the way you work and collaborate online. Que Publishing.
[9] Di Lucca, G. A., & Fasolino, A. R. (2006). Testing Web-based applications: The state of the art and future trends. Information and Software Technology, 48(12), 1172-1186.
[10] Bates, C. (2002). Web Programming: Building Internet Applications. John Wiley & Sons.
[11] Encarnacao, J. L., Lindner, R., & Schlechtendahl, E. G. (2012). Computer-aided design: fundamentals and system architectures. Springer Science & Business Media.
[12] Sprumont, F., & Xirouchakis, P. (2002). Towards a knowledge-based model for the computer-aided design process. Concurrent Engineering, 10(2), 129-142.
[13] Lan, H. (2009). Web-based rapid prototyping and manufacturing systems: A review. Computers in industry, 60(9), 643-656.
[14] Pedro Company, Contero, M., Otey, J., Camba, J. D., Agost, M. J., & Pérez-López, D. (2017). Web-based system for adaptable rubrics: case study on CAD assessment. Journal of Educational Technology & Society, 20(3), 24-41.
[15] Ou, S. C., Sung, W. T., Hsiao, S. J., & Fan, K. C. (2002). An interactive web‐based training tool for CAD in a virtual environment. Computer Applications in Engineering Education, 10(4), 182-193.
[16] Danesi, F., Denis, L., Gardan, Y., Lanuel, Y., & Perrin, E. (2001, July). Towards a Web-based CAD system. In Proceedings Fifth International Conference on Information Visualisation (pp. 269-274). IEEE.
[17] Reddy, E. J., Sridhar, C. N. V., & Rangadu, V. P. (2018). Development of a web-based knowledge-based system for CAD modeling and manufacturing. Materials Today: Proceedings, 5(13), 27241-27247.
[18] Álvares, A. J., Ferreira, J. C. E., & Lorenzo, R. M. (2008). An integrated web-based CAD/CAPP/CAM system for the remote design and manufacture of feature-based cylindrical parts. Journal of Intelligent Manufacturing, 19(6), 643-659.
[19] Rosenman, M., & Wang, F. (2001). A component agent-based open CAD system for collaborative design. Automation in Construction, 10(4), 383-397.
[20] Li, J., & Su, D. (2008). Support modules and system structure for a web-enabled collaborative environment in design and manufacturing. International Journal of Production Research, 46(9), 2397-2412.
[21] Vassallo, K., Garg, L., Prakash, V., & Ramesh, K. (2019). Contemporary technologies and methods for cross-platform application development. Journal of Computational and Theoretical Nanoscience, 16(9), 3854-3859.