Skip to content

Extrude along path in y direction path with face in XZ plane #148

@BAleiHi

Description

@BAleiHi

I'm trying to create a square face in the XZ plan and extrude it along the y-axis and don't get the expected result. Here's the code:
`from euclid3 import Point3

from solid import scad_render_to_file
from solid.utils import extrude_along_path

a = extrude_along_path(shape_pts=[Point3(0,0,0),Point3(0,0,2),Point3(2,0,2),Point3(2,0,0)],
path_pts=[Point3(0,0,2),Point3(0,5,2),Point3(0,10,2)], scale_factors=None)
file_out = scad_render_to_file(a, 'test.scad', include_orig_code=True)`

Result in OpenSCAD is:
image

Thanks (please let me know if there is a better forum for this kind of inquiry)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions