[Plugin]Draw Slope Normals.rb-v1.4-Mar 28,2013.

[Plugin]Draw Slope Normals.rb-v1.4-Mar 28,2013.

Postby tak2hata » Sun Feb 10, 2013 8:11 am

Hi,All.
I create the managing tool for slopes like Site.
Name:Draw Slope Normals.rb


DOWNLOAD HERE:
Get the latest version from the PluginStore:
http://sketchucation.com/resources/plug ... pe_normals
or AutoInstall from within SketchUp using the SketchUcation Tools


update_v1.0b:Feb 13,2013:I correct mistake of dividing z value of curve.
Update_v1.1:Feb 19,2013:Improves_ for 000additionalpluginfolder.
update_v1.3:Mar 09,2013:Add tool bar.and small improve.
update v1.31:Mar 2,2013:Add code "require 'sketchup.rb'
update v1.4:Mar 28,2013:Bugfix.(Error with the vector(0,0,0) is exists.)
General disclaimer
I MAKES NO GUARANTEE OF VALIDITY about this script.
Please use this script at your own risk.



Enjoy!
0
Last edited by tak2hata on Mon Sep 16, 2013 2:06 am, edited 7 times in total.
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin]Draw Slope Normals.rb-v1.0a-Feb 10,2013.

Postby guanjin » Sun Feb 10, 2013 3:51 pm

Great, thank you! :fecstatic: :fecstatic: :thumb: :thumb:
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin]Draw Slope Normals.rb-v1.0a-Feb 10,2013.

Postby sawaken » Sun Feb 10, 2013 4:54 pm

おお いつもありがとうございます。
0

sawaken 
 

Re: [Plugin]Draw Slope Normals.rb-v1.0a-Feb 10,2013.

Postby antoniogulino » Mon Feb 11, 2013 12:10 am

Thank you very much for this new awesome plugin!
0

antoniogulino 
 

Re: [Plugin]Draw Slope Normals.rb-v1.0a-Feb 10,2013.

Postby srx » Mon Feb 11, 2013 12:03 pm

:enlight:
I think it will be very helpful. Thanks a lot!
0
www.saurus.rs
User avatar
srx 
 

Re: [Plugin]Draw Slope Normals.rb-v1.0a-Feb 10,2013.

Postby dtrarch » Mon Feb 11, 2013 10:05 pm

OMG
Tak2 what a killer app :family: and just perfect for concept work when no 3d topo data is available.
A true "Sketch" tool and JF'n brilliant. :enlight:
WOW
Thank you so very much.
Hope things in Japan are better for all now. :thumb:

dtr
0

dtrarch 
Premium Member
Premium Member
 

Re: [Plugin]Draw Slope Normals.rb-v1.0a-Feb 10,2013.

Postby seasdes » Mon Feb 11, 2013 11:15 pm

A trully awsome plugin that will be usefull to many thay need to model terrain.
Walter
0
Using Sketchup Pro 2019

seasdes 
 

Re: [Plugin]Draw Slope Normals.rb-v1.0a-Feb 10,2013.

Postby pilou » Tue Feb 12, 2013 1:04 am

A new hit ? :enlight:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin]Draw Slope Normals.rb-v1.0a-Feb 10,2013.

Postby Chris Fullmer » Tue Feb 12, 2013 1:20 am

This looks great! I hope I get a chance to use it soon, thanks!

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin]Draw Slope Normals.rb-v1.0b-Feb 13,2013.

Postby tak2hata » Tue Feb 12, 2013 5:30 pm

Hi,
I 'm sorry.I made mistake.
So I update this script to version 1.0b.in Feb 13,2013.

I correct mistake of dividing z value of curve.

Now it calculate the dividing z value of curve from XY distance between vertices.
The previous version did from XYZ distance.

Thanks.
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin]Draw Slope Normals.rb-v1.0b-Feb 13,2013.

Postby unclex » Tue Feb 12, 2013 7:14 pm

it's wonderful
Thanks
0

unclex 
 

Re: [Plugin]Draw Slope Normals.rb-v1.0b-Feb 13,2013.

Postby dtrarch » Tue Feb 12, 2013 8:10 pm

Tak2

Sure would be nice to have the options rt click contextual once the script has been started. :idea:
Any chance please.

dtr
0

dtrarch 
Premium Member
Premium Member
 

Re: [Plugin]Draw Slope Normals.rb-v1.0b-Feb 13,2013.

Postby Aureus » Tue Feb 19, 2013 4:38 am

Does anyone know why this happens?

[b]^Error Loading File draw_slope_normals.rb
private method `gsub!' called for nil:NilClass


Is this a plugin for Sketchup 7 or 8? I have both. S7 doesn't recognize it and S8 reports this error. I put it into the folder 'Plugin' after unzipping it. The folder 'draw_slope_normals_v1.0b' went to the folder Plugin but still doesn't work. I tried to put the sole RB file 'draw_slope_normals.rb' but nothing happened.
I use Windows XP S3.

Sorry for asking this but usually creators of plugins usually post these small accompanying instructions themselves. :)

Cheers to everybody.
0
User avatar
Aureus 
 

Re: [Plugin]Draw Slope Normals.rb-v1.1-Feb 19,2013.

Postby tak2hata » Tue Feb 19, 2013 9:45 am

Hi,i update this to version1.1.
This will work in additional plugin folder.

Hi,dtrarch.
I add context menu when tool is active.

Hi,Aureus.
I modified by replacing "gsub!" to "File.expand_path".
I did not test it on mac os,yet.

Thanks.
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin]Draw Slope Normals.rb-v1.1-Feb 19,2013.

Postby Aureus » Tue Feb 19, 2013 10:32 am

Thank you, tak2hata.

I haven't expected such a quick reply to my first question and post ever on this site.
It seems you did performed necessary corrections my case requested as I was perfectly able to install 1.1 version of your plugin. Now I'll give it a go and see what'll happen. At the moment I'm modeling a river bank and I hope 'Draw Slope Normals' will turn into a very handy tool. ;)

P.S. It's good that keyboard shortcuts can be given to the commands.
Greetings from Bosnia.
0
User avatar
Aureus 
 

Re: [Plugin]Draw Slope Normals.rb-v1.1-Feb 19,2013.

Postby dtrarch » Tue Feb 19, 2013 7:02 pm

Tak

Breakthrough plugin IMO and thanks again.
You are truly the Miyamoto Musashi of code.

Dave
aka dtrarch
-1

dtrarch 
Premium Member
Premium Member
 

Re: [Plugin]Draw Slope Normals.rb-v1.1-Feb 19,2013.

Postby Ben Ritter » Tue Feb 19, 2013 7:50 pm

Thank you for your generosity.
0

Ben Ritter 
 

Re: [Plugin]Draw Slope Normals.rb-v1.1-Feb 19,2013.

Postby Mra » Fri Feb 22, 2013 4:36 am

Thank you x1000000000000000000000000000000000000000

This is much needed in sketchup and for you to share with the community is so nice. Levels in SketchUp wohoo!
0

Mra 
 

Re: [Plugin]Draw Slope Normals.rb-v1.1-Feb 19,2013.

Postby Aureus » Fri Feb 22, 2013 10:24 am

What kind of logic is applied for indicating z value?

When I have the cursor over a single spot (the end of a line) the z value is displayed and everything seems fine. But when the cursor is over a line sometimes lower value is displayed and sometimes higher - or in other words, once indicating the value of lower end and on other occasion on some other line indicating the value of its higher end.
So far I couldn't figure out what value is indicated when having the cursor over a face and in what relation it is to actual values of its edges.

When you have a line with 2 ends one having z value of 1.7 and the other having z value of 1.9, whatever figure is displayed (1.7 or 1.9) for it when you write down a new value (say 1.5) both ends have that new and same value, putting your line in horizontal position.

It seems this plugin has no respect to the groups as you can edit a group 'from outside'.

At the end I have one actual proposal. When you undo a step (you are not satisfied with the result of just put z value) - you are out of the command. Then you must run the plugin again. Can you make it provide you stay in the current command when you undo a step? My opinion is that it would speed up your workflow since it's a bit annoying and time-consuming starting the plugin again over and over after undoes.
0
User avatar
Aureus 
 

Re: [Plugin]Draw Slope Normals.rb-v1.3-Mar 09,2013.

Postby tak2hata » Sat Mar 09, 2013 2:28 pm

Hi,
I update this to version1.3 in Mar 09,2013.
Add Toolbar.
and small improve.

Hi,Aureus.
The logic of modifying Z value is simple.
If you click Vertex it change z value of that vertex.
If you click Edge it changes z value of the vertices connencted to that edge.
If you click Face it changes z value of the vertices connencted to that face.

When the same positon of vertices clicked,The vertex in active_ editing group/component is preferred.
But the vertices are not same position,the vertex that near to camera is preferred.

Thanks.
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin]Draw Slope Normals.rb-v1.3-Mar 09,2013.

Postby mizar » Tue Mar 19, 2013 3:12 pm

it's wonderful
Thanks a lot
0

mizar 
 

Re: [Plugin]Draw Slope Normals.rb-v1.3-Mar 09,2013.

Postby Lillioso » Sat Mar 23, 2013 1:01 pm

I get this error when i startup Sketchup, and the Plugin wont load.
What am I doing wrong?
0

Lillioso 
 

Re: [Plugin]Draw Slope Normals.rb-v1.3-Mar 09,2013.

Postby tak2hata » Sun Mar 24, 2013 7:38 am

Lillioso wrote:I get this error when i startup Sketchup, and the Plugin wont load.
What am I doing wrong?

Hi,Lillioso.
I mistook about that "file_loaded".
It needs "require 'sketchup.rb' for first time.

I add the code,now in ver 1.31.

Thanks.
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin]Draw Slope Normals.rb-v1.31-Mar 24,2013.

Postby rv1974 » Sun Mar 24, 2013 9:20 am

There's some problem on 1.15- The arcs will be distorted (from plan point iof view).
0

rv1974 
 

Re: [Plugin]Draw Slope Normals.rb-v1.31-Mar 24,2013.

Postby tak2hata » Wed Mar 27, 2013 4:03 pm

rv1974 wrote:There's some problem on 1.15- The arcs will be distorted (from plan point iof view).

Hi,rv1974.
Watch this.Arc is not distorted in TOP View.

Please upload the picture or model that included "distorted arc."
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin]Draw Slope Normals.rb-v1.4-Mar 28,2013.

Postby pbacot » Wed Mar 27, 2013 5:37 pm

That's SPECIAL Tak2hata!

Thanks!
0
MacOSX Mojave ShetchUp Pro v19 Twilight Pro v2 M2 Kerkythea PowerCADD
User avatar
pbacot 
Top SketchUcator
 

Re: [Plugin]Draw Slope Normals.rb-v1.4-Mar 28,2013.

Postby rv1974 » Thu Mar 28, 2013 8:48 am

Tak2hata-san, I tested it in deep and this tool indeed keeps the plan outline. This is
AMAZING! :o
About your last video: I played with the similar shape and the result was a bit distant from 100% perfect (the left example); then I reshaped the curves with Fredo's skinning
(the right example) and it was closer to the desired. Could you take a closer look at this issue?
REALLY Thank you!
Offtop: yesterday I watched 'Jiro Dreams of Sushi' documentary. There are epic people in Japan!
0

rv1974 
 

Re: [Plugin]Draw Slope Normals.rb-v1.4-Mar 28,2013.

Postby tak2hata » Sun Apr 28, 2013 3:56 am

rv1974 wrote:Tak2hata-san, I tested it in deep and this tool indeed keeps the plan outline. This is
AMAZING! :o
About your last video: I played with the similar shape and the result was a bit distant from 100% perfect (the left example); then I reshaped the curves with Fredo's skinning
(the right example) and it was closer to the desired. Could you take a closer look at this issue?
REALLY Thank you!
Offtop: yesterday I watched 'Jiro Dreams of Sushi' documentary. There are epic people in Japan!

Hi,rv1974.
Folding is works with Sketchup default function.
Freado' Skinning is smoother function.

I will connect to the skinning when fredo lib is loaded.

Offtop:Jiro's Sushi is expensive!I want to eat that!There is Great Sprits for Sushi!
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin]Draw Slope Normals.rb-v1.4-Mar 28,2013.

Postby orchard collie » Thu Aug 22, 2013 11:52 pm

Hi TAK2HATA
I'm using SketchUp 2013 Pro on Mac OSX 10.8.4 - downloaded the plugin and unzipped it into the Plugins Folder.
Opened SketchUp went to Preferences - Extensions - Install extension - located the folder', opened it but could not select the draw slope normals.rb file to install it.
Any ideas what my problem is, apart from stupidity?
Cheers
0

orchard collie 
 

Re: [Plugin]Draw Slope Normals.rb-v1.4-Mar 28,2013.

Postby tak2hata » Sat Aug 24, 2013 8:21 am

orchard collie wrote:Hi TAK2HATA
I'm using SketchUp 2013 Pro on Mac OSX 10.8.4 - downloaded the plugin and unzipped it into the Plugins Folder.
Opened SketchUp went to Preferences - Extensions - Install extension - located the folder', opened it but could not select the draw slope normals.rb file to install it.
Any ideas what my problem is, apart from stupidity?
Cheers

Hi,orchard.

Installing plugin was completed when you unzipped it into the Plugins Folder.

In case of installing from "*.rbz" file,
"Install Extension" in Preference menu works.

Thanks.
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Bagel King, DanAldarian, hellwildboy and 9 guests

Visit our sponsors: