discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Twisting imported 3D object

M
Mike1207
Wed, May 4, 2016 8:46 AM

Hello everyone,
I would like to twist an 3D object after importing it.
I am a new user. I have googled what I want to do and read the forum but
could not find any help on this. I might not know the correct keywords...
I have tried so far a script containing the following:
module myModule()
{
linear_extrude(height=10, twist=360)
import("myfile.stl");
}

It did not work...
Any help would be welcome.
Thanks a lot,
Cheers,
Mike

--
View this message in context: http://forum.openscad.org/Twisting-imported-3D-object-tp17287.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello everyone, I would like to twist an 3D object after importing it. I am a new user. I have googled what I want to do and read the forum but could not find any help on this. I might not know the correct keywords... I have tried so far a script containing the following: module myModule() { linear_extrude(height=10, twist=360) import("myfile.stl"); } It did not work... Any help would be welcome. Thanks a lot, Cheers, Mike -- View this message in context: http://forum.openscad.org/Twisting-imported-3D-object-tp17287.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Wed, May 4, 2016 1:45 PM

On May 4, 2016, at 04:46 AM, Mike1207 gilounet3@hotmail.com wrote:

module myModule()
{
linear_extrude(height=10, twist=360)
import("myfile.stl");
}

You can only twist 2D objects. Try importing a DXF file.
Alternatively, you can squash your 3D object:  linear_extrude(height=10, twist=360) projection() import("myfile.stl");

-Marius

> On May 4, 2016, at 04:46 AM, Mike1207 <gilounet3@hotmail.com> wrote: > > module myModule() > { > linear_extrude(height=10, twist=360) > import("myfile.stl"); > } > You can only twist 2D objects. Try importing a DXF file. Alternatively, you can squash your 3D object: linear_extrude(height=10, twist=360) projection() import("myfile.stl"); -Marius