discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

NURBS available in BOSL2

AM
Adrian Mariano
Wed, Nov 6, 2024 4:01 AM

I've added NURBS to BOSL2 for those interested in this sort of thing.  I'm
not really sure about what amazing possibilities this opens up, but
something, I guess?

https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad

I've added NURBS to BOSL2 for those interested in this sort of thing. I'm not really sure about what amazing possibilities this opens up, but something, I guess? https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad
JD
John David
Wed, Nov 6, 2024 7:55 AM

@Adrian Mariano avm4@cornell.edu
, nice!  I guess it depends on how deep you want to get into NURBS.  It can
be used as a basis for just about all curves and surfaces (including
circles, and helices).  Not sure what it will add to OpenSCAD, but I will
definitely have to check it out.

EBo --

On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss <
discuss@lists.openscad.org> wrote:

I've added NURBS to BOSL2 for those interested in this sort of thing.  I'm
not really sure about what amazing possibilities this opens up, but
something, I guess?

https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad


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

@Adrian Mariano <avm4@cornell.edu> , nice! I guess it depends on how deep you want to get into NURBS. It can be used as a basis for just about all curves and surfaces (including circles, and helices). Not sure what it will add to OpenSCAD, but I will definitely have to check it out. EBo -- On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss < discuss@lists.openscad.org> wrote: > I've added NURBS to BOSL2 for those interested in this sort of thing. I'm > not really sure about what amazing possibilities this opens up, but > something, I guess? > > https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
KE
Karl Exler
Wed, Nov 6, 2024 9:42 AM

Dear all,

I just downloaded nurbes.scad an added it to my "bosl-dir"... neverthess
I receive alot of error messages. Is there a place where I always can
find the complete set of BOSL2 library? (e.g. as zip-file??)
Many thanks
Karl

Am 06.11.24 um 08:55 schrieb John David via Discuss:

@Adrian Mariano mailto:avm4@cornell.edu
, nice!  I guess it depends on how deep you want to get into NURBS. 
It can be used as a basis for just about all curves and surfaces
(including circles, and helices).  Not sure what it will add to
OpenSCAD, but I will definitely have to check it out.

  EBo --

On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss
discuss@lists.openscad.org wrote:

 I've added NURBS to BOSL2 for those interested in this sort of
 thing.  I'm not really sure about what amazing possibilities this
 opens up, but something, I guess?

 https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad
 _______________________________________________
 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

Dear all, I just downloaded nurbes.scad an added it to my "bosl-dir"... neverthess I receive alot of error messages. Is there a place where I always can find the complete set of BOSL2 library? (e.g. as zip-file??) Many thanks Karl Am 06.11.24 um 08:55 schrieb John David via Discuss: > @Adrian Mariano <mailto:avm4@cornell.edu> > , nice!  I guess it depends on how deep you want to get into NURBS.  > It can be used as a basis for just about all curves and surfaces > (including circles, and helices).  Not sure what it will add to > OpenSCAD, but I will definitely have to check it out. > >   EBo -- > > On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss > <discuss@lists.openscad.org> wrote: > > I've added NURBS to BOSL2 for those interested in this sort of > thing.  I'm not really sure about what amazing possibilities this > opens up, but something, I guess? > > https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad > _______________________________________________ > 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
PK
Peter Kriens
Wed, Nov 6, 2024 9:48 AM

You can always download a ZIP from Github repository:

You can also use Git sub module. This works very well and has lots of nice features but requires the use of Git. I can show you how to do this if that is of interest.

On 6 Nov 2024, at 10:42, Karl Exler via Discuss discuss@lists.openscad.org wrote:

Dear all,

I just downloaded nurbes.scad an added it to my "bosl-dir"... neverthess I receive alot of error messages. Is there a place where I always can find the complete set of BOSL2 library? (e.g. as zip-file??)
Many thanks
Karl

Am 06.11.24 um 08:55 schrieb John David via Discuss:

@Adrian Mariano mailto:avm4@cornell.edu
, nice!  I guess it depends on how deep you want to get into NURBS.  It can be used as a basis for just about all curves and surfaces (including circles, and helices).  Not sure what it will add to OpenSCAD, but I will definitely have to check it out.

EBo --

On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss <discuss@lists.openscad.org mailto:discuss@lists.openscad.org> wrote:

I've added NURBS to BOSL2 for those interested in this sort of thing.  I'm not really sure about what amazing possibilities this opens up, but something, I guess?

https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad


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


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

You can always download a ZIP from Github repository:  You can also use Git sub module. This works very well and has lots of nice features but requires the use of Git. I can show you how to do this if that is of interest. > On 6 Nov 2024, at 10:42, Karl Exler via Discuss <discuss@lists.openscad.org> wrote: > > Dear all, > > I just downloaded nurbes.scad an added it to my "bosl-dir"... neverthess I receive alot of error messages. Is there a place where I always can find the complete set of BOSL2 library? (e.g. as zip-file??) > Many thanks > Karl > > Am 06.11.24 um 08:55 schrieb John David via Discuss: >> @Adrian Mariano <mailto:avm4@cornell.edu> >> , nice! I guess it depends on how deep you want to get into NURBS. It can be used as a basis for just about all curves and surfaces (including circles, and helices). Not sure what it will add to OpenSCAD, but I will definitely have to check it out. >> >> EBo -- >> >> On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss <discuss@lists.openscad.org <mailto:discuss@lists.openscad.org>> wrote: >>> I've added NURBS to BOSL2 for those interested in this sort of thing. I'm not really sure about what amazing possibilities this opens up, but something, I guess? >>> >>> https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad >>> _______________________________________________ >>> 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> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
GS
Guenther Sohler
Wed, Nov 6, 2024 10:34 AM

what's best practice to use NURBS patches in your design ?
To get a water-tight model, you need to exactly attach to the points of the
patch.
A Loft between a circle and the patch is viable ?

On Wed, Nov 6, 2024 at 10:49 AM Peter Kriens via Discuss <
discuss@lists.openscad.org> wrote:

You can always download a ZIP from Github repository:

[image: PastedGraphic-1.png]

You can also use Git sub module. This works very well and has lots of nice
features but requires the use of Git. I can show you how to do this if that
is of interest.

On 6 Nov 2024, at 10:42, Karl Exler via Discuss <
discuss@lists.openscad.org> wrote:

Dear all,

I just downloaded nurbes.scad an added it to my "bosl-dir"... neverthess I
receive alot of error messages. Is there a place where I always can find
the complete set of BOSL2 library? (e.g. as zip-file??)
Many thanks
Karl
Am 06.11.24 um 08:55 schrieb John David via Discuss:

@Adrian Mariano avm4@cornell.edu
, nice!  I guess it depends on how deep you want to get into NURBS.  It
can be used as a basis for just about all curves and surfaces (including
circles, and helices).  Not sure what it will add to OpenSCAD, but I will
definitely have to check it out.

EBo --

On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss <
discuss@lists.openscad.org> wrote:

I've added NURBS to BOSL2 for those interested in this sort of thing.
I'm not really sure about what amazing possibilities this opens up, but
something, I guess?

https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad


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

what's best practice to use NURBS patches in your design ? To get a water-tight model, you need to exactly attach to the points of the patch. A Loft between a circle and the patch is viable ? On Wed, Nov 6, 2024 at 10:49 AM Peter Kriens via Discuss < discuss@lists.openscad.org> wrote: > You can always download a ZIP from Github repository: > > > [image: PastedGraphic-1.png] > > > You can also use Git sub module. This works very well and has lots of nice > features but requires the use of Git. I can show you how to do this if that > is of interest. > > > > On 6 Nov 2024, at 10:42, Karl Exler via Discuss < > discuss@lists.openscad.org> wrote: > > Dear all, > > I just downloaded nurbes.scad an added it to my "bosl-dir"... neverthess I > receive alot of error messages. Is there a place where I always can find > the complete set of BOSL2 library? (e.g. as zip-file??) > Many thanks > Karl > Am 06.11.24 um 08:55 schrieb John David via Discuss: > > @Adrian Mariano <avm4@cornell.edu> > , nice! I guess it depends on how deep you want to get into NURBS. It > can be used as a basis for just about all curves and surfaces (including > circles, and helices). Not sure what it will add to OpenSCAD, but I will > definitely have to check it out. > > EBo -- > > On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss < > discuss@lists.openscad.org> wrote: > >> I've added NURBS to BOSL2 for those interested in this sort of thing. >> I'm not really sure about what amazing possibilities this opens up, but >> something, I guess? >> >> https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad >> _______________________________________________ >> 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 >
GH
gene heskett
Wed, Nov 6, 2024 11:54 AM

On 11/6/24 02:56, John David via Discuss wrote:

@Adrian Mariano mailto:avm4@cornell.edu
, nice!  I guess it depends on how deep you want to get into NURBS.  It
can be used as a basis for just about all curves and surfaces (including
circles, and helices).  Not sure what it will add to OpenSCAD, but I
will definitely have to check it out.

We've had NURBS, I think in a 2 degree version, in linuxcnc for quite
some time. Decades even. Does barrel profiles on a linuxcnc driven lathe
and such. The lathe makes it 3d, Ditto a 4 axis or more mill. From the
docs it can do full circles but doesn't have to. Whether this definition
matches yours might be open to interpretation. Check out "G5" in the
LinuxCNC docs.

  EBo --

On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss
<discuss@lists.openscad.org mailto:discuss@lists.openscad.org> wrote:

 I've added NURBS to BOSL2 for those interested in this sort of
 thing.  I'm not really sure about what amazing possibilities this
 opens up, but something, I guess?

 https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad
 <https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad>
 _______________________________________________
 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

Cheers, Gene Heskett, CET.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

  • Louis D. Brandeis
On 11/6/24 02:56, John David via Discuss wrote: > @Adrian Mariano <mailto:avm4@cornell.edu> > , nice!  I guess it depends on how deep you want to get into NURBS.  It > can be used as a basis for just about all curves and surfaces (including > circles, and helices).  Not sure what it will add to OpenSCAD, but I > will definitely have to check it out. > We've had NURBS, I think in a 2 degree version, in linuxcnc for quite some time. Decades even. Does barrel profiles on a linuxcnc driven lathe and such. The lathe makes it 3d, Ditto a 4 axis or more mill. From the docs it can do full circles but doesn't have to. Whether this definition matches yours might be open to interpretation. Check out "G5" in the LinuxCNC docs. >   EBo -- > > On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss > <discuss@lists.openscad.org <mailto:discuss@lists.openscad.org>> wrote: > > I've added NURBS to BOSL2 for those interested in this sort of > thing.  I'm not really sure about what amazing possibilities this > opens up, but something, I guess? > > https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad > <https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad> > _______________________________________________ > 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 Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
KE
Karl Exler
Wed, Nov 6, 2024 12:48 PM

suuuper!
This seems to be a very useful function for 3D-modeling..


include <bosl2/std.scad>;
include <bosl2/nurbs.scad>;
pts = [[13,43],[30,52],[49,22],[24,3],[40,-30]];
debug_nurbs(pts,2);
!!!!rotate_extrude(angle=360, convexity=2);
npts = nurbs_curve(pts, 2, splinesteps=3);
color("red")move_copies(npts) circle(r=1);


Can I do anything to move the created curve -via rotating- into a volume?

yours Karl

Am 06.11.24 um 11:34 schrieb Guenther Sohler via Discuss:

what's best practice to use NURBS patches in your design ?
To get a water-tight model, you need to exactly attach to the points
of the patch.
A Loft between a circle and the patch is viable ?

On Wed, Nov 6, 2024 at 10:49 AM Peter Kriens via Discuss
discuss@lists.openscad.org wrote:

 You can always download a ZIP from Github repository:


 PastedGraphic-1.png


 You can also use Git sub module. This works very well and has lots
 of nice features but requires the use of Git. I can show you how
 to do this if that is of interest.
 On 6 Nov 2024, at 10:42, Karl Exler via Discuss
 <discuss@lists.openscad.org> wrote:

 Dear all,

 I just downloaded nurbes.scad an added it to my "bosl-dir"...
 neverthess I receive alot of error messages. Is there a place
 where I always can find the complete set of BOSL2 library? (e.g.
 as zip-file??)
 Many thanks
 Karl

 Am 06.11.24 um 08:55 schrieb John David via Discuss:
 @Adrian Mariano <mailto:avm4@cornell.edu>
 , nice!  I guess it depends on how deep you want to get into
 NURBS.  It can be used as a basis for just about all curves and
 surfaces (including circles, and helices). Not sure what it will
 add to OpenSCAD, but I will definitely have to check it out.

   EBo --

 On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss
 <discuss@lists.openscad.org> wrote:

     I've added NURBS to BOSL2 for those interested in this sort
     of thing.  I'm not really sure about what amazing
     possibilities this opens up, but something, I guess?

     https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad
     _______________________________________________
     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 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 todiscuss-leave@lists.openscad.org

suuuper! This seems to be a very useful function for 3D-modeling.. ************************************************************** include <bosl2/std.scad>; include <bosl2/nurbs.scad>; pts = [[13,43],[30,52],[49,22],[24,3],[40,-30]]; debug_nurbs(pts,2); !!!!rotate_extrude(angle=360, convexity=2); npts = nurbs_curve(pts, 2, splinesteps=3); color("red")move_copies(npts) circle(r=1); ************************************************************** Can I do anything to move the created curve -via rotating- into a volume? yours Karl Am 06.11.24 um 11:34 schrieb Guenther Sohler via Discuss: > what's best practice to use NURBS patches in your design ? > To get a water-tight model, you need to exactly attach to the points > of the patch. > A Loft between a circle and the patch is viable ? > > > On Wed, Nov 6, 2024 at 10:49 AM Peter Kriens via Discuss > <discuss@lists.openscad.org> wrote: > > You can always download a ZIP from Github repository: > > > PastedGraphic-1.png > > > You can also use Git sub module. This works very well and has lots > of nice features but requires the use of Git. I can show you how > to do this if that is of interest. > > > >> On 6 Nov 2024, at 10:42, Karl Exler via Discuss >> <discuss@lists.openscad.org> wrote: >> >> Dear all, >> >> I just downloaded nurbes.scad an added it to my "bosl-dir"... >> neverthess I receive alot of error messages. Is there a place >> where I always can find the complete set of BOSL2 library? (e.g. >> as zip-file??) >> Many thanks >> Karl >> >> Am 06.11.24 um 08:55 schrieb John David via Discuss: >>> @Adrian Mariano <mailto:avm4@cornell.edu> >>> , nice!  I guess it depends on how deep you want to get into >>> NURBS.  It can be used as a basis for just about all curves and >>> surfaces (including circles, and helices). Not sure what it will >>> add to OpenSCAD, but I will definitely have to check it out. >>> >>>   EBo -- >>> >>> On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss >>> <discuss@lists.openscad.org> wrote: >>> >>> I've added NURBS to BOSL2 for those interested in this sort >>> of thing.  I'm not really sure about what amazing >>> possibilities this opens up, but something, I guess? >>> >>> https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad >>> _______________________________________________ >>> 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 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 todiscuss-leave@lists.openscad.org
KE
Karl Exler
Wed, Nov 6, 2024 12:53 PM

thank you very much... it works now

Am 06.11.24 um 11:34 schrieb Guenther Sohler via Discuss:

what's best practice to use NURBS patches in your design ?
To get a water-tight model, you need to exactly attach to the points
of the patch.
A Loft between a circle and the patch is viable ?

On Wed, Nov 6, 2024 at 10:49 AM Peter Kriens via Discuss
discuss@lists.openscad.org wrote:

 You can always download a ZIP from Github repository:


 PastedGraphic-1.png


 You can also use Git sub module. This works very well and has lots
 of nice features but requires the use of Git. I can show you how
 to do this if that is of interest.
 On 6 Nov 2024, at 10:42, Karl Exler via Discuss
 <discuss@lists.openscad.org> wrote:

 Dear all,

 I just downloaded nurbes.scad an added it to my "bosl-dir"...
 neverthess I receive alot of error messages. Is there a place
 where I always can find the complete set of BOSL2 library? (e.g.
 as zip-file??)
 Many thanks
 Karl

 Am 06.11.24 um 08:55 schrieb John David via Discuss:
 @Adrian Mariano <mailto:avm4@cornell.edu>
 , nice!  I guess it depends on how deep you want to get into
 NURBS.  It can be used as a basis for just about all curves and
 surfaces (including circles, and helices). Not sure what it will
 add to OpenSCAD, but I will definitely have to check it out.

   EBo --

 On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss
 <discuss@lists.openscad.org> wrote:

     I've added NURBS to BOSL2 for those interested in this sort
     of thing.  I'm not really sure about what amazing
     possibilities this opens up, but something, I guess?

     https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad
     _______________________________________________
     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 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 todiscuss-leave@lists.openscad.org

thank you very much... it works now Am 06.11.24 um 11:34 schrieb Guenther Sohler via Discuss: > what's best practice to use NURBS patches in your design ? > To get a water-tight model, you need to exactly attach to the points > of the patch. > A Loft between a circle and the patch is viable ? > > > On Wed, Nov 6, 2024 at 10:49 AM Peter Kriens via Discuss > <discuss@lists.openscad.org> wrote: > > You can always download a ZIP from Github repository: > > > PastedGraphic-1.png > > > You can also use Git sub module. This works very well and has lots > of nice features but requires the use of Git. I can show you how > to do this if that is of interest. > > > >> On 6 Nov 2024, at 10:42, Karl Exler via Discuss >> <discuss@lists.openscad.org> wrote: >> >> Dear all, >> >> I just downloaded nurbes.scad an added it to my "bosl-dir"... >> neverthess I receive alot of error messages. Is there a place >> where I always can find the complete set of BOSL2 library? (e.g. >> as zip-file??) >> Many thanks >> Karl >> >> Am 06.11.24 um 08:55 schrieb John David via Discuss: >>> @Adrian Mariano <mailto:avm4@cornell.edu> >>> , nice!  I guess it depends on how deep you want to get into >>> NURBS.  It can be used as a basis for just about all curves and >>> surfaces (including circles, and helices). Not sure what it will >>> add to OpenSCAD, but I will definitely have to check it out. >>> >>>   EBo -- >>> >>> On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss >>> <discuss@lists.openscad.org> wrote: >>> >>> I've added NURBS to BOSL2 for those interested in this sort >>> of thing.  I'm not really sure about what amazing >>> possibilities this opens up, but something, I guess? >>> >>> https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad >>> _______________________________________________ >>> 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 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 todiscuss-leave@lists.openscad.org
JB
Jordan Brown
Wed, Nov 6, 2024 5:01 PM

On 11/6/2024 1:42 AM, Karl Exler via Discuss wrote:

Is there a place where I always can find the complete set of BOSL2
library? (e.g. as zip-file??)

I pulled BOSL2 over with git, and now I can update it any time with "git
pull".

From my OpenSCAD library directory, "git clone
https://github.com/BelfrySCAD/BOSL2" and then at any time, from inside
that directory, "git pull" to update.

On 11/6/2024 1:42 AM, Karl Exler via Discuss wrote: > > Is there a place where I always can find the complete set of BOSL2 > library? (e.g. as zip-file??) > I pulled BOSL2 over with git, and now I can update it any time with "git pull". From my OpenSCAD library directory, "git clone https://github.com/BelfrySCAD/BOSL2" and then at any time, from inside that directory, "git pull" to update.
AM
Adrian Mariano
Thu, Nov 7, 2024 12:32 AM

I think you maybe want something like

rotate_extrude(....) polygon(npts);

or maybe

rotate_sweep(npts, angle=360, ...);

But note that the resulting geometry is self-intersecting, hence invalid,
because the line that closes the polygon of your nurbs curve  crosses the
curve.

On Wed, Nov 6, 2024 at 7:49 AM Karl Exler via Discuss <
discuss@lists.openscad.org> wrote:

suuuper!
This seems to be a very useful function for 3D-modeling..


include <bosl2/std.scad>;
include <bosl2/nurbs.scad>;
pts = [[13,43],[30,52],[49,22],[24,3],[40,-30]];
debug_nurbs(pts,2);
!!!!rotate_extrude(angle=360, convexity=2);
npts = nurbs_curve(pts, 2, splinesteps=3);
color("red")move_copies(npts) circle(r=1);


Can I do anything to move the created curve -via rotating- into a volume?

yours Karl

Am 06.11.24 um 11:34 schrieb Guenther Sohler via Discuss:

what's best practice to use NURBS patches in your design ?
To get a water-tight model, you need to exactly attach to the points of
the patch.
A Loft between a circle and the patch is viable ?

On Wed, Nov 6, 2024 at 10:49 AM Peter Kriens via Discuss <
discuss@lists.openscad.org> wrote:

You can always download a ZIP from Github repository:

[image: PastedGraphic-1.png]

You can also use Git sub module. This works very well and has lots of
nice features but requires the use of Git. I can show you how to do this if
that is of interest.

On 6 Nov 2024, at 10:42, Karl Exler via Discuss <
discuss@lists.openscad.org> wrote:

Dear all,

I just downloaded nurbes.scad an added it to my "bosl-dir"... neverthess
I receive alot of error messages. Is there a place where I always can find
the complete set of BOSL2 library? (e.g. as zip-file??)
Many thanks
Karl
Am 06.11.24 um 08:55 schrieb John David via Discuss:

@Adrian Mariano avm4@cornell.edu
, nice!  I guess it depends on how deep you want to get into NURBS.  It
can be used as a basis for just about all curves and surfaces (including
circles, and helices).  Not sure what it will add to OpenSCAD, but I will
definitely have to check it out.

EBo --

On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss <
discuss@lists.openscad.org> wrote:

I've added NURBS to BOSL2 for those interested in this sort of thing.
I'm not really sure about what amazing possibilities this opens up, but
something, I guess?

https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad


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


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

I think you maybe want something like rotate_extrude(....) polygon(npts); or maybe rotate_sweep(npts, angle=360, ...); But note that the resulting geometry is self-intersecting, hence invalid, because the line that closes the polygon of your nurbs curve crosses the curve. On Wed, Nov 6, 2024 at 7:49 AM Karl Exler via Discuss < discuss@lists.openscad.org> wrote: > suuuper! > This seems to be a very useful function for 3D-modeling.. > > > ************************************************************** > include <bosl2/std.scad>; > include <bosl2/nurbs.scad>; > pts = [[13,43],[30,52],[49,22],[24,3],[40,-30]]; > debug_nurbs(pts,2); > !!!!rotate_extrude(angle=360, convexity=2); > npts = nurbs_curve(pts, 2, splinesteps=3); > color("red")move_copies(npts) circle(r=1); > ************************************************************** > > Can I do anything to move the created curve -via rotating- into a volume? > > yours Karl > > > > Am 06.11.24 um 11:34 schrieb Guenther Sohler via Discuss: > > what's best practice to use NURBS patches in your design ? > To get a water-tight model, you need to exactly attach to the points of > the patch. > A Loft between a circle and the patch is viable ? > > > On Wed, Nov 6, 2024 at 10:49 AM Peter Kriens via Discuss < > discuss@lists.openscad.org> wrote: > >> You can always download a ZIP from Github repository: >> >> >> [image: PastedGraphic-1.png] >> >> >> You can also use Git sub module. This works very well and has lots of >> nice features but requires the use of Git. I can show you how to do this if >> that is of interest. >> >> >> >> On 6 Nov 2024, at 10:42, Karl Exler via Discuss < >> discuss@lists.openscad.org> wrote: >> >> Dear all, >> >> I just downloaded nurbes.scad an added it to my "bosl-dir"... neverthess >> I receive alot of error messages. Is there a place where I always can find >> the complete set of BOSL2 library? (e.g. as zip-file??) >> Many thanks >> Karl >> Am 06.11.24 um 08:55 schrieb John David via Discuss: >> >> @Adrian Mariano <avm4@cornell.edu> >> , nice! I guess it depends on how deep you want to get into NURBS. It >> can be used as a basis for just about all curves and surfaces (including >> circles, and helices). Not sure what it will add to OpenSCAD, but I will >> definitely have to check it out. >> >> EBo -- >> >> On Tue, Nov 5, 2024 at 11:02 PM Adrian Mariano via Discuss < >> discuss@lists.openscad.org> wrote: >> >>> I've added NURBS to BOSL2 for those interested in this sort of thing. >>> I'm not really sure about what amazing possibilities this opens up, but >>> something, I guess? >>> >>> https://github.com/BelfrySCAD/BOSL2/wiki/nurbs.scad >>> _______________________________________________ >>> 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 > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >