SketchUcation Premium Membership

 

 

[Plugin] Make Fur (Updated - v.1.5a Thu Oct 28, 2010)

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby marleus » Wed Jun 02, 2010 6:43 am

Really cool plugin :berserk: :sketchstatic:

thanks a lot :thumb: :thumb:
Please, register (free) to access all the attachments on the forums.
Markus Sillander
Vantaa, Finland
User avatar
marleus
Premium Member
Premium Member
 
Posts: 76
Joined: Tue Nov 20, 2007 9:26 am
Location: Vantaa, Finland
Name: Markus Sillander

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby notareal » Wed Jun 02, 2010 8:05 am

It still amaze me what this plugin can do :sketchstatic:
Perhaps later styling with hair guides? Like in Max or Blender. Not that it have to be so extensive, but in a spirit of those.
Welcome to try Thea Render, Thea support | kerkythea.net -team member
notareal
Thea Render
 
Posts: 945
Joined: Tue Nov 13, 2007 9:54 pm
Location: Oulu, Finland
Name: notareal

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby paulower » Wed Jun 02, 2010 9:27 am

autarchos wrote:Dear Mr. Paulo Wer: That is some fantastically lush and beautiful grass you have created! What is the probability that you would like to share your technique and component/material with the fur-worshipping masses?
Besten Grüßen,
Drazen Petrovic

Yes, sure I can explain:
1 - I created a normal plane in SketchUp and used the Sandbox tool SketchUp to create the topography of the land;
2 - I used two maps (two textures) of different grass. A grass that is normal, and the other is like a bush (do not know how to say it in English).
* Do not forget to apply the texture on both sides, ie, in the back and front face.

3 - Create a component for each texture (one for the grass normal and other to grass bush);
4 - In the Settings Window FUR, I made the adjustments and settings required, such as:
* TopJitter (%): 1
* Direction (X): 0mm
* Direction (Y): 0mm
* Direction (Z): 500m or 5000m (not mm. That in my example)
* In the menu drop down "Make by Component", choose the component that you created;

5 - Click on Make Fur;
6 - I did the render in V-Ray for SketchUp. In V-Ray only applied the map Alpha in Diffuse;

I still do not know for sure the function of all commands, but recommend you do the tests in Make FUR. If you want the maps are on the links below:

File - Map Alpha Mask

File - Map Grass

_______________________________
My Blog
Baú SketchUp
paulower
 
Posts: 9
Joined: Thu May 06, 2010 11:48 am
Location: Curitiba, Paraná, Brasil
Name: Paulo Wer

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby thomthom » Wed Jun 02, 2010 9:41 am

paulower: that's a nice setup. Thanks for sharing.

Render01.png


:thumb:
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17544
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby thomthom » Wed Jun 02, 2010 10:08 am

tak2hata wrote:Sorry ,Now I examines the method to remember dialog position.
That demands the javascript knowledge from me.
I will update few day later.


No need for javasscript to remember the window's position. SU does this for you if you specify a preference key.

http://code.google.com/apis/sketchup/do ... g.html#new
pref_key
The registry entry where the location and size of the dialog will be saved. If preferences_key is not included, the location and size will not be stored.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17544
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby jaceguay » Wed Jun 02, 2010 3:31 pm

Nothing happend when i click make fur, the ruby console show this:

Error: #<TypeError: no implicit conversion to float from nil>
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `initialize'
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `new'
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `fur_inputbox'
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:1561
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:1561:in `call'

Does anyone know what can be done to adress this error?
jaceguay
Premium Member
Premium Member
 
Posts: 43
Joined: Fri Dec 21, 2007 10:46 pm

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby jeabdc » Wed Jun 02, 2010 5:09 pm

ThankY ขอบคุณมากครับ :fecstatic:
jeabdc
 
Posts: 10
Joined: Sun Feb 28, 2010 2:57 am

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby Didier Bur » Wed Jun 02, 2010 5:46 pm

Hi,
Does anyone know what can be done to adress this error?


After taking a look at the code, line 541 has something to do with "Direction (X)" Y and Z factors.
Yours are undefined (nil), so check your values in the dialog box and try to change them with something else than zero and see if it works. Check your decimal "," or "." too.
Hope this helps,
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby jaceguay » Wed Jun 02, 2010 8:00 pm

Thanks for the fast response, changing the values return another error:


Error: #<TypeError: no implicit conversion to float from nil>
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:852:in `initialize'
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:852:in `new'
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:852:in `show_webdialog'
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:792:in `call'
jaceguay
Premium Member
Premium Member
 
Posts: 43
Joined: Fri Dec 21, 2007 10:46 pm

Re: [Plugin] Make Fur (Updated - v.1.3m May 30, 2010 11:53 a

Postby jonorman » Wed Jun 02, 2010 8:52 pm

same problem here. after installing last version..

Error: #<TypeError: no implicit conversion to float from nil>
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `initialize'
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `new'
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `fur_inputbox'
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:1561
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:1561:in `call'

buuuuhuuuuu... miss my fur/grass plugin :cry:
jonorman
 
Posts: 62
Joined: Sun Jan 06, 2008 12:09 am

Re: [Plugin] Make Fur (Updated - v.1.4 Jun 03, 2010 6:43 am)

Postby tak2hata » Wed Jun 02, 2010 11:02 pm

Hi
I uploaded version1.4.
Change is...
    Remember webdialog position.(Thanks thomthom :D )
    Add new mode "Crowd".(Multi Instance scattering.)

jonorman wrote:same problem here. after installing last version..

Error: #<TypeError: no implicit conversion to float from nil>
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `initialize'
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `new'
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in `fur_inputbox'
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:1561
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:1561:in `call'

buuuuhuuuuu... miss my fur/grass plugin :cry:

In this version ,I changed convert string to length method little.
When that error is happened , I want look your dialog parameter.
I think problem is around "s_to_l" method.
thiloo wrote:thanks tak2hata for the quick explanation,

wow, that´s also an powerful feature.
sadly it´s not working if I choose "make by component - yes"!
also, with component activated, the reaction to the force settings are quite unexpected?
fur_force.jpg

I need the components for instancing -> rendering.

again, Thank You for your time and effort

"make by component -- yes" was added after making this plugin.
This plugin originaly use for "make by component -- no".
I do not have good way to componentinstance direction control.

When I find good way,I will change it.

Thanks.
-----------
by TAK2HATA
tak2hata
 
Posts: 204
Joined: Fri Feb 13, 2009 1:41 pm
Location: Japan
Name: tak2hata
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Make Fur (Updated - v.1.4 Jun 03, 2010 6:43 am)

Postby sloof » Thu Jun 03, 2010 6:05 am

how to use this ?

somebody help me please ?
sloof
 
Posts: 1
Joined: Thu Jun 03, 2010 5:57 am
Name: muh

Re: [Plugin] Make Fur (Updated - v.1.4 Jun 03, 2010 6:43 am)

Postby jonorman » Thu Jun 03, 2010 8:53 am

screen dump of SU trying to use fur.
Please, register (free) to access all the attachments on the forums.
jonorman
 
Posts: 62
Joined: Sun Jan 06, 2008 12:09 am

Re: [Plugin] Make Fur (Updated - v.1.4 Jun 03, 2010 6:43 am)

Postby tak2hata » Thu Jun 03, 2010 11:00 am

jonorman wrote:screen dump of SU trying to use fur.

Hi,jonorman.
I updated version 1.4a.

Sorry,I forgat changing "s_to_l".
now it changed.
It may be work.
-----------
by TAK2HATA
tak2hata
 
Posts: 204
Joined: Fri Feb 13, 2009 1:41 pm
Location: Japan
Name: tak2hata
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby tak2hata » Thu Jun 03, 2010 11:20 am

sloof wrote:how to use this ?

somebody help me please ?

Hi,sloof.
http://forums.sketchucation.com/viewtopic.php?f=323&t=28092
http://sketchupdate.blogspot.com/
It may help.

Thanks.
-----------
by TAK2HATA
tak2hata
 
Posts: 204
Joined: Fri Feb 13, 2009 1:41 pm
Location: Japan
Name: tak2hata
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby jonorman » Thu Jun 03, 2010 11:24 am

JIPPIIIIII ! ! ! ! Back in bizzniz :berserk: :ecstatic: :thumb: :enlight:
jonorman
 
Posts: 62
Joined: Sun Jan 06, 2008 12:09 am

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby tomot » Thu Jun 03, 2010 4:53 pm

WOW! .....another great Plugin,
This pampas grass looks better that the real stuff in my planter :)
Thanks! tak2hata
Please, register (free) to access all the attachments on the forums.
tomot
 
Posts: 610
Joined: Mon Apr 07, 2008 12:18 am
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby Didier Bur » Thu Jun 03, 2010 9:40 pm

Hi,
Got this error when using "make crowd" without having a "fur_instance" component in my model:

Error: #<TypeError: wrong argument type (expected Sketchup::ComponentDefinition)>
C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:1272:in `add_instance'

I guess the script does not check wether the relevant component is in the model or not ? :idea:

It works OK if a "fur_instance" component is present.
After deleting the fur instance component, hit "CheckOnAll", and it is still there, and the makecrowd doesn't work anymore if I let its checkbox ticked.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby Stu » Thu Jun 03, 2010 11:15 pm

Ive been using fur for a while ...with good results, and just loving it!! :thumb:

However I've struck a problem as in the attached....it seems to be the cut off angle that is upsetting the geometry.....if I try a square or rectangular plane it behaves normally.
Please, register (free) to access all the attachments on the forums.
Stu
 
Posts: 457
Joined: Fri Nov 16, 2007 8:51 pm
Location: Melbourne

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby paulower » Fri Jun 04, 2010 1:31 am

Hi friends. This is the translation of Make Fur to languaje Portuguese-BR (Brasil) by me.

Tak2hata would be possible in the next version, you increase the size of the buttons "Assign Material to" and "Get Stuff From." Is that in Portuguese, we have more characters in the translation and some letters may not appear on the icon (button).

You can see who is running smoothly letters with accents and numerical symbols.


Whenever possible, I will update the new versions in the same post.

fur_lang_pt 1.5a.zip


Outras versões (Other versions):

fur_lang_pt 1.4a.rar

fur_lang_pt 1.4b.rar

thomthom wrote:paulower: that's a nice setup. Thanks for sharing.
:thumb:


That's it thomthom. We are here also for these share.
Is a tip for the staff, if possible to share their techniques and components (maps, textures) of grass and others.

tak2hata wrote:Hi,All.
I update fur plugin to verion1.3j.
Increased translatable words for local language file.
Franch translation by Daredevil.
Persian translation by Majid.
Spanish translation by Oxer.
Thanks you very mush.

Thanks.
Please, register (free) to access all the attachments on the forums.
Last edited by paulower on Fri Nov 05, 2010 7:42 am, edited 2 times in total.
paulower
 
Posts: 9
Joined: Thu May 06, 2010 11:48 am
Location: Curitiba, Paraná, Brasil
Name: Paulo Wer

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby tak2hata » Fri Jun 04, 2010 4:32 am

paulower wrote:This is the translation of Make Fur to languaje Portuguese-BR (Brazil) by me.

Tak2hata would be possible in the next version, you increase the size of the buttons "Assign Material to" and "Get Stuff From." Is that in Portuguese, we have more characters in the translation and some letters may not appear on the icon (button).

You can see who is running smoothly letters with accents and numerical symbols.

Thanks paulowr.
I add language list on first thread.
I will increase the size of Buttons in next version.
Stu wrote:Ive been using fur for a while ...with good results, and just loving it!! :thumb:

However I've struck a problem as in the attached....it seems to be the cut off angle that is upsetting the geometry.....if I try a square or rectangular plane it behaves normally.

Hi , Stu.
That happens in small value of "MaxNumber(/Face)" for the faces.
You should increase "MaxNumber(/Face)" enough.

Thanks.
-----------
by TAK2HATA
tak2hata
 
Posts: 204
Joined: Fri Feb 13, 2009 1:41 pm
Location: Japan
Name: tak2hata
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby Stu » Fri Jun 04, 2010 4:42 am

Thanks Tak2hata, I boosted it up to 12,000!! and its fine now
Please, register (free) to access all the attachments on the forums.
Stu
 
Posts: 457
Joined: Fri Nov 16, 2007 8:51 pm
Location: Melbourne

Re: [Plugin] Make Fur (Updated - v.1.4a Jun 03, 2010 6:55 pm

Postby tomot » Fri Jun 04, 2010 4:20 pm

Tak2hata I was wondering if you had considered including a random fur height function? I'm currently creating a random height tile/block/city generator... which is not finished yet.
See my RAND code snippet below.

Code: Select all
if( $type == "Random + " ) 
   
    group=entities.add_group
    entities=group.entities
 
    1.upto($vpanes) do |i|
      x = ($vtile*i)+(i*$space) 
      1.upto($hpanes) do |j|
       y = ($htile*j)+(j*$space)
       
   o = $pt3.offset($hVec, y - $space).offset($vVec, x - $space)
    pt1 = o.offset($hVec, -$htile)
   pt2 = o.offset($vVec, -$vtile)
   pt3 = pt1.offset($vVec, -$vtile)
   #entities.add_cpoint o
   #entities.add_cpoint pt1
   #entities.add_cpoint pt2
   #entities.add_cpoint pt3
    face = entities.add_face o, pt1, pt3, pt2
    face.pushpull -($tthick+rand(20))
      end
    end
end #if   

cheers!
tomot
 
Posts: 610
Joined: Mon Apr 07, 2008 12:18 am
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Make Fur (Updated - v.1.4b Sun Jun 06, 2010 12:

Postby tak2hata » Sat Jun 05, 2010 5:05 pm

Hi,all.
I update this to version1.4b.
tomot wrote:Tak2hata I was wondering if you had considered including a random fur height function? I'm currently creating a random height tile/block/city generator... which is not finished yet.
See my RAND code snippet below.

Code: Select all
if( $type == "Random + " ) 
   
    group=entities.add_group
    entities=group.entities
 
    1.upto($vpanes) do |i|
      x = ($vtile*i)+(i*$space) 
      1.upto($hpanes) do |j|
       y = ($htile*j)+(j*$space)
       
   o = $pt3.offset($hVec, y - $space).offset($vVec, x - $space)
    pt1 = o.offset($hVec, -$htile)
   pt2 = o.offset($vVec, -$vtile)
   pt3 = pt1.offset($vVec, -$vtile)
   #entities.add_cpoint o
   #entities.add_cpoint pt1
   #entities.add_cpoint pt2
   #entities.add_cpoint pt3
    face = entities.add_face o, pt1, pt3, pt2
    face.pushpull -($tthick+rand(20))
      end
    end
end #if   

cheers!

Thanks tomot.
But this plugin created preset file.
If I add new parameter, compatible with the old one is difficult for me.
If you want to use random size to component instance, please use crowd(webdialog).
and change value of "size jitter" as you like.

Thanks.
-----------
by TAK2HATA
tak2hata
 
Posts: 204
Joined: Fri Feb 13, 2009 1:41 pm
Location: Japan
Name: tak2hata
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Make Fur (Updated - v.1.4b Sun Jun 06, 2010 12:

Postby Mauhaus » Sat Jun 05, 2010 8:55 pm

Hi guys,
I lost my dwg-import option after installing the plugin. Any ideas why this happened?

/Thomas :(
Mauhaus
 
Posts: 2
Joined: Fri May 28, 2010 9:59 pm
Name: Mauhaus

Re: [Plugin] Make Fur (Updated - v.1.4b Sun Jun 06, 2010 12:

Postby Gaieus » Sat Jun 05, 2010 9:00 pm

Hi Thomas,

re you sure you did not upgrade from SketchUp 7.0 to 7.1 (free) lately?
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27601
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Make Fur (Updated - v.1.4b Sun Jun 06, 2010 12:

Postby Mauhaus » Sat Jun 05, 2010 9:09 pm

Hi Gaieus

Thanx for replying 8-)
Yes, I have been running 7 (7.1.6859) PRO for some time now. The dwg-import option disappeared after installing it. Maybe I didn't install it properly?

/Thomas
Mauhaus
 
Posts: 2
Joined: Fri May 28, 2010 9:59 pm
Name: Mauhaus

Re: [Plugin] Make Fur (Updated - v.1.4b Sun Jun 06, 2010 12:

Postby SuperSized » Sat Jun 05, 2010 10:37 pm

In the spirit of the SA World Cup.... nice plugin :fecstatic:
Please, register (free) to access all the attachments on the forums.
SuperSized
 
Posts: 1
Joined: Wed Jun 02, 2010 8:47 pm
Name: Rob

Re: [Plugin] Make Fur (Updated - v.1.4b Sun Jun 06, 2010 12:

Postby Frederik » Sun Jun 06, 2010 8:36 am

Mauhaus wrote:Yes, I have been running 7 (7.1.6859) PRO for some time now. The dwg-import option disappeared after installing it. Maybe I didn't install it properly?

I'm sure the install was made properly, however, the dwg/dxf import has been excluded from ver. 7.1 and onwards...
You need a seperate plugin...
Please check out the DWG/DXF import plugin for SketchUp 7.1 (Free)...
User avatar
Frederik
Top SketchUcator
 
Posts: 2168
Joined: Mon Nov 12, 2007 8:13 pm
Location: Denmark
Name: Kim Frederik
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Make Fur (Updated - v.1.4b Sun Jun 06, 2010 12:

Postby hebeijianke » Sun Jun 06, 2010 8:50 am

A Chinese translation.
Thanks to you all !
Please, register (free) to access all the attachments on the forums.
hebeijianke
 
Posts: 38
Joined: Tue Apr 28, 2009 2:01 am

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Are you a Premium Member? Get your freebies here. Are you not a Premium Member yet? Upgrade your account to grab these freebies instantly.

Ad Machine
Robot
 
Posts: 2012

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: Edson, jorge2011, McGyver, mimarc06, napasik, vennisnavagho, yannleo and 8 guests