Volume I
Repo – Budge
TREBALL DE FI DE GRAU
“CREATION OF INTERACTIVE
3D DOCUMENTS TO SUPPORT
THE SETUP PROCESS OF
MACHINE TOOLS”
TFG p esen a pe ob eni el í ol de GRAU en
ENGINYERIA MECÀNICA
Pe Víc o A nedo Blanco
Ba celona, 11 d’oc ub e de 2016
Di ec o : José An onio T a ieso Rod íguez
Depa amen de Enginye ia Mecànica (DEM)
Uni e si a Poli ècnica de Ca alunya (UPC)
TABLE OF CONTENT
RESUM .............................................................................................. V
RESUMEN .......................................................................................... V
ABSTRACT ......................................................................................... V
ACKNOWLEDGMENT ........................................................................... VI
CHAPTER 1: INTRODUCTION ................................................................ 1
CHAPTER 2: MARKET ANALYSIS ........................................................... 2
2.1. Applicable s anda d o ma s o se up-documen s ........................ 2
2.1.1. HTML ................................................................................ 2
2.1.2. PDF .................................................................................. 4
2.2. Unde lying 3d- o ma s ............................................................. 5
2.2.1. U3D ................................................................................. 5
2.2.2. X3D .................................................................................. 6
2.3. So wa e in ol ed in he wo k low ............................................. 7
2.3.1. Te a 4D ........................................................................... 7
2.3.2. 3D Tool ............................................................................. 8
2.3.3. LaTeX ............................................................................... 9
2.3.4. CAD Exchange ................................................................. 10
2.4. Ways o implemen he solu ion ............................................... 11
CHAPTER 3: IMPLEMENTATION ............................................................ 14
3.1. Web applica ion in a b owse ................................................... 14
3.1.1. Gene a ion o he se -up web app ....................................... 15
3.1.2. Embedding o he 3d model ................................................ 17
3.1.3. Embedding u he equi ed in o ma ion in o he web app ...... 19
3.2. C ea ion o pd documen wi h e a4d ...................................... 23
3.2.1. Gene a ion o he se -up documen ..................................... 23
3.2.2. Embedding 3d model in he documen ................................. 25
3.2.3. Embedding u he equi ed in o ma ion in o he documen .... 27
3.3. C ea ion o a 3d pd documen wi h 3d ool and la ex .................. 30
3.3.1. Gene a ion o se -up documen and embedding o he 3d model
30
3.3.2. Embedding u he equi ed in o ma ion in o he documen .... 32
3.3.3. Possible imp o emen s ...................................................... 39
CHAPTER 4: EXAMPLES OF IMPLEMENTATION ....................................... 43
4. 1. Web Applica ion in he b owse ................................................. 44
4.2. Te a4D .................................................................................. 47
4.3. 3D Tool and LaTeX ................................................................... 50
CHAPTER 5: CONCLUSIONS ................................................................ 54
CHAPTER 6: BIBLIOGRAPHIC REFERENCES ........................................... 56
CHAPTER 7: COMPLEMENTARY BIBLIOGRAPHY ...................................... 60
BUDGET ........................................................................................... 65
LIST OF FIGURES
Figu e 2.1. 3D PDF c ea ed by 3D Tool. ........................................................................................ 9
Figu e 2.2. Old wo k low. ............................................................................................................ 12
Figu e 2.3. Web App wo k low. p ocess. .................................................................................... 13
Figu e 2.5. 3D Tool and LaTeX wo k low. p ocess. ..................................................................... 13
Figu e 2.4. Te a4D wo k low. p ocess. ...................................................................................... 13
Figu e 3.1. CAD Viewe wi hou any 3D model. ......................................................................... 15
Figu e 3.2. CAD Viewe wi h 3D model example ea u es. ......................................................... 16
Figu e 3.4. CAD Viewe example iews. ...................................................................................... 16
Figu e 3.3. CAD Viewe example. ................................................................................................ 16
Figu e 3.6. Da a olde . ............................................................................................................... 18
Figu e 3.5. CAD Viewe iles olde . ............................................................................................ 18
Figu e 3.7. Main.js code a e modi ica ion. ............................................................................... 18
Figu e 3.8. Example 3D model embedded in he Web App. ....................................................... 19
Figu e 3.9 Me ada a o he de elope ’s example. ...................................................................... 20
Figu e 3.10. Me ada a o Example3DModel code. ..................................................................... 21
Figu e 3.11. Me ada a o Example3DModel in he Web app. .................................................... 21
Figu e 3.12. Anno a ions o Example3DModel in he Web app. ................................................ 22
Figu e 3.13. Example empla e om Te a4D En ich. ................................................................ 24
Figu e 3.15. C ea ed empla e. ................................................................................................... 25
Figu e 3.14. Head o he c ea ed empla e................................................................................. 25
Figu e 3.17. Templa e wi h 3D model embedded. ..................................................................... 26
Figu e 3.16. Te a4D Con e e ea u es. ................................................................................... 26
Figu e 3.18. Templa e wi h hie a chical able inse ed and piece highligh ed. ......................... 27
Figu e 3.19. Te a4D En ich ea u es. ......................................................................................... 28
Figu e 3.20. Example CSV able. ................................................................................................. 28
Figu e 3.21. Example clipboa d able. ........................................................................................ 28
Figu e 3.22. Templa e wi h in o ma ion able inse ed. ............................................................ 29
Figu e 3.23. Final documen a e ca ousel implemen a ion. ................................................... 30
Figu e 3.24. Code o embedding 3D model. .............................................................................. 31
Figu e 3.25. G aphic o he came a and objec in a coo dina es XYZ sys em [31]. .................... 32
Figu e 3.26. Code o a able. ...................................................................................................... 33
Figu e 3.27. Code o he Ope a o anno a ions. ....................................................................... 34
Figu e 3.28. Code o name o he model and au ho . ............................................................... 34
Figu e 3.29. Code o ex ield and bu on o digi s o componen . ........................................ 35
Figu e 3.30. Code o Ja aSc ip unc ion. .................................................................................. 35
Figu e 3.31. Code o able o u he in o ma ion. .................................................................... 35
Figu e 3.32. S uc u e o he documen . .................................................................................... 37
Figu e 3.33. Code o he Ja aSc ip unc ion. ............................................................................ 37
Figu e 3.34. Final manually implemen ed 3D PDF documen . ................................................... 38
Figu e 3.35. Code o he decla a ion o he colou s. ................................................................. 38
Figu e 3.36. Code o he p ocessing o DAT ile. ....................................................................... 39
Figu e 3.37. Code o he imp o ed able o in o ma ion. ......................................................... 40
Figu e 3.38. Code o he au oma ic name o he model and au ho . ....................................... 41
Figu e 3.39. View o he imp o ed able o in o ma ion. ........................................................... 41
Figu e 3.40. Resul o he au oma ic name o he model and au ho . ....................................... 41
Figu e 4.1. View o he Assembly 1 in he CAM so wa e. ......................................................... 43
Figu e 4.2. View o he Assembly 2 in he CAM so wa e. ......................................................... 44
Figu e 4.3. View o he Assembly 1 in he con e e so wa e. .................................................. 44
Figu e 4.4. View o he Assembly 2 in he con e e so wa e. .................................................. 45
Figu e 4.5. View o he Assembly 1 in he web applica ion. ....................................................... 45
Figu e 4.6. View o he Assembly 2 in he web applica ion. ....................................................... 46
Figu e 4.7. Assembly 2 anno a ions. ........................................................................................... 46
Figu e 4.8. Te a4D c ea ed empla e......................................................................................... 47
Figu e 4.9. Adding he 3D model on Te a4D c ea ed empla e. ............................................... 48
Figu e 4.10. Adding he 3D model on Te a4D c ea ed empla e. ............................................. 48
Figu e 4.11. 3D model on Te a4D c ea ed empla e. ................................................................ 49
Figu e 4.12. Assembly 1 gene a ed documen . .......................................................................... 49
Figu e 4.13. Assembly 2 gene a ed documen . .......................................................................... 49
Figu e 4.14. LaTeX c ea ed empla e. ......................................................................................... 50
Figu e 4.15. Expo ing Assembly 1 as U3D ile in 3D Tool. ......................................................... 51
Figu e 4.16. Expo ing Assembly 2 as U3D ile in 3D Tool. ......................................................... 51
Figu e 4.17. Tex pad documen o he in o ma ion able. ....................................................... 52
Figu e 4.18. Resul ed documen o assembly 1. ....................................................................... 52
Figu e 4.19. Resul ed documen o assembly 2. ....................................................................... 53
Figu e 7.1. Tools budge o he so wa e and solu ions. ............................................................ 65
Figu e 7.2. Enginee ing and documen a ion cos s budge . ........................................................ 66
Figu e 7.3. To al cos s budge . .................................................................................................... 66
RESUM
El p esen p ojec e consis eix en la ece ca i implemen ació de solucions pe
a la millo a de la c eació de documen s 3D in e ac ius de supo a la
enginye ia de ab icació. La idea és acili a el lux de eball en e el
dissenyado i l’ope a i de màquines c ean pla a o mes en les quals es puguin
eu e cla amen les pa s dels assembla ges, les se es ca ac e ís iques i
eali za possibles eedbacks pe al d’op imi za l’elabo ació de les peces. A
més, es p e én millo a la quali a dels documen s c ea s ins alesho es,
implan an nous ipus d’a xius i millo es g à iques amb les que se à mol més
di ícil la pè dua d’in o mació du an el p océs.
Es compa a an les solucions obades an ècnica com econòmicamen ,
eali zan exemples de cadascuna de les o mes d’ob eni els documen s, i
inalmen es p oposa à la més adien .
RESUMEN
El p esen e p oyec o consis e en la búsqueda e implemen ación de soluciones
pa a la mejo a de la c eación de documen os 3D in e ac i os de apoyo en la
ingenie ía de ab icación. La idea es acili a el lujo de abajo en e el
diseñado y el ope a io de máquinas c eando pla a o mas en las cuales se
puedan e cla amen e las pa es del ensamblaje, sus ca ac e ís icas i ealiza
posibles eedbacks po al de op imiza la elabo ación de las piezas. Además,
se p e ende mejo a la calidad de los documen os c eados has a aho a,
implan ando nue os ipos de a chi os y mejo as g á icas con las que se á
mucho más di ícil la pé dida de in o mación du an e el p oceso.
Se compa a án las soluciones encon adas an o écnica como
económicamen e, ealizando ejemplos de cada una de ob ene los
documen os, y inalmen e se p opond á la más adecuada.
ABSTRACT
The cu en hesis consis s on he esea ch and implemen a ion o solu ions
o he imp o emen in he c ea ion o 3D in e ac i e documen s o he
suppo in manu ac u ing enginee ing. The idea is ease he wo k low be ween
he designe and he ope a o c ea ing new pla o ms in which i is possible
o see clea ly he assembly componen s, hei ea u es and ca y possible
eedbacks on so he elabo a ion o pieces can be op imized. Fu he mo e, i
is p e ended o inc ease he documen s quali y done un il now, implemen ing
new ile ypes and g aphic imp o emen s wi h which he loose o in o ma ion
du ing he p ocess will be mo e di icul .
The ounded solu ions will be compa ed echnical and economically, making
examples o each o he ways o ob aining he documen s, and inally he
mos sui able one will be p oposed.
ACKNOWLEDGMENT
I would no like o inish his hesis wi hou hank and dedica e his wo k o
some people i s .
Fi s o all, I would like o hank o D . P o .-Ing And eas Elle meie o gi ing
me he possibili y o pa icipa ing in such a p ojec as Au oRüs in hei
labo a o y and be a pa o he eam o a ew mon hs in OTH Regensbu g.
Secondly, I wan o show my g a i ude o Scien i ic Assis an He . Daniel
Vögele o he weekly mee ings and help ha ha e make his hesis ha ing
he di ec ion o each he goals de ined.
Finally, his hesis would no ha e been possible wi hou he suppo o my
amily and gi l iend. I would like o ake he oppo uni y he e o exp ess all
my g a i ude o all hei e o , ad ices and comp ehension du ing all my s ay
in Regensbu g. To Jenni e , hanks o hold me e en being a housands o
kilome es om you. I has been a e y di icul issue and you dese e i all.
To Miquel and specially my mo he , all my app ecia ion. I is always di icul
o be sepa a ed om you sons, bu you help, ad ices, s eng h gi en and
he con incemen o come he e and enjoy his un o ge able expe ience has
been p iceless. To my a he , i will ha e been impossible wi hou you calls,
ad ices and suppo all hese mon hs along. Thank you o all my amily,
b o he s, sis e , nephew… you a e always he e and i is so aluable o me.
And o cou se, o my iends he e in he E asmus Exchange P og am, my
amily o i e mon hs. To all o hem hank you o making his expe ience
some hing wo h o li e.
Repo
“CREATION OF INTERACTIVE
3D DOCUMENTS TO SUPPORT
THE SETUP PROCESS OF
MACHINE TOOLS”
TFG p esen a pe op a al í ol de GRAU en
ENGINYERIA MECÀNICA
pe Víc o A nedo Blanco
Ba celona, 11 d’oc ub e de 2016
Di ec o : José An onio T a ieso Rod íguez
Depa amen d’Enginye ia Mecànica (DEM)
Uni e si a Poli ècnica de Ca alunya (UPC)
2. Ma ke Analysis
7
was s a ed o be de eloped, known as WebGL. I was hough o he way o
in oduce 3D con en , pe manen ly, in b owse s. X3DOM, o example, is
based in his echnology nowadays.
X3D suppo s 3D and 2D g aphics as well as anima ions, audio and ideo and
CAD/CAM da a ha can be in e ac i e wi h he use wi h mouse-based picking
and d agging.
Summa izing, a good eason o use X3D is he ex ended compa ibili y wi h
o he o ma s and codi ica ions, as VRML o XML ha p o ide i in eg a ion
wi h Web echnologies. The possibili y o c ea ing Web applica ions and sha e
hem easily, since he inal use only needs a b owse o in e ac ing wi h he
con en , and he huge amoun o in o ma ion sp ead ou in he In e ne will
make his p ocess highly op imized.
2.3. So wa e in ol ed in he wo k low
2.3.1. Te a 4D
Te a4D is a ool ha allows he use c ea ing in e ac i e 3D PDF iles easily.
I is composed by wo di e en p oduc s, 3D Con e e and En ich, bo h o
hem wo king in Ac oba as a plug-in.
Te a4D was bo n in la e 2013 as an end-use so wa e, a e Tech So 3D
acqui ed i . Be o e ha , i was Adobe who wo ked on 3D PDF de elopmen
o se e al yea s and, since he e was a huge wo k done by his company,
Te a4D’s aim has been e ining hei echnology and ex ended i o mo e
use s wo ldwide [18].
One o he ools de eloped by his company is Te a4D Con e e , he
successo o 3D PDF Con e e . I s unc ion is con e ing 3D CAD and CAM
da a in o in e ac i e 3D PDF documen s wi h p ecise solid geome y and
including P oduc Manu ac u ing In o ma ion. I is also used as a con e e
o o ma s as STEP o STL, and i wo ks wi h so wa e like Ca ia o
SolidWo ks [19].
Te a4D En ich is he o he p oduc he company o e s us. This ool
inco po a es Te a4D Con e e unc ions and ex end hem, including all he
equi ed in o ma ion o he p oduc , like he 3D CAD, me ada a o all he
wo k lows ela ed o he Model Based En e p ise, as 3D MBD Technical Da a
Packages wi h PMI. I is, u he mo e, possible o c ea e you own empla e
o use exis ing examples in o de o build in e ac i e documen s wi h wo k
ins uc ions, pa ca alogs o u he in o ma ion o he componen s. A he
end we will ha e a documen simila o an applica ion, wi h which he ope a o
will know all he necessa y abou he model [20].
2. Ma ke Analysis
8
All in all, he ac o being a e y in ui i e so wa e, wi hou need o any
p og amming knowledge is wha make conside Te a4D a e y powe ul ool,
sui able o ou pu poses o ea ning ime and acili a e he c ea ion o he 3D
in e ac i e PDF iles.
Al hough all he ea u es and bene i s Te a4D En ich can p o ide us, i is
di icul o a o d due o i s high comme cial p ice. I depends on he company
he decision o adop his so wa e as hei main ins umen o c ea ing 3D
PDF iles.
2.3.2. 3D Tool
3D Tool is a so wa e specialized in CAD iles con e sion wi h designing ools
included. I includes a huge ange o di e en o ma s ha is capable o iew
and con e , always depending on he e sion acqui ed.
The ool has he possibili y o publish 3D PDF i sel as seen in igu e 2.1, he
goal we wan ed o each in his pa o he hesis, bu he documen c ea ed
only includes he 3D model, wi hou he possibili y o adding any use ul
in o ma ion like a ca alog o he pa s o PMI in o ma ion.
3D Tool has ecei ed many sa is ac o y eedbacks, due o he ease o use i ,
wi hou any p e ious CAD knowledge o in o ma ics, o example. The
in e ace gi es o he use acili ies o ind wha e e he wan s, like measu e
a pa o he model, o con e om one o ma o ano he .
I is e y use ul o us since is one o he ew so wa e able o impo STEP
iles e icien ly and a e ha con e he 3D model in o a U3D ile. I does
no suppose any di icul y o a o d i , because i is a ela i ely low-p iced
ool, so i is pe ec o companies o uni e si ies ha need o p oduce U3D
iles om STEP and a lo o mo e o ma s like Ca ia’s, SolidWo k’s o JT.
2. Ma ke Analysis
9
2.3.3. LaTeX
LaTeX is a ex p epa a ion sys em, o ien a ed o a high ypog aphic quali y.
I is used specially, because o i s ea u es and possibili ies, o gene a ing
a icles and scien i ic books in which he use o ma hema ics exp essions is
so impo an , bu also in s a is ics, economics o poli ical science [21]. The
w i e uses code as agging con en ions o es ablish he s uc u e o he
documen , de ining he s yle o he ex and adding ables and o he elemen s
such as pic u es, anima ions o 3D models.
LaTeX is based on TeX commands. TeX is a ypog aphic sys em w i en by
Donald E. Knu h, ha , annoyed wi h he low quali y o his i s books, decided
o design his own language and he inished i in ea ly 80s [22]. TeX o de s
a e di icul o analyse, s a ing wi h an in e se slash (“ ”), adding a gumen s
in o keys (“{}”) and based on basic o de s and mac os. Mos o hem a e
included in o iginal Knu h’s plainTeX, LaTeX o echnic science in i s majo i y,
and ConTeX , o publica ions.
LaTeX was c ea ed in 1984 in o de o acili a e he use o TeX, p o iding a
high-le el language, comp ising a collec ion o i s mac os and c ea ing a
p og am o p ocess LaTeX documen s. I pu poses a di e en wo k
philosophy- wo king wi h ins uc ions o ocusing in he con en o he
documen , no in he o ma de ails. I s g aphics capabili ies able he use o
s uc u e easily he documen and he can ob ain e y a ac i e a icles and
books [23].
Figu e 2.1. 3D PDF c ea ed by 3D Tool.
2. Ma ke Analysis
10
LaTeX equi es wo s eps: in he i s one we ha e o c ea e he ile in a ex
edi o which con ains he ex we wan o publish, and in he second we will
p ocess he ex . In his pa he ex p ocesso in e p e s he o de s w i en
on i and compiles he documen , lea ing i p epa ed o being sen o i s
des ina ion. I we wan o add o modi y some hing, we will ha e o change
wha e e we wan in he ile and p ocess i again, jus as in high le el
p og amming languages like C o C++.
LaTeX documen s ha e compa ibili y wi h any ex edi o , hey consis o plain
ex so do no con ain hidden o ma ing codes, and hey can be ende ed o
PDF iles using ex ension pd LaTeX [24].
In b ie , LaTeX is a e y powe ul ool o he c ea ion o 3DPDF documen s.
I only needs he call o mo ie15 o he newes media9 packages. I s
capabili ies and ea u es make his so wa e a e y use ul way o implemen
ou empla es and es ablish ou wo k low be ween he 3D model and da a
and he PDF ile.
2.3.4. CAD Exchange
CAD Exchange concei ed o he CAD da a in e ope abili y. I allows o
isualize 3D da a, con e i in a nume ous amoun o di e en CAD, mesh,
and o he o ma s. The so wa e wo ks wi h s anda d o ma s, as IGES, STEP
o STL and wi h modelling speci ic o ma s like ACIS, Pa asolid o Rhino/Open
NURBS [25].
CAD Exchange was c ea ed by he company CADEX in 2014 by Roman Lygin,
despi e some be a e sions we e ealised some yea s be o e. I s a ed like
o he ech s a -ups, as a hobby, bu wi h ich backg ound in so wa e
de elopmen and managemen and inspi ed in pa allel compu a ions, he
ounde s p o o yped a 3D isualiza ion and con e sion app ha ecei ed
posi i e eedbacks om use s. They wen on he imp o emen o he so wa e
and inally ounded he company [26].
The p oblem wi h CAD da a in e ope abili y has been p esen since CAD
sys ems s a ed o be designed. The echnical ac o s like he di e ences in
o ma designa ions and desc ip ions o 3D da a, as colou s, ma e ials o
me ada a, o ins ance, o he di e en ma hema ical desc ip ions used in
geome ics unde nea h e e y CAD sys em come in o play. Also he inclusion
o ea u es in a speci ic and encompassing o ma as STEP ends up in
complica ions and ambiguous in e p e a ions o he s anda ds. All o his
make big companies o c ea e hei own o ma s o wo k wi h neu al o ma s
bu gi ing p io i ies o hei own needs [27].
As he complexi y ela ed o da a con e sion, because no only o he
appea ing o new e sion o exis ing o ma s bu he g ow o complexi y and
2. Ma ke Analysis
11
size o hem, is g owing, new e icien me hods a e equi ed, and CAD
Exchange is based in one o hese me hods. The combina ion o using pa allel
compu a ions, a sys em based on he idea ha big p oblems migh be sol ed
wi h li le solu ions as a whole [28], is wha makes his so wa e a powe ul
ool o his issue. CAD Exchange includes h ee di e en packages, ha a e:
-GUI, a g aphical use in e ace app ha allows isualize 3D models in
di e en iews and in e ac wi h he assembly, gi ing also di e en
geome ical in o ma ion o i .
-SDK, a se o C++ lib a ies o de elope s, so hey a e able o, o example,
impo ing exac geome y in CAM sys ems om STEP o JT o analyse p oduc
s uc u e and geome ical da a o a 3D model.
-CLI, a se e -based solu ion designed o he collabo a i e usage, so he
designe s can sha e all hei da a in cloud-based se ices in la ge companies,
o ins ance.
In ou case, CAD Exchange will be used o he con e sion om STEP o X3D
iles. The company o e s ee educa ional e sions and si e-wide licensing,
so he so wa e can be used on unlimi ed numbe o compu e s. I is e y
use ul, in ha way, he lexibili y hey o e us.
2.4. Ways o implemen he solu ion
The c ea ion o a 3D PDF was usually an unsuccess ul p ocess, since he 3D
model was expo ed in a mesh o ma and was no possible o c ea e a model
ee, o example, he quali y was no as high as we wished and was e y
slow, due o he ac ha he e was no a speci ic empla e o wo k wi h. The
old wo k low is shown in igu e 2.2. Once he 3D model was c ea ed in OPUS,
he CAM so wa e used, i was expo ed as a STL ile, as a mesh, and impo ed
in MeshLab in o de o con e he ile in a U3D o ma . Finally, i was
embedded in a PDF documen wi h LaTeX, bu wi h a e y simple empla e
c ea ed also in his so wa e. In his p ocess, a lo o in o ma ion, s a ing
om he colou and ex u es and con inuing wi h PMI and o he anno a ions
we e los . The e was, addi ionally, he possibili y o c ea e a 3D PDF
documen om OPUS. This op ion, hough, was dismissed since he e was no
possibili y o c ea e a empla e o add any able o u he in o ma ion. The
documen was composed by he 3D model and no hing else, so he ope a o
was able o in e ac wi h he assembly bu had no access o i s de ails.
2. Ma ke Analysis
12
Th ee solu ions ha e been hough o his issue, bu hey ha e been based
in he old wo k low, wi h he idea o op imize i and imp o e i as much as
possible. The aspec s ha ha e been p esen a e he quali y o he inal
p oduc and he sa ings o money and ime. A p imo dial equisi e was, also,
ha he solu ion had o wo k wi h se e al CAD/CAM so wa e bu abo e all
wi h OPUS.
Wi h he guidelines gi en, we had o look o he sui able so wa e in o de
o es ablish connec ions be ween hem and de elop a wo k low wi h hei
connec ions. The implemen ed solu ions ha e been he nex ones:
U iliza ion o a Web applica ion o he in e ac ion wi h a 3D model. In
his case, we will wo k in he con e sion o he STEP model in a X3D
ile wi hou he loss o in o ma ion and cha ac e is ics and he
implemen a ion o he model in a di e en en i onmen , easy o sha e
and use o he ope a o . This solu ion’s wo k low is exposed in igu e
2.3.
Use o Te a4D o he embedding o he 3D model in a 3D PDF
documen . As a e y powe ul ool, Te a4D En ich can p o ide us an
in ui i e and b ie design o he empla es necessa ies o he c ea ion
o he documen s and he addi ional ea u es as ables, anno a ions
and in e ac i e bu ons.
The p oblem o he solu ion will be he economic cos . The solu ion
diag am is shown in igu e 2.4.
Design o an in e ac i e 3D PDF wi h he use o 3D-Tool and LaTeX.
This solu ion will suppose an economic and limi less solu ion, since he
las s ep o he p ocess, wi h he pd edi o will supply a lo o di e en
op ions and wi h a STEP 3D model, so he quali y will inc ease
conside ably. I will be, hough, necessa y o change some code by he
ime o changing he model in he empla e. In igu e 2.5 we can see
he diag am o he wo k low.
OPUS
•STL
MeshLab
•U3D
LaTeX
•PDF
Figu e 2.2. Old wo k low.
p ocess.
2. Ma ke Analysis
13
Figu e 2.5. 3D Tool and LaTeX wo k low.
p ocess.
Figu e 2.3. Web App wo k low.
p ocess.
OPUS
•STEP
Te a4D
•PDF
Figu e 2.4. Te a4D wo k low.
p ocess.
OPUS
•STEP
3D Tool
•U3D
LaTeX
•PDF
OPUS
•STEP
CAD Exchange
•X3D
HTML Edi o
•Web App
3. Implemen a ion
14
CHAPTER 3:
IMPLEMENTATION
In his sec ion we will alk abou he way he solu ions ha e been
implemen ed and how we ha e c ea ed he in e ac i e documen s and web
applica ions. The esea ch has been based in h ee di e en aspec s, inding
he way o ha e a web applica ion o X3D iles and designing wo kinds o
PDF documen s wi h di e en p og ams, ea u es, e o o pu and ime o
spend on i . The implemen a ion o he solu ions will be explained s ep by
s ep in o de o be as a guide o he c ea ion o a wo k low and a way o
design empla es o applica ions o 3D models in di e se sou ces. I will
include explana ions, images and code when necessa y.
3.1. Web applica ion in a b owse
The use o a Web applica ion o in e ac ing wi h a 3D model is a di e en o
implemen he idea o he c ea ion o a documen . In his case, we do no
c ea e a empla e and embed he 3D model, bu we c ea e an app wi h which
he use , in his case he ope a o , will be able o ha e all he iews, mo e
he model, ha e a ee o he pieces ha compose he assembly and ha e
u he in o ma ion in his app. The so wa e needed o he s a -up will be:
CAD-Exchange as ile con e e .
B owse (Ch ome, Fi e ox, IE, e c., wi h WebGL echnology)
HTML ex edi o and compile (Co eeCup F ee HTML Edi o )
3. Implemen a ion
15
3.1.1. Gene a ion o he se -up web app
As said be o e, we will no need a se -up documen as a empla e, bu we will
need o ha e a base, a place in which embed ou 3D model, and his will be
he applica ion. Wi h a non- e y ex ended knowledge in HTML language, i is
di icul o design some hing like his, bu o una ely exis s nowadays a huge
amoun o in o ma ion and examples on he In e ne , so i is possible o ind
ee-open sou ce wo k ela ed and use i o modi y, always conside ing he
au ho o i , Ch is ian S ein [28] in his case. B owsing we see a lo o ma e ial
based on X3DOM, and websi es specialized in his a ea. One o hese
(Doc.x3dom.o g), p o ide us wi h examples and u o ials so we can lea n he
language and p og amming wi h p ac ical cases and ano he one (Gi Hub) is
a o um whe e de elope s and people in e es ed in his issue can sha e and
sp ead h ough hei wo ks and codes.
In he las , i is possible o ob ain he code o a CAD Viewe , a Web applica ion
p epa ed o suppo ing he addi ion o 3D models and i s da a, as well as a
ee o he assembly pieces and p og amming i s iews. The CAD Viewe looks
like in igu es 3.1. and 3.2.
Figu e 3.1. CAD Viewe wi hou any 3D model.
3. Implemen a ion
16
The web example allows us o ha e an idea o he ea u es and capabili ies i
has. As said be o e, we can open he assembly pa s ee so we can selec ,
in yellow in his case, he desi ed one. The e a e also di e en ways o iew
i . I has been implemen ed anno a ion and me ada a sec ions so he
de elope can add u he in o ma ion i necessa y, as seen in igu e 3.3. We
also ha e di e en iews in o de o acili a e he in e ac ion wi h he model,
showed in igu e 3.4.
Figu e 3.2. CAD Viewe wi h 3D model example ea u es.
Figu e 3.3. CAD Viewe example.
anno a ions.
Figu e 3.4. CAD Viewe
example iews.
3. Implemen a ion
23
3.2. C ea ion o pd documen wi h e a4d
Te a4D is a comme cial and powe ul ool wi h which we will be able o c ea e
in e ac i e PDF documen s easily. We ha e he possibili y o making ou own
empla e, adding on i he 3D model wi h jus a click o ou mouse, wi hou
he necessi y o ha ing con e ed i in o U3D o X3D, jus wi h he STEP ile.
I s me hods and ea u es will p o ide us an ea ning o ime and e o . The
so wa e necessa y o his implemen a ion will be:
Te a4D En ich
Ac oba P o DC o XI
3.2.1. Gene a ion o he se -up documen
The e a e wo di e en ways o c ea e ou empla e i we decide o use
Te a4D. The i s one would consis in c ea ing a documen in ex edi o
so wa e, adding i les and lea ing space o he elemen s we wan o embed,
as he 3D model, a ables o o he in o ma ion ela ed o he assembly. Once
he documen is o ganized we will ha e o sa e i as a PDF ile and i will be
eady o be manipula ed in Te a4D. This op ion, despi e being a e y easy
one, has many disad an ages. I is, o ins ance, necessa y o c ea e a new
documen e e y ime we wan o publish a new 3D model, so his does no
ep esen an op imiza ion o he p ocess. Ou idea is c ea ing a de ined
empla e wi h a de aul s uc u e and in which we only had o change he
name o he model, he 3D model i sel , he able o i s componen s and i s
PMI da a. This is possible o do wi h Te a4D.
Fo his he second op ion o implemen ou wo k low, we will use he chosen
so wa e. We ha e, also, wo di e en ways o design he empla e in his
case. We can c ea e ou own empla e o use one o he de aul s Te a o e s
us. In he las case, he documen is di ided in di e en pa s, including he
company logo, a collec ion o bu ons o he in e ac i i y and space o ables
o in o ma ion abou he assembly. I would look as in igu e 3.13. I is
possible, u he mo e, o modi y he appea ance o he de aul empla e o
ou likeness, changing he colou s, he on o he logos o example.
Te a4D En ich gi es us also he chance o design ou own empla e in a e y
in ui i e way and wi h u o ials and ins uc ions in o de o help us. We will
explain how o do i , c ea ing ou example.
3. Implemen a ion
24
The i s hing we should do is p epa ing he so wa e in ol ed in he
wo k low. These a e, Adobe Ac oba P o and Te a4D En ich. We will ind 28
days’ ee ial e sions in hei Websi es
3
, bu i we wan o con inue wi h
his solu ion, we should buy he licenses wi h he p ice la e will be exposed.
Once e e y hing is ins alled in he ope a ing de ice we can s a wi h he
design o he empla e. The ea u es we ha e a ailable a e c ea ing i le,
sub i le and desc ip ion, as well as in e ac i e ables and spaces o u he
in o ma ion and bu ons wi h which he ope a o can in e ac wi h he 3D
model, changing he iew o i o example.
We ha e o c ea e a whi e shee documen in a ex edi o like Mic oso Wo d
and sa e i as a PDF ile, so we will ha e he base in which wo k in Te a4D
En ich. Once done, we should add a de aul s uc u e o ou documen ; o
example, adding a i ma o uni e si y logo, a space o he i le, he au ho
and he da e he assembly was done o published. We will do his wi h Ac oba
P o, edi ing he PDF and adding ex and images. Wi h he space le o he
hings said be o e, we could use o mula y boxes so e e y ime we open a
new empla e we jus ha e o change he ex in he co esponding box. The
esul can be seen in igu e 3.14.
I would be app op ia ed o ollow he idea o he company examples, since
i is sui able o ou pu poses. We should lea e a space o he 3D model in
he le side o he documen and ano he one below o bu ons, iews o
ex ield o anno a ions, and on he igh o he able o pieces and PMI
3
Websi es:< h ps://ac oba .adobe.com/us/en/ ee- ial-download.h ml>,
<h p://www. e a4d.com/ e a4d-en ich/>
Figu e 3.13. Example empla e om Te a4D En ich.
3. Implemen a ion
25
da a o u he in o ma ion. Be o e inse ing he in e ac i e con en , he
empla e would look like in igu e 3.15.
Ob iously his is jus an example, a model o empla e we can use. Te a4D
En ich is capable o p o ide us endless kind o designs and con igu a ion o
empla es. Once his is done, he nex s ep will be he embedding o he 3D
model in he documen .
3.2.2. Embedding 3d model in he documen
This ask supposes one o he easies pa s in his wo k low. Te a4D En ich,
as said be o e, is capable o adding no only U3D iles in he 3D PDF
documen s bu also con e ing STEP iles in U3D o e en embedding STEP
iles in he empla es wi h jus one click, since i includes all he Te a4D
Con e e ea u es. I ou empla e is done, we can add he 3D model going
Figu e 3.14. Head o he c ea ed empla e.
Figu e 3.15. C ea ed empla e.
3. Implemen a ion
26
o he ools menu o Con e e in Ac oba P o and clicking in Add 3D, as we
can see in igu e 3.16.
We selec ou 3D model ile and he a ea o he empla e we wan o ake up
o i . We will ha e o selec some quali y op ions as he colou o he
backg ound, depending on ou necessi ies. The esul is shown in igu e 3.17.
Figu e 3.16. Te a4D Con e e ea u es.
Figu e 3.17. Templa e wi h 3D model embedded.
3. Implemen a ion
27
3.2.3. Embedding u he equi ed in o ma ion in o he
documen
Te a4D En ich also gi es us a lo o acili ies o adding in ou 3D PDF
documen s in o ma ion abou he 3D model and o he ea u es a e possible
o combine o compounding a e y in e ac i e documen . The i s hing we
can add is a able o he componen s o he assembly. We ha e di e en ways
o c ea e his able. The so wa e i sel can gene a e he pa lis s o
al e na i ely impo i om ex e nal da a like a CSV ile o om a clipboa d
gene a ed in a sp eadshee c ea ed in an edi o like Mic oso Excel.
I we wan he so wa e o c ea e i , he e is he possibili y o make a la lis ,
in which e e y pa acqui es a numbe bu hey ha e no ela ion on any o he
pa . Addi ionally, we could design a hie a chical lis , in which he hie a chy
o he 3D in o ma ion is e lec ed wi h sub-assemblies gene a ed. The
composi ion o he numbe o he lis changes in his way. We can see an
example o a able wi h he highligh ed componen in igu e 3.18. We only
ha e o click on his op ion in he menu o Te a4D En ich, shown in igu e
3.19.
Figu e 3.18. Templa e wi h hie a chical able inse ed and piece highligh ed.
3. Implemen a ion
28
I we wan o gene a e an ex e n da a able, we should gene a e a able like
in he example o igu e 3.20, in he case o CSV o ma , wi h he same
s uc u e o a able in a sp eadshee and copy i in he case o he clipboa d
able addi ion, as in igu e 3.21. Bo h op ions can be ound in he same menu.
Figu e 3.20. Example CSV able.
Figu e 3.19. Te a4D En ich ea u es.
Figu e 3.21. Example clipboa d able.
3. Implemen a ion
29
Once he ables a e embedded we can manipula e hem and gi e o ma o
hem, inse ing colou , on s o o he op ions. In igu e 3.22 we can see how
he esul will be a e inse ing he co esponding ables in he documen .
A e ha , we will inse a ca ousel, in which we will be able o selec he
iews o he model and change hem jus p essing he bu ons. The inal
esul o he documen is shown in igu e 3.23.
The e a e some imes, al hough, di icul ies o gene a e a able because he
ile has no cha ged co ec ly he model ee. In his case we can ix he
p oblem impo ing and expo ing he STEP ile wi h ano he CAD/CAM
so wa e as NX Siemens, so he model ee will be co ec ly gene a ed and
he able pe ec ly implemen ed in ou documen .
All and all, his would be an example o documen we can use o ou pu poses
bu , i wished, he e is he possibili y o inse mo e elemen s, such as bu ons
o 3D a ibu es o he model. Anyway, wi h his example we will ha e spen
jus a ew minu es, since he empla e could be used o mo e han one
assembly, and gene a ing he elemen s is qui e simple and as o lea n and
implemen .
Figu e 3.22. Templa e wi h in o ma ion able inse ed.
3. Implemen a ion
30
3.3. C ea ion o a 3d pd documen wi h 3d ool and la ex
3D Tool and LaTeX will p o ide us wi h he necessa ies mechanisms o
con e ing an STEP model in o an U3D ile and c ea e in e ac i e 3D PDF
documen s. I has been he solu ion in which we ha e been ocused because
i s necessi y o w i e some code when we wan o change he 3D model o
embed in he empla e, bu he inal documen will include help ul elemen s
ha will make he comp ehension o he assembly o wo k a e y easy ask
apa om he 3D model iew and he model ee, ha will allow us also o
highligh he selec ed pa on i . Fo his solu ion, he so wa e needed will
be:
3D Tool Ad anced
LaTeX’s TeXs udio
3.3.1. Gene a ion o se -up documen and embedding o he 3d
model
The gene a ion o he 3D PDF documen has been di e en in his case. The
way he design has been done is based in he ial and e o me hod and
s a ed wi h he inclusion o he U3D ile in he LaTeX documen .
Figu e 3.23. Final documen a e ca ousel implemen a ion.
3. Implemen a ion
31
Fi s o all, we had o con e he STEP model in o U3D ile. Fo his pu pose,
we used he so wa e 3D Tool. The only p oblem his so wa e has is ha i
is no capable o con e ing he PMI da a, so i will no be a ailable o us in
o de o include i in he 3D PDF documen . Knowing his, we c ea e he U3D
ile and we sa e i in he same olde in which we will sa e all he p og ams
we will c ea e wi h LaTeX.
Once done his, we should s a wo king wi h he LaTeX en i onmen in
TeXs udio. LaTeX is a language based on lib a ies, so i we wan o implemen
some objec s o di e en ea u es we will ha e o call his lib a ies including
packages a he beginning o he main p og am. Ou documen will be
composed o a main p og am ha will impo all he ables and in o ma ion
om o he complemen a y smalle p og ams and he elemen s will be
implemen ed manually. A e ha , ou goal should be y o impo all he
necessa y in o ma ion au oma ically om he CAD/CAM so wa e and
isualize i in he documen . The i s hing o do is impo he 3D model om
he U3D ile wi h he package mo ie15 o media9. In his case we will include
bo h. Then, as always in LaTeX, we ha e o c ea e a new documen , gi ing i
a o ma . Fo his, we will use he command documen class wi h which we
will es ablish he size o he on , he shee and he kind o documen , in his
case an a icle. A e ha we w i e he begin{documen } command,
necessa y e e y ime we wan o c ea e a PDF ile and include be ween his
command and he end{documen } one he code o implemen ing he 3D
model, basic o s a ing wi h he c ea ion o ou empla e and wo k basis as
well. We can see he example code o ou i s p og am in igu e 3.24.
Figu e 3.24. Code o embedding 3D model.
3. Implemen a ion
32
In his example we can see we ha e included ano he package as hype e ,
necessa y o he inclusion o mos o he ea u es we will u ilize o make he
documen mo e in e ac i e and in ui i e. We use he includemedia command
o he embedding o he 3D model, and inside he keys we se all he op ions
o he isualiza ion o i , om he wid h and heigh o he box in which i will
be include, o he cen e poin o he o bi , he cen e o he came a ec o
and he o bi al adius o he iewe wi h 3Dcoo, 3Dc2c and 3D oo
espec i ely. We can see i g aphically in igu e 3.25. We also ac i a e he
oolba , he menu and inally add he 3D model wi h he name model.u3d in
o de ha he designe can change he assembly o publish jus sa ing he
new one wi h his name and changing he old one in he co esponding olde .
3.3.2. Embedding u he equi ed in o ma ion in o he
documen
Wi h his ini ial p ocess done, we will ob ain a simple PDF documen in which
we will ha e he 3D model and we will be able o in e ac wi h i as in a
CAD/CAM iewe so wa e.
Be o e s a ing p og amming, he empla e, a s uc u e o i has o be
designed. Knowing whe e o colloca e each elemen is necessa y o ease he
wo k and do i in an o ganized way. The in e ac i e aspec s we wan o add
o ou example empla e a e basically:
- Name o he model
Figu e 3.25. G aphic o he came a and objec in
a coo dina es XYZ sys em [31].
3. Implemen a ion
39
3.3.3. Possible imp o emen s
One o he aims o he hesis, as explained be o e, is o ind o c ea e a as
and e icien wo k low be ween he designe and he ope a o . In his sec ion,
he di e en possibili ies o make his pu pose eal will be explained, as well
as possible ways o con inue he esea ch in his ield.
A li le be e men ha could be implemen ed all o he u he in o ma ion
able. In he example shown in he sec ion abo e, he da a co esponding o
each componen was di ec ly w i en in he main p og am. We can, ac ually,
impo his in o ma ion om an ex e nal DAT ile made om he CAD
so wa e, only needing he equi ed o ma so ou code is capable o in e p e
he ex and p ocess i in he wished way and sa e i in he same olde as
he p og ams used. Sea ching in he web we ind a code like in igu e 3.36,
an example ha enables us o ead a ile and s o e in di e en a ays each
ow o he ex . The idea would be o gi e he in o ma ion o he speci ic
componen in i s co esponden ow, so, o ins ance, i we wan o show he
in o ma ion o a bol numbe ed as he piece 6 o he assembly, i s in o ma ion
should be w i en down on he six h ow o he documen .
Figu e 3.36. Code o he p ocessing o DAT ile.
3. Implemen a ion
40
The code abo e is composed by e y complex elemen s o he las LaTeX
language e sion. The package xpa se mus be added o he good wo k o
he unc ion. In he main code we will call he al eady decla ed unc ion o
ReadFile, ha wi h he command mya ay{} and he name o he ex , as
{somea ay.da }, will ead and call he a ays s o ed om he ile. In ou
p og am, we will decla e he unc ion be o e he beginning o he documen
and he command inside he Ja aSc ip unc ion, in he swi ch. E e y case
will ha e he line his.ge Field(“ ex o”). alue=” mya ay{1}”, wi h he
numbe inside he las command depending on he componen whose
in o ma ion is pe aining, o sending he alue o he a ay c ea ed o he
ex ield o he u he in o ma ion able, al eady explained in
in o _ able_ es . The commands used be o e a e a bi a ies, so we can
c ea e ou own commands wi h he wished name. The p oblem all o his
implies is ha we will ha e o c ea e as cases as pieces has he assembly, so
he p ocess is no comple ely au oma ized. Howe e , we will ea n a lo o
ime wi h his imp o emen i we a e able o c ea e his kind o ile wi h ou
designing so wa e. We can see he code c ea ed in igu e 3.37 and he esul
in igu e 3.38.
Figu e 3.37. Code o he imp o ed able o in o ma ion.
3. Implemen a ion
41
In addi ion, we can apply he same sys em o he au oma iza ion o he name
o he 3D model and au ho implemen a ion. We will need, hough, ou
CAD/CAM so wa e expo ing his in o ma ion in a DAT ile in di e en ows.
Once ob ained he ile, and sa ed in he same olde we ha e o w i e a simila
code line han o he las solu ion, bu changing mya ay by ano he name
as nameau ho , so he a ay s o ed in ha a iable will be called e e y ime
we w i e i , and he name o he ile a he end o he line.
Finally, we will subs i u e he ex ields used o ha issue wi h ou a iables,
so he elemen s will be implemen ed au oma ically e e y ime we change he
ile wi h a new 3D model. This pa o he code, in which we can obse e he
command ex b ha se s he le e s in bold, will look like in igu e 3.38
and he esul is shown in image 3.39.
A he end we will ha e a simila empla e as in igu e 3.34, bu imp o ed
and mo e e icien . The e is, howe e , some mo e hings ha can be changed
so all he in o ma ion is ep oduced au oma ically in ou documen . And he
way o do i would be ollowing he s eps done in his issue, wi h he a ays
sys ems. One o he solu ions could be imp o ed may be he au oma ic ead
o all he cases o he in o ma ion able, so he designe does no ha e o
Figu e 3.39. View o he imp o ed able o in o ma ion.
Figu e 3.38. Code o he au oma ic name o he model and au ho .
Figu e 3.40. Resul o he au oma ic name o he model and au ho .
3. Implemen a ion
42
w i e as cases as pieces he assembly has in he swi ch o he Ja aSc ip
unc ion. Implemen ing a loop in and compa ing he numbe go in he ex
ield wi h he a ay wished and show i migh be he goal in his si ua ion.
In he same way would be he be e men o he c ea ion o he componen s
able. The p oblem he e is ha he o ma explained be o e o he able has
o be w i en in he code, so we canno jus impo and inse i as an a ay
a iable bu we ha e o w i e in he p og am. Howe e , he me hod migh be
qui e simila o he used o he in o ma ion able, eading an ex e n ile and
p ocess i so he p og am can show he da a au oma ically, wi h loops o gi e
mo e lexibili y o he accoun o elemen s in i . The way o con inue is al eady
s a ed, and mo e e o and wo k will be equi ed o ob ain a comple ely
au oma ic gene a ion o a 3D PDF documen .
4. Examples o implemen a ion
43
CHAPTER 4:
EXAMPLES OF
IMPLEMENTATION
In his sec ion we will display a sequence o pic u es ha will show all he
p ocesses s ep by s ep g aphically o how he solu ion is implemen ed, no
en e ing in he backg ound pa , since i has been explained in he p e ious
chap e . We will use wo assemblies so he good unc ioning wi h
independence o he 3D model can be demons a ed. Be o e s a ing wi h
each solu ion we should ha e bo h pieces sa ed in STEP ile om he CAM
so wa e, and hey look like in igu es 4.1 and 4.2.
Figu e 4.1. View o he Assembly 1 in he CAM so wa e.
4. Examples o implemen a ion
44
4. 1. Web Applica ion in he b owse
This is he only solu ion in which we will need o con e ou STEP iles in o
X3D iles, so we will need he so wa e CAD Exchange , he chosen one
because o i s ela ion quali y-p ice, o gene a e he desi ed iles:
Figu e 4.2. View o he Assembly 2 in he CAM so wa e.
Figu e 4.3. View o he Assembly 1 in he con e e so wa e.
4. Examples o implemen a ion
45
A e he expo ing hem as X3D iles and send hem o indi idual olde s wi h
each name inside he DATA olde whe e all he o he iles a e, we should
ename he wished assembly o model.x3d and change he name o
MYAPP.model in he main.js ile. The name we ha e o w i e is how he olde
o he assembly is called. As an example, i he olde o assembly one is
called in he same way, Assembly1, we should w i e MYAPP.model =
“Assembly1” in main.js code and call ou ile model.x3d. Once e e y hing is
done, we can open he index.h ml ile in Mozilla Fi e ox b owse , as i is he
bes o suppo all he ea u es o he 3D model.
Figu e 4.4. View o he Assembly 2 in he con e e so wa e.
Figu e 4.5. View o he Assembly 1 in he web applica ion.
4. Examples o implemen a ion
46
We also can add in o ma ion in Me aDa a and Anno a ions sec ions, changing
he no epads as shown in implemen a ion chap e be o e. This is an example
o Assembly 2:
Figu e 4.6. View o he Assembly 2 in he web applica ion.
Figu e 4.7. Assembly 2 anno a ions.
4. Examples o implemen a ion
47
4.2. Te a4D
This solu ion is he easies one in e ms o unc ionali y. We only need o
c ea e a empla e as in igu e 4.8 and add in i he in e ac i e objec s, as he
3D model, he able o componen s and he iews o he assembly.
In his case, no con e e is needed since Te a4D En ich i sel englobes
Te a4D Con e e and i is able o impo STEP iles in he PDF iles, so we
only need his so wa e o ca y his solu ion on.
I esul s a e y as p ocess, wi h which in i e minu es we can ha e an
in e ac i e 3D PDF documen eady o sha e wi h he ope a o and e y easy
o manipula e and in ui i e. We can see he p ocess in he nex igu es.
Fi s o all, we add he 3D model in he empla e wi h he ool p o ided by
he so wa e, as we can see in igu es 4.9 and 4.10.
Figu e 4.8. Te a4D c ea ed empla e.
4. Examples o implemen a ion
48
A e ha , we should add he able o componen s, also wi h he ools, and
he iews and u he in o ma ion. The la es can be implemen ed by a CSV
ile o a clipboa d, done in a sp eadshee o example. We can see he esul
o he wo assemblies in e ac i e documen s in igu es 4.11, 4.12 and 4.13.
Figu e 4.9. Adding he 3D model on Te a4D c ea ed empla e.
Figu e 4.10. Adding he 3D model on Te a4D c ea ed empla e.
5. Conclusions
55
be no iced. And his is one o he easons why we will ecommend his solu ion
a e he esea ch done. They will be all exposed below:
3D Tool and LaTeX will suppose a sligh economic in es men
compa ed wi h all he capabili ies and ea u es possible o be
embedded in ou empla es and documen s.
The quali y o he 3D PDF c ea ed is excellen and he elemen s can
p oduce a e y use ul in e ac i i y wi h he manu ac u ing ope a o .
The e is chance o u he in es iga ion and esea ching in he ield so
an amelio a ion o he documen s c ea ed can be ca ied ou .
The e iciency conce ning o he ea ning o ime is ob ained since he
change o he 3D model published equi es some s eps ha las no
longe han a ew minu es i he way o do i is known.
All he ools de ailed in he hesis cons i u e a possibili y o implemen a ion
o a wo k low in he p ojec , bu 3D Tool and LaTeX ul il all he
necessi ies s ipula ed and will inally be he choice selec ed o ou
pu poses.
6. Bibliog aphy
56
CHAPTER 6:
BIBLIOGRAPHIC
REFERENCES
[1] Compu e hope.com. (2016). Wha is HTML (Hype Tex Ma kup
Language)?. [online] A ailable a :
h p://www.compu e hope.com/ja gon/h/h ml.h m [Accessed 3 Jun. 2016].
[2] Webopedia.com. (2016). Wha is Hype Tex Ma kup Language - HTML?
Webopedia De ini ion. [online] A ailable a :
h p://www.webopedia.com/TERM/H/HTML.h ml [Accessed 3 Jun. 2016].
[3] Compu e hope.com. (2016). Wha is HTML (Hype Tex Ma kup
Language)? - Wha is HTML5?. [online] A ailable a :
h p://www.compu e hope.com/ja gon/h/h ml.h m [Accessed 3 Jun. 2016].
[4] Beh , J., Eschle , P., Jung, Y. and Zollne , M. (2009). X3DOM – A DOM-
based HTML5/ X3D In eg a ion Model. [online] pp.1-3. A ailable a :
h p://www.web3d.o g/wiki/images/3/30/X3dom-web3d2009-pape .pd
[Accessed 4 Jun. 2016].
[5] Wha Is.com. (2016). Wha is amewo k? - De ini ion om Wha Is.com.
[online] A ailable a : h p://wha is. ech a ge .com/de ini ion/ amewo k
[Accessed 4 Jun. 2016].
6. Bibliog aphy
57
[6] Doc.x3dom.o g. (2016). X3DOM Documen a ion: Ge ing S a ed.
[online] A ailable a :
h p://doc.x3dom.o g/ge ingS a ed/backg ound/index.h ml [Accessed 4
Jun. 2016].
[7] Wikipedia - La enciclopedia lib e. (2016). PDF. [online] A ailable a :
h ps://es.wikipedia.o g/wiki/PDF [Accessed 6 Jun. 2016].
[8] P ep essu e.com. (2013). The his o y o PDF | How he ile o ma and
Ac oba e ol ed. [online] A ailable a :
h p://www.p ep essu e.com/pd /basics/his o y [Accessed 6 Jun. 2016].
[9] Wikipedia. (2016). Po able Documen Fo ma . [online] A ailable a :
h ps://en.wikipedia.o g/wiki/Po able_Documen _Fo ma [Accessed 6 Jun.
2016].
[10] Wikipedia. (2016). Pos Sc ip . [online] A ailable a :
h ps://en.wikipedia.o g/wiki/Pos Sc ip [Accessed 6 Jun. 2016].
[11] Ecma-in e na ional.o g. (2016). Welcome o Ecma In e na ional.
[online] A ailable a : h p://www.ecma-
in e na ional.o g/memen o/index.h ml [Accessed 6 Jun. 2016].
[12] Pd 3d.com. (n.d.). Abou U3D Fo ma | C ea e 3D PDF | 3D Con e sion
| Uni e sal 3D - Uni e sal 3D (U3D) Fo ma . [online] A ailable a :
h p://www.pd 3d.com/u3d/ [Accessed 6 Jun. 2016].
[13] Pd 3d.com. (n.d.). Abou U3D Fo ma | C ea e 3D PDF | 3D Con e sion
| Uni e sal 3D - U3D is Used Fo . [online] A ailable a :
h p://www.pd 3d.com/u3d/ [Accessed 6 Jun. 2016].
[14] Pd 3d.com. (n.d.). Abou U3D Fo ma | C ea e 3D PDF | 3D Con e sion
| Uni e sal 3D - His o y o he U3D File Fo ma . [online] A ailable a :
h p://www.pd 3d.com/u3d/ [Accessed 6 Jun. 2016].
[15] Wikipedia. (n.d.). X3D. [online] A ailable a :
h ps://en.wikipedia.o g/wiki/X3D [Accessed 10 Jul. 2016].
[16] Sabia. ic.udc.es. (n.d.). Conociendo X3D. [online] A ailable a :
h p://sabia. ic.udc.es/gc/Con enidos%20adicionales/ abajos/3D/x3d/Cono
ciendo%20X3D.h m [Accessed 10 Jun. 2016].
6. Bibliog aphy
58
[17] Sabia. ic.udc.es. (n.d.). WebGL. [online] A ailable a :
h p://sabia. ic.udc.es/gc/Con enidos%20adicionales/ abajos/Tu o iales/Tu
o ialWebGL/index.h m [Accessed 10 Jun. 2016].
[18] F i z, R. (2015). Th ee Reasons Te a4D and Tech So 3D Fi Toge he
| Te a4D. [online] Te a4d.com. A ailable a :
h p://www. e a4d.com/ h ee- easons- e a4d-and- ech-so -3d- i -
oge he / [Accessed 12 Jun. 2016].
[19] Te a4d.com. (n.d.). Te a4D Con e e | Te a4D. [online] A ailable a :
h p://www. e a4d.com/ e a-4d-con e e / [Accessed 12 Jun. 2016].
[20] Te a4d.com. (n.d.). Te a4D En ich | Te a4D. [online] A ailable a :
h p://www. e a4d.com/ e a4d-en ich/ [Accessed 12 Jun. 2016].
[21] Unwalla, M. (2016). LaTeX: an in oduc ion. Communica o , [online]
Sp ing 2016. A ailable a : h p://www. echsc ibe.co.uk/ a/la ex-
in oduc ion.pd [Accessed 16 Jun. 2016].
[22] C an.o g. (n.d.). CTAN: TeX. [online] A ailable a :
h ps://www.c an.o g/ ex/ [Accessed 16 Jul. 2016].
[23] Wikipedia ES. (2016). LaTeX. [online] A ailable a :
h ps://es.wikipedia.o g/wiki/LaTeX [Accessed 16 Jun. 2016].
[24] Wikipedia. (2016). LaTeX. [online] A ailable a :
h ps://en.wikipedia.o g/wiki/LaTeX [Accessed 16 Jun. 2016].
[25] Isicad.ne . (2016). isicad: CAD Exchange : The easies way o con e
3D da a - In oduc ion. [online] A ailable a :
h p://isicad.ne /a icles.php?a icle_num=18432 [Accessed 24 Jun. 2016].
[26] Isicad.ne . (2016). isicad: CAD Exchange : The easies way o con e
3D da a - The Beginning. [online] A ailable a :
h p://isicad.ne /a icles.php?a icle_num=18432 [Accessed 24 Jun. 2016].
[27] Isicad.ne . (2016). isicad: CAD Exchange : The easies way o con e
3D da a - Key easons ha make CAD in e ope abili y challenging. [online]
A ailable a : h p://isicad.ne /a icles.php?a icle_num=18432 [Accessed 24
Jun. 2016].
6. Bibliog aphy
59
[28] A qui ec u a de Compu ado as. (2013). COMPUTACIÓN PARALELA.
[online] A ailable a :
h ps://concep osa qui ec u adecompu ado as.wo dp ess.com/compu acion
-pa alela/ [Accessed 24 Jun. 2016].
[29] Gi Hub. (2015). x3dom/cad- iewe . [online] A ailable a :
h ps://gi hub.com/x3dom/cad- iewe [Accessed 17 Jun. 2016].
[30] Gi Hub. (2015). x3dom/cad- iewe . [online] A ailable a :
h ps://gi hub.com/x3dom/cad- iewe [Accessed 17 Jun. 2016].
[31] A. G ahn. (2012). The mo ie15 Package. [Online]. A ailable:
h p://c an.ma h.u ah.edu/c an/ ex-
a chi e/mac os/la ex/con ib/mo ie15/doc/mo ie15.pd [Accessed on: Jun.
6, 2016].
6. Bibliog aphy
60
CHAPTER 7:
COMPLEMENTARY
BIBLIOGRAPHY
Dic iona y.com. (2016). he de ini ion o HTML. [online] A ailable a :
h p://www.dic iona y.com/b owse/h ml [Accessed 14 May 2016].
Wikipedia. (n.d.). HTML. [online] A ailable a :
h ps://en.wikipedia.o g/wiki/HTML [Accessed 14 May 2016].
Rouse, M. (2005). Wha is HTML (Hype ex Ma kup Language)? - De ini ion
om Wha Is.com. [online] Sea chSOA. A ailable a :
h p://sea chsoa. ech a ge .com/de ini ion/HTML [Accessed 14 May 2016].
Es.wikipedia.o g. (n.d.). HTML. [online] A ailable a :
h ps://es.wikipedia.o g/wiki/HTML [Accessed 15 May 2016].
Web3d.o g. (2016). Wha is X3D | Web3D Conso ium. [online] A ailable a :
h p://www.web3d.o g/x3d/wha -x3d [Accessed 16 May 2016].
Web3d.o g. (n.d.). Ge ing S a ed wi h X3D | Web3D Conso ium. [online]
A ailable a : h p://www.web3d.o g/ge ing-s a ed-x3d [Accessed 16 May
2016].
6. Bibliog aphy
61
Ál a ez, M. (2011). ¿Qué ue de VRML? Conoces X3D? [online]
Desa olloWeb.com. A ailable a :
h p://www.desa olloweb.com/a iculos/ ml-x3d.h ml [Accessed 18 May
2016].
Doc.x3dom.o g. (n.d.). X3DOM Documen a ion: Tu o ials. [online] A ailable
a : h p://doc.x3dom.o g/ u o ials/index.h ml [Accessed 25 May 2016].
Co eeCup So wa e. (2016). F ee HTML Edi o . [online] A ailable a :
h p://www.co eecup.com/ ee-edi o / [Accessed 27 May 2016].
Ac oba .adobe.com. (n.d.). PDF iles, Adobe Po able Documen Fo ma |
Adobe Ac oba DC. [online] A ailable a :
h ps://ac oba .adobe.com/us/en/why-adobe/abou -adobe-pd .h ml
[Accessed 2 Jun. 2016].
Wikipedia. (n.d.). Po able Documen Fo ma . [online] A ailable a :
h ps://en.wikipedia.o g/wiki/Po able_Documen _Fo ma [Accessed 2 Jun.
2016].
Manuel, F. (2013). Los mejo es lec o es PDF pa a Windows. [online]
Xa akawindows.com. A ailable a :
h p://www.xa akawindows.com/aplicaciones-windows/los-mejo es-
lec o es-pd -pa a-windows [Accessed 2 Jun. 2016].
E ans, D. (n.d.). P in Cen e Fea u es - Adobe Pos Sc ip s. Adobe PDF.
[online] Adobe.com. A ailable a :
h ps://www.adobe.com/p in / ea u es/ps spd / [Accessed 2 Jun. 2016].
Ta , E., Che nico , S. and Rose, C. (1999). Pos Sc ip language e e ence.
3 d ed. [ebook] Adobe Sys ems Inco po a ed, pp.1-15. A ailable a :
h p://pa ne s.adobe.com/public/de elope /en/ps/PLRM.pd [Accessed 2
Jun. 2016].
Es.wikipedia.o g. (2016). Pos Sc ip . [online] A ailable a :
h ps://es.wikipedia.o g/wiki/Pos Sc ip [Accessed 2 Jun. 2016].
File-ex ensions.o g. (n.d.). How o open and con e iles wi h U3D ile
ex ension. [online] A ailable a : h p://www. ile-ex ensions.o g/u3d- ile-
ex ension [Accessed 3 Jun. 2016].
3D PDF Conso ium. (n.d.). U3D - 3D PDF Conso ium. [online] A ailable a :
h p://www.3dpd conso ium.o g/u3d/ [Accessed 3 Jun. 2016].
6. Bibliog aphy
62
Sys ems, 3. (2015). Mo e on Uni e sal 3D (U3D) Fo ma - 3DA Sys ems.
[online] 3DA Sys ems. A ailable a :
h p://www.3dasys ems.com/blog/mo e-on-uni e sal-3d-u3d- o ma /
[Accessed 2 Jun. 2016].
Wikipedia. (n.d.). Uni e sal 3D. [online] A ailable a :
h ps://en.wikipedia.o g/wiki/Uni e sal_3D [Accessed 3 Jun. 2016].
Else ie .com. (n.d.). In e ac i e U3D models. [online] A ailable a :
h ps://www.else ie .com/books-and-jou nals/con en -
inno a ion/in e ac i e-u3d-models [Accessed 3 Jun. 2016].
Thoma, M. (2012). C ea ing pd - o ms wi h LaTeX. [online] Ma in Thoma.
A ailable a : h ps://ma in- homa.com/c ea ing-pd - o ms-wi h-la ex/
[Accessed 6 Jun. 2016].
Rainie o, N. (2012). Embed 3Ds in o PDF wi h LaTeX & U3D | Rainnic in he
Clouds. [online] Rainnic.al e is a.o g. A ailable a :
h p:// ainnic.al e is a.o g/con en /embed-3ds-pd -la ex-u3d [Accessed 6
Jun. 2016].
En.wikibooks.o g. (n.d.). LaTeX/Ins alling Ex a Packages - Wikibooks, open
books o an open wo ld. [online] A ailable a :
h ps://en.wikibooks.o g/wiki/LaTeX/Ins alling_Ex a_Packages [Accessed 6
Jun. 2016].
LaTeX P ojec Team. (2001). LaTeX 2E o au ho s. [Online]. A ailable on:
h ps://la ex-p ojec .o g/guides/us guide.pd , [Accessed on: Jun. 6, 2016].
Wikipedia. (n.d.). LaTeX. [online] A ailable a :
h ps://en.wikipedia.o g/wiki/LaTeX [Accessed 6 Jun. 2016].
A. G ahn. (2015). The media9 Package, 0.49. [Online]. A ailable:
h p:// exdoc.ne / exm -dis /doc/la ex/media9/media9.pd , [Accessed on:
Jun. 6, 2016].
Sha ela ex.com. (n.d.). Posi ioning images and ables - Sha eLaTeX, Online
LaTeX Edi o . [online] A ailable a :
h ps://www.sha ela ex.com/lea n/Posi ioning_images_and_ ables
[Accessed 7 Jun. 2016].
6. Bibliog aphy
63
Texblog.o g. (2012). Mul i-column and mul i- ow cells in LaTeX ables –
exblog. [online] A ailable a : h p:// exblog.o g/2012/12/21/mul i-column-
and-mul i- ow-cells-in-la ex- ables/ [Accessed 7 Jun. 2016].
T. Feue s ack, B emen, Ge many. (2003). Dokumen e ein ach in e ak i .
[Online]. A ailable on: p:// p. e nuni-hagen.de/pub/pd /u z-
b oschue en/unplugged/upl007.pd , [Accessed on: Jun. 10, 2016.]
Filippo , A. (2015). Elphel De elopmen Blog » X3D assemblies om any
CAD. [online] Blog.elphel.com. A ailable a :
h p://blog.elphel.com/2015/12/x3d-assemblies- om-any-cad/ [Accessed
10 Jun. 2016].
B u zman, D. and Daly, L. (2007). X3D. Ams e dam: Else ie /Mo gan
Kau mann.
Techso 3d.com. (2016). Te a4D® P oduc s | Tech So 3D. [online]
A ailable a : h p://www. echso 3d.com/p oduc s/ e a-4d-applica ions/3d-
pd -con e e / [Accessed 12 Jun. 2016].
Tex.s ackexchange.com. (n.d.). TeX - LaTeX S ack Exchange. [online]
A ailable a : h p:// ex.s ackexchange.com/ [Accessed 15 Jun. 2016].
Cadexchange .com. (2016). CAD con e e a ailable in SDK, GUI and CLI -
CAD Exchange . [online] A ailable a :
h p://cadexchange .com/p oduc s.h ml [Accessed 17 Jun. 2016].
Dahl, C. (2004). Plane PDF - Example Ac oba Ja aSc ip s. [online]
Plane pd .com. A ailable a :
h p://www.plane pd .com/c ea i e/a icle.asp?Con en ID=6828 [Accessed
20 Jun. 2016].
Sha ela ex.com. (n.d.). Commands - Sha eLaTeX, Online LaTeX Edi o .
[online] A ailable a : h ps://www.sha ela ex.com/lea n/Commands
[Accessed 2 Jul. 2016].
Budge
“CREATION OF INTERACTIVE
3D DOCUMENTS TO SUPPORT
THE SETUP PROCESS OF
MACHINE TOOLS”
TFG p esen a pe op a al í ol de GRAU en
ENGINYERIA MECÀNICA
pe Víc o A nedo Blanco
Ba celona, 11 d’oc ub e de 2016
Di ec o : José An onio T a ieso Rod íguez
Depa amen d’Enginye ia Mecànica (DEM)
Uni e si a Poli ècnica de Ca alunya (UPC)