CadQuery / CadQuery/cadquery

AttributeError: 'TopoDS_Face' object has no attribute 'tesselate'

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

Description

As mentioned in #218, I've been having some issues with this error message.

> > if I just get in the habit of passing it (centerOption='CenterOfBoundBox') every time, I sometimes get error messages related to tesselate not being an attribute of TopoDS_Face (thankfully in every case this has happened, the current default 'CenterOfMass' has produced the same point as I'd expected so it's worked anyway).

> Do you have an example that generates the tesselate error? If you haven't posted it already, that would probably be worth having its own issue.

I'm afraid I don't have a small example that make this error happen, but I have a large example that makes it happen in 5 different places:

[https://gist.github.com/abudden/37e7e6a3c647b58a0646b047f40862d0](https://gist.github.com/abudden/37e7e6a3c647b58a0646b047f40862d0)

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.