OpenSCAD - tasks - simple

Portál: Virtuálna Univerzita Mateja Bela
Kurz: 3D tlač a 3D modelovanie
Kniha: OpenSCAD - tasks - simple
Vytlačil(a): Visiteur anonyme
Dátum: pondelok, 20 mája 2024, 05:08

Opis

A collection of simple tasks in OpenSCAD.

1. Muschroom

Using the OpenSCAD tool, model a mushroom.

Utilize two cylinders.

Don't forget to transform the second cylinder (use the "translate" command) and change its Z-axis.




2. Snowman

In the OpenSCAD environment, model a snowman.

Use three spheres that will be aligned at the center.

Just like with the mushroom, don't forget the "translate" command, where you'll need to change the Z-axis.




3. House

In the OpenSCAD environment, model a little house.

Use a cube as the base (aligned at the center). Use a cylinder as the roof.

Don't forget about the chimney, which can be achieved using another cylinder.




4. Dumbbell

In the OpenSCAD environment, model a dumbbell.

Use three cylinders, positioning them as needed.

For rotating the cylinders, use the "rotate" command.

To avoid rotating each cylinder separately, group all the cylinders together using the "union" command.

Example help:


union(){
    rotation{
        cylinder
        cylinder
        translation
        cylinder
    } 
}


 Please note that this help is just an example!

5. Cutout

Creating a Cutout In the OpenSCAD environment, create a cube.

Next, create a cutout of a smaller cube from within the larger cube (using the "difference" command).

Remember that the cutout needs to be translated!


Example help:

difference(){
    cube1
    TRANSLATION{
        cube2;
        }
    }