Skip to content

cadquery.selectors.AreaNthSelector documentation examples not functioning #1347

@nesdnuma

Description

@nesdnuma

Hello,

I've tried both examples of cadquery.selectors.AreaNthSelector documentation with CQ-Editor build 219.

I got an error message: " 'AreaNthSelector' is not defined. "

Of course I've added import cadquery as cq before each example before testing.

#1

result = ( cq.Workplane("XY") .circle(5) .extrude(2) .circle(2) .extrude(10) .faces(">Z[-2]") .wires(AreaNthSelector(0)) .fillet(2) )

#2

result = ( cq.Workplane("XY") .rect(20, 20) .extrude(10) .edges("|Z or <Z") .fillet(2) .faces(">Z") .shell(2) .faces(">Z") .wires(AreaNthSelector(-1)) .toPending() .workplane() .offset2D(-1) .extrude(1) .faces(">Z[-2]") .wires(AreaNthSelector(0)) .toPending() .workplane() .cutBlind(2) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions