That didn't clarify anything, since you just repeated what went before.
What would clarify would be diagram of desired result and maybe diagram of
wrong result. It crossed my mind that if you only have the fold axis and
not the fold axis plus plane then you wouldn't be able to use my approach,
but it seems like you must have at least one more piece of information.
What information do you have on hand when doing a fold?
On Sat, Oct 1, 2022 at 1:39 PM Andy Little via Discuss <
discuss@lists.openscad.org> wrote:
---------- Forwarded message ----------
From: Andy Little kwikius@yahoo.com
To: OpenSCAD general discussion discuss@lists.openscad.org
Cc:
Bcc:
Date: Sat, 1 Oct 2022 17:38:45 +0000 (UTC)
Subject: [OpenSCAD] Re: OpenSCAD sheet metal origami?
On Saturday, 1 October 2022 at 18:17:28 BST, Kevin Toppenberg <
kdtop3@gmail.com> wrote:
See below
On Sat, Oct 1, 2022 at 10:15 AM Andy Little via Discuss <
discuss@lists.openscad.org> wrote:
---------- Forwarded message ----------
From: Andy Little kwikius@yahoo.com
To: OpenSCAD general discussion discuss@lists.openscad.org
Cc:
Bcc:
Date: Sat, 1 Oct 2022 14:14:20 +0000 (UTC)
Subject: [OpenSCAD] Re: OpenSCAD sheet metal origami?
Basically translate and rotate your sheet so that the fold line lies
along the x axis.
Subtract one side of the sheet and then rotate what is left around the x
axis
Now put the bit you subtracted back and rotate and translate your sheet
back to where it was.
Bassically it's a sheet bending machine :)
This is the same technique that I used. But I was hoping there was a
better way then what I did. My solution won't work if a part of the work
arches over the fold line.
Imagine a situation like the figure below (in 2D). I am using a "^" to
show the fold line, and imagine I want to fold at the arrow by 45 degrees,
which would make the left side bend in, and C could be closer to segment AD
B+--------+C
| |
|
|
A+-----------------------D
^
| Fold point
The problem is that if I subtract the right side, then fold the left side,
and then restore the right, segment BC would be disconnected.
Ideally, segment ABC would all belong to the "left" side and be folded
together. But how to do that?
Kevin
Hi again, (Apologies for not pruning previous messages! Hopefully this one
will be better) I haven't thought it through but maybe as the mask you
could use a very slightly scaled up version of the part you previously
folded. But as I say... not really thought it through that well !
---------- Forwarded message ----------
From: Andy Little via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion discuss@lists.openscad.org
Cc: Andy Little kwikius@yahoo.com
Bcc:
Date: Sat, 1 Oct 2022 17:38:45 +0000 (UTC)
Subject: [OpenSCAD] Re: OpenSCAD sheet metal origami?
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
That didn't clarify anything, since you just repeated what went before.
What would clarify would be diagram of desired result and maybe diagram of
wrong result. It crossed my mind that if you only have the fold axis and
not the fold axis plus plane then you wouldn't be able to use my approach,
but it seems like you must have at least one more piece of information.
What information do you have on hand when doing a fold?
On Sat, Oct 1, 2022 at 1:39 PM Andy Little via Discuss <
discuss@lists.openscad.org> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: Andy Little <kwikius@yahoo.com>
> To: OpenSCAD general discussion <discuss@lists.openscad.org>
> Cc:
> Bcc:
> Date: Sat, 1 Oct 2022 17:38:45 +0000 (UTC)
> Subject: [OpenSCAD] Re: OpenSCAD sheet metal origami?
>
>
> On Saturday, 1 October 2022 at 18:17:28 BST, Kevin Toppenberg <
> kdtop3@gmail.com> wrote:
>
>
> See below
>
> On Sat, Oct 1, 2022 at 10:15 AM Andy Little via Discuss <
> discuss@lists.openscad.org> wrote:
>
>
>
>
> ---------- Forwarded message ----------
> From: Andy Little <kwikius@yahoo.com>
> To: OpenSCAD general discussion <discuss@lists.openscad.org>
> Cc:
> Bcc:
> Date: Sat, 1 Oct 2022 14:14:20 +0000 (UTC)
> Subject: [OpenSCAD] Re: OpenSCAD sheet metal origami?
> Basically translate and rotate your sheet so that the fold line lies
> along the x axis.
> Subtract one side of the sheet and then rotate what is left around the x
> axis
> Now put the bit you subtracted back and rotate and translate your sheet
> back to where it was.
> Bassically it's a sheet bending machine :)
>
>
> This is the same technique that I used. But I was hoping there was a
> better way then what I did. My solution won't work if a part of the work
> arches over the fold line.
> Imagine a situation like the figure below (in 2D). I am using a "^" to
> show the fold line, and imagine I want to fold at the arrow by 45 degrees,
> which would make the left side bend in, and C could be closer to segment AD
>
> B+--------+C
> | |
> |
> |
> A+-----------------------D
> ^
> | Fold point
>
> The problem is that if I subtract the right side, then fold the left side,
> and then restore the right, segment BC would be disconnected.
>
> Ideally, segment ABC would all belong to the "left" side and be folded
> together. But how to do that?
>
> Kevin
>
>
> Hi again, (Apologies for not pruning previous messages! Hopefully this one
> will be better) I haven't thought it through but maybe as the mask you
> could use a very slightly scaled up version of the part you previously
> folded. But as I say... not really thought it through that well !
>
>
>
>
> ---------- Forwarded message ----------
> From: Andy Little via Discuss <discuss@lists.openscad.org>
> To: OpenSCAD general discussion <discuss@lists.openscad.org>
> Cc: Andy Little <kwikius@yahoo.com>
> Bcc:
> Date: Sat, 1 Oct 2022 17:38:45 +0000 (UTC)
> Subject: [OpenSCAD] Re: OpenSCAD sheet metal origami?
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>