cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

How do I project a plane onto a surface?

Open Ayegrandpa opened this issue 3 years ago • 4 comments

Hi, I Want to make a ring, but don't know how to texture around the ring

Ayegrandpa avatar May 28 '22 05:05 Ayegrandpa

https://github.com/CadQuery/cadquery/issues/562

I don't know how to use this function, Can you give me an example? thanks!

Ayegrandpa avatar May 28 '22 07:05 Ayegrandpa

How do I create a sphere and a plane to use this function?

cq.Face.projectToShape = _projectFaceToShape

Ayegrandpa avatar May 28 '22 13:05 Ayegrandpa

The project functionality is currently only available from cq_warehouse, see here: https://cq-warehouse.readthedocs.io/en/latest/index.html

There are project and emboss methods that you should find useful (emboss is a bit experimental so project is probably a choice for now). There are examples here: https://github.com/gumyr/cq_warehouse/blob/main/examples/extensions_examples.py

If you have questions, I'm on the CadQuery Discord server or you can open an issue here: https://github.com/gumyr/cq_warehouse/issues

gumyr avatar Jun 04 '22 01:06 gumyr

该功能项目目前仅可从 cq_warehouse 获得,请参见此处:https://cq-warehouse.readthedocs.io/en/latest/index.html

有一些项目和发现浮雕方法,你应该会让它们很有用(浮雕现在有点实验性,所以项目可能是一个选择)。这里有例子:https://github.com/gumyr/cq_warehouse/blob/main/examples /extensions_examples.py

如果您有任何问题,我在 CadQuery Discord 服务器上,或者可以在这里打开问题:https://github.com/gumyr/cq_warehouse/issues

Thank you, I really appreciate you giving me time.

Ayegrandpa avatar Jun 04 '22 02:06 Ayegrandpa