No video

Sketchup Trick : Random Push-Pull

  Рет қаралды 2,401

Architect Virendra Chhatria

Architect Virendra Chhatria

Күн бұрын

Sketchup Trick for Random Push Pull #shorts #shortsyoutube #shortsvideo
Code :
module RandomPushPull
def self.perform_push_pull(selection)
Iterate over each selected entity
selection.each do |entity|
Check if the entity is a face or a group/component with a single face
next unless entity.is_a?(Sketchup::Face) || (entity.is_a?(Sketchup::Group) && entity.entities.size == 1 && entity.entities.first.is_a?(Sketchup::Face))
Calculate the random distance for push-pull operation between 20" and 90"
distance = rand(20..90)
Perform push-pull operation
entity.pushpull(distance)
end
end
end
Get the current selection
selection = Sketchup.active_model.selection

Пікірлер: 4
@user-ts8hl2po2s
@user-ts8hl2po2s Жыл бұрын
Good job 👍 keep it up 🙂
@ArchitectVirendraChhatria
@ArchitectVirendraChhatria Жыл бұрын
Thank you for taking the time to watch and comment on my video! I'm thrilled that you enjoyed it. If you haven't already, I invite you to subscribe to my channel for more exciting content like this. I promise you won't be disappointed! Looking forward to having you as a subscriber ☺️
@TD-Academy1904
@TD-Academy1904 9 ай бұрын
Very nice trick, Can I have that code you just make, Thank you .
@ArchitectVirendraChhatria
@ArchitectVirendraChhatria 9 ай бұрын
Check description for code.
How to Make triangle patterns SketchUp
8:04
TutorialsUp
Рет қаралды 19 М.
Top 10 Functions of the Push Pull Tool in SketchUp
11:36
TheSketchUpEssentials
Рет қаралды 108 М.
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 17 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 59 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 24 МЛН
مسبح السرير #قصير
00:19
سكتشات وحركات
Рет қаралды 2,1 МЛН
Top 5 Push/Pull Tips
14:12
SketchUp
Рет қаралды 35 М.
Making parametric holes in SketchUp
6:20
TutorialsUp
Рет қаралды 84 М.
PUSH PULLING Curved Faces in SketchUp?
7:43
TheSketchUpEssentials
Рет қаралды 56 М.
Use FACES to Cut Objects in SketchUp - Curic Face Knife and Lattice Maker!
6:41
Getting Started with Vray 3 6 For SketchUp - START HERE IF YOU'RE A BEGINNER
21:58
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 17 МЛН