inference lock along a random vector

inference lock along a random vector

Postby biervat » Thu Jan 11, 2018 3:16 pm

I'm trying to inference lock along a random vector. I wrote this and it works as long as @vector is along the red/green or blue axis but it doesn't lock in any other situation. Does anyone has a solution?

Code: Select all
@picked_first_ip.copy(@mouse_ip)
@mouse_ip = Sketchup::InputPoint.new(@picked_first_ip.position.offset(@vector))
view.lock_inference(@picked_first_ip,@mouse_ip)
0

biervat 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 


 

Return to Developers' Forum

Who is online

Users browsing this forum: slbaumgartner and 6 guests

Visit our sponsors: