discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Wrapping around a cylinder

JW
Joe Weinpert
Tue, May 3, 2022 10:42 PM

Which commands would I use to take an object and wrap it around a cylinder?

Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I
want to wrap it around a cylinder, or shape it into a cylinder end-to-end.

Which commands would I use to take an object and wrap it around a cylinder? Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I want to wrap it around a cylinder, or shape it into a cylinder end-to-end.
FH
Father Horton
Wed, May 4, 2022 2:19 AM

Is there something engraved on this plate? Otherwise I'm not seeing the
probem.

On Tue, May 3, 2022 at 5:43 PM Joe Weinpert joe.weinpert@gmail.com wrote:

Which commands would I use to take an object and wrap it around a cylinder?

Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I
want to wrap it around a cylinder, or shape it into a cylinder end-to-end.


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

Is there something engraved on this plate? Otherwise I'm not seeing the probem. On Tue, May 3, 2022 at 5:43 PM Joe Weinpert <joe.weinpert@gmail.com> wrote: > Which commands would I use to take an object and wrap it around a cylinder? > > Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I > want to wrap it around a cylinder, or shape it into a cylinder end-to-end. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
JW
Joe Weinpert
Wed, May 4, 2022 2:33 AM

There are instances where a pattern can be on a rectangular plate.  It
would be nice to be able to wrap that pattern around a cylinder.

On Tue, May 3, 2022, 10:20 PM Father Horton fatherhorton@gmail.com wrote:

Is there something engraved on this plate? Otherwise I'm not seeing the
probem.

On Tue, May 3, 2022 at 5:43 PM Joe Weinpert joe.weinpert@gmail.com
wrote:

Which commands would I use to take an object and wrap it around a
cylinder?

Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I
want to wrap it around a cylinder, or shape it into a cylinder end-to-end.


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

There are instances where a pattern can be on a rectangular plate. It would be nice to be able to wrap that pattern around a cylinder. On Tue, May 3, 2022, 10:20 PM Father Horton <fatherhorton@gmail.com> wrote: > Is there something engraved on this plate? Otherwise I'm not seeing the > probem. > > On Tue, May 3, 2022 at 5:43 PM Joe Weinpert <joe.weinpert@gmail.com> > wrote: > >> Which commands would I use to take an object and wrap it around a >> cylinder? >> >> Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I >> want to wrap it around a cylinder, or shape it into a cylinder end-to-end. >> >> _______________________________________________ >> 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 >
FH
Father Horton
Wed, May 4, 2022 2:40 AM

Yes, it would. I've tried, but I never got it to work very well. Basically,
you have to slice the plate into tiny vertical columns and rotate them
around the cylinder. If someone has a better way, I'd love to see it.

On Tue, May 3, 2022 at 9:34 PM Joe Weinpert joe.weinpert@gmail.com wrote:

There are instances where a pattern can be on a rectangular plate.  It
would be nice to be able to wrap that pattern around a cylinder.

On Tue, May 3, 2022, 10:20 PM Father Horton fatherhorton@gmail.com
wrote:

Is there something engraved on this plate? Otherwise I'm not seeing the
probem.

On Tue, May 3, 2022 at 5:43 PM Joe Weinpert joe.weinpert@gmail.com
wrote:

Which commands would I use to take an object and wrap it around a
cylinder?

Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I
want to wrap it around a cylinder, or shape it into a cylinder end-to-end.


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

Yes, it would. I've tried, but I never got it to work very well. Basically, you have to slice the plate into tiny vertical columns and rotate them around the cylinder. If someone has a better way, I'd love to see it. On Tue, May 3, 2022 at 9:34 PM Joe Weinpert <joe.weinpert@gmail.com> wrote: > There are instances where a pattern can be on a rectangular plate. It > would be nice to be able to wrap that pattern around a cylinder. > > On Tue, May 3, 2022, 10:20 PM Father Horton <fatherhorton@gmail.com> > wrote: > >> Is there something engraved on this plate? Otherwise I'm not seeing the >> probem. >> >> On Tue, May 3, 2022 at 5:43 PM Joe Weinpert <joe.weinpert@gmail.com> >> wrote: >> >>> Which commands would I use to take an object and wrap it around a >>> cylinder? >>> >>> Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I >>> want to wrap it around a cylinder, or shape it into a cylinder end-to-end. >>> >>> _______________________________________________ >>> 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 >
AM
Adrian Mariano
Wed, May 4, 2022 2:53 AM

There is a BOSL2 command,

https://github.com/revarbat/BOSL2/wiki/vnf.scad#function-vnf_bend

that can bend a polyhedron (a vertices and faces list) around a
cylinder.  But it can't work on geometry.  It's pretty difficult to do
something like that to geometry.

On Tue, May 3, 2022 at 10:34 PM Joe Weinpert joe.weinpert@gmail.com wrote:

There are instances where a pattern can be on a rectangular plate.  It would be nice to be able to wrap that pattern around a cylinder.

On Tue, May 3, 2022, 10:20 PM Father Horton fatherhorton@gmail.com wrote:

Is there something engraved on this plate? Otherwise I'm not seeing the probem.

On Tue, May 3, 2022 at 5:43 PM Joe Weinpert joe.weinpert@gmail.com wrote:

Which commands would I use to take an object and wrap it around a cylinder?

Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I want to wrap it around a cylinder, or shape it into a cylinder end-to-end.


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

There is a BOSL2 command, https://github.com/revarbat/BOSL2/wiki/vnf.scad#function-vnf_bend that can bend a polyhedron (a vertices and faces list) around a cylinder. But it can't work on geometry. It's pretty difficult to do something like that to geometry. On Tue, May 3, 2022 at 10:34 PM Joe Weinpert <joe.weinpert@gmail.com> wrote: > > There are instances where a pattern can be on a rectangular plate. It would be nice to be able to wrap that pattern around a cylinder. > > On Tue, May 3, 2022, 10:20 PM Father Horton <fatherhorton@gmail.com> wrote: >> >> Is there something engraved on this plate? Otherwise I'm not seeing the probem. >> >> On Tue, May 3, 2022 at 5:43 PM Joe Weinpert <joe.weinpert@gmail.com> wrote: >>> >>> Which commands would I use to take an object and wrap it around a cylinder? >>> >>> Say I have something simple like a 3 x 16 x 1/4 rectangular plate and I want to wrap it around a cylinder, or shape it into a cylinder end-to-end. >>> >>> _______________________________________________ >>> 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
JW
Joe Weinpert
Wed, May 4, 2022 3:14 AM

I just found a function in the BOSL2 library named cylindrical_extrude().
Been working with it.  It is just what I needed.  It also has some
brother and sister functions that do similar things.

On Tue, May 3, 2022 at 10:53 PM Adrian Mariano avm4@cornell.edu wrote:

There is a BOSL2 command,

https://github.com/revarbat/BOSL2/wiki/vnf.scad#function-vnf_bend

that can bend a polyhedron (a vertices and faces list) around a
cylinder.  But it can't work on geometry.  It's pretty difficult to do
something like that to geometry.

On Tue, May 3, 2022 at 10:34 PM Joe Weinpert joe.weinpert@gmail.com
wrote:

There are instances where a pattern can be on a rectangular plate.  It

would be nice to be able to wrap that pattern around a cylinder.

On Tue, May 3, 2022, 10:20 PM Father Horton fatherhorton@gmail.com

wrote:

Is there something engraved on this plate? Otherwise I'm not seeing the

probem.

On Tue, May 3, 2022 at 5:43 PM Joe Weinpert joe.weinpert@gmail.com

wrote:

Which commands would I use to take an object and wrap it around a

cylinder?

Say I have something simple like a 3 x 16 x 1/4 rectangular plate and

I want to wrap it around a cylinder, or shape it into a cylinder end-to-end.


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 just found a function in the BOSL2 library named *cylindrical_extrude()*. Been working with it. It is just what I needed. It also has some brother and sister functions that do similar things. On Tue, May 3, 2022 at 10:53 PM Adrian Mariano <avm4@cornell.edu> wrote: > There is a BOSL2 command, > > https://github.com/revarbat/BOSL2/wiki/vnf.scad#function-vnf_bend > > that can bend a polyhedron (a vertices and faces list) around a > cylinder. But it can't work on geometry. It's pretty difficult to do > something like that to geometry. > > On Tue, May 3, 2022 at 10:34 PM Joe Weinpert <joe.weinpert@gmail.com> > wrote: > > > > There are instances where a pattern can be on a rectangular plate. It > would be nice to be able to wrap that pattern around a cylinder. > > > > On Tue, May 3, 2022, 10:20 PM Father Horton <fatherhorton@gmail.com> > wrote: > >> > >> Is there something engraved on this plate? Otherwise I'm not seeing the > probem. > >> > >> On Tue, May 3, 2022 at 5:43 PM Joe Weinpert <joe.weinpert@gmail.com> > wrote: > >>> > >>> Which commands would I use to take an object and wrap it around a > cylinder? > >>> > >>> Say I have something simple like a 3 x 16 x 1/4 rectangular plate and > I want to wrap it around a cylinder, or shape it into a cylinder end-to-end. > >>> > >>> _______________________________________________ > >>> 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 >