Solid Modeling with the power of Python
Overview
- Packed with simple and interesting examples of python coding for the CAD world.
- Understand FreeCAD's approach to modeling and see how Python puts unprecedented power in the hands of users.
- Dive into FreeCAD and its underlying scripting language.
In Detail
FreeCAD is a general purpose platform for CAD development. It can be extended to use different workbenches to solve different problems. Targeted squarely at the engineering community, FreeCAD is an open source design application built to be extended. Python, the powerful scripting language, is woven deeply into FreeCAD's DNA and gives users unprecedented power to automate and invent.
"FreeCAD [How-to]" is a lean, fast tour of FreeCAD's major workbenches and design philosophy. The reader will get a hands-on introduction to several modeling techniques and learn how Python makes macro automation and design possible.
FreeCAD allows users to design in a variety of ways; from drawing 2D designs as lines and circles to combining primitive solids into complex 3D shapes. Objects can even be created or modified by code you write in Python. FreeCAD even allows power users to extend the application itself with new dialogs, panels, and scripts. This book will not only show you how to get started using FreeCAD in a traditional GUI mode, but will teach you how to harness its powerful scripting language for more power.
What you will learn from this book
- Creating 3D solid objects with python
- 2D draft design and constraint modeling
- Turning 2D drawings into 3D objects
- Combining simple primitives into complex solids
- Recording Macros
- Creating objects with code
- Importing and exporting data
- Creating a Custom python dialog to automate a task
- Harnessing the constraints engine with python
Approach
Written in cookbook style, this book offers many recipes to create objects, import and export data, create 3D solid objects. Each recipe contains step-by-step instructions followed by analysis of what was done in each task and other useful information.
Who this book is written for
If you've been toying around with FreeCAD and want to have more control over your work flow then this book is for you.
The reader needs to have basic knowledge of modeling.