CadQuery / CadQuery/cadquery

cadquery.selectors.AreaNthSelector documentation examples not functioning

Open
#1,347 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

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")
.shell(2)
.faces(">Z")
.wires(AreaNthSelector(-1))
.toPending()
.workplane()
.offset2D(-1)
.extrude(1)
.faces(">Z[-2]")
.wires(AreaNthSelector(0))
.toPending()
.workplane()
.cutBlind(2)
)`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.