discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

partition_path

L
larry
Fri, Sep 11, 2026 5:43 AM

I can't seem to get partition_path to work.

This is an example from the wiki, but it doesn't recognize
partition_path.

include <BOSL2/std.scad>
linear_extrude(height=100)
stroke(
partition_path([
40, "jigsaw", 10, "jigsaw yflip", 40,
"hammerhead 30x20",
40, "jigsaw yflip", 10, "jigsaw", 40,
],
$fn=24
),
width=3
);

I can't seem to get partition_path to work. This is an example from the wiki, but it doesn't recognize partition_path. include <BOSL2/std.scad> linear_extrude(height=100) stroke( partition_path([ 40, "jigsaw", 10, "jigsaw yflip", 40, "hammerhead 30x20", 40, "jigsaw yflip", 10, "jigsaw", 40, ], $fn=24 ), width=3 );
CC
Cory Cross
Fri, Sep 11, 2026 6:18 AM

It helps to paste exactly the output you get on the console.

Also helps to try something simple, like example 2:

include <BOSL2/std.scad>
stroke(partition_path(["sawtooth"]), width=3);

On September 10, 2026 10:43:14 PM PDT, larry via Discuss discuss@lists.openscad.org wrote:

I can't seem to get partition_path to work.

This is an example from the wiki, but it doesn't recognize
partition_path.

include <BOSL2/std.scad>
linear_extrude(height=100)
stroke(
partition_path([
40, "jigsaw", 10, "jigsaw yflip", 40,
"hammerhead 30x20",
40, "jigsaw yflip", 10, "jigsaw", 40,
],
$fn=24
),
width=3
);


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

It helps to paste exactly the output you get on the console. Also helps to try something simple, like example 2: include <BOSL2/std.scad> stroke(partition_path(["sawtooth"]), width=3); On September 10, 2026 10:43:14 PM PDT, larry via Discuss <discuss@lists.openscad.org> wrote: >I can't seem to get partition_path to work. > >This is an example from the wiki, but it doesn't recognize >partition_path. > >include <BOSL2/std.scad> >linear_extrude(height=100) > stroke( > partition_path([ > 40, "jigsaw", 10, "jigsaw yflip", 40, > "hammerhead 30x20", > 40, "jigsaw yflip", 10, "jigsaw", 40, > ], > $fn=24 > ), > width=3 > ); > >_______________________________________________ >OpenSCAD mailing list >To unsubscribe send an email to discuss-leave@lists.openscad.org
L
larry
Fri, Sep 11, 2026 6:55 AM

On Thu, 2026-09-10 at 23:18 -0700, Cory Cross via Discuss wrote:

It helps to paste exactly the output you get on the console.

Also helps to try something simple, like example 2:

include <BOSL2/std.scad>
stroke(partition_path(["sawtooth"]), width=3);

That gives me:

WARNING: Ignoring unknown function 'partition_path' in file ., line 2
ERROR: Assertion 'is_list(paths)' failed: "The path argument must be a
list of 2D or 3D points, or a region." in file
.local/share/OpenSCAD/libraries/BOSL2/drawing.scad, line 304
TRACE: called by 'assert' in file
.local/share/OpenSCAD/libraries/BOSL2/drawing.scad, line 304
TRACE: call of 'stroke(path = undef, width = 3, closed = false, endcaps
= undef, endcap1 = "round", endcap2 = "round", joints = "round", dots =
undef, endcap_width = undef, endcap_width1 = 1, endcap_width2 = 1,
joint_width = 1, dots_width = undef, endcap_length = undef,
endcap_length1 = 1, endcap_length2 = 1, joint_length = 1, dots_length =
undef, endcap_extent = undef, endcap_extent1 = 0, endcap_extent2 = 0,
joint_extent = 0, dots_extent = undef, endcap_angle = undef,
endcap_angle1 = undef, endcap_angle2 = undef, joint_angle = undef,
dots_angle = undef, endcap_color = undef, endcap_color1 = undef,
endcap_color2 = undef, joint_color = undef, dots_color = undef, color =
undef, trim = undef, trim1 = undef, trim2 = undef, singleton_scale = 2,
convexity = 10)' in file
.local/share/OpenSCAD/libraries/BOSL2/drawing.scad, line 200
TRACE: called by 'stroke' in file ., line 2
Compiling design (CSG Products generation)...
Geometries in cache: 0
Geometry cache size in bytes: 0
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Compiling design (CSG Products normalization)...
Normalized tree has 1 elements!
Compile and preview finished.
Total rendering time: 0:00:00.113

On September 10, 2026 10:43:14 PM PDT, larry via Discuss
discuss@lists.openscad.org wrote:

I can't seem to get partition_path to work.

This is an example from the wiki, but it doesn't recognize
partition_path.

include <BOSL2/std.scad>
linear_extrude(height=100)
 stroke(
 partition_path([
 40, "jigsaw", 10, "jigsaw yflip", 40,
 "hammerhead 30x20",
 40, "jigsaw yflip", 10, "jigsaw", 40,
 ],
 $fn=24
 ),
 width=3
 );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

On Thu, 2026-09-10 at 23:18 -0700, Cory Cross via Discuss wrote: > It helps to paste exactly the output you get on the console. > > Also helps to try something simple, like example 2: > > include <BOSL2/std.scad> > stroke(partition_path(["sawtooth"]), width=3); That gives me: WARNING: Ignoring unknown function 'partition_path' in file ., line 2 ERROR: Assertion 'is_list(paths)' failed: "The path argument must be a list of 2D or 3D points, or a region." in file .local/share/OpenSCAD/libraries/BOSL2/drawing.scad, line 304 TRACE: called by 'assert' in file .local/share/OpenSCAD/libraries/BOSL2/drawing.scad, line 304 TRACE: call of 'stroke(path = undef, width = 3, closed = false, endcaps = undef, endcap1 = "round", endcap2 = "round", joints = "round", dots = undef, endcap_width = undef, endcap_width1 = 1, endcap_width2 = 1, joint_width = 1, dots_width = undef, endcap_length = undef, endcap_length1 = 1, endcap_length2 = 1, joint_length = 1, dots_length = undef, endcap_extent = undef, endcap_extent1 = 0, endcap_extent2 = 0, joint_extent = 0, dots_extent = undef, endcap_angle = undef, endcap_angle1 = undef, endcap_angle2 = undef, joint_angle = undef, dots_angle = undef, endcap_color = undef, endcap_color1 = undef, endcap_color2 = undef, joint_color = undef, dots_color = undef, color = undef, trim = undef, trim1 = undef, trim2 = undef, singleton_scale = 2, convexity = 10)' in file .local/share/OpenSCAD/libraries/BOSL2/drawing.scad, line 200 TRACE: called by 'stroke' in file ., line 2 Compiling design (CSG Products generation)... Geometries in cache: 0 Geometry cache size in bytes: 0 CGAL Polyhedrons in cache: 0 CGAL cache size in bytes: 0 Compiling design (CSG Products normalization)... Normalized tree has 1 elements! Compile and preview finished. Total rendering time: 0:00:00.113 > On September 10, 2026 10:43:14 PM PDT, larry via Discuss > <discuss@lists.openscad.org> wrote: > > I can't seem to get partition_path to work. > > > > This is an example from the wiki, but it doesn't recognize > > partition_path. > > > > include <BOSL2/std.scad> > > linear_extrude(height=100) > >  stroke( > >  partition_path([ > >  40, "jigsaw", 10, "jigsaw yflip", 40, > >  "hammerhead 30x20", > >  40, "jigsaw yflip", 10, "jigsaw", 40, > >  ], > >  $fn=24 > >  ), > >  width=3 > >  );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
CC
Cory Cross
Fri, Sep 11, 2026 7:00 AM

On 9/10/26 11:55 PM, larry via Discuss wrote:

That gives me:

WARNING: Ignoring unknown function 'partition_path' in file ., line 2

Update your version of BOSL2

On 9/10/26 11:55 PM, larry via Discuss wrote: > That gives me: > > WARNING: Ignoring unknown function 'partition_path' in file ., line 2 Update your version of BOSL2
ME
maurice e heskett
Fri, Sep 11, 2026 12:11 PM

On 9/11/26 02:19, Cory Cross via Discuss wrote:

It helps to paste exactly the output you get on the console.

Also helps to try something simple, like example 2:

include <BOSL2/std.scad>
stroke(partition_path(["sawtooth"]), width=3);

On September 10, 2026 10:43:14 PM PDT, larry via Discuss
discuss@lists.openscad.org wrote:

 I can't seem to get partition_path to work. This is an example
 from the wiki, but it doesn't recognize partition_path. include
 <BOSL2/std.scad> linear_extrude(height=100) stroke(
 partition_path([ 40, "jigsaw", 10, "jigsaw yflip", 40, "hammerhead
 30x20", 40, "jigsaw yflip", 10, "jigsaw", 40, ], $fn=24 ), width=3 );

I am attempting to duplicate your setup, but am working with an N95
system running a customized ubuntu.

I'm stuck trying to install the latest version of BOSL2.  Github is
rejecting my request as this is not my normal machine.  How should I
proceed?

Thank you.

 ------------------------------------------------------------------------
 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

On 9/11/26 02:19, Cory Cross via Discuss wrote: > It helps to paste exactly the output you get on the console. > > Also helps to try something simple, like example 2: > > include <BOSL2/std.scad> > stroke(partition_path(["sawtooth"]), width=3); > > > > On September 10, 2026 10:43:14 PM PDT, larry via Discuss > <discuss@lists.openscad.org> wrote: > > I can't seem to get partition_path to work. This is an example > from the wiki, but it doesn't recognize partition_path. include > <BOSL2/std.scad> linear_extrude(height=100) stroke( > partition_path([ 40, "jigsaw", 10, "jigsaw yflip", 40, "hammerhead > 30x20", 40, "jigsaw yflip", 10, "jigsaw", 40, ], $fn=24 ), width=3 ); > I am attempting to duplicate your setup, but am working with an N95 system running a customized ubuntu. I'm stuck trying to install the latest version of BOSL2.  Github is rejecting my request as this is not my normal machine.  How should I proceed? Thank you. > ------------------------------------------------------------------------ > 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
RW
Rogier Wolff
Fri, Sep 11, 2026 12:56 PM

On Fri, Sep 11, 2026 at 08:11:25AM -0400, maurice e heskett via Discuss wrote:

I'm stuck trying to install the latest version of BOSL2.  Github is
rejecting my request as this is not my normal machine.  How should
I proceed?

In general it is very difficult to help someone if we don't get to
see the error messages. So please in the future include the
exact error message you're getting.

I can't think of a reason why github would refuse you a clone of a
public project.

So my guess is that you're using the "ssh: link" to try to clone
the repository.

Roger. 

--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Verl. Spiegelmakerstraat 37 2645 LZ  Delfgauw, The Netherlands.
** KVK: 27239233    **
f equals m times a. When your f is steady, and your m is going down
your a** is going up.  -- Chris Hadfield about flying up the space shuttle.
**  'a' for accelleration.

On Fri, Sep 11, 2026 at 08:11:25AM -0400, maurice e heskett via Discuss wrote: > I'm stuck trying to install the latest version of BOSL2.  Github is > rejecting my request as this is not my normal machine.  How should > I proceed? In general it is very difficult to help someone if we don't get to see the error messages. So please in the future include the exact error message you're getting. I can't think of a reason why github would refuse you a clone of a public project. So my guess is that you're using the "ssh: link" to try to clone the repository. Roger. -- ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 ** ** Verl. Spiegelmakerstraat 37 2645 LZ Delfgauw, The Netherlands. ** KVK: 27239233 ** f equals m times a. When your f is steady, and your m is going down your a** is going up. -- Chris Hadfield about flying up the space shuttle. ** 'a' for accelleration.
ME
maurice e heskett
Fri, Sep 11, 2026 1:22 PM

On 9/11/26 08:11, maurice e heskett via Discuss wrote:

On 9/11/26 02:19, Cory Cross via Discuss wrote:

It helps to paste exactly the output you get on the console.

Also helps to try something simple, like example 2:

include <BOSL2/std.scad>
stroke(partition_path(["sawtooth"]), width=3);

On September 10, 2026 10:43:14 PM PDT, larry via Discuss
discuss@lists.openscad.org wrote:

 I can't seem to get partition_path to work. This is an example
 from the wiki, but it doesn't recognize partition_path. include
 <BOSL2/std.scad> linear_extrude(height=100) stroke(
 partition_path([ 40, "jigsaw", 10, "jigsaw yflip", 40,
 "hammerhead 30x20", 40, "jigsaw yflip", 10, "jigsaw", 40, ],
 $fn=24 ), width=3 );

I am attempting to duplicate your setup, but am working with an N95
system running a customized ubuntu.

I'm stuck trying to install the latest version of BOSL2. Github is
rejecting my request as this is not my normal machine.  How should I
proceed?

Thank you.

Looks like I have bigger problems, I cannot modify an example file,
change one var then save-as, no perms running as me.

 ------------------------------------------------------------------------
 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


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

On 9/11/26 08:11, maurice e heskett via Discuss wrote: > > > On 9/11/26 02:19, Cory Cross via Discuss wrote: >> It helps to paste exactly the output you get on the console. >> >> Also helps to try something simple, like example 2: >> >> include <BOSL2/std.scad> >> stroke(partition_path(["sawtooth"]), width=3); >> >> >> >> On September 10, 2026 10:43:14 PM PDT, larry via Discuss >> <discuss@lists.openscad.org> wrote: >> >> I can't seem to get partition_path to work. This is an example >> from the wiki, but it doesn't recognize partition_path. include >> <BOSL2/std.scad> linear_extrude(height=100) stroke( >> partition_path([ 40, "jigsaw", 10, "jigsaw yflip", 40, >> "hammerhead 30x20", 40, "jigsaw yflip", 10, "jigsaw", 40, ], >> $fn=24 ), width=3 ); >> > I am attempting to duplicate your setup, but am working with an N95 > system running a customized ubuntu. > > I'm stuck trying to install the latest version of BOSL2. Github is > rejecting my request as this is not my normal machine.  How should I > proceed? > > Thank you. > Looks like I have bigger problems, I cannot modify an example file, change one var then save-as, no perms running as me. >> >> ------------------------------------------------------------------------ >> 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 > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
ME
maurice e heskett
Fri, Sep 11, 2026 1:38 PM

On 9/11/26 08:56, Rogier Wolff via Discuss wrote:

On Fri, Sep 11, 2026 at 08:11:25AM -0400, maurice e heskett via Discuss wrote:

I'm stuck trying to install the latest version of BOSL2.  Github is
rejecting my request as this is not my normal machine.  How should
I proceed?

In general it is very difficult to help someone if we don't get to
see the error messages. So please in the future include the
exact error message you're getting.

I can't think of a reason why github would refuse you a clone of a
public project.

So my guess is that you're using the "ssh: link" to try to clone
the repository.

I finally did download the .zip and was going to put it where openscad
says, but openscad doesn't show the library path, its odd,  says:

Opening file browser for
/home/mauriceeheskett/snap/openscad-nightly/5720/.local/share/OpenSCAD/libraries

But nothing runs. cheat sheet displays as usual. Color me confused...

Thank you Roger

Roger.
On 9/11/26 08:56, Rogier Wolff via Discuss wrote: > On Fri, Sep 11, 2026 at 08:11:25AM -0400, maurice e heskett via Discuss wrote: > >> I'm stuck trying to install the latest version of BOSL2.  Github is >> rejecting my request as this is not my normal machine.  How should >> I proceed? > In general it is very difficult to help someone if we don't get to > see the error messages. So please in the future include the > exact error message you're getting. > > I can't think of a reason why github would refuse you a clone of a > public project. > > So my guess is that you're using the "ssh: link" to try to clone > the repository. I finally did download the .zip and was going to put it where openscad says, but openscad doesn't show the library path, its odd,  says: Opening file browser for /home/mauriceeheskett/snap/openscad-nightly/5720/.local/share/OpenSCAD/libraries But nothing runs. cheat sheet displays as usual. Color me confused... Thank you Roger > > Roger. >
L
larry
Sat, Sep 12, 2026 3:52 AM

On Fri, 2026-09-11 at 00:00 -0700, Cory Cross via Discuss wrote:

On 9/10/26 11:55 PM, larry via Discuss wrote:

That gives me:

WARNING: Ignoring unknown function 'partition_path' in file ., line
2

Update your version of BOSL2

That did it! Thanks Cory.

Larry

On Fri, 2026-09-11 at 00:00 -0700, Cory Cross via Discuss wrote: > On 9/10/26 11:55 PM, larry via Discuss wrote: > > That gives me: > > > > WARNING: Ignoring unknown function 'partition_path' in file ., line > > 2 > > Update your version of BOSL2 That did it! Thanks Cory. Larry