Design Real-World Objects In Python With CadQuery

The Python Podcast.__init__

Episode | Podcast

Date: Sun, 26 Jun 2022 21:00:00 -0400

<div class="wp-block-jetpack-markdown"><h2>Summary</h2> <p>Virtually everything that you interact with on a daily basis and many other things that make modern life possible were designed and modeled in software called CAD or Computer-Aided Design. These programs are advanced suites with graphical editing environments tailored to domain experts in areas such as mechanical engineering, electrical engineering, architecture, etc. While the UI-driven workflow is more accessible, it isn&#8217;t scalable which opens the door to code-driven workflows. In this episode Jeremy Wright discusses the design, uses, and benefits of the CadQuery framework for building 3D CAD models entirely in Python.</p> <h2>Announcements</h2> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python&#8217;s role in data and science.</li> <li>When you&#8217;re ready to launch your next app or want to try a project you hear about on the show, you&#8217;ll need somewhere to deploy it, so take a look at our friends over at Linode. With their managed Kubernetes platform it&#8217;s easy to get started with the next generation of deployment and scaling, powered by the battle tested Linode platform, including simple pricing, node balancers, 40Gbit networking, dedicated CPU and GPU instances, and worldwide data centers. And now you can launch a managed MySQL, Postgres, or Mongo database cluster in minutes to keep your critical data safe with automated backups and failover. Go to <a href="https://www.pythonpodcast.com/linode?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com/linode</a> and get a $100 credit to try out a Kubernetes cluster of your own. And don&#8217;t forget to thank them for their continued support of this show!</li> <li>So now your modern data stack is set up. How is everyone going to find the data they need, and understand it? Select Star is a data discovery platform that automatically analyzes &amp; documents your data. For every table in Select Star, you can find out where the data originated, which dashboards are built on top of it, who’s using it in the company, and how they’re using it, all the way down to the SQL queries. Best of all, it’s simple to set up, and easy for both engineering and operations teams to use. With Select Star’s data catalog, a single source of truth for your data is built in minutes, even across thousands of datasets. Try it out for free and double the length of your free trial today at <a href="https://www.pythonpodcast.com/selectstar?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com/selectstar</a>. You&#8217;ll also get a swag package when you continue on a paid plan.</li> <li>Need to automate your Python code in the cloud? Want to avoid the hassle of setting up and maintaining infrastructure? Shipyard is the premier orchestration platform built to help you quickly launch, monitor, and share python workflows in a matter of minutes with 0 changes to your code. Shipyard provides powerful features like webhooks, error-handling, monitoring, automatic containerization, syncing with Github, and more. Plus, it comes with over 70 open-source, low-code templates to help you quickly build solutions with the tools you already use. Go to <a href="https://www.dataengineeringpodcast.com/shipyard?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">dataengineeringpodcast.com/shipyard</a> to get started automating with a free developer plan today!</li> <li>Your host as usual is Tobias Macey and today I&#8217;m interviewing Jeremy Wright about CadQuery, an easy-to-use Python module for building parametric 3D CAD models</li> </ul> <h2>Interview</h2> <ul> <li>Introductions</li> <li>How did you get introduced to Python?</li> <li>Can you start by explaining what CAD is and some of the real-world applications of it?</li> <li>Can you describe what CadQuery is and the story behind it? <ul> <li>How did you get involved with it and what keeps you motivated?</li> <li>What are the different methods that are in common use for building CAD models?</li> <li>Are there approaches that are more common for models used in different industries?</li> </ul> </li> <li>What was missing in other projects for programmatically generating CAD models that motivated you to build CadQuery?</li> <li>Can you describe how the CadQuery library is implemented? <ul> <li>How have the design and goals of the project changed or evolved since you started working on it?</li> <li>How would you characterize the rate of change/evolution in the CAD ecosystem, and how has that factored into your work on CadQuery?</li> </ul> </li> <li>How did you approach the process of API design? <ul> <li>How do you balance accessibility for non-professionals with domain-related nomenclature?</li> </ul> </li> <li>Can you describe some example workflows for going from idea to finished product with CadQuery?</li> <li>How are you using CadQuery in your own work?</li> <li>What are the most interesting, innovative, or unexpected ways that you have seen CadQuery used?</li> <li>What are the most interesting, unexpected, or challenging lessons that you have learned while working on CadQuery?</li> <li>When is CadQuery the wrong choice?</li> <li>What do you have planned for the future of CadQuery?</li> </ul> <h2>Keep In Touch</h2> <ul> <li><a href="https://discord.gg/Bj9AQPsCfx?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Discord</a></li> <li><a href="https://twitter.com/wrightjmf?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Twitter</a></li> <li><a href="https://github.com/jmwright?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">GitHub</a></li> <li><a href="https://gitlab.com/jmwright?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">GitLab</a></li> </ul> <h2>Picks</h2> <ul> <li>Tobias <ul> <li><a href="https://www.imdb.com/title/tt9419884/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Doctor Strange: In The Multiverse of Madness</a></li> </ul> </li> <li>Jeremy <ul> <li><a href="https://en.wikipedia.org/wiki/Star_Trek:_Strange_New_Worlds?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Star Trek: Strange New Worlds</a></li> </ul> </li> </ul> <h2>Closing Announcements</h2> <ul> <li>Thank you for listening! Don&#8217;t forget to check out our other shows. The <a href="https://www.dataengineeringpodcast.com?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Data Engineering Podcast</a> covers the latest on modern data management. The <a href="https://www.themachinelearningpodcast.com?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Machine Learning Podcast</a> helps you go from idea to production with machine learning.</li> <li>Visit the <a href="https://www.pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">site</a> to subscribe to the show, sign up for the mailing list, and read the show notes.</li> <li>If you&#8217;ve learned something or tried out a project from the show then tell us about it! Email <a href="mailto:hosts@podcastinit.com">hosts@podcastinit.com</a>) with your story.</li> <li>To help other people find the show please leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a> and tell your friends and co-workers</li> </ul> <h2>Links</h2> <ul> <li><a href="https://cadquery.readthedocs.io/en/latest/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CadQuery</a></li> <li><a href="https://en.wikipedia.org/wiki/Computer-aided_design?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CAD == Computer Assisted Design</a></li> <li><a href="https://en.wikipedia.org/wiki/3D_printing?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">3D Printer</a></li> <li><a href="https://en.wikipedia.org/wiki/CNC_router?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Jeremy&#8217;s CNC Router</a></li> <li><a href="https://jquery.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">jQuery</a></li> <li><a href="https://www.blender.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Blender</a></li> <li><a href="https://www.autodesk.com/products/fusion-360/personal?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Fusion 360</a></li> <li><a href="https://dev.opencascade.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Open Cascade (OCCT)</a></li> <li><a href="https://en.wikipedia.org/wiki/Fluent_interface?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Fluent API</a></li> <li><a href="https://www.freecadweb.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">FreeCAD</a></li> <li><a href="https://www.kicad.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">KiCAD</a></li> <li><a href="https://github.com/7BIndustries/Semblage?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Semblage</a></li> <li><a href="https://github.com/CadQuery/CQ-editor?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">cq-editor</a></li> <li><a href="https://github.com/bernhard-42/jupyter-cadquery?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">jupyter-cadquery</a></li> <li><a href="https://github.com/michaelgale/cq-kit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">cq-kit</a></li> <li><a href="https://fxbricks.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">FX Bricks</a></li> <li><a href="https://en.wikipedia.org/wiki/Voxel?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Voxels</a></li> <li><a href="https://github.com/gumyr/cq_warehouse?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">cq_warehouse</a></li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a></p> </div> <img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fwww.pythonpodcast.com%2Fcadquery-python-programmatic-cad-episode-368%2F&amp;action_name=Design+Real-World+Objects+In+Python+With+CadQuery+-+Episode+368&amp;urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&amp;utm_source=rss&amp;utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" />