Skip to content

CrazyRobMiles/Python-in-FreeCAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Python in FreeCAD

Sample Python programs which create interesting objects in FreeCAD. You can open these files as Python programs using File>Open in FreeCAD version 1.0.

All the programs are in the code folder.

Simple Panel

When you run this program it creates a simple panel.

Punched Card

When you run this program it creates a punched card with random holes in it.

Super Secret Encoder

Picture of the Secret Encoder

# Enter the text that you want to encode
secret_text = "Secret"

# Select how many panels you want to produce
no_of_panels = 3

# Set the hole spacing on the decoder panel in mm

hole_x_spacing = 3.0
hole_y_spacing = 3.0

# Set the thickness of each panel in mm
height = 2.0

You can configure the program by changing these values at the top of the program.

Have Fun!

Rob Miles

About

Python code which creates 3D printable objects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages