Pick up 3dPoint in canvas
-
Hi all,
I m new to programing.
I m learning python at work, and at home : i m writting my first ruby code for sketchup.
To start it, i need a method to pick points (magnet to entities in model), lock to inference and type length in vcb.
The only thing i can do is to pick 2d points from screen with :def onLButtonDown(flags, x, y, view)For now my code works with UIbox in which you enter value.
All advice is welcome
-
Finaly i achieve the plugin for a straight stair.
It's easier and it's a good way to learn ruby.
To draw a stair :
-install the file FaStair-i_Shape.rbz with the SU extension installator
-activate the tool named FaStair-i_Shape in the Plugins / Extension menu
-pick the origin of the stair
-pick the width
-pick the depth
-finaly pick the height
et voila

Now i'm working on the FaStair-L_shape, it's much more complicated.

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement