discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Hole with radius

L
larry
Mon, Jun 9, 2025 4:13 AM

On Sun, 2025-06-08 at 16:56 -0400, Adrian Mariano via Discuss wrote:

Larry, is it possible that your code is not finding the updated
version?  That's the only explanation I can come up with.  

Upon further investigation, I did find that I was not executing the one
I downloaded on June 1. I had placed it in
/.local/share/OpenSCAD/
So I deleted the BOSL2 that was in /.local/share/OpenSCAD/libraries,
and moved the new one (Jun 1) as shown:

:~/.local/share/OpenSCAD/libraries$ ls -l BOSL2
total 3976
-rw-rw-r-- 1 larry larry  18723 Jun  1 13:03 affine.scad
-rw-rw-r-- 1 larry larry 255745 Jun  1 13:03 attachments.scad

I then ran OpenSCAD and ran the same script, but I still get 'inside'
and 'extra' not specified as parameter.
Could it be cached? Do I have to reboot?

On Sat, Jun 7, 2025 at 1:41 PM larry via Discuss
discuss@lists.openscad.org wrote:

On Sat, 2025-06-07 at 21:42 +1000, Ken via Discuss wrote:

 Problem solved Adrian- my Bosl2 was out-of-date. Downloaded the
latest from github, extra now works as advertised- thanks🙂

I had the same problem, except that 'inside' gave the same error. I
downloaded the latest version from github, using 'Download ZIP',
but I
still get the error, and thr flared hole appears on top of the
cube.

On 2025-06-07 08:09, Adrian Mariano via Discuss wrote:

Your question is not clearly posed.  Do you mean this?

include<BOSL2/std.scad>
size = 20;
 $fa=1;$fs=.3;
 diff()
   cuboid(size)
      attach(TOP,TOP,inside=true)
      cyl(h=size,d=4,rounding=-2,extra=1);  // extra adds
length to
avoid z-fighting

image.png
 
 
On Fri, Jun 6, 2025 at 4:33 PM Joe Weinpert via Discuss
discuss@lists.openscad.org wrote:
 

I want to create a block with a hole in it where the top and
bottom of the hole have a radius.

 _______________________________________________
 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

 


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


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

On Sun, 2025-06-08 at 16:56 -0400, Adrian Mariano via Discuss wrote: > Larry, is it possible that your code is not finding the updated > version?  That's the only explanation I can come up with.   Upon further investigation, I did find that I was not executing the one I downloaded on June 1. I had placed it in /.local/share/OpenSCAD/ So I deleted the BOSL2 that was in /.local/share/OpenSCAD/libraries, and moved the new one (Jun 1) as shown: :~/.local/share/OpenSCAD/libraries$ ls -l BOSL2 total 3976 -rw-rw-r-- 1 larry larry 18723 Jun 1 13:03 affine.scad -rw-rw-r-- 1 larry larry 255745 Jun 1 13:03 attachments.scad I then ran OpenSCAD and ran the same script, but I still get 'inside' and 'extra' not specified as parameter. Could it be cached? Do I have to reboot? > On Sat, Jun 7, 2025 at 1:41 PM larry via Discuss > <discuss@lists.openscad.org> wrote: > > On Sat, 2025-06-07 at 21:42 +1000, Ken via Discuss wrote: > > >  Problem solved Adrian- my Bosl2 was out-of-date. Downloaded the > > > latest from github, extra now works as advertised- thanks🙂 > > > > I had the same problem, except that 'inside' gave the same error. I > > downloaded the latest version from github, using 'Download ZIP', > > but I > > still get the error, and thr flared hole appears on top of the > > cube. > > > > > > > On 2025-06-07 08:09, Adrian Mariano via Discuss wrote: > > > > > > > > Your question is not clearly posed.  Do you mean this? > > > > > > > > include<BOSL2/std.scad> > > > > size = 20; > > > >  $fa=1;$fs=.3; > > > >  diff() > > > >    cuboid(size) > > > >       attach(TOP,TOP,inside=true) > > > >       cyl(h=size,d=4,rounding=-2,extra=1);  // extra adds > > > > length to > > > > avoid z-fighting > > > > > > > > > > > > image.png > > > >   > > > >   > > > > On Fri, Jun 6, 2025 at 4:33 PM Joe Weinpert via Discuss > > > > <discuss@lists.openscad.org> wrote: > > > >   > > > > > I want to create a block with a hole in it where the top and > > > > > bottom of the hole have a radius. > > > > > > > > > >  _______________________________________________ > > > > >  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 > > >   > > > _______________________________________________ > > > 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 > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org