Skip to content

Sweep circle in the normal direction #1092

@RemDelaporteMathurin

Description

@RemDelaporteMathurin
import cadquery as cq

pts = [
    (1, 1, 1),
    (1, 2, 2),
    (1, 3, 3),
]
p = cq.Workplane("XY").spline(pts, includeCurrent=True)
s = cq.Workplane("XY").circle(1).sweep(p)

Based on #296 , I would like to have the extrusion of the circle in the normal direction only (the idea is to make a classic tube from a set of points).

Unfortunately, this code produces a distorded tube:

image

Thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions