cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

sweep_multi bug

Open houshangi opened this issue 1 year ago • 1 comments

hey guys

import cadquery as cq


# Get a face from the box (for example, the top face)
top_face = segment_1.faces(">Z")

# Get the edges of the face
cutted_bottom = new_cutted_result.faces("<Z")

path = new_cutted_result.faces("<Z").edges().first().val()

test = cq.Solid.sweep_multi(profiles=[top_face,cutted_bottom] , path=path)

by running this code o also im using edges i get the following error :

AttributeError: 'Workplane' object has no attribute 'outerWire'

i will also get Attribute Error if i use a shape.Wire .

houshangi avatar Dec 10 '23 10:12 houshangi

NameError: name 'segment_1' is not defined

What is segment_1, new_cutted_result?

lorenzncode avatar Dec 10 '23 15:12 lorenzncode