discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] linear extrude and translate the end of the extrusion

M
MichaelAtOz
Tue, Dec 1, 2015 8:26 PM

Don't think so.

Use hull() instead.

hull() {
cube([10,10,0.00001]);
translate([15,0,15])
cube([10,10,0.00001]);
}


Newly minted Admin - PM me if you need anything, or if I've done something stupid...

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. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/linear-extrude-and-translate-the-end-of-the-extrusion-tp14869p14880.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Don't think so. Use hull() instead. > hull() { > cube([10,10,0.00001]); > translate([15,0,15]) > cube([10,10,0.00001]); > } ----- Newly minted Admin - PM me if you need anything, or if I've done something stupid... 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. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/linear-extrude-and-translate-the-end-of-the-extrusion-tp14869p14880.html Sent from the OpenSCAD mailing list archive at Nabble.com.
K
K.C.C.
Fri, Dec 4, 2015 3:28 AM

Very interesting!
Try
$fn = 100 ;
hull() {
cylinder([10,10,0.00001]);
translate([15,0,15])
cube([10,10,0.00001]);
}

Then try!

$fn = 100 ;
hull() {
cylinder([10,10,0.00001]);
translate([15,0,15])
cylinder([10,10,0.00001]);
}

--
View this message in context: http://forum.openscad.org/linear-extrude-and-translate-the-end-of-the-extrusion-tp14869p14932.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Very interesting! Try $fn = 100 ; hull() { cylinder([10,10,0.00001]); translate([15,0,15]) cube([10,10,0.00001]); } Then try! $fn = 100 ; hull() { cylinder([10,10,0.00001]); translate([15,0,15]) cylinder([10,10,0.00001]); } -- View this message in context: http://forum.openscad.org/linear-extrude-and-translate-the-end-of-the-extrusion-tp14869p14932.html Sent from the OpenSCAD mailing list archive at Nabble.com.
NH
nop head
Fri, Dec 4, 2015 1:23 PM

cylinder doesn't accept a vector argument, it is ignored, so you just get a
unit cylinder, the same as with cylinder();

On 4 December 2015 at 03:28, K.C.C. karson_c_2000@yahoo.com wrote:

Very interesting!
Try
$fn = 100 ;
hull() {
cylinder([10,10,0.00001]);
translate([15,0,15])
cube([10,10,0.00001]);
}

Then try!

$fn = 100 ;
hull() {
cylinder([10,10,0.00001]);
translate([15,0,15])
cylinder([10,10,0.00001]);
}

--
View this message in context:
http://forum.openscad.org/linear-extrude-and-translate-the-end-of-the-extrusion-tp14869p14932.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

cylinder doesn't accept a vector argument, it is ignored, so you just get a unit cylinder, the same as with cylinder(); On 4 December 2015 at 03:28, K.C.C. <karson_c_2000@yahoo.com> wrote: > Very interesting! > Try > $fn = 100 ; > hull() { > cylinder([10,10,0.00001]); > translate([15,0,15]) > cube([10,10,0.00001]); > } > > Then try! > > $fn = 100 ; > hull() { > cylinder([10,10,0.00001]); > translate([15,0,15]) > cylinder([10,10,0.00001]); > } > > > > -- > View this message in context: > http://forum.openscad.org/linear-extrude-and-translate-the-end-of-the-extrusion-tp14869p14932.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 >