Latest / Talk Python To Me / #162: Python in Building and Architecture
Transcript
- 0:00You often hear about architecture and software.
- 0:02This could be things like microservices, three-tier apps, or even the dreaded client-server mainframe app.
- 0:08But in this episode, we're turning this on its head.
- 0:10It's software and architecture and real-world construction projects with Mark Menendez.
- 0:15This is Talk Python To Me, episode 162, recorded April 23rd, 2018.
- 0:21Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem, and the personalities.
- 0:41This is your host, Michael Kennedy. Follow me on Twitter, where I'm @mkennedy.
- 0:46Keep up with the show and listen to past episodes at talkpython.fm.
- 0:49And follow the show on Twitter via at Talk Python.
- 0:52This episode is brought to you by Linode and ActiveState.
- 0:56Check out what they're offering during their segments. It really helps support the show.
- 1:00Mark, welcome to Talk Python.
- 1:02Thanks, Michael. Thanks for having me.
- 1:03Yeah, it's really great to have you here.
- 1:05I'm super excited to have this conversation with you and explore an area that I really haven't spent a lot of time in,
- 1:12certainly in a software perspective anyway, in the whole architecture and construction building area.
- 1:17Should be fun, right?
- 1:18Yeah, definitely. Looking forward to it.
- 1:20Yeah, it'll be great.
- 1:21Of course, as usual, before we get to that, though, let's start with your story.
- 1:24How do you get into programming in Python?
- 1:26I have a background in physics.
- 1:27From Colorado School of Mines here in Golden, Colorado.
- 1:30And I just had an intro computer science course where I was taught by the venerable professor there of introductions.
- 1:38And he heavily pushed Python right off the bat to everybody.
- 1:42And it was kind of from there that I took a few more computer science courses and things like that and followed down the path to doing a lot of programming.
- 1:52Yeah, that's really cool.
- 1:53And the fact that you got to do it in Python is super nice.
- 1:56I mean, when I went to school, it was, you know, I had to plead to do stuff in C++.
- 2:03It was either you have to learn Fortran.
- 2:05It's the most important language you're ever going to learn.
- 2:07Or we think you should learn the foundations in a language that nobody knows.
- 2:11So it's, like, confusing to everybody equally, which was Lisp.
- 2:15And neither of those were, like, really amazing choices.
- 2:18And I never went on to, like, use too much of them, I guess.
- 2:20But, yeah, I think C++ and Python would have been a lot better choice.
- 2:25Yeah, definitely.
- 2:26So I had courses in both of those.
- 2:29So, you know, got a bit of statically typed things and got a bit of dynamically typed things.
- 2:34So it was good.
- 2:35Good background.
- 2:35Yeah, yeah, really nice.
- 2:36So what are you up to now?
- 2:37What do you do day to day?
- 2:38Yeah, so now I'm just, you know, supporting a lot of firms in architecture, engineering, and construction.
- 2:44And that consists of a lot of authoring requests for proposals and things like that.
- 2:51And trying to make sure that, you know, clients are otherwise provided for with respect to automation of workflows,
- 2:59more cutting-edge solutions in the AAC industry as it relates to building buildings.
- 3:05And how we can program to help that be done more efficiently.
- 3:09The company that you work for is basically, like, a software consultancy for architecture, building, industry?
- 3:15Yeah, that's right.
- 3:16So I guess I should, you know, provide some context into that a bit.
- 3:19So I work for, like, a firm called Evolve Lab.
- 3:21And so it's a building information management consulting firm.
- 3:25So anywhere where there's building information, that's kind of what we're consulting about.
- 3:30And so whether that's how people procure their building documents or how they draw buildings in three-dimensional space,
- 3:37how do they manage all of the data that's tied to all of those elements.
- 3:42And that will be the general context of anything that we consult in.
- 3:46And that can also relate to things outside of the building, such as, like, site.
- 3:50And so we'll do stuff with, like, GIS and things like that.
- 3:53And also related to, say, like, efficiency or, like, solar analysis.
- 3:58So, like, which directions the building is facing in, things like that.
- 4:02And it's kind of driven by two main things, which is, like, the building design and then kind of, like, the life cycle of the building.
- 4:09So it's, like, how do you manage all that data while building the building in electronic space to how do you design the best building possible such that you're not wasting a ton of energy after it's starting to operate in the field?
- 4:23I see.
- 4:23That's really cool.
- 4:24So working on, like, the LEED-certified type buildings and stuff like that.
- 4:28Yeah, definitely.
- 4:29All through that life cycle.
- 4:31LEED maybe is a U.S. thing.
- 4:32I don't know.
- 4:33Maybe tell – this is people from other countries might have no idea what LEED is.
- 4:37Maybe tell people what that is.
- 4:38And LEED might be international.
- 4:39And I'm sure it's internationally known.
- 4:41But it's something where you can get an accreditation stamp onto your building of, like, how energy efficient it is.
- 4:48So they have all these ranks of, like, gold and, you know, highest is, like, platinum, LEED platinum.
- 4:53And there's all these certifications behind it to making sure everyone knows what is required to get these accreditations and things like that.
- 5:01And so, yeah, to provide the context again, I guess as a consultancy, you're kind of saying, like, the firm will come to you and say, this is what they want to accomplish because this is what they would like.
- 5:11If they were, you know, searching for, like, a LEED accreditation of something in particular.
- 5:15And then we would go about helping them get to that point without wasting too much, like, manual hours just, like, tweaking their building design and stuff to get that stuff figured out.
- 5:26It can all come up a lot more organically.
- 5:28Yeah, that sounds cool.
- 5:28So you have to have maybe certain levels of efficiency for various, you know, energy retention or insulation or whatever.
- 5:35And do you run, like, simulations to say, here's how much we think, how much energy this building is going to use, how much sun energy it's going to capture, and how hot that'll get or how warm it'll keep it in the winter, things like that?
- 5:47Yeah, definitely.
- 5:47So there's, like, a whole bunch of different softwares that, and a lot of them will be, like, proprietary softwares that allow you to find all these different metrics through this process of just taking the building information model that you've created and then passing it over into the software and having it analyze it.
- 6:04And then kind of what's new in the industry and where everything's going and the reason why, like, we started talking about doing this show is that there's very much a push towards things called, like, generative design or, like, artificial intelligence in building information management where things can be possible now where you say, like, okay, let's make all these certain degrees of freedom.
- 6:24Like, we'll say this building can gain five levels or it can rotate on this site or, and this is what the site is.
- 6:31And then it's, like, how do you take those certain degrees of freedom and not only, like, move them through all those degrees of freedom but also start to analyze every single metric that can come from all of those different options.
- 6:44So, like, you know, to tie it back to lead, say, for one thing, for instance, is you'll have, like, for a lead accreditation, there could be something or you're this far away from, like, a light rail or something like that.
- 6:56And so then say your site has a bit more emphasis on it, but, like, the main entry point of the building has to be, you know, so close to this light rail that if it's rotated and the main entrance is opposite of where the light rail is, it'll be too far.
- 7:08And then if you move it the other way, it'll be closer.
- 7:10Well, like, that will be, like, one of the weighting metrics where, like, as it rotates, you see, oh, look at this.
- 7:15We just lost a point or two on our accreditation.
- 7:18But maybe you gain it somewhere else.
- 7:20And it's for somebody to go through and, like, rotate their building or, like, to manually draw things is just totally impossible.
- 7:26So you go through this, and the industry is going through this now where we're starting to manipulate models on this more abstracted level and saying, how do we generatively design these things such that a lot of these things are just taken out of the box just based on whatever you want.
- 7:40That makes perfect sense, but I had never thought of machine learning and AI being applied to buildings.
- 7:48I mean, certainly not in the building of buildings.
- 7:52I guess it makes a lot of sense, though, right?
- 7:54There's so many things you're trying to optimize.
- 7:55There's so many different factors.
- 7:57And, of course, it makes sense to just apply some kind of algorithm that can, you know, smartly answer what's the best way to arrange all these things, right?
- 8:06To be very specific about this, it's, like, one thing that you can apply, like, you know, AI or machine learning to in building.
- 8:13I mean, so machine learning and AI, like, so for machine learning, we're going to have way bigger data sets and all of this stuff, which I think is going to be in, like, a second part of what we're talking about here.
- 8:21But so, like, for artificial intelligence, if you take something even as simple as, like, A star algorithm, it's like, well, how could you use that?
- 8:27Like, and, you know, like, pathfinding algorithms and things like that.
- 8:30Well, so if you, like, you know, you look above your head, like, anywhere you are in a building, there's, like, ducks and there's all these supplies and stuff.
- 8:37There's air coming out of the ceiling, you know?
- 8:39It's like the building is breathing.
- 8:40But there's also, like, water and all of this stuff being supplied to sinks and things.
- 8:44So it's like all of these pipes and all of these ducks and stuff are all going through the ceiling.
- 8:48They're all flying around all over the place.
- 8:50And so if you have a pathfinding algorithm and you have all of your ducks modeled already, then, and you want to say, hey, I want to model this pipe and I want to start it here and I want it to end over here.
- 8:59Well, you know, you can manually, like, go through and you can rotate your model, like, 50 times and, like, look and say, okay, I got to go up a little bit over here to get over this duct.
- 9:08Because if it's clashing through it, and so, like, yeah, to take a step back even, it's, like, buildings are being built before they're actually built in the real world now.
- 9:17Like, almost fully, that's what every big general contractor is on it.
- 9:22It's, like, the whole building to, like, a T, you know, to, like, within inches is completely modeled out on the computer before you're even in the field at all.
- 9:30And so this is called clash detection.
- 9:33And so anytime there's, like, a pipe that's clashing with a duct, it alerts you and you say, okay, well, hey, we have to move this pipe up or down so that it's not going to be in the way of the duct.
- 9:42And so that before you get out into the field, you know that you have to model or you have to order these extra pieces of pipe because you know you're elevating over this certain duct.
- 9:50And so to bring AI back into it, it's, like, well, you know, you can have more, like, AI routines that are modeling out your pipe and making sure you can get most efficiently from one point to the next while avoiding all these certain obstacles.
- 10:02Right, maybe, like, going down an entirely different wall and completely doing something different down at the bottom, like, actually opens up something in the rest of the building that makes it way more efficient or something, right?
- 10:12Yeah, and for humans to do it, it's, like, so difficult.
- 10:15Like, to model all of it's just so time-consuming.
- 10:19That's really fascinating.
- 10:20I mean, just, I could totally see how it just all applies now.
- 10:23But when I think of buildings being built, I think of, I do think of, like, CAD software and stuff.
- 10:29But I feel like, I just imagine, like, draftsmen sort of sitting there just doing it, right?
- 10:34No, we've got to move this here and draw that line there.
- 10:37And, yeah, it's quite fascinating.
- 10:39So it's probably a good time to start talking about some of the Python code that you guys use.
- 10:45So maybe give us a quick flyover of the type of software you're using for this.
- 10:48There's a certain amount of it that's now being done on the web development side.
- 10:52And so this is going to entail, like, I don't know, just some framework, you know, like Flask or Django or something, where we can quickly and easily set up databases and dashboards.
- 11:01Because as you start to develop all of these models, there's a lot of things where, say, like, for even one wall, for instance, you have all of this, like, just, you know, you have insulation, you have, like, the paint that's going to be applied to all this data.
- 11:15And so all this data wants to be saved now back to a database.
- 11:18And originally, it was just kind of dumped at the end of every project.
- 11:22You just save it.
- 11:23It's just, you know, gone.
- 11:24And then you move to your next project.
- 11:25And really, no, there's no hysteresis about it all.
- 11:28You know, there's no learning at all.
- 11:30People just come.
- 11:30They build the building.
- 11:31And if the owner approves and the city approves, who needs to keep track of what paint was used or what, you know, material was used here, right?
- 11:39Other than for, like, the main structural bits, right?
- 11:42Yeah, more or less.
- 11:43You know, it's just like that.
- 11:44But now if it's in software, right, you can just save it.
- 11:46It's easy.
- 11:47Yes.
- 11:47And so it's about moving to the cloud now.
- 11:49You know, it's doing all of these things that the software development industry has been doing.
- 11:53But now AEC is now catching up.
- 11:55And so it's about building dashboards, building just ways of analyzing your data in the cloud to harness, you know, the power of cloud computing, essentially, and things like this.
- 12:06So the biggest firms we've sent out, personally, like RFP or proposals and things for things such as building out big frameworks and decide making decisions on if you want to use Azure or something or like if you want to just have all of your own hardware.
- 12:21But essentially, just providing value through building out like a Flask app or a Django.
- 12:26Yeah, mostly like, you know, something that's going to be more minimal that you'll be able to keep using.
- 12:31And on one side, that's what the Python looks like is very much just web development kind of stuff, you know, setting up all your database, doing all this stuff.
- 12:39And then on the other side is more related to in-process information management.
- 12:45So as you're building the building, you have to do certain things, you know, you have to like create views on certain angles and things like that where people want to see like all the people who are the building inspectors and whoever's giving you your permits.
- 12:57They want to see and make sure that you're doing all of your like requirements for, you know, making sure maybe you have like a handicap stall in the bathroom or something, you know, like they want to make sure you have all of this stuff.
- 13:07And so on this side of it, the Python begins to look very different.
- 13:11And in some ways, it's very script like and then other ways, it can be more of like a whole program.
- 13:16I think this is a good spot to kind of say like that recently there's been these things in the AC industry that have led to the ability to grow and to gain like, you know, computational designers or computational specialists where they'll be using things like Python all the time.
- 13:33And so there's like visual programming languages and stuff where you can kind of drop nodes on the canvas, connect them together and do all this stuff.
- 13:40And that's all well and good right off the bat.
- 13:42But you'll very quickly need to like move to textual programming because it'll just they can't wrap everything for you for use in visual programming.
- 13:50You really got to harness like that API yourself.
- 13:52And so the Python there is in a couple different avenues and it's related to managing your building information.
- 13:59And so it's going to be like rename all of these walls like something, you know, or automatically tell me all of the room dimensions of all of the rooms that are in this whole entire building and print it out to a report.
- 14:10You know, all these kinds of things, they'll give you very small like you'll develop these very small like Python scripts where you'll be able to like run them and they'll be able to do this stuff.
- 14:19That's cool.
- 14:19Like what is the surface area of all the interior walls or something like that possibly.
- 14:24Right.
- 14:25Yeah.
- 14:25Yeah.
- 14:25Like how much paint do I need?
- 14:27Right.
- 14:27Well, what how many walls you have?
- 14:29Totally, man.
- 14:29And they're called like takeoffs.
- 14:31You know, it's called a takeoff.
- 14:32It's just like the GC is going to get a model from like the architect because the architect designs it and then he passes it over to the guys who are going to build it.
- 14:39And those guys that are going to build it are like this is very real cost to us.
- 14:44You know, we can switch from to the next and save, you know, thousands of dollars and it barely changes anything.
- 14:50We want to know that.
- 14:51And in order to find all of those surface areas of all those interior walls, you can't go clicking on every single wall and see what the material is in the area and like write it down.
- 14:59And people do that, you know, and that's the scary thing is people do manual takeoffs.
- 15:06And that's what we're here for.
- 15:08You know, we are like going to support that.
- 15:10Yeah.
- 15:11It reminds me of a company I worked for a long time ago that had a bunch of scientists working there, PhD, master's type folks.
- 15:19And they had a lot of these grad students that would come and do a bunch of manual things, really like quite manual.
- 15:25And it's like, you know, over time, we would take some major thing that they were doing and we'd re-implement that in software and go, I know it took you a day.
- 15:34Now you push the button and it's like 10 minutes or one minute or something like that.
- 15:38And then you have your answer.
- 15:39And they always said, if you do this again, you may be like programming us out of a job, but they just got more interesting jobs every single time.
- 15:48Right.
- 15:48It was just like these sort of super tedious manual things.
- 15:51Like you'll find a better use for your time if you don't have to do them.
- 15:55Right.
- 15:55Oh, yeah.
- 15:56It kind of blows my mind that people like will suffer through it, though.
- 15:59Right.
- 16:00They'll be like, I can't really script Excel.
- 16:02So I'm just going to count these up, all 2,000 of them, you know?
- 16:06Yeah.
- 16:07Pretty interesting.
- 16:08All right.
- 16:09So one of my first questions that I want to ask is how many gigabytes, let's suppose I have a 30-story building, standard office sort of thing.
- 16:17How many gigabytes is that?
- 16:19And like all of this data you're collecting and like all the different things that's going on, like, is it pretty huge?
- 16:24Sometimes you have things like that where you have like a 30-story building and sometimes the 30-story buildings are able to be compressed a lot better.
- 16:31So your file size isn't really that big.
- 16:33But you can almost have like, I don't even know, like it's such a crazy question because there's like all of this data that you never really see like in the background that if you actually harvest it.
- 16:44Like you sort of all the stuff that you really kind of could put together about it.
- 16:47You could go into terabytes, like definitely, you know?
- 16:49Because if someone models – because like one project we're working on, for instance, is like a theme park in China.
- 16:55And so there's like these crazy slides and mountains and stuff.
- 16:59And it's like if you store all of those – like all of that data, you're storing every like vertex of the mountain.
- 17:04You're storing like everything, you know?
- 17:06Like every time and it can easily – but then, you know, even like the interior wall example that we had earlier, it's like you're storing the paint.
- 17:13But, you know, whatever, the paint's like one small fraction of like what is that wall, you know?
- 17:18You're not even doing half of it.
- 17:19So it can stretch from very, very small shops.
- 17:22Like one-person firms can have like a database of, say, 50 megabytes or something like that.
- 17:28And then you can have like these big, big, big shops that are doing massive projects.
- 17:32And there can be like campuses and things like that.
- 17:36So like they'll have like six or seven different buildings and they all link together in a model and things like that.
- 17:41And that can easily stretch to, you know, a terabyte or more where you're – and it just all depends on how much data you really want from it too, you know?
- 17:49If it's something where it's just geometry, it'll be like much less than that.
- 17:53But if you want all of the info, it can be more.
- 17:56Pretty interesting.
- 17:57You talked about Azure and the cloud a little bit.
- 18:00So where are you storing this data?
- 18:03Like how do you store it?
- 18:04Is it in like a relational database?
- 18:06Is it flat files and blob storage?
- 18:08Some combination?
- 18:09Definitely a combination.
- 18:10Yeah, yeah.
- 18:11Because with, you know, with the blob storage, you're going to definitely need it.
- 18:15Because a lot of times there's all sorts of documentation that's held about the building outside of just like a single file or something like that.
- 18:25And so – and this could be information related to like warranty information for equipment that the building owner is going to want like 10 years down the road or, you know, something like that.
- 18:35But then there could also be information that can be easily stored in a database.
- 18:38Like if you're tracking – like so an architecture firm came to us and said we want to see what our users are clicking and picking when they're using this software.
- 18:47Because if you have everyone using – and all of their charts show that they're using all of these same keyboard shortcuts and stuff.
- 18:53And then you have one person who's always using like some random ones that no one else is ever using.
- 18:57Then you – it's very easy to say, well, this guy's probably spending a lot of time fiddling around like just being confused.
- 19:05You know, so you can be like, okay, let's get him like someone to go in there and train him.
- 19:08And so there's data like that where it's very much can be tied to like Postgres or something.
- 19:13And you can just set up like your user and, you know, some SQL database.
- 19:16And it says user and, you know, there's these functions you want to track.
- 19:20And it just updates that database a bunch.
- 19:24So a bunch of everything like you can do SQL databases and obviously there's a lot in terms of blob storage that you could need down the road.
- 19:33I can imagine.
- 19:33So that's some of it.
- 19:36The other part is the actual creation of the building.
- 19:39Like you talked about the computational stuff, people helping actually the design of the building, right?
- 19:46Like these ML models and stuff.
- 19:48What's the story of that?
- 19:49It is awfully related to this like whole degrees of freedom that I was talking about earlier.
- 19:54How like you can have just a couple things that have a lot of degrees or that have just like a couple degrees of freedom.
- 19:59And that quickly just like compounds to just something, you know, exponentially difficult for you to do manually at all.
- 20:06And so, for instance, there is like we did a project where it was like a stadium kind of design.
- 20:12And there's just like this facade or just exterior of the building that had all of these like panels on them that had like aperture.
- 20:20So if the aperture was greater, you know, like a camera, it would let more sun in.
- 20:25And if it was less, it would let less sun in.
- 20:27And so you take like just the surface of the building and you can map like a heat map across it of like where the sun is in some part of the day.
- 20:36And then you know how all of those apertures need to be opened and closed such that you can still achieve this certain sunlight percentage that you want.
- 20:44And so, you know, you can kind of visualize it in your mind as the sun crosses the sky.
- 20:49All of these apertures are going to shift there.
- 20:51Some of them are going to open.
- 20:52Some are going to close.
- 20:53And it's going to happen across the building like over the entire course of the day.
- 20:56So that's something where it's like the combinations are endless.
- 21:00Like you can never do it manually.
- 21:02But to talk directly more about like the machine learning aspect of it, like things have been being done where you can take everything from like this abstracted sense.
- 21:10So if you think of like an electrical system of a building, you have like these big transformers outside of the building that really they receive all of the power and then they'll send the power to the building.
- 21:19So they get it straight from the utility plant and then that goes straight to the building.
- 21:23And so you can think of everything as just in terms of these trees or these are hierarchies where it's like the first part of the tree is just the transformer.
- 21:31And then that breaks off into these and that breaks off into this and that breaks off in this.
- 21:34So every building has a tree behind it, just some hierarchy of electrical systems.
- 21:39And so now you can start to analyze these trees.
- 21:42Probably has that for water.
- 21:44It has that for ducks.
- 21:45It has that for all sorts of stuff, right?
- 21:47Totally for everything.
- 21:48And in architecture, even there's stuff where it's like there is a level and then within that level, there are departments.
- 21:54And then within that department, there are rooms.
- 21:57And then within those rooms, there's like, you know, something else, maybe like cubicles or something like that.
- 22:02And so there's trees for everything.
- 22:04And trees are very well studied for mathematicians and stuff like that and computer scientists that we think that's really the gateway to harnessing fully like machine learning or something is how do you start to just develop these trees, study these trees and get useful results from them through a machine learning model.
- 22:22Yeah.
- 22:23What machine learning frameworks do you guys have in play?
- 22:26Us, ourselves, we just mess around with scikit-learn quite a bit.
- 22:29But other than that, we're not really doing that much with it.
- 22:32But we have, you know, friendly competitors and things like that that are, you know, taking that research to a next level for sure.
- 22:38It sounds really fascinating.
- 22:40So I'm sure that in 10 years, we'll see this in an entirely different place.
- 22:47This portion of Talk Python To Me is brought to you by Linode.
- 22:50Are you looking for bulletproof hosting that's fast, simple, and incredibly affordable?
- 22:54Look past that bookstore and check out Linode at talkpython.fm/Linode.
- 22:59That's L-I-N-O-D-E.
- 23:01Plans start at just $5 a month for a dedicated server with a gig of RAM.
- 23:05They have 10 data centers across the globe.
- 23:08So no matter where you are, there's a data center near you.
- 23:10Whether you want to run your Python web app, host a private Git server or file server,
- 23:15you'll get native SSDs on all the machines, a newly upgraded 200 gigabit network,
- 23:2124-7 friendly support, even on holidays, and a seven-day money-back guarantee.
- 23:25Do you need a little help with your infrastructure?
- 23:28They even offer professional services to help you get started with architecture, migrations, and more.
- 23:34Get a dedicated server for free for the next four months.
- 23:37Just visit talkpython.fm/Linode.
- 23:42One of the things that I want to touch on is maybe digging into specifically some of the Python packages and stuff that you're using.
- 23:48But before I do, one of the questions I kind of want to more broadly touch on is, you know,
- 23:54in certainly the other sort of data analysis, creational spaces, Python has been really moving in on it in the last five years,
- 24:02you know, since 2010, 2012, and so on.
- 24:04Is that sort of the same in the industry here?
- 24:07Like, is Python kind of a relative newcomer, or has it been around from almost the beginning of Python?
- 24:12So originally, like, AutoCAD, like all this 2D drafting where you're just drawing lines and stuff,
- 24:18a lot of the routines were in Lisp.
- 24:22And so everything was, like, done in Lisp.
- 24:24And, you know, very few people did it and things like that.
- 24:26And then as it transitioned to a new software and had new API calls and everything like that,
- 24:30it was mainly C# bent.
- 24:32And so all of the C#, you know, was done like that.
- 24:35And then, lastly, all of these C# API calls were just abstracted to Iron Python.
- 24:40And so everyone was able to then just use Python instead of having to use C#.
- 24:46You know, they could use all of these.
- 24:47They don't have to worry about compiling.
- 24:48They don't have to worry about any of that.
- 24:49They can just write up these little scripts and quickly, quickly test them over and over again
- 24:54and making sure they work good, yeah.
- 24:56That's pretty interesting.
- 24:57So the extension, the primary extension API or whatever for the Autodesk tooling was in .NET and C#?
- 25:03That's right.
- 25:04Right.
- 25:04And then either Autodesk or someone outside it somehow integrated Iron Python into this mix.
- 25:11And now that just sort of cracked it open for the Python space, huh?
- 25:14Yeah, definitely.
- 25:15And it's called like the, I mean, the Autodesk software is called Revit, just in case anyone wants to know.
- 25:20And it's free for students.
- 25:21And there's the Revit Python shell.
- 25:25And that's kind of like the first thing where, you know, you can get this little terminal and you can start to do little shell-based things with Python.
- 25:32That's cool.
- 25:32Do you have like a GUI window up and then as you type in it, it like is interacting with it, that type of thing?
- 25:37Oh, yeah, for sure.
- 25:38And it's got all the cool stuff, right?
- 25:39Like autocomplete and all these things and syntax highlighting and stuff like that.
- 25:44So now where it kind of is, is I use like Visual Studio Code and I can just have that up.
- 25:49And then I'll have kind of, you know, Revit on the other side and I can edit my code and I just save it and I can run it.
- 25:56And then I could just keep doing that over and over again in that kind of iterative way.
- 25:59Yeah, that's pretty fascinating.
- 26:00I haven't seen a ton of uses of Iron Python, mostly because I think a lot of the folks I talk to are doing like web development stuff.
- 26:07And at that level, you're just kind of like, you're not really adapting some other massive application that's got an API.
- 26:13You're just like writing from scratch or whatever.
- 26:15But that's cool.
- 26:16So how do you find it works?
- 26:18Does it work pretty seamless for you?
- 26:19Yeah, definitely.
- 26:20I mean, there's a couple things where like you wish were better supported, but it's kind of, you know, Iron Python stuff.
- 26:25Like, so like if you want to use NumPy, either it's like really difficult or, you know, it's just not supported at all.
- 26:31And things like that, you know, are kind of like you got to make sure that you're working within the Iron Python ecosystem,
- 26:37which is obviously like a lot different than the Python ecosystem in some ways,
- 26:42especially how it integrates into these sort of API calls.
- 26:45It sounds pretty interesting, though.
- 26:46Have you looked at Python.net, which is like a newer project that's sort of trying to achieve the same goals,
- 26:53but I think possibly reverses the situation where like Python is sort of controlling .net rather than Python embedded into .net?
- 27:00I haven't.
- 27:01No.
- 27:01Thanks for the recommendation, though.
- 27:02It sounds interesting.
- 27:03Yeah.
- 27:04I don't know if it works in terms of the integration, but it certainly is a pretty, it looks like a pretty interesting thing.
- 27:11And I think it's sort of a, not a competitor, but sort of inspired by Iron Python not getting as much love as it could have.
- 27:18So that's pretty cool.
- 27:19All right.
- 27:20So what are some of the other pieces of software there that you're working with in terms of the Python ones?
- 27:25You have something called, what is it called?
- 27:27Py OCC.
- 27:28What does Py OCC stand for?
- 27:30Python OCC.
- 27:31Python OCC is a wrapper on top of geometry library.
- 27:37That's, I think, the easiest way to say it.
- 27:39And so there, so essentially like within the building space, you know, you need lots of different ways of generating geometric objects.
- 27:45Because at the end of the day, that's what buildings are.
- 27:48Just a whole bunch of geometric objects.
- 27:50And so with things like Python OCC, there is a good initiative set there for taking a lot of these open source building formats.
- 27:59And so that will be things like, so it's called like IFC, like interchanging, you know, file format, something like that.
- 28:06And essentially Python OCC and, you know, what the initiative was, was allowing people to easily take these traditionally proprietary models and to bring them into an open source space.
- 28:18And so Python OCC gives you the ability to, you know, a lot like 3.js or something where you're going to be able to generate geometric objects, you know, with these certain high level abstracted calls.
- 28:29And right, Python OCC is one and then Shapely is the other.
- 28:32And these are kind of both packages where they're just, they're really bent on not only giving you the geometry primitives, but also giving you more high level access to selecting things and storing information onto them and things like that through, you know, like different attribute API calls and stuff like that.
- 28:53So one thing with Python OCC that was recently done, not by Evolve Lab, but another firm is like a tower generator tool.
- 29:01And so you're able to quickly like generate all of these towers like through a web dashboard and just, you know, kind of like what we were talking about earlier, but on a very, very basic level.
- 29:10And so this stuff is all done through Python OCC.
- 29:13And if people want to get into the AAC space in a very Python driven way, this could be a very good entry point because it does already have some initiative in it that allows you to start working with building information models and to start harnessing that data through the Python ecosystem.
- 29:32Yeah, it's really cool.
- 29:33So you can create these 3D meshes or 2D splines or whatever, depending on Shapely or Python OCC.
- 29:40One thing that's pretty interesting about Python OCC is it is sort of, it'll look at what GUI platform is available and adapt to it.
- 29:50So it says, if you use the GUI part, the library automatically detects whether Qt via PyQt or WXPython or WX or Python XLib are installed and it'll just render to the right one, which is, that's, that's pretty wild.
- 30:06That'd be written against three GUI platforms and just work.
- 30:08It probably attributes a lot to like people that will really harness 3D CAD from like, they're not really that strong of a technical background.
- 30:17Things like that, they probably had a big obstacle themselves when developing Python OCC that required them to try to push something out to handle that for people.
- 30:26That's pretty cool.
- 30:26It's just a neat example of like, well, you don't have to have this framework, I always can have that one.
- 30:31So another thing that you talked about is this visual programming story.
- 30:35There's something called Grasshopper.
- 30:37What's the story with Grasshopper?
- 30:39What is that used for?
- 30:40What is it first?
- 30:41Yeah, so Grasshopper is a visual programming language.
- 30:44So, you know, similar to things like LabVIEW, you know, you drop all these little nodes on the canvas and then you can tie them together with little strings and you say, you know, this is the way that the data flows.
- 30:55You know, it always typically flows like left to right or something like that.
- 30:57But so you can take like this list and you can send it across and you can add to it all these other things.
- 31:02And all you do is you put down like a list generator node and a plus node, you know, and it gives you that option.
- 31:08Like you don't need to know textual programming to do it.
- 31:11And so for Grasshopper, Grasshopper is written on top of a 3D modeling program called Rhino.
- 31:16What's cool about these programs is they're free for students.
- 31:20And Rhino has like a very generous like trial thing, too.
- 31:24So everyone can kind of dig into it a little bit.
- 31:26But it's a visual programming environment that's very bent on computational design.
- 31:31And so this is kind of a big thing now is like how do you start to computationally design these buildings where before, you know, like we said, everything was a lot more manual.
- 31:40Now it's a lot more driven by computation.
- 31:43Is that for like the surface of the building?
- 31:44I want it like rounded like this or whatever or what kind of part would you be computing that you're talking about?
- 31:50Definitely.
- 31:51So this is, again, like what I'm talking about where it says like computational design versus computational like information management.
- 31:58And so the design part is going to be like the exterior of the building, how it's all like shaped and how it looks and all this stuff to achieve all these cool things.
- 32:05You know, you can't it's hard to kind of like rotate your camera in the modeling program to like this certain angle and then like draw this line like in this certain way.
- 32:14And then like, you know, like everything's like all like really weirdly bent.
- 32:17And so through computation, you can kind of just drag a couple of nodes on the canvas and say, like, this is my start point, this is my end point, draw a spline through it.
- 32:26Or, you know, these are all the weighted points in the middle and draw a spline through it as best you can.
- 32:30And then and then now you have just like these slider bars that you can just shift left and right and it moves your points back and forth.
- 32:36And now your spline's kind of adapting in these cool ways to make like a cool building design.
- 32:41Right.
- 32:42So that doesn't sound like there's any Python involved or any other textual programming language, but they seem to have the grasshopper Python enhancement.
- 32:50So what's the tie in with Python to this?
- 32:52They do have some textual programming because, again, these things are going to be really limited.
- 32:56Like they're not really limited, but essentially anytime you want to just drag and drop a node, like there has to be someone making that node for you.
- 33:05Like there has to be someone that like takes that API call or whatever it happens to be and abstracting it for you.
- 33:10And so that's where APIs yourself.
- 33:15And so, you know, some of it's with Visual Basic, actually, and then some of it's with Python.
- 33:18And so you can go ahead and drop a node on the canvas and this is your Python node and you double click it or you otherwise open it.
- 33:24And then now you just have like this embedded editor or IDE.
- 33:29I see.
- 33:30You just plug in a function somewhere visually and call this function.
- 33:33A little block won't do it, huh?
- 33:35Yeah.
- 33:35At the end of the day, it's still a little block.
- 33:37But if you double click this block, it can be like this massive, you know, program within it that gets a bunch of data and spits a bunch of data out.
- 33:44And so that's going to be the Python plugin or the Python enhancement.
- 33:47I see.
- 33:48So that's pretty interesting that it could really empower people who are not really programmers,
- 33:53but maybe need just a little bit of logic, a little bit of something that's a little more than the app provides.
- 33:59And you can do that in Python.
- 33:59Yes, definitely.
- 34:00That's pretty cool.
- 34:01So one of the things that I've been thinking about as you're going through this, you talked about energy.
- 34:07So how much does things like renewable energy, solar, wind energy, things like that factor in?
- 34:13Do you guys like do modeling of that type of stuff as well?
- 34:16We had a big project with a general contractor called Mortensen, who's like, I think, number one solar in the world or US.
- 34:24So they build these massive solar farms and they're like ridiculous.
- 34:29Like they can like give power to the city of San Diego, like and things like that.
- 34:34And so they have just like huge, huge solar farms.
- 34:36And so this thing is so much different than, say, like solar panels on a roof.
- 34:40So like the problem of fitting, like how do you most efficiently fit solar panels on some certain roof is quite solved.
- 34:47Like, you know, it's already there.
- 34:48There's probably like a website.
- 34:50If you just Google it, you can like do it for your own house or something.
- 34:52Right. Google even has Project Sunroof, I think it's called, where you can put in your address and it'll light up your house and show you like how much efficiency you would get based on their like own models.
- 35:02Oh, yeah. So definitely.
- 35:03And so, you know, there's not a whole lot of Python going on in that space.
- 35:06Like there's not a whole lot of programming anymore.
- 35:08Like it's all kind of done.
- 35:09And, you know, obviously, like I work for a professor that did a lot in solar research.
- 35:14And so, you know, by no means is that whole field done at all.
- 35:16Like it's so nascent in a lot of ways.
- 35:19But for these massive, massive solar farms, you can kind of think that like if you take just a small, small subsystem of a very small fraction and you just shift all the solar panels like one inch away from each other.
- 35:31Well, all the wires that are connecting all those solar panels just got one inch further apart.
- 35:36And so now it's like spread across this whole entire thing is like you just put like a thousand feet of wire added to your project because you shifted these one solar panels in this very small fraction, like a fraction of an inch.
- 35:49And so something like that is like back to like generative design and things like that, where it's like you need a computational way of solving this problem.
- 35:58You know, you need to know like how much how close should they be?
- 36:02You know, it's called like there's just some ratio is involved and stuff like that.
- 36:05And so you can just shift them slightly and things like that.
- 36:10And so what you can do is there's like something called SAM, the system advisor model.
- 36:15This is done by NREL.
- 36:17They just came out with a new release of it, too.
- 36:19That's pretty cool.
- 36:20And they have like a Python wrapper.
- 36:21And so you can essentially make all the SAM API calls, which you give it the solar system, all the panels, however much panels you're using, all of that stuff and latitude, longitude, all of that stuff.
- 36:32And SAM will give you back how much annual energy will be generated from that system.
- 36:37And so now, like you're not only building out a framework for building all of these farms of solar and kind of shifting all of their metrics and figuring out how everything happens.
- 36:49But you're also tying it into something that was, you know, developed by NREL that's very, very like systematic and will give you like true results on solar analysis.
- 36:58And so to answer your question now is that like, yes, it's very much even beyond the building space and into things like solar, into things like wind and stuff like that, where you're pushing stuff out.
- 37:12And if it's done computationally, you can see so much more.
- 37:15That's cool.
- 37:15So almost in the industrial, like the architecture of industrial things and plants and solar farms and whatnot.
- 37:22Yes, definitely.
- 37:23You talked about changing the wires.
- 37:24Would that, do you know whether that would actually change the efficiency because the electricity goes through more wires and loses more energy or more of a construction cost sort of thing?
- 37:34Probably a bit of both.
- 37:35I mean, so definitely construction costs, like without a doubt, like that was the metric that we kind of tuned to was like,
- 37:41there is a certain amount of like cost per foot, linear foot cost and stuff like that of the wire.
- 37:48And that's directly tied to manual labor of like setting that wire up and even purchasing the wire because it's like you can buy the wire one day and copper costs you this much.
- 38:00And then you can buy the wire the next day.
- 38:02And when you're buying so much of it, like that small increase in the stock market or whatever of how much wire, how much the copper costs for that wire is going to increase dramatically.
- 38:12So, you know, you want to be able to type in a number of how much the wire costs today.
- 38:16And then that will also feed back into your system of what's the best thing to do today and how that investment will look.
- 38:23Maybe in the future we'll have some sort of AIs predicting the price of the various construction materials over time and then suggesting the order in which we build it.
- 38:32So you can like delay buying something for three weeks.
- 38:35So it costs less.
- 38:36Who knows?
- 38:39Just do it, dude.
- 38:39If you do it, like we'll just tell everyone, you know, in the industry.
- 38:43There you go.
- 38:44Like that would be amazing.
- 38:46Sounds like a cool science project that people could do something fun with if they really wanted.
- 38:50This portion of Talk Python To Me is brought to you by ActiveState.
- 38:55ActiveState gives you a faster way to build and secure open source runtimes from your first line of code through to production.
- 39:01Every second you spend building your Python distro or trying to secure your Python programs is less time spent doing the work you love.
- 39:08You've got better things to do than trying to resolve dependencies or making sure that you tick off all security boxes when you ship to production.
- 39:14Standardize on your Python builds so you can have less friction in the development cycle and you can deliver apps faster.
- 39:20You can also get a unique server-side way to verify your Python applications at runtime.
- 39:25Bake security right into your code without impacting performance.
- 39:28Go faster, spend more time doing the work you love, and comply with your enterprise security needs.
- 39:34Try ActiveState and see why it was chosen by IBM, Microsoft, NSA, Siemens, PepsiCo, and more.
- 39:39Join millions of developers who trust ActiveState to build their open source language distros.
- 39:43Visit talkpython.fm/ActiveState for a special offer.
- 39:48That's talkpython.fm/ActiveState.
- 39:50So one thing that really seems like it could sort of fit into this space is not exactly what you guys are doing, but you have some visibility into it, I'm sure,
- 40:02is the Internet of Things and smart devices and smart homes, smart buildings, are definitely sort of catching on in a lot of ways, but not entirely.
- 40:13And I feel like in these larger construction projects, there have to be awesome opportunities for like Raspberry Pi and other fun little devices that people can build with.
- 40:25What do you think?
- 40:26Oh, yeah.
- 40:26I mean, without a doubt, like Internet of Things is huge in the building space.
- 40:30Like it's just continuously growing.
- 40:34And I feel like anyone who's like really interested in like some Internet of Things space, you know, like Raspberry Pi or like Onion Omega or something is like they should definitely contact us.
- 40:45Because, yeah, I mean, you're right.
- 40:46It's not moving as fast as it could.
- 40:48But, you know, things like that and things like drones are like huge for the space.
- 40:53Like if you're doing like historical renovation or something like that, you want to like scan the whole building to make sure you have everything exactly the way it is in your model on the computer when you go to like start your renovation drawings and things like that.
- 41:07Where, you know, it's like it's huge.
- 41:09Definitely like through drones, through microcontrollers, all of it.
- 41:13Yeah, the little tiny, you know, $5 microchip things with MicroPython on it.
- 41:18Oh, man, you could do some great stuff.
- 41:20Yeah, definitely.
- 41:21That's one of the – I have lots of ideas for lots of different projects and software and other things in lots of spaces.
- 41:29But I'm really fascinated with Internet of Things.
- 41:31But I cannot think of something that's not just like a trinket toy thing for my house or for some other thing.
- 41:37I mean they look really fun to build but I don't know.
- 41:39It seems like there should be something really amazing.
- 41:42But I just can't think of something great to build that doesn't kind of already exist.
- 41:45Oh, yeah.
- 41:46Well, that last piece there is the hard one.
- 41:48Like what doesn't already exist.
- 41:50I mean everything exists a little bit.
- 41:53But not a lot of things exist like through an enterprise level and through something where they're going to, you know, warranty this for an owner for 15 years or something.
- 42:01But, I mean, if you can do something where you're just handling like occupancy of a room, it's like if you can smart turn off your lights like right when you need to and smart turn them on right when you need to, you're going to save a ton of energy.
- 42:15Like, you know, it's just Google Earth Day like yesterday, I think.
- 42:18And if you go to that Google link, it's just going to tell you all about how much energy everybody's wasting like in your zip code is what they said.
- 42:26And so it's very much something where, you know, even that is like you can handle that.
- 42:31But it goes even further, you know, like even so in a residential sense, here's something that here's something that can be very useful for people.
- 42:38You know, I was hesitating if I'm like privy to share it, but I'm sure I am.
- 42:42And so it's like, you know, it's something where like everyone in a lot of houses only have a single zone.
- 42:48So say you have a two story house, it's going to get a lot hotter upstairs during the winter than it is downstairs.
- 42:54And the opposite will happen during the summer is with the cold.
- 42:58And so it's very expensive to add another zone to your house to say like, OK, well, I want to be able to shut these off separately.
- 43:05And so you can take like a micro control and you can rotate your your register, your diffuser, and then it can turn it off.
- 43:13And that can be done so much more cheap.
- 43:14So if someone is able to like do it on an enterprise level, you know, with a certain amount of like warranty and certain amount of installation expertise and stuff like that, then they'll very easily be able to like move into every single home and save a ton of energy.
- 43:27By doing this, because right now, if you want to multi zone your house, it's going to be like thousands of dollars.
- 43:32And if you can do it with a micro controller in like very easily, then you're going to save people like their money back for sure.
- 43:40Like within like the first year or something.
- 43:43That's cool.
- 43:43One of the things that I've seen that's sort of in that same scope is new vent covers that you can buy.
- 43:51Like so your heating vent or cooling vent in your house, every one of those could be they basically have a little sensor on them.
- 43:57What's the temperature?
- 43:57And then they could partially open and close to sort of even out the temperatures of your house.
- 44:03Right.
- 44:03So you talked about like upstairs being hotter or colder.
- 44:05Right.
- 44:06Like it would dramatically shut the sort of vents upstairs just automatically.
- 44:10So I want the whole house to be 72 or this room.
- 44:12I want it colder.
- 44:12This one out warmer.
- 44:13It could like make that happen.
- 44:14Oh, man, that's exactly what I was talking about.
- 44:16You know, obviously, like you said, it already exists.
- 44:19I know, but it's not the same.
- 44:20Like I feel like a lot of these are big, clunky solutions.
- 44:24And we're down to like $5 pieces of hardware, free software.
- 44:29Like you could do amazing things in 2018 compared to what people did five years ago.
- 44:34So I don't know.
- 44:35I feel like there must like on the building scale, there must be even more sort of connected devices going on there.
- 44:42There are for sure.
- 44:44And it's something where this is like the reason why people from the development space
- 44:50are moving into the AAC industry is because it is still pretty new.
- 44:55You think there's a lot of opportunity for like really good software developers to come in and go, here's 10 unsolved problems.
- 45:01I'm going to pick these two and go after them or something like that.
- 45:04Definitely.
- 45:04Like 100% that is the case.
- 45:07And some of the problems I'd say are like, you know, things to solve could be prototyped out like at a hackathon or something.
- 45:15And some of them are very large scale projects that require huge teams and stuff.
- 45:21And so for instance, like a lot of the software is either like proprietary or open source.
- 45:27And it's like this combating things.
- 45:30And so that's one huge thing.
- 45:32It's called interoperability.
- 45:33It's like, how do I take my model from this program to this program?
- 45:37You know, because right now they'll just dump it.
- 45:40They'll just say, you know, they call it like the model drop chasm.
- 45:43And so for instance, you know, this is one space where it's like if you come in and you're a very good software developer, you can just solve all these little micro problems, you know, and it can lead to this really huge solution.
- 45:54But there's plenty of other things as well, like in, you know, revolving around like big data, artificial intelligence and machine learning where people who are much, much smarter than me could come in and can see the possibilities.
- 46:09If shown how everything is like hierarchical or how it can be abstracted a bit for them, maybe they can transfer it over to a similar problem that they've had and solve that problem in like a good way.
- 46:22Nice.
- 46:23All right.
- 46:23So maybe the final thing we will have time to touch on is the future of the industry.
- 46:27So we've already touched quite a bit on machine learning and IOT type of stuff.
- 46:32Another area in at least standard factories is robotics.
- 46:38But I haven't seen too many robotics building actual buildings.
- 46:42Maybe I just haven't paid attention.
- 46:43But is that also coming there?
- 46:45For sure.
- 46:45You said it with the factories and stuff like that.
- 46:48Like automotive industry is always what everybody points to.
- 46:50And in our industry now is like, look what they did.
- 46:53You know, and look what we're doing.
- 46:54And one thing in particular that's very much catching on and spreading fire right now is like called modular construction.
- 47:01So it's like how do you just prefab a building like and you just push out all of these like wall panels and then when you get in the field, you just put them all up, you know.
- 47:10And I have like some really good friend that's University of Stuttgart Institute of Computational Design.
- 47:16And he's showing me some of his research projects and they're just amazing.
- 47:19And one of the things that he showed me was that there's like these robots that can climb across the walls and work together and they create these strands and stuff.
- 47:28And we could put a link in the show notes, you know, and you can create like these really wicked like computational like just pieces, you know, in your building and things like that.
- 47:37But they also have robots that are like brick laying robots.
- 47:41You know, you can Google that.
- 47:42And they just throw a ton of bricks into the top and then out the bottom is just like sheets of bricks like being thrown down paving this road.
- 47:50And if you can take one that just grabs that like piece of wall that you prefabbed and it just picks it up and it places it where it's supposed to go.
- 47:57And then it goes to the next one and places it where it's supposed to go.
- 48:00Like everything is coming together where the.
- 48:02Or like glass, glass, like glass on office building.
- 48:05It all takes off of like this quality control, quality assurance stuff.
- 48:09Like if you could get a robot that just does it over and over, you don't need to invest in like the coffee that's going to keep everyone alert enough to catching everything, you know.
- 48:16And robotics is coming.
- 48:19Like robotics is very, very huge.
- 48:21And the automotive industry paved the way.
- 48:23And it's just on the doorstep of construction.
- 48:26I definitely see that.
- 48:27That sounds pretty awesome.
- 48:28I don't know.
- 48:29It takes so long to build buildings and other construction projects now.
- 48:33It seems like they could get knocked out really quick for at least certain parts of what's happening to them.
- 48:39Definitely.
- 48:40Like disruption, I think is.
- 48:42Yeah.
- 48:42More or less, right?
- 48:43I mean, I'm thinking of like there's this creek that's not too far from my house that had to have a new bridge put over.
- 48:48And it's like a two lane bridge.
- 48:50You could probably jump across a creek if you got a good run at it.
- 48:53It's not a big creek.
- 48:54And it took like six to eight months to build it.
- 48:57I'm like, does it really take eight months to build a building across like a 30-foot gap or bridge across 30-foot gap when it's only like 10 feet down?
- 49:05It's not.
- 49:05It can't be that hard.
- 49:06Really?
- 49:06Anyway, maybe robots will build the bridges.
- 49:09The road won't be closed so long.
- 49:11All right.
- 49:11So final thought.
- 49:12Maybe we've definitely seen the migration of people from an agrarian society of farms and stuff into cities.
- 49:20And I think at least in the U.S., like 2% of the population does farm work, whereas it used to be way more.
- 49:26And people are just packing tighter and tighter into cities.
- 49:29We need more interesting buildings to solve that problem, don't we?
- 49:33Definitely.
- 49:34Yeah.
- 49:34So I think there's got to be a lot of opportunity to build not just more buildings but to build them better in a way that like makes these larger, more compact cities nicer.
- 49:44Yeah.
- 49:44I definitely agree.
- 49:45I spent some time in Hong Kong and, you know, Hong Kong's thing is like they just keep building higher and higher and higher.
- 49:51And it's just how could that be better achieved, you know?
- 49:55And it's like who knows, you know, cities of the future.
- 49:58They have like, you know, maybe different little pathways and stuff between buildings or something, you know?
- 50:04Like you can harness the space above your head in a better way.
- 50:07You almost create like three-dimensional like sidewalks instead of just always walking to the ground level.
- 50:12You have these different layers at which you can like exist in like sort of connect to the buildings, huh?
- 50:17Yeah, yeah.
- 50:17Because right now it's all wasted space like above your head between the buildings.
- 50:21There's like nothing going on there.
- 50:22Nobody flies there, you know?
- 50:24It's all just wasted space right above you.
- 50:26Yeah.
- 50:26If we had flying cars, it would be a different story.
- 50:29But we don't have flying cars, so let's use that space for walking, I guess, or biking.
- 50:34Nice.
- 50:36All right.
- 50:36Well, that's a really interesting look inside the architectural building space.
- 50:41Thanks for that, Mark.
- 50:42So let me hit you with the final two questions before we get out of here.
- 50:45If you're going to write some code, you already said VS Code is where you like to live.
- 50:50Yeah, I love it there.
- 50:51Yeah, nice.
- 50:51And you use, of course, the Python plugin that Microsoft now put out.
- 50:55It used to be by Don, but now he started working for Microsoft.
- 50:59I listened to an interview about him, all about it, because it was really interesting.
- 51:03And I also use Code Runner, which is an extension.
- 51:06It's an amazing extension.
- 51:07I don't know Code Runner.
- 51:08What's that?
- 51:09Yeah.
- 51:09So it's called Code Runner.
- 51:10You should check it out.
- 51:11And it just lets you run your script.
- 51:14It's with lots of different languages.
- 51:16I know it's for Ruby, Python, probably JavaScript and stuff like that, too.
- 51:21And you don't have to put the little shebang on the top of the script or anything like that.
- 51:25And it's just all kind of IntelliSensed in a way.
- 51:29And then you can just easily run your code.
- 51:31And so you don't need to go to a terminal and type in .slash or anything like that.
- 51:36It's just all Control-Alt-N or something like that.
- 51:39And so it just gets you off and running right away.
- 51:41So that's an extension, I'd say, to go a bit further into VS Code of what I'd recommend.
- 51:46Yeah.
- 51:47And a linter.
- 51:47I use a linter, I think.
- 51:48Very cool.
- 51:49That's good.
- 51:50All right.
- 51:50And then notable PyPI package?
- 51:52I'd say Python OCC for that one.
- 51:55And like I said earlier, it's a wrapper of a C++ package.
- 51:59And it gives you the ability to start to harness geometry in certain spaces.
- 52:04And so you can build little cubes and circles and pyramids.
- 52:07And you can take that much further into splines and all different types of objects,
- 52:12which is very important in the building industry to be able to 3D model and to generively 3D model.
- 52:19Very, very cool.
- 52:20All right.
- 52:21So it sounds like there's a lot of opportunity for people who might listen to this show,
- 52:24who are programmers or at least technically minded,
- 52:27to sort of break into the AC space and do some pretty cool things on the ML space,
- 52:33IoT space, lots of different things, huh?
- 52:35Highly recommended.
- 52:36Awesome.
- 52:37All right.
- 52:37So thank you so much for being here.
- 52:39Everyone who's listening, if they're interested in this kind of stuff,
- 52:42where do they get started, do you think?
- 52:44They're happy to reach out to us.
- 52:45But they can also go to Autodesk's website.
- 52:49And there'll be tons of information there with respect to different softwares to choose from,
- 52:55if they're interested in doing all kinds of different things, or tutorials, training videos, everything like that.
- 53:00All right.
- 53:01Awesome.
- 53:01Well, thanks for being on the show.
- 53:02It's great to chat with you.
- 53:03Thanks, Michael.
- 53:04Bye.
- 53:05This has been another episode of Talk Python To Me.
- 53:08Our guest has been Mark Menendez.
- 53:11And this episode has been brought to you by Linode and ActiveState.
- 53:14Linode is bulletproof hosting for whatever you're building with Python.
- 53:18Get four months free at talkpython.fm/linode.
- 53:22That's L-I-N-O-D-E.
- 53:25ActiveState gives you a faster way to build and secure open source runtimes.
- 53:30From your first line of code through to production, check it out at talkpython.fm/ActiveState.
- 53:37Want to level up your Python?
- 53:39If you're just getting started, try my Python jumpstart by building 10 apps or our brand new 100 days of code in Python.
- 53:46And if you're interested in more than one course, be sure to check out the Everything Bundle.
- 53:50It's like a subscription that never expires.
- 53:52Be sure to subscribe to the show.
- 53:54Open your favorite podcatcher and search for Python.
- 53:56We should be right at the top.
- 53:58You can also find the iTunes feed at /itunes, Google Play feed at /play, and direct RSS feed at /rss on talkpython.fm.
- 54:07This is your host, Michael Kennedy.
- 54:09Thanks so much for listening.
- 54:10I really appreciate it.
- 54:11Now get out there and write some Python code.
- 54:13I'll see you next time.
- 54:34Thank you.