FreeCAD Part Scripting in Python Episode 025
Description: Design an enclosure for lighting controller. Software toolchain includes: Notepad++, FreeCAD, CURA, and Repetier-Server controlling a MakerGear M2e. FreeCAD has a dimensional-accurate parametric modeler driven by python code which is helpful for iterative design and modifications. We walk through the python code to design our FreeCAD 3D model starting with simple python statements and evolving to a scalable, repeatable structure using a wide range of Python capabilities such as lists, dictionaries, for-loops, if-then-else conditional statements, custom classes and even Bezier curves. #led #3dprinting #digitalelectronics 00:00 Code, Design, Slice, 3D Print 00:53 FreeCAD for 3D object design 02:54 Notepad++ for writing Python code 03:32 Required Python libraries for FreeCAD 04:22 Orientation in 3D space 04:56 Simple box using Part.makeBox() 07:23 FreeCAD Python statements to streamline design 09:54 Accommodating for the thickness of extruded plastic 11:03 Subtraction using Shape.cut() 13:00 Object transparency 15:27 Simple cylinder using Part.makeCylinder() 17:12 Union using Shape.fuse() 19:06 Custom Python classes 21:38 Custom box class using Part primitives and a Python list 22:29 Referencing existing objects created with the custom classes 25:56 Custom cylinder class using Part primitives 30:33 Python variables 31:15 Python dictionaries 35:29 Python for-loops 36:55 Python optional parameters 37:54 Rounded corners using Bezier curves 39:12 Multiple FreeCAD objects in a single project 41:13 N-sided polygon pocket for a hex nut 45:15 Designing for 3D printer shortcomings 50:37 Python if-then-else conditional statements Helpful FreeCAD resources: https://freecad.org https://wiki.freecad.org/Power_users_hub https://wiki.freecad.org/Topological_... Song: Rogers & Dean - Bloodpressure (feat. Amvis) [NCS Release] Music provided by NoCopyrightSounds Free Download/Stream: http://ncs.io/Bloodpressure Watch: Rogers & Dean - Bloodpressure (feat. Amvis) [NCS Release] The BetterEnlightened journey; all episodes in order (YouTube playlist): • A Journey to Better Enlightenment Arif K. Rafiq's professional GIS in Civil Infrastructure content: • Transportation GIS in Civil Infrastructure at Esri Canada: https://resources.esri.ca/transportation Speaking inquires: https://temperedoptimism.com LinkedIn: / rafiqtransport

Cura Slicer for 3D Printing Episode 026

STOP using FreeCAD WRONG! Do this INSTEAD (Workflow & Tips)

LATHE MACHINE PART 5 | Design a Lathe Bed & Gearbox in SolidWorks | Body Lathe Machine Tutorial

New to FreeCAD? Start HERE (Ultimate Beginner Tutorial)

Why Your FreeCAD Models Keep Breaking (And How to Stop It)

3D Modeling - Using A.I. to create macros for automation in FreeCAD.

25 FreeCAD Hacks (You probably don't know)

Introduction to FreeCAD Part 1: Getting Started | DigiKey

FreeCAD 1.1 is Finally HERE — It’s a GAME CHANGER ! (Major Updates you missed)

Something is jamming GPS over Europe. Here's what we found

OpenSCAD Basic 3D Modelling Episode 030

It finally happened

The Insane Genius of a Formula 1 Gearbox

Ukraine is Destroying Russia's Baltic Sea Fleet Now

Was I unfair to FreeCAD?

Can FreeCAD pass the SOLIDWORKS Pro Certification CSWP ? (Full Tutorial & Parametric Method)

30 Reasons to use FreeCAD in 2026

Israel Entire Cities Are Plunged Into Chaos. Millions Of Israelis Are Fleeing Tel Aviv|Jeffrey Sachs

FreeCAD Full Course for Beginners - Step-by-Step

