Added FreeCAD examples 5 through 7 and cleaned up the other examples a tiny bit.
This commit is contained in:
@ -26,10 +26,10 @@ rectange_length = 19.0
|
||||
thickness = 13.0
|
||||
|
||||
#Extrude a cylindrical plate with a rectangular hole in the middle of it
|
||||
bb = cadquery.Workplane("front").circle(circle_radius).rect(rectangle_width, rectange_length).extrude(thickness)
|
||||
result = cadquery.Workplane("front").circle(circle_radius).rect(rectangle_width, rectange_length).extrude(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)
|
||||
|
Reference in New Issue
Block a user