[Plugin] Make Fur v.2.1.0(20140323)

Re: [Plugin] Make Fur (Updated - v.1.3b)

Postby mariocha » Wed May 19, 2010 1:13 pm

Hum .... Although the title says V1.3b
the download still says v1.3a :?
0
Mario C.
Certified SketchUp Trainer, QC CA.
Every rule has exceptions, but some.
User avatar
mariocha 
Premium Member
Premium Member
 

Re: [Plugin] Make Fur (Updated - v.1.3b)

Postby thomthom » Wed May 19, 2010 2:01 pm

portenart.emile wrote:I found this plugin today. It look amazing. Ihave made the grass but i don't know why it isn't render in Vray ? I'm sure it's a specific option i have to check but i don't found it.

I use Skectchup pro 7.1.6, Vray for sketchup 01.05.30, and Fur Plugin 1.3.


This is due to a Sketchup bug and groups. The groups will render when you reopen the model.
The latest VfSU does not suffer from this SU bug.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3b)

Postby jbrown » Wed May 19, 2010 3:03 pm

Very handy.
Am I missing something in the settings, though? It appears to be growing from the opposite side of the selected face and I can't figure out how to change that. Not too big a deal to select the opposite side from where it needs to go, but maybe there's an easier way?
0

jbrown 
 

Re: [Plugin] Make Fur (Updated - v.1.3b)

Postby Gaieus » Wed May 19, 2010 3:11 pm

Hi Justin,

Don't you have back faces where you want to grow the fur? Try to right click > Reverse faces and grow it again.
0
User avatar
Gaieus 
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby tak2hata » Wed May 19, 2010 5:26 pm

Hi,all.
I upadte fur plugin v1_3c(test version).

Mario..
Hum .... Although the title says V1.3b
the download still says v1.3a


Sorry,I made a mistake in writing title. :shock:
So Current version up to 1_3c.

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

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3b)

Postby portenart.emile » Wed May 19, 2010 5:27 pm

thomthom wrote:
portenart.emile wrote:I found this plugin today. It look amazing. Ihave made the grass but i don't know why it isn't render in Vray ? I'm sure it's a specific option i have to check but i don't found it.

I use Skectchup pro 7.1.6, Vray for sketchup 01.05.30, and Fur Plugin 1.3.


This is due to a Sketchup bug and groups. The groups will render when you reopen the model.
The latest VfSU does not suffer from this SU bug.


Thanks you so much thomthom, it works.
I'll post you my render once done.

Emile
0

portenart.emile 
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby Frederik » Wed May 19, 2010 5:34 pm

Like so many others, I'm having a blast with this new toy... :sketchstatic:

@ tak2hata:
Would it be possible to add an option, where you can select that components don't intersect with each other...??
1
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby Gaieus » Wed May 19, 2010 5:53 pm

Simply incredible! :o
Thanks for this continuous update,too!
0
User avatar
Gaieus 
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby DareDevil » Wed May 19, 2010 10:05 pm

Hi,
I just update the v1.2 to the new 1.3c with the nice new features.

But...
I'm french and use SU on a french vista system. In french we use the comma (,) for decimal separation.
In default setup, all numbers are in french (0,0cm,0,0cm,5,0cm) and of course it read like a 0,0,0 (with an unread 0,5,0 after).
If I use a period (0.0cm,0.0cm,5.0cm) the plugin dont work :(

Why all the world dont use the same way to measure and write numbers ??? ;)
0
User avatar
DareDevil 
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby TIG » Wed May 19, 2010 10:19 pm

daredevil wrote:Hi,
I just update the v1.2 to the new 1.3c with the nice new features. But...
I'm French and use SU on a French Vista system. In French we use the comma (,) for decimal separation.
In default setup, all numbers are in French (0,0cm,0,0cm,5,0cm) and of course it read like a 0,0,0 (with an unread 0,5,0 after).
If I use a period (0.0cm,0.0cm,5.0cm) the plugin won't work :(
Why all the world don't use the same way to measure and write numbers ??? ;)

Try substituting the comma (,) as the list separator with a semi-colon (;)... so in UK/US 1,2.3,4.5 >> 1;2,3;4,5 in FR.
Or change you regional settings !
Why can't everyone use a '.' as a "decimal-point" ? - after all it is not a "decimal-comma" - this would free up the ',' comma to be used as a list separator - it's prime function in grammar - and then we could leave the poor old ";" alone !
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby solo » Wed May 19, 2010 10:22 pm

Why all the world dont use the same way to measure and write numbers ???


Got no idea, here in the states we still use the imperial system or as we call it 'American standard' and we drive on the wrong side of the road according to y'all. :mrgreen:
0
http://www.solos-art.com

If you see a toilet in your dreams do not use it.
User avatar
solo 
Global Moderator
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby Frederik » Wed May 19, 2010 10:26 pm

solo wrote:...and we drive on the wrong side of the road according to y'all. :mrgreen:

Not true, Pete...
In most European countries, we drive in the right (in the sense opposite to left) side of the road...
Only in UK in Europe (and I believe on Cypres too) they drive in the left side... ;)
0
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby thomthom » Wed May 19, 2010 10:34 pm

@tak2hata: could you keep the filename free from the version number? That way it's easier to update by just dragging the file into the plugins folder overriding the old.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby thomthom » Wed May 19, 2010 10:35 pm

TIG wrote:Or change you regional settings !

That generally just causes troubles elsewhere. I've tried it. Very awkward.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby thomthom » Wed May 19, 2010 10:41 pm

daredevil wrote:If I use a period (0.0cm,0.0cm,5.0cm) the plugin dont work :(


I use Norwegian locale, we also use comma as decimal separator. But using period in this plugin works for me.
fur_units.png


I noted something in what you said though: (0.0cm,0.0cm,5.0cm)
Did you enter cm into the direction and force vectors?
They should not have length indications. Vectors are just direction indicators.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby DareDevil » Wed May 19, 2010 11:29 pm

TIG wrote:Try substituting the comma (,) as the list separator with a semi-colon (;)... so in UK/US 1,2.3,4.5 >> 1;2,3;4,5 in FR.

I tried, but dont work :(
Or change you regional settings !

Nooooooooo, pleeeeaaaaase ;)

thomthom wrote:I use Norwegian locale, we also use comma as decimal separator. But using period in this plugin works for me.

Can you use the period in the SU standard value input ? I cant ! I must use the comma and the semi-colon as separator (i.e. 10,5;22,4 for a rectangle).
I noted something in what you said though: (0.0cm,0.0cm,5.0cm)
Did you enter cm into the direction and force vectors?
They should not have length indications. Vectors are just direction indicators.

No, cm is in the default setting.
If it's 0cm it's ok, but if it's 0 cm (with space) it dont work.

OK, I know why I have the unit after value, because it's a SU setting in the Model info : "Display units format". Uncheck it, disable the cm.
... And if I set the Precision (in Model info -> Units) to 0 instead 0,0 all it's ok in the Fur setting windows, I have 0,0,5 (but setting 0cm for Precision or mm for Units in it's not ok for my way of work ;))
0
User avatar
DareDevil 
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby tak2hata » Thu May 20, 2010 1:33 am

Frederik wrote:Would it be possible to add an option, where you can select that components don't intersect with each other...??

That's very difficult for me.I will challenge future.Please wait without expecting it. :roll:
daredevil wrote:I'm french and use SU on a french vista system. In french we use the comma (,) for decimal separation
If it's 0cm it's ok, but if it's 0 cm (with space) it dont work.

Indeed,I learnt it for the first time. I will think about some measures for that problem.
Thomas wrote:could you keep the filename free from the version number? That way it's easier to update by just dragging the file into the plugins folder overriding the old.

Thanks.That's right! I will keep the filename. ;)
0
-----------
by TAK2HATA

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby Frederik » Thu May 20, 2010 7:03 am

tak2hata wrote:That's very difficult for me.I will challenge future.Please wait without expecting it. :roll:

I'll keep my fingers crossed... :)
This plug-in is so much fun to work with...
You have my deepest respect...
0
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby thomthom » Thu May 20, 2010 8:34 am

daredevil wrote:Can you use the period in the SU standard value input ? I cant ! I must use the comma and the semi-colon as separator (i.e. 10,5;22,4 for a rectangle).

Not in the SU VCB area, no. But this plugin doesn't use this, does it? :?:
What I was referring to was the webdialog (metric) for this plugin. The screenshot I showed last time.

daredevil wrote:No, cm is in the default setting.
If it's 0cm it's ok, but if it's 0 cm (with space) it dont work.

OK, I know why I have the unit after value, because it's a SU setting in the Model info : "Display units format". Uncheck it, disable the cm.
... And if I set the Precision (in Model info -> Units) to 0 instead 0,0 all it's ok in the Fur setting windows, I have 0,0,5 (but setting 0cm for Precision or mm for Units in it's not ok for my way of work ;))

Are you seeing "cm" in the webdialog for this plugin?
I'm confused...

Or are you talking about SU in general?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3d)

Postby tak2hata » Thu May 20, 2010 10:39 am

Hi,All.
I update fur plugin.
Now it's version 1_3d.
this fileName will keep to "fur_en.rb" for future.
When you use this version ,you must remove older version fur plugin file from sketchup plugins folder.

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

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3d May 20, 2010 6:39 pm

Postby thomthom » Thu May 20, 2010 10:52 am

Good stuff! :thumb:

Very nice plugin this. Shaping up good.

Another remark: menu names, can you also avoid version number in the menu names? Keep them static? Because when the menu name changes between updates the shortcuts assigned to them doesn't work any more.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3d May 20, 2010 6:39 pm

Postby thomthom » Thu May 20, 2010 11:30 am

hmmm...
I now see the problem daredevil talked about.

tak2hata:
When the user's locale is decimal you can't use the comma to get the various components of the vectors.
2010-05-20 12h02_47.png


"0,400mm,0mm,0mm" is interpreted as x=0, y=400, z=0

The problem is this:
Code: Select all
  def fur_dialog_ini
    @fur_units_metric = false
    @fur_units_metric = true if ( 0.to_l.to_s )["m"]
    @delim = ","
    @delim = ";" if Sketchup.get_locale.upcase == "FR"
  end


This code only checks for FR Sketchup locale. But there are many more that uses , comma as decimal delimiter. Norwegian for instance.
But, Sketchup.get_locale does not return the locale of the system. It returns the language code of Sketchup.
For instance, I use Norwegian locales, but use English SU. Sketchup.get_locale returns en-US

I've been recently struggling with this myself.
And the hack I ended up using to find the user's comma decimal separator was this: @decimal_separator ||= 1.2.to_l.to_s.match(/\d(\D)\d/)[1]
See viewtopic.php?f=180&t=28346 for more info.

Now, this only gives you what the comma separator is. I've not found a way to find the list separator. Just I think you can catch most cases by assuming locales with comma as decimal separator uses ; as list separator.


So to revise your code:
Code: Select all
  def fur_dialog_ini
    @fur_units_metric = false
    @fur_units_metric = true if ( 0.to_l.to_s )["m"]
    decimal_sep = 1.2.to_l.to_s.match(/\d(\D)\d/)[1]
    @delim = ";" if decimal_sep == ','
  end




Then there is the other part of that method:
@fur_units_metric = false
@fur_units_metric = true if ( 0.to_l.to_s )["m"]

Use model.options to get the user units.
http://code.google.com/apis/sketchup/do ... ml#options

It returns an OptionManager that gives you access to some OptionsProvider classes.
http://code.google.com/apis/sketchup/do ... nager.html
http://code.google.com/apis/sketchup/do ... vider.html

To inspect the available options, use this snippet:
Sketchup.active_model.options.keys.each {|key| p key; Sketchup.active_model.options[key].each {|k,v| puts "> #{k} - #{v}"} }

Using that you can see that model.options["UnitsOptions"] gives you all the info you need about the model units.
model.options["UnitsOptions"]["LengthUnit"] gives you the unit type.

The unit types are:
// LENGTH_FORMAT: 0 = Decimal, 1 = Arcitectural, 2 = Engineering
// LENGTH_UNITS: 0 = Inches, 1 = Feet, 2 = Millimeters 3 = centimeters, 4 = Meters
// LENGTH_PRECISION: number of decimal places to show

(Found this in the Google SketchUp 7\Resources\en-US\i18n.dat file)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3c)

Postby Gaieus » Thu May 20, 2010 1:05 pm

Frederik wrote:...Only in UK in Europe (and I believe on Cypres too) they drive in the left side... ;)

And Ireland, too.
0
User avatar
Gaieus 
 

Re: [Plugin] Make Fur (Updated - v.1.3d May 20, 2010 6:39 pm

Postby watkins » Thu May 20, 2010 1:18 pm

Countries that drive on the left

http://en.wikipedia.org/wiki/File:Count ... _right.svg

Quite a few.
0

watkins 
 

Re: [Plugin] Make Fur (Updated - v.1.3d May 20, 2010 6:39 pm

Postby solo » Thu May 20, 2010 1:29 pm

Countries that drive on the left


Looks like a British commonwealth map. :?
0
http://www.solos-art.com

If you see a toilet in your dreams do not use it.
User avatar
solo 
Global Moderator
 

Re: [Plugin] Make Fur (Updated - v.1.3d May 20, 2010 6:39 pm

Postby Gaieus » Thu May 20, 2010 1:59 pm

Yeah. Though already a minority of the countries, still "the sun never sets over the countries that drive on the left".
:D
0
User avatar
Gaieus 
 

Re: [Plugin] Make Fur (Updated - v.1.3d May 20, 2010 6:39 pm

Postby pilou » Thu May 20, 2010 2:15 pm

This code only checks for FR Sketchup locale.

And when French user uses directly FR Locale "." (modified) whith English SU version seems there is no problem? ;)
wind.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Make Fur (Updated - v.1.3e May 20, 2010 10:52 p

Postby tak2hata » Thu May 20, 2010 3:00 pm

Hi, All.
I update this to v1.3e.
Thomas,Thank you very very much!
At last, I also understood.
I use your code "decimal_sep = 1.2.to_l.to_s.match(/\d(\D)\d/)[1]".
and model.options["UnitsOptions"]["LengthUnit"] >= 2 then unit is metric.
It not depend to Sketchup locale.

I think that this is perhaps no problem.
please reply when there is a problem.

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

tak2hata 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3e May 20, 2010 10:52 p

Postby thomthom » Thu May 20, 2010 3:11 pm

tak2hata wrote:I use your code "decimal_sep = 1.2.to_l.to_s.match(/\d(\D)\d/)[1]".
and model.options["UnitsOptions"]["LengthUnit"] >= 2 then unit is metric.
It not depend to Sketchup locale.

I think that this is perhaps no problem.
please reply when there is a problem.


I think that should work.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Make Fur (Updated - v.1.3e May 20, 2010 10:52 p

Postby thomthom » Thu May 20, 2010 3:11 pm

Oh - you posted update already! I see. I'll try it out then.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 12 guests

Visit our sponsors: