Writing SketchUp Ruby - Multiple PushPull Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 11

  • @kaliljacobo
    @kaliljacobo 11 ปีที่แล้ว +3

    Omg...
    I'm learning ruby applied on Sketchup, and really....it can give more freedom and possibilities to the designer. Great video!
    Thanks!!

  • @stevesshaperorigin9174
    @stevesshaperorigin9174 4 ปีที่แล้ว

    Nice startup info, thanks for posting!

  • @HugoTait
    @HugoTait 13 ปีที่แล้ว +1

    Thanks for this
    I have a script that draws square faces and pushpulls up to form a cube, but the last one in the loop is pushpulled the opposite direction, like the normal has flipped, any clues?

  • @AlexandreSk
    @AlexandreSk 10 ปีที่แล้ว

    great tutorial; and thanks for the plug-ins Chris

  • @ChrisFullmer
    @ChrisFullmer  13 ปีที่แล้ว

    I'm not sure. I use the Sketchucation website regularly to ask and answer scripting questions (in the "developers" forum). If you register there, ask the question, and can post your script and examples and I'm sure you'll get help within a few hours.

  • @Deontjie
    @Deontjie 7 ปีที่แล้ว +1

    Why can't I record my actions into a Ruby script?

  • @VictorVoon_VicVoon
    @VictorVoon_VicVoon 10 ปีที่แล้ว +1

    Dear Chris, Thank you for the tutorial. However as I follow along your video I noticed that the numeric value used in "face.pushpull (10)" by default is inches even though my model space unit was set to mm. How do set the script to follow the model space unit? Thank you. I am using sketchup 2014.

    • @ChrisFullmer
      @ChrisFullmer  10 ปีที่แล้ว +1

      Hi Victor, Sketchup works in inches by default. So if you want to pushpull a value of 100 mm, you could write it like this:
      pushpull(100.mm)
      That turns the 100 into milimeters. Look at the Numeric class in the SketchUp API docs to see all the ways you can convert floats and integers, into unit-specific lengths like this:
      www.sketchup.com/intl/en/developer/docs/ourdoc/numeric

    • @VictorVoon_VicVoon
      @VictorVoon_VicVoon 10 ปีที่แล้ว +2

      Wow that is great! in fact i missed the dot. I am new and trying very to find tutorials. Thanks again for the tips Chris...

  • @leonhuynh8779
    @leonhuynh8779 3 ปีที่แล้ว

    can you write a plugin for hotwire cnc?

  • @Deontjie
    @Deontjie 7 ปีที่แล้ว

    Great.