discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Generating dovetails

SB
Siggi Bjarnason
Thu, Aug 22, 2024 9:50 PM

I'm trying to cut my design to fit it on my printer. I found this library: https://github.com/hugokernel/OpenSCAD_Dovetail, but I'm finding that I'm going to need some documentation. The sample code isn't really all that helpful to me. I think I've figured out most of my questions through experimentation but if anyone has a lead on some actual documentation that would be great.

My remaining question is whether cutting along the Y-axis instead of along the X-axis is possible.

Alternatively if there is a better module out there, that is better documented I would love to hear about it.

Here are the dimensions I'm using:
Cube_dimension = [30, 50, 10];
cut_pos=[15,25,5];
intersection() {
cube(size=Cube_dimension, center=false);
cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, male=true);
}

I'm trying to cut my design to fit it on my printer. I found this library: https://github.com/hugokernel/OpenSCAD_Dovetail, but I'm finding that I'm going to need some documentation. The sample code isn't really all that helpful to me. I think I've figured out most of my questions through experimentation but if anyone has a lead on some actual documentation that would be great. My remaining question is whether cutting along the Y-axis instead of along the X-axis is possible. Alternatively if there is a better module out there, that is better documented I would love to hear about it. Here are the dimensions I'm using: Cube_dimension = [30, 50, 10]; cut_pos=[15,25,5]; intersection() { cube(size=Cube_dimension, center=false); cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, male=true); }
AM
Adrian Mariano
Fri, Aug 23, 2024 12:47 AM

Maybe try this instead since it's documented?

https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces

On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss <
discuss@lists.openscad.org> wrote:

I'm trying to cut my design to fit it on my printer. I found this
library: https://github.com/hugokernel/OpenSCAD_Dovetail,
https://github.com/hugokernel/OpenSCAD_Dovetail but I'm finding that
I'm going to need some documentation. The sample code isn't really all
that helpful to me. I think I've figured out most of my questions through
experimentation but if anyone has a lead on some actual documentation that
would be great.

My remaining question is whether cutting along the Y-axis instead of along
the X-axis is possible.

Alternatively if there is a better module out there, that is better
documented I would love to hear about it.

Here are the dimensions I'm using:
Cube_dimension = [30, 50, 10];
cut_pos=[15,25,5];
intersection() {
cube(size=Cube_dimension, center=false);
cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth,
male=true);
}


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

Maybe try this instead since it's documented? https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss < discuss@lists.openscad.org> wrote: > I'm trying to cut my design to fit it on my printer. I found this > library: https://github.com/hugokernel/OpenSCAD_Dovetail, > <https://github.com/hugokernel/OpenSCAD_Dovetail> but I'm finding that > I'm going to need some documentation. The sample code isn't really all > that helpful to me. I think I've figured out most of my questions through > experimentation but if anyone has a lead on some actual documentation that > would be great. > > My remaining question is whether cutting along the Y-axis instead of along > the X-axis is possible. > > Alternatively if there is a better module out there, that is better > documented I would love to hear about it. > > Here are the dimensions I'm using: > Cube_dimension = [30, 50, 10]; > cut_pos=[15,25,5]; > intersection() { > cube(size=Cube_dimension, center=false); > cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, > male=true); > } > > > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
JB
Jon Bondy
Fri, Aug 23, 2024 1:19 AM

PrusaSlicer will cut a model into two pieces and add dovetails upon request.

On 8/22/2024 8:47 PM, Adrian Mariano via Discuss wrote:

Maybe try this instead since it's documented?

https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces

On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss
discuss@lists.openscad.org wrote:

 I'm trying to cut my design to fit it on my printer. I found this
 library: https://github.com/hugokernel/OpenSCAD_Dovetail,
 <https://github.com/hugokernel/OpenSCAD_Dovetail> but I'm finding
 that I'm going to need some documentation. The sample code isn't
 really all that helpful to me. I think I've figured out most of my
 questions through experimentation but if anyone has a lead on some
 actual documentation that would be great.

 My remaining question is whether cutting along the Y-axis instead
 of along the X-axis is possible.

 Alternatively if there is a better module out there, that is
 better documented I would love to hear about it.

 Here are the dimensions I'm using:
 Cube_dimension = [30, 50, 10];
 cut_pos=[15,25,5];
 intersection() {
     cube(size=Cube_dimension, center=false);
     cutter(position=cut_pos, dimension=Cube_dimension,
 teeths=teeth, male=true);
 }





 _______________________________________________
 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

PrusaSlicer will cut a model into two pieces and add dovetails upon request. On 8/22/2024 8:47 PM, Adrian Mariano via Discuss wrote: > Maybe try this instead since it's documented? > > https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces > > On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss > <discuss@lists.openscad.org> wrote: > > I'm trying to cut my design to fit it on my printer. I found this > library: https://github.com/hugokernel/OpenSCAD_Dovetail, > <https://github.com/hugokernel/OpenSCAD_Dovetail> but I'm finding > that I'm going to need some documentation. The sample code isn't > really all that helpful to me. I think I've figured out most of my > questions through experimentation but if anyone has a lead on some > actual documentation that would be great. > > My remaining question is whether cutting along the Y-axis instead > of along the X-axis is possible. > > Alternatively if there is a better module out there, that is > better documented I would love to hear about it. > > Here are the dimensions I'm using: > Cube_dimension = [30, 50, 10]; > cut_pos=[15,25,5]; > intersection() { >     cube(size=Cube_dimension, center=false); >     cutter(position=cut_pos, dimension=Cube_dimension, > teeths=teeth, male=true); > } > > > > > > _______________________________________________ > 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
SB
Siggi Bjarnason
Fri, Aug 23, 2024 7:41 AM

Thanks I'll try that.

Siggi Bjarnason (he/him)
BSides Security Steering Committee (bsides.org)
https://supergeek.us
https://www.linkedin.com/in/siggib
https://twitter.com/siggib007

----- Original message -----
From: Adrian Mariano via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Cc: Adrian Mariano avm4@cornell.edu
Subject: [OpenSCAD] Re: Generating dovetails
Date: Friday, August 23, 2024 00:47

Maybe try this instead since it's documented?

https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces

On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss discuss@lists.openscad.org wrote:

__
I'm trying to cut my design to fit it on my printer. I found this library: https://github.com/hugokernel/OpenSCAD_Dovetail, but I'm finding that I'm going to need some documentation. The sample code isn't really all that helpful to me. I think I've figured out most of my questions through experimentation but if anyone has a lead on some actual documentation that would be great.

My remaining question is whether cutting along the Y-axis instead of along the X-axis is possible.

Alternatively if there is a better module out there, that is better documented I would love to hear about it.

Here are the dimensions I'm using:
Cube_dimension = [30, 50, 10];
cut_pos=[15,25,5];
intersection() {
cube(size=Cube_dimension, center=false);
cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, male=true);
}


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

Thanks I'll try that. Siggi Bjarnason (he/him) BSides Security Steering Committee (bsides.org) https://supergeek.us https://www.linkedin.com/in/siggib https://twitter.com/siggib007 ----- Original message ----- From: Adrian Mariano via Discuss <discuss@lists.openscad.org> To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org> Cc: Adrian Mariano <avm4@cornell.edu> Subject: [OpenSCAD] Re: Generating dovetails Date: Friday, August 23, 2024 00:47 Maybe try this instead since it's documented? https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss <discuss@lists.openscad.org> wrote: > __ > I'm trying to cut my design to fit it on my printer. I found this library: https://github.com/hugokernel/OpenSCAD_Dovetail, but I'm finding that I'm going to need some documentation. The sample code isn't really all that helpful to me. I think I've figured out most of my questions through experimentation but if anyone has a lead on some actual documentation that would be great. > > My remaining question is whether cutting along the Y-axis instead of along the X-axis is possible. > > Alternatively if there is a better module out there, that is better documented I would love to hear about it. > > Here are the dimensions I'm using: > Cube_dimension = [30, 50, 10]; > cut_pos=[15,25,5]; > intersection() { > cube(size=Cube_dimension, center=false); > cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, male=true); > } > > > > > > _______________________________________________ > 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
SB
Siggi Bjarnason
Fri, Aug 23, 2024 7:43 AM

Yeah I tried that first but I can't get it to do what I want and their documentation isn't very good either. It only seems to cut across the Z axis.

Siggi Bjarnason (he/him)
BSides Security Steering Committee (bsides.org)
https://supergeek.us
https://www.linkedin.com/in/siggib
https://twitter.com/siggib007

----- Original message -----
From: Jon Bondy via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Cc: Jon Bondy jon@jonbondy.com
Subject: [OpenSCAD] Re: Generating dovetails
Date: Friday, August 23, 2024 01:19

PrusaSlicer will cut a model into two pieces and add dovetails upon request.

On 8/22/2024 8:47 PM, Adrian Mariano via Discuss wrote:

Maybe try this instead since it's documented?

https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces

On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss discuss@lists.openscad.org wrote:

I'm trying to cut my design to fit it on my printer. I found this library: https://github.com/hugokernel/OpenSCAD_Dovetail, but I'm finding that I'm going to need some documentation. The sample code isn't really all that helpful to me. I think I've figured out most of my questions through experimentation but if anyone has a lead on some actual documentation that would be great.

My remaining question is whether cutting along the Y-axis instead of along the X-axis is possible.

Alternatively if there is a better module out there, that is better documented I would love to hear about it.

Here are the dimensions I'm using:
Cube_dimension = [30, 50, 10];
cut_pos=[15,25,5];
intersection() {
cube(size=Cube_dimension, center=false);
cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, male=true);
}


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

Yeah I tried that first but I can't get it to do what I want and their documentation isn't very good either. It only seems to cut across the Z axis. Siggi Bjarnason (he/him) BSides Security Steering Committee (bsides.org) https://supergeek.us https://www.linkedin.com/in/siggib https://twitter.com/siggib007 ----- Original message ----- From: Jon Bondy via Discuss <discuss@lists.openscad.org> To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org> Cc: Jon Bondy <jon@jonbondy.com> Subject: [OpenSCAD] Re: Generating dovetails Date: Friday, August 23, 2024 01:19 PrusaSlicer will cut a model into two pieces and add dovetails upon request. On 8/22/2024 8:47 PM, Adrian Mariano via Discuss wrote: > Maybe try this instead since it's documented? > > https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces > > On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss <discuss@lists.openscad.org> wrote: >> I'm trying to cut my design to fit it on my printer. I found this library: https://github.com/hugokernel/OpenSCAD_Dovetail, but I'm finding that I'm going to need some documentation. The sample code isn't really all that helpful to me. I think I've figured out most of my questions through experimentation but if anyone has a lead on some actual documentation that would be great. >> >> My remaining question is whether cutting along the Y-axis instead of along the X-axis is possible. >> >> Alternatively if there is a better module out there, that is better documented I would love to hear about it. >> >> Here are the dimensions I'm using: >> Cube_dimension = [30, 50, 10]; >> cut_pos=[15,25,5]; >> intersection() { >> cube(size=Cube_dimension, center=false); >> cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, male=true); >> } >> >> >> >> >> >> _______________________________________________ >> 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 > <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> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org
RW
Raymond West
Fri, Aug 23, 2024 10:33 AM

easy enough to do it in basic openscad, using difference. (Make a cube
with whatever dovetail profile you want, maybe two, if printer
tolerances are off)

On 23/08/2024 11:20, Rouzic22 via Discuss wrote:

Hello,

In Cura plugin banana split can help
https://marketplace.ultimaker.com/app/cura/plugins/jarrrgh/BananaSplit
for horizontal cut


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

easy enough to do it in basic openscad, using difference. (Make a cube with whatever dovetail profile you want, maybe two, if printer tolerances are off) On 23/08/2024 11:20, Rouzic22 via Discuss wrote: > > Hello, > > In Cura plugin banana split can help > https://marketplace.ultimaker.com/app/cura/plugins/jarrrgh/BananaSplit > for horizontal cut > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JJ
jon jonbondy.com
Fri, Aug 23, 2024 10:45 AM

Play around with the PrusaSlicer cut feature a little bit.  Hold Shift down and draw a vertical line.  Then hover over the resulting plane and some handles will appear.  You can rotate it and shift it around.  Undocumented and quirky, yes, but I think you could make it do cuts in any of the 3 standard planes.

You can, of course, rotate the part and then cut it in the X/Y plane without all of the above.

On 8/23/2024 3:43 AM, Siggi Bjarnason wrote:
Yeah I tried that first but I can't get it to do what I want and their documentation isn't very good either. It only seems to cut across the Z axis.

Siggi Bjarnason (he/him)
BSides Security Steering Committee (bsides.org)
https://supergeek.us
https://www.linkedin.com/in/siggib
https://twitter.com/siggib007

----- Original message -----
From: Jon Bondy via Discuss <discuss@lists.openscad.orgmailto:discuss@lists.openscad.org>
To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.orgmailto:discuss@lists.openscad.org>
Cc: Jon Bondy <jon@jonbondy.commailto:jon@jonbondy.com>
Subject: [OpenSCAD] Re: Generating dovetails
Date: Friday, August 23, 2024 01:19

PrusaSlicer will cut a model into two pieces and add dovetails upon request.

Play around with the PrusaSlicer cut feature a little bit. Hold Shift down and draw a vertical line. Then hover over the resulting plane and some handles will appear. You can rotate it and shift it around. Undocumented and quirky, yes, but I think you could make it do cuts in any of the 3 standard planes. You can, of course, rotate the part and then cut it in the X/Y plane without all of the above. On 8/23/2024 3:43 AM, Siggi Bjarnason wrote: Yeah I tried that first but I can't get it to do what I want and their documentation isn't very good either. It only seems to cut across the Z axis. Siggi Bjarnason (he/him) BSides Security Steering Committee (bsides.org) https://supergeek.us https://www.linkedin.com/in/siggib https://twitter.com/siggib007 ----- Original message ----- From: Jon Bondy via Discuss <discuss@lists.openscad.org<mailto:discuss@lists.openscad.org>> To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org<mailto:discuss@lists.openscad.org>> Cc: Jon Bondy <jon@jonbondy.com<mailto:jon@jonbondy.com>> Subject: [OpenSCAD] Re: Generating dovetails Date: Friday, August 23, 2024 01:19 PrusaSlicer will cut a model into two pieces and add dovetails upon request.
BC
Bob Carlson
Fri, Aug 23, 2024 10:26 PM

Interesting. I’ve used BOSL2s dovetails several times very successfully. When partition uses a dovetail cut, are the dovetails graduated so the parts lock together? That’s how I have used dovetails.

-Bob

On Aug 22, 2024, at 17:47, Adrian Mariano via Discuss discuss@lists.openscad.org wrote:

Maybe try this instead since it's documented?

https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces

On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss <discuss@lists.openscad.org mailto:discuss@lists.openscad.org> wrote:

I'm trying to cut my design to fit it on my printer. I found this library: https://github.com/hugokernel/OpenSCAD_Dovetail, https://github.com/hugokernel/OpenSCAD_Dovetail but I'm finding that I'm going to need some documentation. The sample code isn't really all that helpful to me. I think I've figured out most of my questions through experimentation but if anyone has a lead on some actual documentation that would be great.

My remaining question is whether cutting along the Y-axis instead of along the X-axis is possible.

Alternatively if there is a better module out there, that is better documented I would love to hear about it.

Here are the dimensions I'm using:
Cube_dimension = [30, 50, 10];
cut_pos=[15,25,5];
intersection() {
cube(size=Cube_dimension, center=false);
cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, male=true);
}


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

Interesting. I’ve used BOSL2s dovetails several times very successfully. When partition uses a dovetail cut, are the dovetails graduated so the parts lock together? That’s how I have used dovetails. -Bob > On Aug 22, 2024, at 17:47, Adrian Mariano via Discuss <discuss@lists.openscad.org> wrote: > > Maybe try this instead since it's documented? > > https://github.com/BelfrySCAD/BOSL2/wiki/partitions.scad#section-partioning-into-interlocking-pieces > > On Thu, Aug 22, 2024 at 8:44 PM Siggi Bjarnason via Discuss <discuss@lists.openscad.org <mailto:discuss@lists.openscad.org>> wrote: >> I'm trying to cut my design to fit it on my printer. I found this library: https://github.com/hugokernel/OpenSCAD_Dovetail, <https://github.com/hugokernel/OpenSCAD_Dovetail> but I'm finding that I'm going to need some documentation. The sample code isn't really all that helpful to me. I think I've figured out most of my questions through experimentation but if anyone has a lead on some actual documentation that would be great. >> >> My remaining question is whether cutting along the Y-axis instead of along the X-axis is possible. >> >> Alternatively if there is a better module out there, that is better documented I would love to hear about it. >> >> Here are the dimensions I'm using: >> Cube_dimension = [30, 50, 10]; >> cut_pos=[15,25,5]; >> intersection() { >> cube(size=Cube_dimension, center=false); >> cutter(position=cut_pos, dimension=Cube_dimension, teeths=teeth, male=true); >> } >> >> >> >> >> >> _______________________________________________ >> 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