RUJA: Repositorio Institucional de Producción Científica

 

Design and Development of a Macro to Compare Sections of Planes to Parts Using Programming with Visual Basic for Applications in CATIA

dc.contributor.authorRojas Sola, José Ignacio
dc.contributor.authordel Río Cidoncha, Gloria
dc.contributor.authorOrtíz Marín, Rafael
dc.contributor.authorMoya Ocaña, José Antonio
dc.date.accessioned2023-11-15T08:40:22Z
dc.date.available2023-11-15T08:40:22Z
dc.date.issued2023-01-16
dc.description.abstractThis article presents an application for educational purposes in the field of engineering graphics, which corrects the dihedral projections of the sections of a plane for a part by comparing the solution provided by the student with that obtained through 3D CAD modelling software. Said application is generated as a macro in CATIA (Computer-Aided Three-Dimensional Interactive Application), which is included as a tool in the ‘Part Design’ module. The code of this macro is written in the CATVBA language, utilizes the CATIA internal editor, and takes advantage of the capabilities offered by Visual Basic for Applications (VBA) in the design of Graphical User Interfaces (GUI). The operation of the macro consists of obtaining the section in the 3D CAD model, projecting it onto three dihedral projections of the part (elevation, plan, and profile), and calculating the visible and hidden lines by means of a numerical process based on dividing the lines into discrete sections. Likewise, to obtain numerical results, the section obtained in CATIA (reference section) is compared with the section provided by the student (section that needed to be corrected) by means of a spreadsheet (Microsoft Excel). The data of the coordinates of the points of the reference section are exported to said spreadsheet as is the data of the coordinates of the section that needed to be corrected, which is contained in a file with a dxf format (Drawing eXchange Format). From these data, by programming the appropriate formulae in the cells of the spreadsheet, the numerical values of the errors are obtained, thereby locating said errors in the dihedral projections of the section which needed to be corrected. Likewise, the application can be programmed to compare the central symmetry of both of the sections.es_ES
dc.identifier.citationRojas-Sola, J.I.; del Río-Cidoncha, G.; Ortíz-Marín, R.; Moya-Ocaña, J.A. Design and Development of a Macro to Compare Sections of Planes to Parts Using Programming with Visual Basic for Applications in CATIA. Symmetry 2023, 15, 242. https://doi.org/10.3390/sym15010242es_ES
dc.identifier.issn2073-8994es_ES
dc.identifier.other10.3390/sym15010242es_ES
dc.identifier.urihttps://www.mdpi.com/2073-8994/15/1/242es_ES
dc.identifier.urihttps://hdl.handle.net/10953/1331
dc.language.isoenges_ES
dc.publisherMultidisciplinary Digital Publishing Institute (MDPI)es_ES
dc.relation.ispartofSymmetryes_ES
dc.rightsAtribución-NoComercial-SinDerivadas 3.0 España*
dc.rights.accessRightsinfo:eu-repo/semantics/openAccesses_ES
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/3.0/es/*
dc.subjectmacroes_ES
dc.subjectvisual basic for applicationses_ES
dc.subjectCATIAes_ES
dc.subjectMicrosoft Exceles_ES
dc.subjectplanar sectiones_ES
dc.subjectcomputer-aided designes_ES
dc.subjecterrorses_ES
dc.titleDesign and Development of a Macro to Compare Sections of Planes to Parts Using Programming with Visual Basic for Applications in CATIAes_ES
dc.typeinfo:eu-repo/semantics/articlees_ES
dc.type.versioninfo:eu-repo/semantics/publishedVersiones_ES

Archivos

Bloque original

Mostrando 1 - 1 de 1
Cargando...
Miniatura
Nombre:
symmetry-15-00242 - versión publicada.pdf
Tamaño:
14.02 MB
Formato:
Adobe Portable Document Format
Descripción:

Bloque de licencias

Mostrando 1 - 1 de 1
No hay miniatura disponible
Nombre:
license.txt
Tamaño:
1.98 KB
Formato:
Item-specific license agreed upon to submission
Descripción:

Colecciones