discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

BOSL2 mystery

JB
Jon Bondy
Sun, Dec 21, 2025 2:28 PM

I am sure that the explanation will be obvious once it is explained to
me, but the following code produces the following error.  The two
stroke()s work, so the "path" and "two" should be OK (at least in some
sense).  I started out with 2-vectors, but added the 3rd zero (for Z) as
voodoo programming, trying to honor the mysterious error message.

include <BOSL2/std.scad>

eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;

path = [for (theta = [180:5:360])
    [10cos(theta), 10sin(theta), 0],
    [10, 0, 0], [10, 20, 0]];
stroke(path);
two = [
    circle(d = 6),
    back(10, right(-3, square(6)))
    ];
stroke(two);
path_sweep(hull_region(two), path);

ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 vector" in
file , line 1323

TRACE: called by 'frame_map' in file , line 2286

TRACE: called by 'path_sweep' in file , line 2141

TRACE: assignment to "trans_scale" in file , line 2141

TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com

I am sure that the explanation will be obvious once it is explained to me, but the following code produces the following error.  The two stroke()s work, so the "path" and "two" should be OK (at least in some sense).  I started out with 2-vectors, but added the 3rd zero (for Z) as voodoo programming, trying to honor the mysterious error message. include <BOSL2/std.scad> eps = 0.01; slop = 0.2; $fa = 3; $fs = 0.2; inches = 25.4; path = [for (theta = [180:5:360])     [10*cos(theta), 10*sin(theta), 0],     [10, 0, 0], [10, 20, 0]]; stroke(path); two = [     circle(d = 6),     back(10, right(-3, square(6)))     ]; stroke(two); path_sweep(hull_region(two), path); ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 vector" in file , line 1323 TRACE: called by 'frame_map' in file , line 2286 TRACE: called by 'path_sweep' in file , line 2141 TRACE: assignment to "trans_scale" in file , line 2141 TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19 -- This email has been checked for viruses by AVG antivirus software. www.avg.com
AM
Adrian Mariano
Sun, Dec 21, 2025 2:40 PM

Problem is caused by the duplicate point [10,0,0] in your path.

On Sun, Dec 21, 2025 at 9:28 AM Jon Bondy via Discuss <
discuss@lists.openscad.org> wrote:

I am sure that the explanation will be obvious once it is explained to me,
but the following code produces the following error.  The two stroke()s
work, so the "path" and "two" should be OK (at least in some sense).  I
started out with 2-vectors, but added the 3rd zero (for Z) as voodoo
programming, trying to honor the mysterious error message.

include <BOSL2/std.scad>

eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;

path = [for (theta = [180:5:360])
[10cos(theta), 10sin(theta), 0],
[10, 0, 0], [10, 20, 0]];
stroke(path);
two = [
circle(d = 6),
back(10, right(-3, square(6)))
];
stroke(two);
path_sweep(hull_region(two), path);

ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 vector" in
file , line 1323

TRACE: called by 'frame_map' in file , line 2286

TRACE: called by 'path_sweep' in file , line 2141

TRACE: assignment to "trans_scale" in file , line 2141

TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
Virus-free.www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
<#m_-5758333953701230645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Problem is caused by the duplicate point [10,0,0] in your path. On Sun, Dec 21, 2025 at 9:28 AM Jon Bondy via Discuss < discuss@lists.openscad.org> wrote: > I am sure that the explanation will be obvious once it is explained to me, > but the following code produces the following error. The two stroke()s > work, so the "path" and "two" should be OK (at least in some sense). I > started out with 2-vectors, but added the 3rd zero (for Z) as voodoo > programming, trying to honor the mysterious error message. > > > include <BOSL2/std.scad> > > eps = 0.01; > slop = 0.2; > $fa = 3; > $fs = 0.2; > inches = 25.4; > > path = [for (theta = [180:5:360]) > [10*cos(theta), 10*sin(theta), 0], > [10, 0, 0], [10, 20, 0]]; > stroke(path); > two = [ > circle(d = 6), > back(10, right(-3, square(6))) > ]; > stroke(two); > path_sweep(hull_region(two), path); > > > > > ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 vector" in > file , line 1323 > > TRACE: called by 'frame_map' in file , line 2286 > > TRACE: called by 'path_sweep' in file , line 2141 > > TRACE: assignment to "trans_scale" in file , line 2141 > > TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19 > > > > > > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virus-free.www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > <#m_-5758333953701230645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JB
Jon Bondy
Sun, Dec 21, 2025 2:48 PM

Adrian:

Thanks for your help!

Is there an easy way that I could have deduced this from the provided
error messages?

Jon

On 12/21/2025 9:40 AM, Adrian Mariano via Discuss wrote:

Problem is caused by the duplicate point [10,0,0] in your path.

On Sun, Dec 21, 2025 at 9:28 AM Jon Bondy via Discuss
discuss@lists.openscad.org wrote:

 I am sure that the explanation will be obvious once it is
 explained to me, but the following code produces the following
 error.  The two stroke()s work, so the "path" and "two" should be
 OK (at least in some sense).  I started out with 2-vectors, but
 added the 3rd zero (for Z) as voodoo programming, trying to honor
 the mysterious error message.


 include <BOSL2/std.scad>

 eps = 0.01;
 slop = 0.2;
 $fa = 3;
 $fs = 0.2;
 inches = 25.4;

 path = [for (theta = [180:5:360])
     [10*cos(theta), 10*sin(theta), 0],
     [10, 0, 0], [10, 20, 0]];
 stroke(path);
 two = [
     circle(d = 6),
     back(10, right(-3, square(6)))
     ];
 stroke(two);
 path_sweep(hull_region(two), path);




 ERROR: Assertion 'yvalid' failed: "Input y must be a length 3
 vector" in file , line 1323

 TRACE: called by 'frame_map' in file , line 2286

 TRACE: called by 'path_sweep' in file , line 2141

 TRACE: assignment to "trans_scale" in file , line 2141

 TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19




 <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=>
 	Virus-free.www.avg.com
 <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=>


 <#m_-5758333953701230645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com

Adrian: Thanks for your help! Is there an easy way that I could have deduced this from the provided error messages? Jon On 12/21/2025 9:40 AM, Adrian Mariano via Discuss wrote: > Problem is caused by the duplicate point [10,0,0] in your path. > > On Sun, Dec 21, 2025 at 9:28 AM Jon Bondy via Discuss > <discuss@lists.openscad.org> wrote: > > I am sure that the explanation will be obvious once it is > explained to me, but the following code produces the following > error.  The two stroke()s work, so the "path" and "two" should be > OK (at least in some sense).  I started out with 2-vectors, but > added the 3rd zero (for Z) as voodoo programming, trying to honor > the mysterious error message. > > > include <BOSL2/std.scad> > > eps = 0.01; > slop = 0.2; > $fa = 3; > $fs = 0.2; > inches = 25.4; > > path = [for (theta = [180:5:360]) >     [10*cos(theta), 10*sin(theta), 0], >     [10, 0, 0], [10, 20, 0]]; > stroke(path); > two = [ >     circle(d = 6), >     back(10, right(-3, square(6))) >     ]; > stroke(two); > path_sweep(hull_region(two), path); > > > > > ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 > vector" in file , line 1323 > > TRACE: called by 'frame_map' in file , line 2286 > > TRACE: called by 'path_sweep' in file , line 2141 > > TRACE: assignment to "trans_scale" in file , line 2141 > > TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19 > > > > > <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=> > Virus-free.www.avg.com > <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=> > > > <#m_-5758333953701230645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org -- This email has been checked for viruses by AVG antivirus software. www.avg.com
AM
Adrian Mariano
Sun, Dec 21, 2025 3:12 PM

No, there is absolutely not a way you could have figured this out from the
error messages.  I'm pondering the situation.

On Sun, Dec 21, 2025 at 9:49 AM Jon Bondy jon@jonbondy.com wrote:

Adrian:

Thanks for your help!

Is there an easy way that I could have deduced this from the provided
error messages?

Jon

On 12/21/2025 9:40 AM, Adrian Mariano via Discuss wrote:

Problem is caused by the duplicate point [10,0,0] in your path.

On Sun, Dec 21, 2025 at 9:28 AM Jon Bondy via Discuss <
discuss@lists.openscad.org> wrote:

I am sure that the explanation will be obvious once it is explained to
me, but the following code produces the following error.  The two stroke()s
work, so the "path" and "two" should be OK (at least in some sense).  I
started out with 2-vectors, but added the 3rd zero (for Z) as voodoo
programming, trying to honor the mysterious error message.

include <BOSL2/std.scad>

eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;

path = [for (theta = [180:5:360])
[10cos(theta), 10sin(theta), 0],
[10, 0, 0], [10, 20, 0]];
stroke(path);
two = [
circle(d = 6),
back(10, right(-3, square(6)))
];
stroke(two);
path_sweep(hull_region(two), path);

ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 vector" in
file , line 1323

TRACE: called by 'frame_map' in file , line 2286

TRACE: called by 'path_sweep' in file , line 2141

TRACE: assignment to "trans_scale" in file , line 2141

TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=
Virus-free.www.avg.com
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=
<#m_-5034347285751303061_m_-5758333953701230645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

No, there is absolutely not a way you could have figured this out from the error messages. I'm pondering the situation. On Sun, Dec 21, 2025 at 9:49 AM Jon Bondy <jon@jonbondy.com> wrote: > Adrian: > > Thanks for your help! > > Is there an easy way that I could have deduced this from the provided > error messages? > > Jon > > > On 12/21/2025 9:40 AM, Adrian Mariano via Discuss wrote: > > Problem is caused by the duplicate point [10,0,0] in your path. > > On Sun, Dec 21, 2025 at 9:28 AM Jon Bondy via Discuss < > discuss@lists.openscad.org> wrote: > >> I am sure that the explanation will be obvious once it is explained to >> me, but the following code produces the following error. The two stroke()s >> work, so the "path" and "two" should be OK (at least in some sense). I >> started out with 2-vectors, but added the 3rd zero (for Z) as voodoo >> programming, trying to honor the mysterious error message. >> >> >> include <BOSL2/std.scad> >> >> eps = 0.01; >> slop = 0.2; >> $fa = 3; >> $fs = 0.2; >> inches = 25.4; >> >> path = [for (theta = [180:5:360]) >> [10*cos(theta), 10*sin(theta), 0], >> [10, 0, 0], [10, 20, 0]]; >> stroke(path); >> two = [ >> circle(d = 6), >> back(10, right(-3, square(6))) >> ]; >> stroke(two); >> path_sweep(hull_region(two), path); >> >> >> >> >> ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 vector" in >> file , line 1323 >> >> TRACE: called by 'frame_map' in file , line 2286 >> >> TRACE: called by 'path_sweep' in file , line 2141 >> >> TRACE: assignment to "trans_scale" in file , line 2141 >> >> TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19 >> >> >> >> >> >> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=> >> Virus-free.www.avg.com >> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=> >> <#m_-5034347285751303061_m_-5758333953701230645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > >
JJ
jon jonbondy.com
Sun, Dec 21, 2025 3:24 PM

Thank you!

On 12/21/2025 10:12 AM, Adrian Mariano wrote:
No, there is absolutely not a way you could have figured this out from the error messages.  I'm pondering the situation.

On Sun, Dec 21, 2025 at 9:49 AM Jon Bondy <jon@jonbondy.commailto:jon@jonbondy.com> wrote:

Adrian:

Thanks for your help!

Is there an easy way that I could have deduced this from the provided error messages?

Jon

On 12/21/2025 9:40 AM, Adrian Mariano via Discuss wrote:
Problem is caused by the duplicate point [10,0,0] in your path.

On Sun, Dec 21, 2025 at 9:28 AM Jon Bondy via Discuss <discuss@lists.openscad.orgmailto:discuss@lists.openscad.org> wrote:

I am sure that the explanation will be obvious once it is explained to me, but the following code produces the following error.  The two stroke()s work, so the "path" and "two" should be OK (at least in some sense).  I started out with 2-vectors, but added the 3rd zero (for Z) as voodoo programming, trying to honor the mysterious error message.

include <BOSL2/std.scad>

eps = 0.01;
slop = 0.2;
$fa = 3;
$fs = 0.2;
inches = 25.4;

path = [for (theta = [180:5:360])
[10cos(theta), 10sin(theta), 0],
[10, 0, 0], [10, 20, 0]];
stroke(path);
two = [
circle(d = 6),
back(10, right(-3, square(6)))
];
stroke(two);
path_sweep(hull_region(two), path);

ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 vector" in file , line 1323

TRACE: called by 'frame_map' in file , line 2286

TRACE: called by 'path_sweep' in file , line 2141

TRACE: assignment to "trans_scale" in file , line 2141

TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19

[https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-green-avg-v1.png]https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=      Virus-free.www.avg.comhttps://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.orgmailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.orgmailto:discuss-leave@lists.openscad.org

Thank you! On 12/21/2025 10:12 AM, Adrian Mariano wrote: No, there is absolutely not a way you could have figured this out from the error messages. I'm pondering the situation. On Sun, Dec 21, 2025 at 9:49 AM Jon Bondy <jon@jonbondy.com<mailto:jon@jonbondy.com>> wrote: Adrian: Thanks for your help! Is there an easy way that I could have deduced this from the provided error messages? Jon On 12/21/2025 9:40 AM, Adrian Mariano via Discuss wrote: Problem is caused by the duplicate point [10,0,0] in your path. On Sun, Dec 21, 2025 at 9:28 AM Jon Bondy via Discuss <discuss@lists.openscad.org<mailto:discuss@lists.openscad.org>> wrote: I am sure that the explanation will be obvious once it is explained to me, but the following code produces the following error. The two stroke()s work, so the "path" and "two" should be OK (at least in some sense). I started out with 2-vectors, but added the 3rd zero (for Z) as voodoo programming, trying to honor the mysterious error message. include <BOSL2/std.scad> eps = 0.01; slop = 0.2; $fa = 3; $fs = 0.2; inches = 25.4; path = [for (theta = [180:5:360]) [10*cos(theta), 10*sin(theta), 0], [10, 0, 0], [10, 20, 0]]; stroke(path); two = [ circle(d = 6), back(10, right(-3, square(6))) ]; stroke(two); path_sweep(hull_region(two), path); ERROR: Assertion 'yvalid' failed: "Input y must be a length 3 vector" in file , line 1323 TRACE: called by 'frame_map' in file , line 2286 TRACE: called by 'path_sweep' in file , line 2141 TRACE: assignment to "trans_scale" in file , line 2141 TRACE: called by 'path_sweep' in file Cane Crook Jig.scad, line 19 [https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-green-avg-v1.png]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=> Virus-free.www.avg.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=_R688MCFa69mxwkp8fDcY8zOA5N-jOnUJGvc1GPdS_ioOP_Vt1KHcqQspcexxMpl&s=bKavG6VGeoUJQCp2VyTUu5HCj6yxnE18JK1nTtzAmuk&e=> _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org<mailto:discuss-leave@lists.openscad.org> _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org<mailto:discuss-leave@lists.openscad.org>