Hi there,
I'm a total beginner with OpenSCAD, and a novice regarding CAD.
I used to work with a pencil and a piece of paper, and it was during the
last century...
Anyway, I spent some time with onShape and produced this
https://github.com/gounthar/MerryKombo/blob/CAD/Box%20Base%20With%20Raspi%20Before%20Router%20Addition%20Drawing%201.pdf
.
I'd like to do the same kind of thing with OpenSCAD, so I started with a
small part of this design, the lens support.
Here is my source file:
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.scad
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.scad .
I should maybe have started with the center and used mirror(), but anyway,
it is what it is.
The problem I have is that I was expecting the pillars to be 3.6mm high, but
they're not, something around 2mm high (see there
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.png ).
I must have missed something essential with OpenSCAD, because it can't be a
bug, it has to be a huge misunderstanding on my side.
So... what did I do wrong?
Thanks in advance,
Bruno
--
Sent from: http://forum.openscad.org/
I think it is because you have centered the cylinder, so only half is below
the origin and the other half embedded in the block.
On Wed, 24 Jul 2019 at 13:21, gounthar gounthar@gmail.com wrote:
Hi there,
I'm a total beginner with OpenSCAD, and a novice regarding CAD.
I used to work with a pencil and a piece of paper, and it was during the
last century...
Anyway, I spent some time with onShape and produced this
<
https://github.com/gounthar/MerryKombo/blob/CAD/Box%20Base%20With%20Raspi%20Before%20Router%20Addition%20Drawing%201.pdf>
.
I'd like to do the same kind of thing with OpenSCAD, so I started with a
small part of this design, the lens support.
Here is my source file:
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.scad
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.scad .
I should maybe have started with the center and used mirror(), but anyway,
it is what it is.
The problem I have is that I was expecting the pillars to be 3.6mm high,
but
they're not, something around 2mm high (see there
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.png ).
I must have missed something essential with OpenSCAD, because it can't be a
bug, it has to be a huge misunderstanding on my side.
So... what did I do wrong?
Thanks in advance,
Bruno
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Thanks for the tip, I will change it and see what happens.
On Wed, Jul 24, 2019 at 2:41 PM nop head nop.head@gmail.com wrote:
I think it is because you have centered the cylinder, so only half is
below the origin and the other half embedded in the block.
On Wed, 24 Jul 2019 at 13:21, gounthar gounthar@gmail.com wrote:
Hi there,
I'm a total beginner with OpenSCAD, and a novice regarding CAD.
I used to work with a pencil and a piece of paper, and it was during the
last century...
Anyway, I spent some time with onShape and produced this
<
https://github.com/gounthar/MerryKombo/blob/CAD/Box%20Base%20With%20Raspi%20Before%20Router%20Addition%20Drawing%201.pdf>
.
I'd like to do the same kind of thing with OpenSCAD, so I started with a
small part of this design, the lens support.
Here is my source file:
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.scad
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.scad .
I should maybe have started with the center and used mirror(), but anyway,
it is what it is.
The problem I have is that I was expecting the pillars to be 3.6mm high,
but
they're not, something around 2mm high (see there
https://github.com/gounthar/MerryKombo/blob/CAD/camera-support.png ).
I must have missed something essential with OpenSCAD, because it can't be
a
bug, it has to be a huge misunderstanding on my side.
So... what did I do wrong?
Thanks in advance,
Bruno
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
Bruno Verachten
I changed the pillar module, and it now works:module pillar() {
difference() {
translate([PANEL_THICKNESS,HOLE_CENTER_TO_SIDE,HOLE_CENTER_TO_SIDE])
rotate(a=90, v=[0,1,0]) cylinder(h=PILLAR_HEIGHT,r=PILLAR_RADIUS,
center=false, $fn=200);
translate([PANEL_THICKNESS,HOLE_CENTER_TO_SIDE,HOLE_CENTER_TO_SIDE])
rotate(a=90, v=[0,1,0]) cylinder(h=PILLAR_HEIGHT + 0.1,r=HOLE_RADIUS,
center=false, $fn=200); }}
http://forum.openscad.org/file/t2607/Untitled.png
--
Sent from: http://forum.openscad.org/