Added FreeCAD examples 5 through 7 and cleaned up the other examples a tiny bit.

This commit is contained in:
Jeremy Wright
2014-06-23 16:54:48 -04:00
parent 15e53f1762
commit 0fcd01b3b0
7 changed files with 128 additions and 8 deletions

View File

@ -25,10 +25,10 @@ height = 60.0
thickness = 10.0
#Create a 3D box based on the dimension variables above
bb = cadquery.Workplane("XY").box(length, height, thickness)
result = cadquery.Workplane("XY").box(length, height, thickness)
#Get a cadquery solid object
solid = bb.val()
solid = result.val()
#Use the wrapped property of a cadquery primitive to get a FreeCAD solid
Part.show(solid.wrapped)