عوض ما نتعلمو الدروس والعبر من الفيضانات والكوارث اللي دازت على المنطقة ونكسبو احترام وبركة الناس بالمعاملة الحسنة، للأسف مزال بعض أصحاب الجلسات في أوريكا كيستغلو الزوار بأثمنة خيالية غير باش يگلسو حدى الماء! السياحة الداخلية راه قوامها المعاملة الطيبة والرزق الحلال، أما الجشع والطمع راه غير كينفر الناس وكيقطع الرزق. اتقوا الله في الزوار وباركا من الاستغلال.
Stop drawing and start coding!
In this video, we transform a classic industrial-style wooden table into a fully functional Ruby script for SketchUp.
About This Video:
In this tutorial, I demonstrate how to automate 3D modeling in SketchUp. Instead of using the traditional Push/Pull tools, we use the Ruby API to generate a table with a solid wood top and those iconic angled steel legs. This method is perfect for furniture designers who want to create parametric models where dimensions can be changed in seconds.
What’s covered:
Setting up variables for width, depth, and thickness.
Generating the tabletop geometry via script.
Coding the specific "flare" angle for the industrial legs.
How to use the Ruby Console to run your code instantly.
Why use Ruby for SketchUp?
If you are a woodworker or a designer, scripting allows you to create complex furniture sets instantly, ensuring perfect precision and saving hours of repetitive manual work.
Don't forget to:
✅ Like if you found this script useful.
✅ Subscribe for more SketchUp automation and 3D modeling tips.
✅ Comment below if you have questions about the code!
#SketchUp #RubyAPI #3DModeling #FurnitureDesign #Coding #Woodworking #IndustrialDesign #Architecture #Automation
Instant 3D Modeling in SketchUp:
How I Used Grok AI to Generate and Run a Custom Ruby Script for a Flagpole with Dome Base.
Description:
I wanted to quickly create a precise 3D model of a 2-meter flagpole with a realistic hemispherical dome base (20 cm diameter, 10 cm height) directly inside SketchUp. Instead of modeling everything manually, I leveraged Grok (xAI’s AI) to generate a complete, ready-to-use Ruby script tailored to my exact specifications.
Here’s the simple, powerful workflow I followed:
Prompt Grok AI –
I described the object with precise dimensions (pole height, dome radius, thickness, etc.). Grok instantly produced a clean, well-commented Ruby script using SketchUp’s native API.
Copy the generated script – The entire code (group creation, dome geometry with latitude slices, cylinder extrusion for the pole, etc.) was provided in a single block, ready for immediate use.
Paste directly into SketchUp’s Ruby Console –
I opened SketchUp, went to Extensions → Devoloper → Ruby Console, pasted the full script, and pressed Enter. Result in seconds – A perfectly centered, grouped 3D model appeared instantly in my scene: a smooth dome base and a clean cylindrical flagpole, all parametric and editable.
This method is incredibly efficient for repetitive or complex objects. No plugins required, no manual drawing, and total control over every parameter. I can now modify the script (change dimensions, add a golden sphere on top, or even a waving flag) and regenerate the model in under 10 seconds.
Why this approach rocks:
Lightning-fast prototyping
100% accurate to my specifications
Fully parametric and reusable
Zero manual modeling time
Save this tip before your next big trip abroad ⬇️
With Google Translate’s Live translate feature, you can get instant translations for 70+ languages via any pair of headphones.
🎧 Just put on your headphones, open the Translate app and tap “Live translate.” You’ll then get real-time translations in your preferred language directly in your ear. Gemini’s advanced speech models preserve the speaker’s tone, emphasis and cadence so you get what they're saying, subtleties and all.
@georgegalloway Mr George, You are confusing Morocco with the wrong country. Did you just copy-paste from an Algerian troll account? Morocco and Senegal are allies. These 'monkey noises' stories are a known smear campaign by those jealous of our brotherhood. Do your homework.
@Brahim The best play of this competition was that penalty you didn't score... you saved us from a disaster that could have turned out badly. Well done, champ, you're the best and we're proud of you... Good luck for the future, Inshallah ❤️❤️❤️❤️❤️ we love you.