Hi,
I'm currently helping a girls high school class to develop a bracelet
which is able to charge a battery by solar cells and give that energy to
a smartphone.
They asked me to do a 3d sketch to play with the design. Here is what I
have so far:
diameter=200;
width=40;
height=10;
roundness=4;
$fn=100;
color("DeepSkyBlue")
minkowski()
{
sphere(r=roundness);
hull()
{
cylinder(h=height / 2 - roundness, d=width / 2);
translate([diameter, 0, 0])
cylinder(h=height / 2 - roundness, d=width / 2);
translate([diameter * 1 / 4, 0, 0])
cylinder(h=height - roundness, d=width);
translate([diameter * 3 / 4, 0, 0])
cylinder(h=height - roundness, d=width);
}
}
I would like to have the lenght of the bracelet the exact value of
"diameter", as well as the middle part should not be greater than
"width" and "height". I did a few experiments by subtracting from these
values but it is not easy to get a exact result. What should I do?
Bonus question: Besides that the bracelet will be printed flat with
NinjaFlex to be bendable, I would like to have it already bended in the
preview. How can I do that?
Regards
Blog: http://bastard-fdb.blogspot.de/
Gallery: http://gallery.port23.de/v/bastard/
Wiki: http://wiki.port23.de/wiki/Benutzer:Bastard
Hi,
Stefan Krister schrieb am 06.05.2015 um 10:43:
I would like to have the lenght of the bracelet the exact value of
"diameter", as well as the middle part should not be greater than
"width" and "height".
a resize([length, width, height]) did it.
I would like to have it already bended in the
preview. How can I do that?
That was a challenge ...
Step by step in a for loop I sliced (via an intersection) the long
object and got many slices. Then I rotate each slice and transform it to
the right place along a circle.
At the end, I got this:
Regards
Blog: http://bastard-fdb.blogspot.de/
Gallery: http://gallery.port23.de/v/bastard/
Wiki: http://wiki.port23.de/wiki/Benutzer:Bastard
On 2015-05-07 09:30, Stefan Krister wrote:
Step by step in a for loop I sliced (via an intersection) the long
object and got many slices. Then I rotate each slice and transform it
to
the right place along a circle.
Not sure how that works and it sounds complicated. I admit the result
looks good, though....
I guess what would be really cool is to perform all modelling just like
you did in some other 3d parameter space, and then simply describe how
the 3d parameter space transforms into ordinary 3d cartesian space. In
this case the parameter space would be cylindrical...
Carsten Arnholm
Yes being able to curve 3D space would be useful.
On 7 May 2015 at 12:05, arnholm@arnholm.org wrote:
On 2015-05-07 09:30, Stefan Krister wrote:
Step by step in a for loop I sliced (via an intersection) the long
object and got many slices. Then I rotate each slice and transform it to
the right place along a circle.
Not sure how that works and it sounds complicated. I admit the result
looks good, though....
I guess what would be really cool is to perform all modelling just like
you did in some other 3d parameter space, and then simply describe how the
3d parameter space transforms into ordinary 3d cartesian space. In this
case the parameter space would be cylindrical...
Carsten Arnholm
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
nophead wrote
Yes being able to curve 3D space would be useful.
Strong I feel the force within you is...
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/minkowski-how-to-keep-exact-dimensions-tp12593p12608.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Of course being able to arbitrarily curve 4D space - time would be even
better. I believe if you get it right using negative energy you can travel
backwards in time.
On 7 May 2015 at 12:59, MichaelAtOz oz.at.michael@gmail.com wrote:
nophead wrote
Yes being able to curve 3D space would be useful.
Strong I feel the force within you is...
Unless specifically shown otherwise above, my contribution is in the
Public Domain; To the extent possible under law, I have waived all
copyright and related or neighbouring rights to this work. This work is
published globally via the internet. :) Inclusion of works of previous
authors is not included in the above.
View this message in context:
http://forum.openscad.org/minkowski-how-to-keep-exact-dimensions-tp12593p12608.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
On Thu, 7 May 2015 12:36:26 +0100
nop head nop.head@gmail.com wrote:
Yes being able to curve 3D space would be useful.
<grin/> +1
On 7 May 2015 at 12:05, arnholm@arnholm.org wrote:
On 2015-05-07 09:30, Stefan Krister wrote:
Step by step in a for loop I sliced (via an intersection) the long
object and got many slices. Then I rotate each slice and transform
it to the right place along a circle.
Not sure how that works and it sounds complicated. I admit the
result looks good, though....
I guess what would be really cool is to perform all modelling just
like you did in some other 3d parameter space, and then simply
describe how the 3d parameter space transforms into ordinary 3d
cartesian space. In this case the parameter space would be
cylindrical...
Carsten Arnholm
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
Why do your people ask if someone's ready right before you are going to
do something massively unwise? -- Delenn - "The War without End"
On 05/07/2015 12:30 AM, Stefan Krister wrote:
Step by step in a for loop I sliced (via an intersection) the long
object and got many slices. Then I rotate each slice and transform it to
the right place along a circle.
At the end, I got this:
gosh, that's beautiful! thank you for that!
yvette
Am 07.05.2015 um 18:05 schrieb Yvette S. Hirth, CCP, CDP:
At the end, I got this:
gosh, that's beautiful! thank you for that!
I wonder, no one want's the code I wrote ...
Regards
Blog: http://bastard-fdb.blogspot.de/
Gallery: http://gallery.port23.de/v/bastard/
Wiki: http://wiki.port23.de/wiki/Benutzer:Bastard