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:

Thanks (please let me know if there is a better forum for this kind of inquiry)
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:

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