CAD-kaavioiden tiedon jäsennyksen ja keräyksen helpottaminen suunnittelutyössä
Leppänen, Markus (2020)
Leppänen, Markus
2020
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2020060216364
https://urn.fi/URN:NBN:fi:amk-2020060216364
Tiivistelmä
Tiedon keräystä vanhoista dokumenteista tarvitaan, kun yritetään siirtää tietoa uudempaan suunnittelujärjestelmään. Suunnittelutyössä voi myös tiedon hallinnassa käydä tilanteita, joissa samaa suunnittelutietoa ylläpidetään monessa dokumentissa samanaikaisesti. Mikäli näissä tilanteissa tietoa unohdetaan päivittää jokaisessa dokumentissa, tai jokin dokumenttityyppi tarvitaan myöhemmin projektin aikana, tietoa joudutaan keräämään muista dokumenteista. Tietoa voidaan joutua keräämään vanhoista CAD-kaavioista, mikä on työlästä ja aikaa vievää, jos sitä ei pystytä automatisoimaan.
Tavoitteena oli vähentää kaaviotiedon keräykseen kulutettavaa suunnittelijan työaikaa helpottamalla tiedon keräystä ja jäsennystä ohjelmoinnin avulla. Tarkoituksena oli toteuttaa tämä työkalu samaan aikaan toteutettavien projektien tarpeisiin.
Ohjelma kirjoitettiin AutoCADin Visual Lisp-ohjelmointikielellä. Kehittämisen aikana työkalua kokeiltiin projektien käytössä, mistä kerättiin työkalulle lisää kehityskohteita liittyen käytettävyyteen ja saavutettuun ajalliseen hyötyyn.
Lopputuloksena saatiin ohjelma, jolla voidaan luoda tyyppikaavion perusteella hakukomento, jolla voi hakea tämän tyyppisistä kaavioista tietoa automaattisesti. Ohjelma myös oppii haettuja kuvioita ajan myötä, jolloin hakukomennon luonti helpottuu, mikä auttaa yksittäisten kaavioiden tiedon keräyksessä. Näillä ominaisuuksilla saavutettiin säästöä työajassa. Ohjelmalla on monia jatkokehitysmahdollisuuksia, mutta Visual Lisp-ohjelmointikielen rajoitteiden takia olisi kannattavaa siirää ohjelma toiselle kielellä, jos ohjelman kehitystä jatketaan. When trying to move data into a newer engineering system, it is necessary to be able to collect data from old documents. There are also situations in engineering work, where the same data is being maintained in multiple documents simultaneously. If in these situations it is forgotten to update some information in every document, or if some new document type is required later in the project, data needs to be gathered from the other documents. Data may need to be collected from old CAD-drawings, which is laborious and time-consuming if it cannot be automatized.
The objective was to reduce the workload that results from data collection from old drawings, by utilizing programming to simplify data collection and structuring. The tool was to be produced for the needs of ongoing projects.
The program was implemented with AutoCAD's Visual Lisp programming language. During development, the program was tested in the ongoing projects to get development pointers on the usability and the achieved time savings of the program.
The result was a program which can be used to create a query based on a type drawing. This query can then be applied in similar drawings to fetch data automatically. The program also learns the queried shapes as the queries are created, which makes the query creation easier and helps with data collection from individual drawings. With these properties, the reduction in workload and consumed time was achieved. The program has many options for further development, but because of the limitations in the Visual Lisp programming language, it is recommended to rewrite the program in another language in the case the development is continued.
Tavoitteena oli vähentää kaaviotiedon keräykseen kulutettavaa suunnittelijan työaikaa helpottamalla tiedon keräystä ja jäsennystä ohjelmoinnin avulla. Tarkoituksena oli toteuttaa tämä työkalu samaan aikaan toteutettavien projektien tarpeisiin.
Ohjelma kirjoitettiin AutoCADin Visual Lisp-ohjelmointikielellä. Kehittämisen aikana työkalua kokeiltiin projektien käytössä, mistä kerättiin työkalulle lisää kehityskohteita liittyen käytettävyyteen ja saavutettuun ajalliseen hyötyyn.
Lopputuloksena saatiin ohjelma, jolla voidaan luoda tyyppikaavion perusteella hakukomento, jolla voi hakea tämän tyyppisistä kaavioista tietoa automaattisesti. Ohjelma myös oppii haettuja kuvioita ajan myötä, jolloin hakukomennon luonti helpottuu, mikä auttaa yksittäisten kaavioiden tiedon keräyksessä. Näillä ominaisuuksilla saavutettiin säästöä työajassa. Ohjelmalla on monia jatkokehitysmahdollisuuksia, mutta Visual Lisp-ohjelmointikielen rajoitteiden takia olisi kannattavaa siirää ohjelma toiselle kielellä, jos ohjelman kehitystä jatketaan.
The objective was to reduce the workload that results from data collection from old drawings, by utilizing programming to simplify data collection and structuring. The tool was to be produced for the needs of ongoing projects.
The program was implemented with AutoCAD's Visual Lisp programming language. During development, the program was tested in the ongoing projects to get development pointers on the usability and the achieved time savings of the program.
The result was a program which can be used to create a query based on a type drawing. This query can then be applied in similar drawings to fetch data automatically. The program also learns the queried shapes as the queries are created, which makes the query creation easier and helps with data collection from individual drawings. With these properties, the reduction in workload and consumed time was achieved. The program has many options for further development, but because of the limitations in the Visual Lisp programming language, it is recommended to rewrite the program in another language in the case the development is continued.