Parametric Robot Control - J Braumann (2011)

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Parametric Robot Control

integrated cad/cam for architectural design

ABSTRACT
Johannes Braumann Robots are gaining popularity in architecture. Snøhetta has recently purchased
V i e n n a U n i v e r s i t y o f Te c h n o l o g y their own industrial robot, becoming one of the first architectural offices to adopt
r o b o t t e c h n o l o g y. A s m o r e a n d m o r e a r c h i t e c t s a r e e x p o s e d t o r o b o t i c f a b r i c a t i o n ,
Sigrid Brell-Cokcan t h e n e e d f o r e a s y i n t e r o p e r a b i l i t y, i n t e g r a t i o n i n t o a r c h i t e c t u r a l d e s i g n t o o l s a n d
V i e n n a U n i v e r s i t y o f Te c h n o l o g y general accessibility will increase. Architects are discovering that industrial
robots are much more than kinematic machines for stacking bricks, welding or
milling - they are highly multifunctional and can be used for a huge variety of
t a s k s . H o w e v e r, i n d u s t r y s t a n d a r d s o f t w a r e d o e s n o t p r o v i d e e a s y s o l u t i o n s
for allowing direct robot control right from CAAD (Computer Aided Architectural
Design) systems. In this paper we will discuss existing methods of programming
industrial robots, published architectural results (Gramazio and Kohler 2008) and
the design of a new user interface that allows intuitive control of parametric
designs and customized robotic mass production, by integrating CAM (Computer
Aided Manufacturing) functions into CAAD.

Keywords: robot programming, parametric design, mass customization,


grasshopper component design, fabrication, robot milling, digital architecture

242

acadia 2011 _proceedings integration through computation


1 I n trodu c tion

T h e r a p i d d evel o p ment o f CAAD s o ft ware i n t h e last fe w de c ade s allows arc h ite c tu ral
f o r m s t o b e p aramet ri cal l y co nt ro l l ed ( Figu re 1) , re su ltin g in au tomatic ge n e ration
o f d e si g n vari ant s o r o veral l d es i g n manag eme n t (Eastman e t al. 2008). Re alizin g
p a r a m e t r i c d es i g ns req ui res fl exi b l e p ro ces s e s th at c an fabric ate h igh volu me s at
r e a s o n a b l y l o w co s t s , referred t o as mass customi zati on (Pille r 2004; Raman i e t al.
2004).

A r c h i t e c t s want t o co nt ro l t he co ns t ruct i o n an d fabric ation proc e ss of th e ir own


d e si g n s , t he machinic p ro cessing (Gramazi o & Koh le r, Me n ge s, Sc h e u re r in Kolare vic
2 0 0 8 ; I w a mo t o 2 0 0 9 ). One p ro b l em ari s es as soon as (parame tric ) fre e form de sign s
a r e t o b e m at eri al i zed : archi t ect s d o no t have appropriate software to c on trol th e ve r y
e n d o f t h e o veral l d es i g n p ro ces s : fab ricat ion. Le adin g CAAD de ve lope rs h ave so
f a r n o t p r o vi d ed ad eq uat e s o l ut i o ns fo r d i rect ly lin kin g diffe re n t type s of mac h in e s to
C A D sy st e ms . The b ui l d i ng i nd us t r y i nvo l ved in fre e form arc h ite c tu re h as ove rc ome
t h i s d e f i c i t b y d evel o p i ng t hei r o wn “i n-ho us e” c u stom-made software tools. T h e re fore Fig. 1

h i g h - e n d geo met r y and fab ri cat i o n co ns ul t i ng i n arc h ite c tu re is rapidly be c omin g a n e w


s p e c i a l i z e d co re b us i nes s run b y co mp ut er sc ie n tists an d math e matic ian s (re fe r to
c o m p a n i e s s uch as E vo l ut e (E i g ens at z et al . 2 010) or de sign -to-produ c tion (Sc h e u re r
2 0 1 0 ) ) . I n o ur p revi o us res earch we have s ho wn th e advan tage s of produ c tion -imman e n t
d e si g n a n d real t i me feed b ack t o eval uat e no t on ly th e de sign of a parame tric obje c t,
b u t a l so i t s manufact uri ng rel at ed p ro p ert i es (Bre ll-Cokc an an d Brau man n 2010).

Fig. 2
I n t h i s p a p er we p ro p o s e t he us e o f a g rap hi c al algorith m e ditor as a n e w in te rfac e
f o r a n i n d u s t ri al ro b o t . The res ul t i s us er-cus t omize d CAAD software wh e re mac h in e
c o n s t r a i n t s are i ncl ud ed as ad d i t i o nal d es i g n parame te rs dire c tly ge n e ratin g robot
c o n t r o l d a t a fi l es , t o b e us ed fo r mas s cus t o mization .

2 E xistin g Me th ods for Progr a mmin g a K U K A Ro bo t

Fig. 3
I n g e n e r a l , t here are t wo d i s t i nct i ve s t rat eg i es for programmin g in du strial robots: On lin e /
a u t o m a t i c (Figu re 2 ) and o ffl i ne/ manual p ro g ram min g (F i g ure 3) (Biggs an d Mac D on ald
2 0 0 3 ) . O n li ne p ro g rammi ng i s us ed mo s t l y fo r in du strial applic ation s su c h as loadin g
a n d w e l d i ng , where p o i nt s are “t aug ht ” i nd i vi d u ally via th e KCP (KUKA Con trol Pan e l)
o r i n t h e v i rt ual ro b o t envi ro nment KUKA Si mPro. In th e fie ld of arc h ite c tu re , wh e re th e
d i g i t a l C A D/ CAM wo rkfl o w i s i mp o rt ant , o nl i ne programmin g is rare ly u se d.

2.1 ROBOT OFFLINE PROGRAMMING

R o b o t o f f l i n e p ro g rammi ng i s p erfo rmed at an exte rn al c ompu te r ou tside th e robotic c e ll


a n d i s si m il ar t o t he t rad i t i o nal way o f wo rki ng with CN C (Compu te r N u me ric Con trol)
m a c h i n e s , (i .e., mo vi ng d at a fro m CAD t o CAM software ) an d th e n as N C (N u me ric
C o n t r o l ) c od e, al s o kno wn as G-Co d e, t o a CN C millin g mac h in e . Addition ally, robot
m i l l i n g r e q ui res t he us e o f a ki nemat i c p o s t -proc e ssor/simu lator, in ou r c ase KUKA
S i m P r o / C A MR o b . Thi s res ul t s i n a d i g i t al wo rkflow in volvin g at le ast th re e software
t o o l s b y d ifferent d evel o p ers . “R eal t i me” d es i gn an d produ c tion fe e dbac k th at allows
a n e v a l u a t io n o f t he fab ri cat i o n p ro p ert i es t hro u gh ou t th e workflow is missin g.

P r e v i o u s r es earch s ho ws t he p o s s i b i l i t y o f s tre amlin in g th e digital CAD -CAM-Robot


w o r k f l o w b y us i ng p aramet ri c d es i g n t o o l s fo r robot millin g (Bre ll-Cokc an e t al. 2009).
To f u r t h e r o p t i mi ze o ffl i ne p ro g rammi ng fo r a KUKA robot we will de mon strate in
S e c t i o n 4 t he d es i g n o f t he cus t o m K UKA|p rc (parame tric robot c on trol) c ompon e n t
w i t h i n G r a s s ho p p er, a p aramet ri c d es i g n p l ug -in for th e CAD software Rh in oc e ros.

2.2 KUKA ROBOT LANGUAGE CODE Figure 1. Spencer Dock Bridge: Parametric
freeform design, CNC-milled formwork - Image
The KUKA Robot Language (KRL) is a proprietary programming language with similarities to courtesy of Nedcam
Pascal and is used to control KUKA robots. Unlike G-Code, it does not contain just tool and Figure 2. Online programming via KUKA Sim Pro
machine movement commands, but can also declare variables and work with conditional (left) or via the KUKA Control Panel (right)
clauses. While the KRL documentation (KUKA Robotics 2003) explains a set of commands, it Figure 3. Existing offline data workflow from CAD to
does not provide detailed information on the required structure of a proper control data file in an industrial robot

243

interface and immersion


Fig. 4

KRL (Mühe et al. 2010). We therefore had to reverse-engineer the structure of KRL files created
by the kinematics postprocessor KUKA SimPro/CAMRob. Basically, a Numeric Control file for
KUKA consists of two separate files: A *.dat file where variables such as the home position
are stored and a *.src file which contains the various commands, like movement commands,
loops, sensor queries et cetera. There are various ways of giving movement commands to a
robot, the most common ones are the following (Takase et al. 1981):

Joint coordinate programming consists of absolute axis rotation commands, instructing the
robot to move each of its six axes to a defined rotation value.

A1 0, A2 10, A3 90, A4 20, A5 60, A6 25

Cartesian coordinate programming defines the location and orientation of the end-effector
in a previously defined Cartesian coordinate system. This can either be point-to-point (PTP)
commands where the end-effector moves from one position to the next with the least amount
of axis rotation or linear (LIN) commands where the end-effector moves from one position to
the next along a straight line.

X 10, Y 20, Z 40, A 45, B 75, C 15

3 P arametri c Ro bo t Pro g rammi ng fo r Archi tectural Desi g n

Understanding the robot’s data processing described in Section 2, it appears feasible to


create KRL code via custom scripting (offline programming), thereby automating the fabrication
process for architectural mass customization.

For most architectural purposes, the location of the tool has to be precisely controlled,
therefore requ irin g th e u se of Carte si an c oordi n ate programmi n g. T h e kin e matic s of the
ro b o t d o not n e c e ssarily h ave to be simu late d in th e parame tric mode lin g e n viron me nt ,
as t hey are solve d ac c ordin g to th e e n d-e ffe c tor position /orie n tation in re altime when
t he K R L co de is e xe c u te d at th e c on trol u n it. Howe ve r, simu latin g th e robot’s kin e matics
i n a d es i g n e n viron me n t e n able s th e de sign e r to re ac t to re ac h ability-c on strain ts or
p o s s i b l e collision s, th e re by optimizin g th e u se of th e available workspac e .

3 .1 OFFLINE PROGRAMMING VIA CUSTOMIZED SCRIPTING

A recent ar c h ite c tu ral e xample in volvin g in du strial robots an d c u stom sc riptin g is the
Pike Lo o p proje c t (F i g ure 4) by Gramazio an d Koh le r (Bärtsc h i e t al. 2010), wh e re a
s p eci al “wi ggle d bon d bric k arran ge me n t is mappe d on to a ge n e ric dou ble c u r v ed
s urface”. T h is re su lts in a CAD-c re ate d su rfac e be in g proc e sse d by a sc ript tha t
d eal s wi t h th e variou s proble ms in volve d in robotic bric k stac kin g, like th e ge n e ra l
arrang ement, th e bou n dar y c on dition s an d optimization issu e s (F i g ure 5a) . Wh ile t he
s cri p t i s exec u te d, th e u se r c an n ot in te rac t bu t h as to wait u n til th e sc ript is fin ish ed;
t he us er i s th e n pre se n te d with th e re su lt an d h as to e valu ate if th e ac h ie ve d ou tput
meet s p rede fin e d re qu ire me n ts or if th e re su lt h as to be c h an ge d. T h is c an be done
ei t her b y chan gin g th e pre de fin e d re qu ire me n ts, by modifyin g th e in itial CAD ge ome t r y,
Figure 4. Robotic fabrication for the Pike Loop o r b y changin g th e c ode itse lf. Basic ally, th e c ode ac ts as a sol ve r for a se qu e n c e of
Project by Gramazio and Kohler cl earl y (p re)de fin e d proble ms.

244

acadia 2011 _proceedings integration through computation


E v e n t h o u gh t he us e o f an i nd us t ri al ro b o t fo r b ri c klayin g is a ve r y in n ovative arc h ite c tu ral
a p p l i c a t i o n, t he p ub l i s hed d i g i t al wo rkfl o w via c u stomize d sc riptin g de sc ribe s a
t y p i c a l a r chi t ect ural d es i g n p ro ces s wi t h a de sign e r (th is c an be an arc h ite c t) to
c r e a t e a n aes t het i c s urface i n CAD. A p ro g ramme r (su ppose dly a c ompu te r sc ie n tist
o r m a t h e m at i ci an) t hen s o l ves t he “b ri ckl ayi ng proble m” by applyin g th e ge ome tric
c o n s t r a i n t s o f b ri cks t o a p red efi ned s urface (similar to th e kn own se gme n tation
p r o b l e m o f any freefo rm s urface i n archi t ect ure ), (Eige n satz e t al. 2010) followe d by a
t e c h n i c i a n who p o s t p ro ces s es t he g eo met ri c d ata ou tpu t for th e robot c on trol data file
( e . g . i n a ro b o t s i mul at i o n p ro g ram), s i mi l ar t o a c on trac tor wh o h as to postproc e ss
r e c e i v e d g eo met ri c d at a fo r hi s CNC-machi nes . T h e qu e stion arise s h e re h ow to fu rth e r
c u s t o m i z e t he d i g i t al wo rkfl o w t o al l o w t he us er, i.e ., th e de sign e r, to man ipu late th e
i n i t i a l C A D s urface, t he b ri ck-l ayo ut and t he ro bot c on trol simu ltan e ou sly?

3.2 A NEW APPROACH FOR ROBOT OFFLINE PROGRAMMING

T h e P i k e L o o p p ro j ect s ho ws ho w cus t o mi zed sc riptin g allows arc h ite c ts to alte r th e ir


d e si g n s p aramet ri cal l y i n a l i near p ro ces s and h ow to e xe c u te parame tric de sign s with
a n i n d u s t r ial ro b o t s et -up , i n t hi s cas e a ro b otic grippe r. Wh ile th e e xe mplar y data
Fig. 5a
f l o w d e sc r ib ed i n Sect i o n 3 .1 i s s ui t ab l e fo r man y arc h ite c tu ral applic ation s, we argu e
t h a t i t i s n ot i d eal fo r a fl uent b o t t o m-up archit ec tu ral de si gn to robot mi l l i n g workflow.

I n a d d i t i o n t o t he d es i re o f a ful l y p aramet ri c ro bot c on trol, th e fu n c tion ality of c ommon


C A M s o f t ware s uch as us er-d efi ned t o o l g eome trie s (e .g. var yin g tool diame te r or
c u t t i n g l e n g t hs ) wi t hi n a s i ng l e p ro j ect , aut o m ate d toolpath ge n e ration an d c ollision
c h e c k i n g h as t o b e i ncl ud ed i n a p aramet ri c m ode l for robot millin g.

A w e l l - i n t e g rat ed p aramet ri c d es i g n t o o l fo r ro bot millin g an d arc h ite c tu ral de sign (e .g.


f o r m a s s c us t o mi zat i o n) req ui res t he us er (i .e., th e de sign e r) to be able to in stan tly
a n d c o n st ant l y i nt eract wi t h al l p art s o f t he code . Pre parin g data for robot millin g is
t h e r e f o r e a hi g hl y no n-l i near p ro ces s .

I n o u r p r e vi o us res earch we have s ho wn t hat a fu lly parame tric de sign for robot millin g
Fig. 5b
g r e a t l y s t r e aml i nes t he manufact uri ng p ro ces s as c h an ge s impose d by tool ge ome tr y,
m a t e r i a l p ro p ert i es o r machi ne co ns t rai nt s are e asy to imple me n t. We h ave propose d
s e v e r a l s t r a t eg i es t o i mp ro ve t he wo rkfl o w fro m digital de sign to produ c tion , su c h as
i n c l u d i n g m achi ne co ns t rai nt s i n t he p aramet ric mode l or ge n e ratin g G-c ode with a
G r a s s h o p per d efi ni t i o n. H o wever, s o me wo rkflow proble ms re main e d as th e G-c ode
s t i l l h a d t o b e p o s t -p ro ces s ed b efo re s end i ng it to th e robot’s c on trol u n it. Re c e n tly,
w e d e m o n s t rat ed t he us e o f a Gras s ho p p er de fin ition , c apable of ge n e ratin g ac tu al
K R L c o d e . H o wever, mai nt enance o f t hi s co mp le x c lu ste r of Grassh oppe r c ompon e n ts
p r o v e d t o b e cumb ers o me, as t here was no possibility of imple me n tin g a c e n tral
g r a p h i c a l i nt erface o r i nt ui t i ve d es i g n fo r mass c u stomization . Solvin g th e se issu e s
r e q u i r e s t h e d evel o p ment o f an act ual ro b o t m illin g plu g-in , as de mon strate d by th e
K U K A | p r c co mp o nent i n Sect i o n 4 .1 .

4 De sign in g a Pa r a me tr ic Compon e nt fo r Ro bo t M i l l i ng

T h e m a i n i d ea t o faci l i t at e wo rki ng wi t h ro b ots is a bottom-u p de si gn wh e re robot


m i l l i n g s t r a t eg i es d et ermi ne t he g eo met ri c de sign righ t from th e be gin n in g an d
t h e r e f o r e b eco me an i nt eg ral p art o f t he d es i gn , always available in th e bac kgrou n d
f o r a n a l y s i s and s i mul at i o n. It i s p o s s i b l e t o ro botic ally fabric ate in fin ite de sign varian ts
o f t h e c u r r ent mo d el at ever y t i me wi t h j us t a fe w mou se c lic ks an d with ou t h avin g to
g o t h r o u g h mul t i p l e exp o rt / i mp o rt s t ep s fro m CAD to CAM to th e robot (F i g ure 3) .
C o l l i si o n s and i ns uffi ci ent t o o l l eng t h are d et ecte d at ru n time , so th at th e de sign (i.e .,
t h e c o d e ) c an b e i ns t ant l y revi s ed .

G r a s s h o p per was cho s en as t he p aramet ri c e n viron me n t be c au se of its modu lar,


o p e n st r u c t ure and real t i me p revi ew. E s p eci a lly importan t for robot millin g is th at Figure 5a. Dataflow comparison - linear versus
G r a s s h o p per ’s co mp o nent s ys t em al l o ws co m partme n talizin g solu tion s an d re u sin g non-linear processes: conventional scripting
e x i st i n g c o d e, i n o rd er t o ad ap t t o emerg i ng de sign re qu ire me n ts or proble ms. We Figure 5a. Integrated parametric approach for
r e f e r t o t h es e funct i o nal g ro up s o f co mp o nent s as modu l e s (F i g ure 5b). robot milling

245

interface and immersion


Fo r examp le , th e de sign e r c an c re ate more th an on ly on e ge ome tric modu le a nd
i mmed i at el y ge n e rate toolpath s, simu ltan e ou sly c alc u latin g th e e n d-e ffe c tor orie n tation,
checki ng for c ollision s an d c re atin g th e KRL c ode for e ac h of th e m, ju st by se qu e n tially
p l ug g i ng t he m in to th e toolpath c re ation modu le .

“Conventional” scripting can mostly be assumed to be solving clearly defined problems in


a predefined sequence which also applies to most Grasshopper modules. In contrast to
t yp i cal s cri ptin g c ode , h owe ve r, th e KUKA| prc c ompon e n t is de fin e d as follows: by
i nt eg rat i ng robot c on strain ts an d importan t CAM fu n c tion s su c h as toolpath ge n e rat ion
i nt o t he p arame tric mode l, we ge n e rate a de sign tool for robot millin g th at in stant ly
react s t o all c h an ge s, allows flu id an d in tu itive modific ation s in an y of th e modu le s ,
at any t i me . T h is offe rs th e possibility of qu ic kly e valu atin g de sign s for robot millin g,
s i mul at i ng toolpath s an d ge n e ratin g th e mac h in in g c ode with ou t h avin g to de al w it h
ei t her hundre ds of lin e s of c ode or se ve ral diffe re n t CAD, CAM an d kin e matic softwa re
p ackag es or postproc e ssin g. T h e KRL c ompon e n t th e re fore e stablish e s a fe e dba ck
l o o p fro m CAAD to CAM to th e robot an d bac k again .

4 .1 KUKA KRL-COMPONENT: GENERAL APPROACH

Whi l e d es i gn in g th e KUKA Robot Lan gu age c ompon e n t for Grassh oppe r we aime d t o
ful fi l l t he fo llowin g five re qu ire me n ts:

• The compon e n t h as to in te grate in to th e Grassh oppe r e n viron me n t like a


nat i ve co mpon e n t.

• It s ho uld foc u s on fle xible , dyn amic robot c on trol with ou t th e fe atu re -
o verl o a d of c omme rc ial CAM software .
Fig. 6

• It s cal c u lation s are to be c omple te d in le ss th an a se c on d to re tain th e


near-re altime fe e dbac k, with an addition al qu ic k pre vie w mode .

• It s func tion ality sh ou ld be tran spare n t to th e de sign e r an d c u stomizable ,


wrap p ed in an ac c e ssible u se r in te rfac e .

• The o u tpu t h as to c on sist of h u man -re adable , n on -bin ar y KRL c ode th at


can be executed directly at the robot, without any additional steps such as
p o s t -proc e ssin g.

The resulting KUKA Robot Language Component for Grasshopper is written using
the .NET framework (RhinoCommon SDK & Grasshopper SDK) in Visual Studio and
seamlessly integrates with the default Grasshopper components. A project in Visual
Studio can contain several classes (i.e., Grasshopper components) which compile
into a single class library that can be easily distributed among users.

4.2 K U K A K R L C O M P O N E N T: F U N C T I O N A L I T Y

We d e f i n e t h e e n d - e f f e c t o r o r i e n t a t i o n a n d p o s i t i o n a l o n g a t o o l p a t h i n t h e K R L
c o m p o n e n t w i t h t h e h e l p o f t h r e e i n p u t s ( F i g u re 6 ) :

• The tooltipcurve defines the position of the tool center point (TCP) on the
t o o l p a t h d u r i n g a m i l l i n g j o b a t a p o i n t p n.

• T h e g u i d e c u r v e a t p n’ d e f i n e s t h e t o o l a x i s a s t h e v e c t o r f r o m p n’ t o p n.

• T h e o r i e n t a t i o n p o i n t q d e f i n e s t h e r o t a t i o n o f t h e e n d - e f f e c t o r a r o u n d t h e
toolaxis and can be either a static point or a dynamic point along a curve.
I n F i g u re 6 , q i s p l a c e d a l o n g t h e r o b o t ’s a x i s A 1 .

Synchronizing point p n ’ and p n is done via the curves’ parameterization or by dividing the
curves into an equal number of points. The resulting information consists of a point (XYZ)
and Euler angles (ABC) which can be formatted and exported as KRL code.
Figure 6. Necessary geometric input for KRL code
generation: tool and guidecurve (left), orientation of Besides the parametric numeric (simulation slider) and geometrical input (toolpath
the end-effector (right) points, collision geometry), the KRL component also provides a graphical user

246

acadia 2011 _proceedings integration through computation


Fig. 7

interface, accessible within Grasshopper (Figure 7). Simulated objects such as the
r o b o t ’s e n d - e f f e c t o r a r e g e n e r a t e d p a r a m e t r i c a l l y w i t h i n t h e c o m p o n e n t a c c o r d i n g
to the tool parameters and do not require separate Grasshopper geometry input.

One of the main problems when using existing CAM software is that CAM software
is a closed system that contains many functions from mechanical engineering,
which are not necessarily required for architectural designs. The options available
within the KRL component focus on the most essential features of CAM software:

• Save/load of configuration data

• S e t u p t he ro b o t ’s b as e i ncl ud i ng t he refere n c e d c oordin ate syste m

• D e f i n e t he l ead i n and l ead o ut (no ne/ o ffse t/tan ge n tial/alon g tool axis)

• S e t t o o l numb er and p ro p ert i es (t o o l l eng th /c u ttin g le n gth /diame te r/fe e d rate )

• C o l l i si o n co nt ro l s et t i ng s

• V i su a li zat i o n/ vi ewp o rt p erfo rmance s et t i ngs

• K R L f i l e s et t i ng s

• E n a b l e/ d i s ab l e s eq uent i al fi l e nami ng fo r m ass c u stomization

W h e n e v e r the p aramet ri c mo d el i s chang ed , t he KRL file s are simu ltan e ou sly u pdate d
w i t h t h e n e wes t vers i o n i n t he d i rect o r y d efi n e d by th e ou tpu t se ttin gs. For mass
c u s t o m i z a ti o n i t i s p o s s i b l e t o o verri d e t hi s se ttin g an d attac h a se qu e n c e n u mbe r
t o t h e f i l e n ame s o t hat s ep arat e fi l es are aut o m atic ally ge n e rate d for e ac h variation .

4.3 KUKA KRL COMPONENT: APPLIED DESIGNS AND EVALUATION

T h e K U K A K R L co mp o nent ’s mas s cus t o mi zat i on c apabilitie s we re te ste d with diffe re n t


p a r a m e t r i c d es i g ns . One d es i g n t as k was t o cre ate a parame tric EPS bric k wall ou t of
i n d i v i d u a l , s t ackab l e el ement s wi t h var yi ng o p en in gs. Its basic toolpath s c on sist of ju st
t w o p a r a m e t ri c cur ves t hat creat e a rang e o f d iffe re n t ph ysic al, stac kable 3D modu le s
w i t h v a r y i n g g eo met r y and o p eni ng s ( Figu re 8 ).

T h e G r a s s h o p p e r d e f i n i t i o n i n F i g u re 8 a l l o w s v a r i o u s r e a l t i m e p r e v i e w s w h i c h
enable the designer to simultaneously follow the design and production process. The
geometric generation of the parametric tooltip- and guidecurves (1), the individual
modules to be produced (2), the stacked results (3), the automated toolpath
generation (4) and a simulated end-effector are all shown at the same time in a single
viewport. The end-effector simulation and KRL output (5) are handled by the new
custom KRL component. This demonstrates our initial idea of using the parametric Figure 7. KUKA|prc - graphical interface for
design environment as a custom design tool where changes to single geometric parametric robot control

247

interface and immersion


Fig. 8

Fig. 9

modules, or to the overall design, have immediate consequences for the toolpath
generation and vice versa.

In contrast to traditional CAM software, this modular approach allows an open and flexible
parametric CAM environment, where the user does not necessarily have to rely on pre-
set toolpath-strategies, but can substitute these components with his own parametric
Grasshopper definitions.

To compare the Grasshopper integrated KUKA plugin with traditional CAD/CAM, two prototypes
of the same parametric wall design were milled. The physical models of both results were
indistinguishable, while the preparation with the commercial CAM software took only slightly
longer compared to the KRL component. However, any successive variation would widen the
time-gap as the CAD/CAM software has to be set up each time, while the KRL component
can continue generating KRL code instantly. For the design variant in Figure 8, the toolpath
consists of 1500 points. The KRL file is generated within 45ms on a 2GHz laptop, which would
theoretically allow the automated output of 20 design variants per second. This rapid response
allows designers to quickly output and fabricate design variants, without having to manually
process each file in the CAM software and postprocess for the robot´s kinematics. A further
advantage is that the calculations happen parallel to the design process: while the designer can
“play” with the geometric entities such as curves and stackable 3D modules, the KUKA plugin
Figure 8. Production immanent parametric model provides feedback on fabrication feasibility and possible collisions.
simultaneously showing realtime preview of
geometry input (1), individual modules (2), final In order to evaluate the Grasshopper-integrated KUKA plugin with a full scale architectural
design (3), milling simulation with feasibility analysis
prototype, we revisited “Plug & Play,” a robotically fabricated project from 2009/2010 that
(4) and KRL code (5)
required the fabrication of 18 unique freeform panels for a 12m² freeform interior surface as part
Figure 9. 12m² freeform surface segmented in 18
panels (left), comparing flank milling and point milling of a children´s playground design (Figure 9). Different milling strategies such as roughening,
according to material efficiency (middle, right) finishing and flank milling were evaluated and successfully used with the KUKA plugin.

248

acadia 2011 _proceedings integration through computation


Fig. 10

Fig. 11

Roughening and finishing are common point milling strategies that use the tooltip of the endmill
to coarsely remove stock material layer by layer (roughening), and then to create the final
surface finish (finishing). In contrast, flank milling (Schindler 2009) utilizes the whole cutting
length of the endmill to tangentially cut finished surfaces out of the stockmodel.

D u e t o t h es e i nherent d i fferences b et ween poin t an d flan k millin g strate gie s, two


s e p a r a t e a p p ro aches were d evel o p ed t o p rodu c e th e sh ape of th e pan e ls. For
r o u g h e n i n g/ fi ni s hi ng , s everal b l o cks o f X PS we re u se d to mill th e fin al su rfac e . For
f l a n k m i l l i n g, t he freefo rm s hap e was ap p ro xi mate d with ru le d su rfac e s with th e width
o f e a c h su rface co rres p o nd i ng t o t he hei g ht o f a c ommon XPS pan e l. A sin gle c u t was
t h e n p e r f o rmed t o p ro d uce t he fi ni s hed s urface s.

Both from the computational and physical point of view, flank milling proved to be the
best solution for this particular project. Compared to the point milling strategies, flank
milling required approximately 80% less toolpath length, which equals machine time, and
achieved more than 40% in material savings (Figure 9). Similar results for flank milling
applications were reported by Waldt (2005).

Figure 10 shows the comparison of the proposed milling strategies of an exemplary panel in
commercial CAM software and the impact of flank milling on toolpath lengths and machine time.

The increased toolpath length of point milling also has consequences for the parametric design
environment, as the robot code generation is noticeably slowed down by the excessive amount
of data. In the freeform playground design only flank milling allows the designer to work in
a fluent, near realtime design environment. The right choice of milling strategies is therefore
crucial for the parametric design environment and efficiency of mass customization. Therefore
the designer has to evaluate milling strategies before creating a parametric model. Any design-
to-fabrication automation requires milling experience to allow such decisions.

The two realized examples, the parametric wall and the children´s playground design presented
in this paper show that parametric design software with integrated CAD/CAM features is
capable of accommodating customized and optimized fabrication strategies that would not be
possible using traditional CAM software tools only. Significant savings in machining time and
material costs, along with the ecological aspect of producing less waste, can be achieved by Figure 10. Freeform playground: comparing point-
optimizing designs for fabrication instead of just sending the final 3D CAD file to the fabrication and flank milling strategies
workshop. The KUKA component for Grasshopper enables a fluid workflow from optimized Figure 11. Modular, parametric robot control using
design to robotic fabrication. KUKA|prc

249

interface and immersion


Fig. 12

Fig. 13

5 Co ncl usi o n and Outl o o k

Industrial robots have been applied in full-scale construction – as a replacement for manual labor – in
Japan since the 1980s with little success due to automation difficulties and economic reasons. As
Bechthold (2010) states, the development of automated programming strategies is fundamental for
using robots in “customized construction”.

Our intent in research is to enable a wide range of architects in the use of robots with a similar ease of
use compared to conventional CNC-machines and an intuitive approach towards mass customization.
The presented parametric interface in this paper is a first step for industrial robots to be used as full scale
construction technology by a broad range of designers and CAD users.

From the architectural design point of view we would like to “play” with robotically manufactured designs,
where all necessary constraints are integrated in a parametric model. Our approach of designing the
KUKA|prc component for milling, is - compared to Gramazio and Kohler´s robotically bricklaid walls - of
course a geometrically less complex problem to solve, but demonstrates a certain playfulness in design
and ease in the creation of an interface for the use of a technically sophisticated CNC machine such
as a KUKA robot. The multifunctionality of Grasshopper can be compared to the multifunctionality of
an industrial robot where the designer can plug and unplug different tools like milling-cutters for robot
milling or gripping tools for bricklaying (Figure 11). It allows the expectation that the presented KUKA|prc
component in this paper is modifiable to achieve a wide variety of robot applications by simple plugging
and unplugging different geometric solutions or tool constraints, enabling us to integrate industrial robots
in CAAD and move beyond CAD/CAM as we know it (Figures 12, 13).

Ac kn owle d g ements

The projects in Figure 12 (Parametric Punching by Michael Vasku) and Figure 13 (Lightpainting by Vera
Kumer) resulted from testing the KUKA|prc plugin in the lecture “Digital Design to Production” at Vienna
Figure 12. Robotic fabrication beyond CAD/CAM:
parametric punching – toolpath generation via UT. We would like to thank all of our students for their enthusiasm, and the Association for Robots in
image sampling Architecture, Vienna University of Technology, the Innovative Project “Geometric Model Building with
Figure 13. Robotic fabrication beyond CAD/CAM: CNC-Technologies”, the “7-Axis CNC Milling with an Industrial Robot in Architecture” project, and KUKA
lightpainting CEE for their kind support of our research.

250

acadia 2011 _proceedings integration through computation


R e f e re n c e s

B ä r t sc h i , R ., M. K naus s , T. Bo nwet s ch, F. Gramazio, an d M. Koh le r. 2010. W iggle d


B r i c k B o n d , A d vances in A rchit ect ural Geo met r y 2010: 137-148, Vie n n a: Sprin ge r.

B e c h t h o l d , M. 2 0 1 0 . The R et urn o f t he Fut ure- A Se c on d Go at Robotic Con stru c tion


, A r c h i t e c t u ral D esig n 8 0 (4 ):1 1 6 -1 2 1 . H o b o ken: W ile y an d Son s.

B i g g s, G . and B. MacDo nal d . 2 0 0 3 . A S ur ve y of Robot Programmin g Syste ms.


P r o c e e d i n g s o f t he A ust ralasian Co nference on Roboti c s an d Au tomati on , CSIRO .
Brisbane.

B r e l l - C o k c an, S. and J . B raumann. 2 0 1 0 . A N e w Parame tric De sign Tool for Robot


M i l l i n g . P r oceed ing s o f t he 3 0 t h A nnual Co nfere n c e of th e Assoc i ati on for Compu te r
A i d e d D e s i g n in A rchit ect ure: 3 5 7 -3 6 3 . New York.

B r e l l - C o k c an, S., M. Rei s , H . Schmi ed ho fer, an d J. Brau man n . 2009. D igital D e sign
t o D i g i t a l Pro d uct i o n: Fl ank Mi l l i ng wi t h a 7-Axis Robot an d Parame tric De sign .
C o m p u t a t i o n: The N ew R ealm o f A rchit ect ural De si gn . 27th e CAADe Con fe re n c e
P r o c e e d i n g s: 3 2 3 -3 3 0 . Is t anb ul .

E a st m a n , C., P. Tei cho l z, R. Sacks , and K . Liston . 2008. BIM Han dbook. Hoboke n ,
N e w J e r se y: W i l ey and S o ns .

E i g e n s a t z , M., M. K i l i an, A. S chi ft ner, N. Mi tra, H. Pottman n , an d M. Pau ly. 2010.


P a n e l i n g A rchi t ect ural Freefo rm Surface. A CM Tran sac ti on s on Graph i c s 29(4). N e w
Yo r k : A C M .

G r a m a z i o , F. and M. K o hl er. 2 0 0 8 . D ig it al Mate ri al i ty i n Arc h i te c tu re . Bade n : Lars


M ü l l e r P u b l i s hers .

I w a m o t o , L. 2 0 0 9 . Di g i t al Fab ri cat i o n: A rchite c tu ral an d Mate ri al Te c h n i qu e s . N e w


Yo r k : P r i n c et o n Archi t ect ural Pres s .

K o l a r e v i c , B. and K . Kl i ng er. 2 0 0 8 . Manufact uri n g Mate ri al Effe c ts – Re th i n ki n g De si gn


a n d M a k i n g in A rchit ect ure. New Yo rk: Ro ut l edge .

K U K A R o b o t i cs . 2 0 0 3 . K R C2 / K R C3 E xp ert P rogrammi n g . Au gsbu rg: KUKA Robote r


GmbH.

M ü h e , H . , A. Ang erer, A. Ho ffmann, and W. Re if. 2010. On re ve rse -e n gin e e rin g


t h e K U K A R o b o t Lang uag e. Pro ceed ing s o f t h e DSLRob’10, IEEE/RSJ In te r n ati on al
C o n f e r e n c e o n I nt ellig ent Ro b o t s and Syst ems 2010, Taipe h .

P i l l e r, F. 2 0 0 4 . Mas s Cus t o mi zat i o n: R efl ect i on s on th e State of th e Con c e pt. T h e


I n t e r n a t i o n al J o ur nal o f Flexib le Manufact uring Syste ms 16:313-334. Sprin ge r.

R a m a n i , K ., R. Cunni ng ham, S . Devant han, J . Su braman iam, an d H. Patwardh an . 2004.


Te c h n o l o g y Review o f Mass Cust o mizat io n . Produ c t Mode ls Organ ization Con fe re n c e
2004.

S c h e u r e r, F. 2 0 1 0 . Mat eri al i s i ng Co mp l exi t y. Arc h i te c tu ral De si gn 80(4). Hoboke n :


W i l e y a n d So ns .

S c h i n d l e r, C. 2 0 0 9 . Fl ankenfräs en. In E in archi te kton i sc h e s Parame tri si e ru n gsmode l l


a n h a n d F e rt ig ung st echnischer K rit erien, d arg este l l t am Hol zbau, Zü ric h : ET H Zü ric h .

Ta k a s e , K . , R . Paul , and E . Berg . 1 9 8 1 . A S t ructu re d Approac h to Robot Programmin g


a n d Te a c h ing , I E E E Transact io ns o n Syst ems, Man , an d Cybe r n e ti c s 1(4). N e w York:
IEEE.

Wa l d t , N. 2005. N C-Pro g rammierung für das fü n fac h si ge F l an ke n fräse n von


F r e i f o r m f l ä c hen. H anno ver: Uni vers i t ät Hanno ve r.

251

interface and immersion

You might also like