[Plugin] Canvas v1.1.3

[Plugin] Canvas v1.1.3

Postby renderiza » Fri Apr 05, 2013 1:58 pm

Authors:: Renderiza 
Plugin Name:: Canvas
Version:: 1.1.3
Date:: 10/12/2013
Cost:: Free



Canvas

Interactively paint groups and components in spray type manner.


Instructions
  • Select Group or Component
  • Activate Canvas Tool
  • Modify Options If Needed

For plugin compatibility it is recommended to instal
Internet Explorer 9 or higher.



Available at
sketchUcation
plugin Store

click here


______________________________________________________________________

Web-Dialog
2
Last edited by renderiza on Sat Oct 12, 2013 7:55 pm, edited 56 times in total.
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby Box » Fri Apr 05, 2013 2:15 pm

Interesting, works with components but not groups.
2
User avatar
Box 
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby jolran » Fri Apr 05, 2013 2:24 pm

That's a pretty cool idea! I can see some real good use of this.

Some feedback after some quick testing. If you don't like or agree you can ignore.
It's just my point of view. :)

Maybe put stuff in an operation so it can be undone. There can be quite a fair amount of instances added, and hitting ctrl z 1000 times is no fun.

Don't know if it's intentional but one has to click and drag to add component?
I was expecting an instance added by just clicking.

Maybe put in some options from dialog. I can see 1 obvious options that the instances do not stack on top of each other. I do realize they get added by inputpoint so that might be hard to implement..
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby pilou » Fri Apr 05, 2013 2:43 pm

No video or image of what make this plug ?
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby renderiza » Fri Apr 05, 2013 3:18 pm

Thanks for the feedback

Box::

It is strange that groups don't work, I wonder if other people have same problem. What version of SketchUp you have and what operating system?

At the moment I am not sure what is cousin this but I will try to solve it.


jolran::

Enclosing the code in an operation was something I tried but failed to make it work. I do agree that multiple undo is annoying so I will keep trying solving this issue.

The way the code recognize when to lay down an object at the moment is when mouse move. This may change later to have the option to lay down an object a number of times a second (example 15 times a sec) independent if the mouse moves or not.

As for your last suggestion it is really good idea and I am sure if I don't do it someone else might give it a shot. However if the material opacity is 2% for example painting multiple plane objects on top of each other gives a nice effect (The brush hairs is an example).


Pilou::

Normally I do make a videos explaining the plugins but I have yet to make one for this. Hopefully soon I will make some images or videos with ideas on how to use it but at the mean time the Brush image was made using this tool. Also other people might find unique ways on using this tool.


Thanks!
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby Box » Fri Apr 05, 2013 3:23 pm

Win7 64bit
Most recent SU, updated a few days ago.
0
User avatar
Box 
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby guanjin » Fri Apr 05, 2013 3:47 pm

I got loaded error message, thank you!

未命名777.jpg
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby renderiza » Fri Apr 05, 2013 4:26 pm

Box::

I tested the plugin on another computer so I could check if groups worked and they didn't...now I am confused as to why groups work on my computer.

guanjin::

For the Plugin to load the "RND_0_Menu.rb" must be placed on the plugins folder as well. If you do have the file already then this is another issue I need to look into.

Thanks
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby jolran » Fri Apr 05, 2013 8:41 pm

Hi Rafael.


As for your last suggestion it is really good idea and I am sure if I don't do it someone else might give it a shot. However if the material opacity is 2% for example painting multiple plane objects on top of each other gives a nice effect (The brush hairs is an example).


I did not think of that! Thats neat use of it.

I do think YOU should be the one doing the edits, it's your plugin, man :)

I had a quick peek at the code and have a hunch why there seams to be some troubles with detecting groups.

The way your doing it now is that you accept anything that's not nil, face or edge ?

Maybe it would be better to trap for groups or components specifically.
I mean assign the group or component to a variable. If not that variable prompt user.

Just an idea to solve the problem. Anyway Keep up the good work! It's a nice concept!
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Canvas v1.0.1 Beta

Postby renderiza » Sat Apr 06, 2013 4:03 am

Update RND_Canvas v1.0.1 Beta

Fixed::

1.0.1 Beta:: 4/5/2013
* Fixed some spelling mistakes
* Changed "Sketchup.send_action(21022)" to "Sketchup.send_action('selectSelectionTool:')"
* Shortened some if statements
* Now tool should works with both Groups and Components

Note::

While reading this post viewtopic.php?f=323&t=40482 I found a solution for making groups work with the tool.

TIG mentioned the following...
You can only use entities.add_instance() of a definition, BUT there's no built in group.definition method :roll: , BUT all components, groups and images are all just types of instances of a definition.
To find a group's definition you have to find its entities' parent which is the definition - so
defn = group.entities.parent
>>>ComponentDefinition
just as the much snappier method defn = instance.definition does for a component-instance !
The second argument of the entities.add_instance(defn, tr) is the transformation used to place/manipulate the new instance...


So I added this...
Code: Select all
if @@sel.is_a? Sketchup::Group
 defn = @@sel.entities.parent ### You can find group definition by adding this
 @@ents.add_instance(defn, t)
end


If anyone is kind enough to test if the tool works with groups I will be very thankful! :thumb:
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby Box » Sat Apr 06, 2013 4:07 am

Yep, groups works for me as smooth as a baby's bottom.
0
User avatar
Box 
 

Re: [Plugin] Canvas v1.0.0 Beta

Postby guanjin » Sat Apr 06, 2013 4:29 am

guanjin::

For the Plugin to load the "RND_0_Menu.rb" must be placed on the plugins folder as well. If you do have the file already then this is another issue I need to look into.

Thanks[/quote]

未命名88.jpg


My plugin folder, thank you!
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby renderiza » Sat Apr 06, 2013 5:28 am

guanjin::

Thomthom develped a Debugging utility to check if there's files in the Plugins folder that's ended up in Window's VirtualStore.

Please download this here viewtopic.php?f=180&t=48399

Make sure you have admin rights to move the files to 'Plugins' folder.

Have you tried running Sketchup as an Admin ?

Have you double-checked that you/ALL have FULL security permissions to the Plugins folder and all of its contents including subfolders and their contents ?

No 'Compatibility Files...' button/links at all ?

Again solving this issue might take couple of tries but hopefully with your help we can solve it. Thanks!
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby srx » Sat Apr 06, 2013 6:08 am

:thumb: Great! It is like instancing brush from rendering application, like Thea. Thanks.
0
User avatar
srx 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby cuttingedge » Sat Apr 06, 2013 6:36 am

great plugin. Can we control some parameters?, My components gets stacked at each other sometimes
0

cuttingedge 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby 3dsmax9 » Sat Apr 06, 2013 9:20 am

in the RND_Canvas v1.0.1 Beta.rar file this file is missing RND_0_Menu.rb so download the RND_0_Menu.rbz guanjin

this is very cool but can you make it add a comp or groupe with just one click every time you click one time an component will be added it will be very usful.
0

3dsmax9 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby Krisidious » Sat Apr 06, 2013 10:42 am

what is the difference between this and spray paint can?
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby guanjin » Sat Apr 06, 2013 11:16 am

3dsmax9 wrote:in the RND_Canvas v1.0.1 Beta.rar file this file is missing RND_0_Menu.rb so download the RND_0_Menu.rbz guanjin

this is very cool but can you make it add a comp or groupe with just one click every time you click one time an component will be added it will be very usful.




Or can not be loaded, the same problem! :( :(
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby guanjin » Sat Apr 06, 2013 11:18 am

3dsmax9 wrote:in the RND_Canvas v1.0.1 Beta.rar file this file is missing RND_0_Menu.rb so download the RND_0_Menu.rbz guanjin

this is very cool but can you make it add a comp or groupe with just one click every time you click one time an component will be added it will be very usful.




Or can not be loaded, the same problem! :( :(
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby guanjin » Sat Apr 06, 2013 11:49 am

Issue is resolved, I reinstall sketchup8, and then test the normal use, thank you, it is tough!
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby renderiza » Sat Apr 06, 2013 3:16 pm

srx::

Thank you

cuttingedge::

There is no parameter controls at the moment but its on my to do list.


3dsmax9::

Added RND_0_Menu.rb to Rar File...Thank you for pointing it out. :thumb:

Thanks for your suggestion I will look into it but in the mean time please check 'Repeat Copy' by Chris Fullmer here... viewtopic.php?t=26117


Krisidious::

What makes Canvas unique is the constant copies you get without having to do multiple clicks.


guanjin::

I am glad you were able to resolve the issue. :thumb:
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby guanjin » Sun Apr 07, 2013 4:54 pm

guanjin::

I am glad you were able to resolve the issue. :thumb:[/quote]


:ecstatic:

geshishua.gif


Increase the size of the adjustment distance the better, some randomness, overlapping other components, will produce along the Z axis superimposed.
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Canvas v1.0.1 Beta -- Updated April-06-13

Postby sicksickisck » Mon Apr 08, 2013 9:35 am

hah nice tool! and work very fine for me :]
0
User avatar
sicksickisck 
 

Re: [Plugin] Canvas v1.0.2 Beta -- Updated 4/8/2013

Postby renderiza » Mon Apr 08, 2013 5:45 pm

Update RND_Canvas v1.0.2 Beta

New::
1.0.2 Beta:: 4/8/2013
* Add:: Multiple -- Adds Multiple Groups or Components while holding left mouse button
* Add:: Single -- Adds Single Groups or Components while holding left mouse button
* Don't Add:: If pointer on top of face
* Select:: Normal or Random Input Position


"Add:: On Edge" will be available on v1.0.3

Note:

Added new features that some of you were suggesting and if you have any more suggestions let me know.

Now you can choose to add only one group or component per click use "Add:: Single".

Also for people that want to avoid having groups or components overlaps use the "Don't Add:: If pointer on top of face".

::A tip:: When using "Don't Add:: If pointer on top of face" I suggest having the Group or Component Axis on center

For adding some randomness while adding groups or components click :Select:: Random Input Position"

That is it I hope you like the new features for "Canvas"! :thumb:
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas v1.0.2 Beta -- Updated 4/8/2013

Postby guanjin » Tue Apr 09, 2013 3:50 am

Renderiza wrote:Update RND_Canvas v1.0.2 Beta

New::
1.0.2 Beta:: 4/8/2013
* Add:: Multiple -- Adds Multiple Groups or Components while holding left mouse button
* Add:: Single -- Adds Single Groups or Components while holding left mouse button
* Don't Add:: If pointer on top of face
* Select:: Normal or Random Input Position


"Add:: On Edge" will be available on v1.0.3

Note:

Added new features that some of you were suggesting and if you have any more suggestions let me know.

Now you can choose to add only one group or component per click use "Add:: Single".

Also for people that want to avoid having groups or components overlaps use the "Don't Add:: If pointer on top of face".

::A tip:: When using "Don't Add:: If pointer on top of face" I suggest having the Group or Component Axis on center

For adding some randomness while adding groups or components click :Select:: Random Input Position"

That is it I hope you like the new features for "Canvas"! :thumb:



The so quickly update the functionality I want,Renderiza: Great, you're God.

:thumb: :ecstatic:
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Canvas v1.0.2 Beta -- Updated 4/8/2013 --

Postby renderiza » Tue Apr 09, 2013 9:34 pm

guanjin ::

Thanks for your positive comment!

Here is a Sneak Peak on next Canvas version 1.0.3 Beta!



Hope to release it soon and maybe add more features...again thanks!
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas v1.0.2 Beta -- Updated 4/8/2013 --

Postby guanjin » Wed Apr 10, 2013 4:28 am

Renderiza wrote:guanjin ::

Thanks for your positive comment!

Here is a Sneak Peak on next Canvas version 1.0.3 Beta!



Hope to release it soon and maybe add more features...again thanks!



If you modify the options selective disappearance,and then activate the tool view window space-saving, thank you.

Thanks again!

I hope the first to try new brushes!

:ecstatic: :ecstatic:
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Canvas v1.0.2 Beta -- Updated 4/8/2013 --

Postby 3dsmax9 » Wed Apr 10, 2013 7:28 pm

the update ils so cool thank you, the next update look great it will help me a lote thank you so much for this Renderiza.
0

3dsmax9 
 

Re: [Plugin] Canvas v1.0.3 Beta (4/11/2013) - New Update!

Postby renderiza » Thu Apr 11, 2013 8:22 pm

Canvas version 1.0.3 Beta - Released today!!!

Hi, hope this new version is well accepted and sorry the Add:: On Shadow is not available in this version but hopefully the next one.

canvas-dlg.jpg


Again any feedback & advise is more than welcome. :thumb:

3dsmax9::
Thanks for the feedback I really appreciate it!

guanjin::
I modified the code so that if you don't have component or group selected the window dlg will still be there after warning message. Thanks!
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: [Plugin] Canvas :: v1.0.3 Beta :: 4/11/2013 ::

Postby Pixero » Fri Apr 12, 2013 7:14 am

Thanks, I would like to see both fixed and randomized scale and rotation withing bounds.
Also to be able to select where it should be scaled and rotated from. Component axis isnt Always where it ought to be. See Chris Fullmer's Rotate and scale multiple for a good example.
0
User avatar
Pixero 
Premium Member
Premium Member
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Brunagm, goga63, lehauger and 7 guests

Visit our sponsors: