diff --git a/src/dactyl_manuform.py b/src/dactyl_manuform.py index 72135e7b4..ca49201b5 100644 --- a/src/dactyl_manuform.py +++ b/src/dactyl_manuform.py @@ -4261,7 +4261,7 @@ def baseplate(wedge_angle=None, side='right'): if wedge_angle is not None: cq.Workplane('XY').add(cq.Solid.revolve(outerWire, innerWires, angleDegrees, axisStart, axisEnd)) else: - inner_shape = cq.Workplane('XY').add(cq.Solid.extrudeLinear(outerWire=inner_wire, innerWires=[], vecNormal=cq.Vector(0, 0, base_thickness))) + inner_shape = cq.Workplane('XY').add(cq.Solid.extrudeLinear(inner_wire, [], cq.Vector(0, 0, base_thickness))) inner_shape = translate(inner_shape, (0, 0, -base_rim_thickness)) holes = [] diff --git a/src/helpers_cadquery.py b/src/helpers_cadquery.py index 58a876ab0..e0f833c24 100644 --- a/src/helpers_cadquery.py +++ b/src/helpers_cadquery.py @@ -217,7 +217,7 @@ def extrude_poly(outer_poly, inner_polys=None, height=1): # vector=(0,0,1)): inner_wires.append(cq.Wire.assembleEdges(item.edges().objects)) return cq.Workplane('XY').add( - cq.Solid.extrudeLinear(outerWire=outer_wires, innerWires=inner_wires, vecNormal=cq.Vector(0, 0, height))) + cq.Solid.extrudeLinear(outer_wires, inner_wires, cq.Vector(0, 0, height))) def import_file(fname, convexity=None): @@ -236,4 +236,4 @@ def export_file(shape, fname): def export_dxf(shape, fname): print("EXPORTING TO {}".format(fname)) cq.exporters.export(w=shape, fname=fname + ".dxf", - exportType='DXF') \ No newline at end of file + exportType='DXF')