CadQuery / CadQuery/cadquery

How to get a developped plan from a face built along a spline?

Open
#438 1 comment 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

Let's say we have a piece like in the documentation [example](https://cadquery.readthedocs.io/en/latest/examples.html#defining-an-edge-with-a-spline), with some additional holes:

```
import cadquery as cq
s = cq.Workplane("XY")
sPnts = [
(2.75, 1.5),
(2.5, 1.75),
(2.0, 1.5),
(1.5, 1.0),
(1.0, 1.25),
(0.5, 1.0),
(0, 1.0)
]
r = s.lineTo(3.0, 0).lineTo(3.0, 1.0).spline(sPnts,includeCurrent=True).close()
result = r.extrude(0.5)
result = result.faces("Y" curved surface? The need is to print this plan, stick it on the surface of the piece, to have the locations where to drill. Of course, that's a simplified example, I cannot use the opposite planar surface "

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.