 Hello everybody! It's awesome to be at the Blender Conference. I feel like I should say that every time I'm here you guys are so cool, so much fun to be with, and so encouraging when it comes to developing and creativity and and all this, and I always have just an awesome time when I'm here. So this is Amy Purdy dancing at the opening ceremony for the 2016 Paralympics with a rather large automotive robot and I'm doing that to build the suspense. I'm not actually going to tell you why I have this on the screen yet, so and this is me I'm a simulation engineer for Gerber technology and Gerber technology manufactures large tables for textile and garment manufacturing and I work with the software and support team. We're developing a 3d product and we're using it inside of Blender So I primarily work on Python scripts for working with our garment design tools in 3d. I love coffee and I Wish I had that mug. I actually created that effect in Blender. That's OpenGL with some reflection maps and my daughter Hannah was born on Saturday in Connecticut and I left the Blender conference or left Connecticut to come to the Blender conference So I pretty much spent all of my husband credits to come here. I'll be earning those back So this is my older daughter Elizabeth holding Hannah when she was about five hours old. I Still I mentioned I mostly a Python developer. I occasionally get to do artwork So this is a vehicle from a sci-fi series of novels This is the cover art for the same sci-fi series. I love modeling robots. I think Blender's Primarily for modeling robots from what I can tell it doesn't work as well for me for organics so the garment industry and the 3d printed or the The the process of creating garments inside of Blender took a really interesting turn when We partnered with Danit Peleg. So I'm gonna see if this video plays Got audio Danit Peleg. I've just graduated from Chancal College of Design I wanted to create a ready-to-wear collection printed entirely at home using printers that anyone can get I've spent the past years searching for the best solution. I Worked with the leading experts in the field yes, that's enough so Well, let's just pause this so that it doesn't start up again. I don't have technical difficulties. All right, so Danit Peleg basically she became famous overnight when she 3d printed a whole line of garments in her home With an army of maker bots. She's got like five of these 3d printers. She had in her apartment in Tel Aviv And she's using a couple of different materials one is filaflex, which is it's a sort of flexible rubber It has about the same consistency as like car tire rubber It's relatively stiff in most situations in most geometric structures But with the printed structure that has a whole lot of sort of like leaf springs folding in on itself Like you see in this sample up here It's actually very flowy and very bouncy. You saw those models walking around so the this garment that Amy Purdy wore for the Paralympic ceremony was actually designed and created in blender And then it was sent to the 3d printers And you can see there's there's some of the stiffer structure stuff at the top and there's some of the more flexible structure at the bottom the original design Was a lot more complicated We had sleeves on there and we had some different shoulders and we experimented with a lot of different designs There's several 14 hour work days where we just tried all kinds of different stuff And we would send updates to the Olympic Committee and they would say yes or no on different things So this is the first design and this was a concept we just did with an open GL render The first one that we actually printed and had the dancer try on had It was much simpler than our original design But it had a big a really long section of this more stretchy fabric Here's Amy trying it on and here's the final dress with the stretchier version of the dress there were There were a lot of concerns with the the movements of the road robot and let me I'll get to that in just a second Here's the final design. This is Amy Purdy posing in the photo shoot and Let me see if this video plays Nope, really not Did anyone have a chance to see the opening ceremony for the Paralympics anybody view that Hmm, barely not it was it was actually seen by about three billion people and Not many people realize that that dress that was sort of a highlight of the whole ceremony was actually created entirely in blender So as we were Let's go back a slide We can get it to go back. Oh gotta love Google slides. All right, so We kept tearing back from the Olympics committee With concerns and they kept reiterating over and over again that this robot is not the movements are not entirely choreographed It's actually using an AI and a lot of sensors and it's responding to the dancers movements So the software was a tiny bit unpredictable They weren't sure exactly what it was going to do and they kept saying if there's some kind of an error with the garment like if Part of it comes disconnected or if it's too stretchy and it swings out and the robot Misinterprets the movements or miscalculates the position of the dancer the robot could make a sudden move and this robot is Powerful enough that it could easily lift a car So they were really concerned that it could cause an injury or even death. So You know, they kept saying make sure the fit is exactly right make sure it connects exactly in the right places Make sure nothing is going to come apart make sure nothing is too stretchy Etc. Etc. Nothing can can find her movements. So You know, or else she might be killed. So no pressure. Have fun in the process of creating this garment When Dennett first showed up at Gerber The person that she had previously been working with in blender their relationship fell through and she needed somebody new She found out that I was sort of the resident blender guy at my company and So they introduced me she immediately took over and said all right I want him to be working on this dress for the Olympics because I need somebody and the deadlines within the few days And so I basically got pulled off of all of my projects Started working on this which was surprising to everybody or everybody including my supervisor But they went with it so it became apparent really quickly that in order to make sure the fit was correct and in order to Make sure that everything was working properly and as antsy as they were about the robot being dangerous I started coding just on the fly some tools to double-check fit as we're transitioning back and forth between the 3d and the 2d versions I've created these measure tools I created tools for flattening the garment and then converting it back to the 3d shape and started laying down all of this code Here's a close-up of the geometry there I just I thought that was interesting and a model Trying it on for the first time It's really kind of freaky geometry. I thought the dress was kind of crazy But as a 3d printed garment, that's kind of what people expect something that looks a little bit crazy and kind of weird So they really loved it and you can see the close-up of this stretchier fabric over here The same designer uses a couple of different Materials the fila flex which is the more flexible stuff and then a more typical Solid plastic which she used for her line of shoes and for certain parts of other garments So this is the the under part of the garment We actually had to divide it into small pieces so that it would fit into the printer And this is just a cycles render of it You can't really see it so much in the photos But there was basically a one-piece swimsuit sort of a thing that had a lining in it That was underneath the the gown part of the dress here's a close-up of this crazy geometry and This is then its Instagram This is the only proof on the internet that I had anything to do with the Olympic ceremony You you'll notice my right earlobe is very distinct so you can tell that's me And then this is the workspace Which is a tiny cubicle and that was interesting because she's basically a celebrity There were people wanting to interview her constantly. There were VIPs and various fashion companies and all kinds of people crammed in my into my cubicle talking to her while I'm trying to Get questions answered. We also had a dress form in there We had as many as three different fashion people standing around a dress form Bending this weird 3d printed geometry around it and making comments about what I was modeling and so it was it was an interesting process And a really fun several days, but fortunately the company took us out to lunch like every day while that was going on So got to eat a lot of fancy lunches and dinners during the process we had a little bit of discussion about the fit and how to make an adjustment and She started cutting pattern pieces out of paper and Just grabbed one of my action figures and started dressing it. So this is basically a famous designer Dressing my zombie action figure in a paper dress. I just thought it was amusing. So I had to include it This is the same zombie action figure after my supervisor dropped his favorite pen My co-workers started putting together the paper garments and a whole series of photos emerged of action figures torturing the pin in various ways And there was a discussion about how much the pin was costing the company and employee time and it's kind of an ongoing meme now At last year's conference. I showed a demo of a cloth engine built entirely in Python So this is just a quick review of that. I wanted to show that With Python you can actually do big data operations you can do some pretty heavy calculations in real time so this is all running in NumPy and The reason that we ended up using NumPy for this garment design for the Olympics is because It allows us rapid prototyping So, you know, you're using the the typical speed of developing in Python, which it's higher level And you also have the value of being able to do these really heavy calculations Which a lot of times we're working on geometry that was very dense Sometimes we're using these STL files that were already subdivided So in order to really do anything effectively I had to code all this stuff in NumPy So you could see that multiple cloth objects just different pinning Configurations are all being processed in real time This is just another example of the same thing something I didn't get to show at last year's conference. We were experimenting with different bend spring models and The cloth engine built into blender doesn't have the ability to be very stiff with the bend springs, so I Integrated this proxy object, which basically it's pulling all the data off the bend springs and the Structural springs from this other object and it's applying it in real time as the physics is processing it I Continue to work on this cloth engine when I get a chance, but I keep getting pulled off and put on all these other crazy projects so You can find more on this video on my youtube channel if you're interested in it You can also for the Paralympics ceremony. It's really easy to find That video just Google Paralympics ceremony watch it keeping in mind that that dress was created entirely in blender I will probably start a thread on blender artists forum for this cloth engine because I want to continue development I've actually built a ray caster in NumPy that I've got working now for the collisions all right, so The entire process of Modeling this garment the way that we did it we used our avatar tools and we were emailed all of Amy pretty's measurements and We plugged in the measurements that we were given to our 3d avatar and the way that that works is I've got about 2,000 lines of code that are measuring Well, actually analyzing the mesh figuring out where the elbows and the arms the head and the knees and the waist and all of the Major body positions are it will work on multiple avatars. I dropped in another avatar analyze it with my code Then scaled my rig in there and it calibrates the rig so that you can type in like waist measurement or torso or any one of the measurements can be controlled with a slider or you can Just type it in and one of the difficult things about the process of setting up an avatar to be specific dimensions or To to get it the way that you want it by typing in these values is if you say well I want the inseam to be 36 and I want the torso to be 42 and I want the total height to be 65 Well, sometimes those measurements don't add up to the total height So I had to figure out well if you want to set the torso height and then you want to adjust the total height of the avatar What do you do with the extra dimensions when you want to make the torso longer? Well, you have the option of Propagating that change to the inseam. I've got lots of pose tools and various other things I actually the one of the designers complained that when you put the arms together and you bend them They intersect which it's animation. Of course, they're going to intersect. What do you expect it to do? So I wrote a collider for the hands so that now if you move the arms together It detects collisions on the hands and it bends the elbows instead So the hands will never intersect and they were happy All of this again is it's numpy it's It's Really fast runs in real time updates the avatar There's this convict circumference measurements going on here where I generated a convex hole in numpy and Actually, let me show you that tool five minutes All right, that's just some under the hood what the rig looks like This is a convex measure tool it has options of Being either convex or contoured for measuring it's lighted up and down you can change the plane plane angle works in real time Let's skip that video This is some of the different Geometry that we created when we were experimenting and this is how we had to flatten it to fit into the printer I'm going to skip a lot of this content This is probably the crowning achievement of this whole process. I actually have tools That will allow us to extrude a garment just immediately instantly. We have a basic garment Forms over the top of the avatar with a convex hole then I can cut it and Flatten it so I immediately extrude a flat pattern that I can look at the distortion to figure out where we need to cut darts or seams and then for the process of Transitioning back and forth between the 2d and 3d shapes I Had to create a tool the mesh to form modifier was supposed to do what I was trying to do here But a lot of times it doesn't quite work and we were working with two-dimensional surfaces for the most part and a lot of times We had geometry that was outside of the range of the cage So it just I just found it really cumbersome to work with So let me show you this tool that I created and I finally got it working literally like Three days before the I left for the conference, so I didn't really have a chance to do a whole lot with it I'll make this available to you guys the code is relatively simple and easy to use there's three buttons so I just put a regular cloth modifier on a plane and now I Clicked my new tool to bind it to the surface Bind to surface I set it to update on all the frames so when you run it again All of this wacky geometry just follows it and it doesn't care if you color outside the lines It just needs a two-dimensional surface And as you can see it's not making a performance difference at all Obviously applications for this tool with character modeling. I my mind is just going crazy It's like oh you could so easily like attach a shirt to a character And then it would automatically follow the character and I actually rendered some garments out with our Accumark software put them on the avatar use all the parametric tools and the clothing follows the surface of the object Perfectly, so this is just shrink wrapped onto the arm and then when I do this bind to surface the Mesh here is actually it's like 50,000 Polygons or something like that in this this mesh, but you see it binds to the surface I'm almost immediately and it follows the character. I didn't have to screw around with the rigging or anything like that So this is my new favorite modeling tool With the same tool I was able to render this bomber jacket I've flattened all the why I extruded a garment around the character which took a few seconds I cut seams in it and flattened it which took a few seconds then I got my tool working I created all this crazy geometry and bound it to the surface and then turn the shape key back to the 3d And all of that complex geometry just followed it so once I got the tool working it took me about 10 minutes to finish this jacket and we've actually Created this rib structure and 3d printed it and This is my daughter Elizabeth with the net trying on the bomber jacket Which is she said it would probably sell for about $5,000 she mentioned some celebrities you might be interested in it and so my daughter is trying on the one-of-a-kind 3d printed prototype bomber jacket and Since I started working in primarily in women's apparel Everything starts to look like women's fashion and I thought you know the blender logo looks a lot like a high-heeled shoe. Oh Gotta skip a couple there we go and here's so My email address is up there at the top Gerber occasionally hires Consultants and full-time people they're interested in people who work in blender So if you want to put your resume portfolio on file with us or if you have questions for me You want me to share some of this code? Feel free to email me. It's right up there You can talk to me after the conference of course. So thanks everybody