
Ruben's Blog | Ռուբենի Բլոգը
🔙 ..Արա ինքդ պահարան Գուգի օգնությամբ | մաս 1 🤌
Ես մի օր միտք ունեցա սարքել երկու պահարան զուգարանի համար ու ննջասենյակի համար, բայց չունեի բավարար ձեռք։
Ես գրում եմ ծրագիր OpenScadով որ գուգին դեմո անեմ վանկություններս։
Ներքևում ներկայացված է կոդը։
$shelveHeight = 60;
$shelveWidth = 35;
$shelveDepth = 18;
$doorHandleHeight = 10;
$doorHandleWidth=3;
$color = [0.5,0.5,0,1];
$plexWidth = 0.5;
module tallWall() {
color($color) translate([0, 0, 0]) cube([$plexWidth, $shelveWidth, $shelveHeight]);
}
module wall() {
color($color) cube([$shelveDepth, $plexWidth, $shelveHeight]);
}
module shelve() {
color($color) cube([$shelveDepth, $shelveWidth , $plexWidth]);
}
module door(){
difference() {
tallWall();
translate([-$plexWidth/2, $shelveWidth - $doorHandleWidth+0.01, $shelveHeight/2-$doorHandleHeight/2])
cube([$plexWidth * 2, $doorHandleWidth, $doorHandleHeight, ]);
}
}
translate([0,0,0]) tallWall();
translate([0, 0, 0]) wall();
translate([0, $shelveWidth, 0]) wall();
translate([0, 0, 0]) shelve();
translate([0, 0, $shelveHeight]) shelve();
translate([0, 0, 2*$shelveHeight/3]) shelve();
translate([0, 0, $shelveHeight/3]) shelve();
translate([$shelveDepth,0,0]) rotate([0, 0, -120]) door();
Գուգը ընդունում է պատվերս և սկսում է նախագծել։ Նախ inkscapeով, ապա իմ համոզելուց հետո FreeCad֊ով։
Քանզի Գուգի համակարգիչը չեր ձգում մենք խնդրեցինք Ալիկը մեզ օգնի և Ալիկը օգնեց։
Հիմա ես կսպասեմ որ Գուգը նաակոբ տա ինձ ֆայլը ու ես գնամ սա տպեմ Black Orangeում։
Սա նյութերի օրինակներն են որով փորձելու եմ սարքել պահարանները։
Շարունակելի․․․
Please give me feedback or make a comment on whatever help me improve. ❤️
Blog Menu
- 💼 hire my consultancy
- ℹ️ about me
- 📰 rss
- ⌛️ Spend a day with me
- tech and life
- 📝 blogs
- 2025-05-18
Eurovision and context 🏆️
Yesterday, I watched Eurovision. It’s clear that everyone wants their country to win, while some countries hope others don’t win. Neighbor...
- 2025-05-16
Spending 5 Minutes to Make a Point 📌
This blog post is an exercise. I want to make a point, and for that, I will need to do some research and tell a story. Telling a story Henry Ford was ...
- 2025-05-14
Non technical founders, Visionary Builders Community 👯♀️
This is my third community. I’m starting to understand how it works. People with similar interests or challenges tend to have similar insights a...
- 2025-05-13
2nd CTO Event Is Soon 🪞
What’s about it? I host Armenian CTO Community. We have already 109 members there. First event hosted 21 members! I am doing this for over 9 mo...
- 2025-05-12
Reducing the Friction to Post 🌪️
Eliminating the reasons I don’t blog, one by one. Opening the editor is a friction, writing is a friction, pushing is a friction, but I can make...
- 2025-05-07
Consistency and Time ⏲️
Do I have time to blog? Every time I wrote I will blog every day, I’ve reflected on this commitment in several posts: In I Need to Revisit My Bl...
- 2024-12-29
Then the Journey Is Not About Winning 🏆️
Winning is the target, but the journey is never about winning. You cannot be sure the path is correct. Even with guidance, there is a chance it’...
- 2024-12-28
Free Consultancy 💆🏻
Nobody buys it. When I provide it everyone is happy. Why? Maybe people don’t understand the offer, which is completely understandable. What I of...
- 2024-12-28
The Algorithm of the Dressings 🥬➕🥕➕❓️🟰🥗
Martun said he read many books about healthy food and didn’t become healthy. I agree, that reading and doing is very different. But I think that...
- 2024-12-25
Powered.community Meetup 🤝🏻
Well, it happened. The food was sushi, and people came with friends, some just checking in. I was so glad to see so many people I know and don’t...
- See all...
- 🔗 links