CadQuery / CadQuery/cadquery

cutting operation TopoDS_Vertex hasn't gp_Pnt

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

Description

Hello,
I'm new to cadquery and can not get a cutting with a circle profile working (test1). A "cylindric" cut out works fine (test2, test1 also works in Freecad). What I'm doing wrong? Error is TopoDS_Vertex hasn't gp_Pnt, but, sorry, I don't understand what it means and why is it different to the cylindric cut out...

outerring = cq.Workplane('XY').circle(20).circle(30).extrude(10).translate((0,0,-5))
cuttingring1 = (cq.Workplane('XZ').center(18,0).circle(3).sweep(cq.Workplane('XY').circle(16), isFrenet=True))
test1=outerring.cut(cuttingring1) #not working
cuttingring2 = cq.Workplane('XY').circle(18).circle(25).extrude(6).translate((0,0,-2))
#test2=outerring.cut(cuttingring2) #working

Thank you, Markus

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.