CadQuery / CadQuery/cadquery

How to access individual objects in a Compound object?

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

Description

We want to access individual letter in the text3D Compound, and we've found there is a function called siblings(self, shape: "Shape", kind: Shapes, level: int = 1). We wonder how to call the siblings function properly??//

```
import cadquery as cq
from cadquery.vis import show

text_string = "Hello, CadQuery!"
font = "Arial"
size = 10 # in millimeters
text3D = cq.Workplane("XZ").text(text_string, combine = True, font = font, fontsize = size, distance = 2).val()
```

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.