[Plugin] LSS Toolbar 2.0 Beta

[Plugin] LSS Toolbar 2.0 Beta

Postby kirill2008 » Mon Aug 27, 2012 7:34 pm

Small Announcement (29-Jan-2017)
Note that currently there are no plans to continue development of LSS Toolbar extension so it is highly recommended look for some other alternatives, which have a similar functionality and compatible with recent versions of SketchUp.

Link to download lss_toolbar_2_0_beta.zip

LSS Toolbar is a SketchUp extension. It provides a set of tools for advanced geometry creation and manipulation.

Installation
- download lss_toolbar_2_0_beta.zip
- unpack contents of «Plugins» subfolder into SketchUp «Plugins» subfolder
- unpack contents of «Resources» subfolder into SketchUp «Resources» subfolder
installation guide.png


Toolbar Enabling
- Sketchup Main Menu>> Veiw>> Toolbars>> LSS Toolbar

Note
- current version runs under Windows only
- some certain tools conflict with SketchyPhysics plugin

Visit LSS Toolbar web-site for more information

Ver. 2.0 beta 1
Link to download lss_toolbar_2_0_beta_1.zip
- non-decimal model units fix
- obtain point cloud added

Ver. 2.0 beta 2
Link to download lss_toolbar_2_0_beta_2.zip
- control curve for '2 Faces + Path' tool added
4
Last edited by kirill2008 on Sun Jan 29, 2017 6:23 pm, edited 7 times in total.

kirill2008 
PluginStore Author
PluginStore Author
 

Re: LSS Toolbar 2.0 Beta

Postby victor hugo » Mon Aug 27, 2012 7:54 pm

Hello When I select the "make 3D Mesh" I get this error.

file:///C:/Program%20Files/Google/Google%20SketchUp%208/Resources/en-US/lss_toolbar/pnts2mesh.html

Is this a bug or conflict with other plugins?

Thanks.
-1

victor hugo 
 

Re: LSS Toolbar 2.0 Beta

Postby thomthom » Mon Aug 27, 2012 10:08 pm

VICTOR HUGO wrote:Hello When I select the "make 3D Mesh" I get this error.

file:///C:/Program%20Files/Google/Google%20SketchUp%208/Resources/en-US/lss_toolbar/pnts2mesh.html

Is this a bug or conflict with other plugins?

Did you follow the instructions of extracting the different content to the correct folders?
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: LSS Toolbar 2.0 Beta

Postby TIG » Mon Aug 27, 2012 10:38 pm

This tool has an unusual set of files - one set that go into the Sketchup.../Plugins folder and another set that go into the Sketchup.../Resources folder...
It could have been contrived more appropriately...
However, it is clearly spelled out in the tool's download page...
Incidentally, you'll need to have FULL security-permissions to write files into both of these folders for this installation to be effective...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby sherwood11 » Tue Aug 28, 2012 4:45 pm

Just an observation, note or a bug ? with the Follow Edges tool ...

I was continually getting this message [below] with the units format (in Model Info) set to 'Architectural'.

It works much better with the units format set to 'Decimal' ...
My unit measurement is set to inches.

followedges1.png
0

sherwood11 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby kirill2008 » Wed Aug 29, 2012 6:59 am

sherwood11 wrote:Just an observation, note or a bug ? with the Follow Edges tool ...

It is a bug... And I'm afraid this error will raise in other tools as well with the units format (in Model Info) set to 'Architectural'. Thanks for reporting :thumb:
0

kirill2008 
PluginStore Author
PluginStore Author
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby xrok1 » Wed Aug 29, 2012 7:30 pm

WOW! Looks like an awsome addition! :D
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby schnydix » Thu Aug 30, 2012 10:14 pm

Thanks so much Great stuff
now i can easy create my coral reef
0

schnydix 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby pilou » Thu Aug 30, 2012 11:01 pm

Seems a new true geometric gem :)
fractal plugin is not so frequent ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby tulacong » Fri Aug 31, 2012 3:25 am

thank you very much :sketchstatic:
0

tulacong 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby EarthMover » Fri Aug 31, 2012 2:35 pm

All the tools are great. The voxel tool is really cool, albeit buggy. I love that you can pick a component instance and fill a volume with it. It essentially becomes a scatter tool. Will be great for making plants, etc.
0
3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup
Content Creator at Skapeup
User avatar
EarthMover 
Premium Member
Premium Member
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby notareal » Fri Aug 31, 2012 5:29 pm

:thumb: Impressive work!
0
Welcome to try Thea Render, Thea support | kerkythea.net -team member

notareal 
Thea Render Support
Thea Render Support
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby majid » Sat Sep 01, 2012 10:53 am

is there any conflict by Fredo06's truepaint?.... it is not working anymore...
Edit: removed the LSS toolbar and it;s components and fredo06 truepaint works again :cry:
0
Last edited by majid on Sun Sep 02, 2012 3:42 am, edited 1 time in total.
My V-Ray book for architects: https://goo.gl/cz1oRc
User avatar
majid 
Top SketchUcator
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby srx » Sat Sep 01, 2012 4:21 pm

:thumb: :thumb: :thumb:
0
www.saurus.rs
User avatar
srx 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby schnydix » Mon Sep 03, 2012 12:59 pm

Again a nice work Thanks for the hard work
Itis possible switch off parts of the tool like voxelizer
0

schnydix 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby I.Aleks.S » Mon Sep 03, 2012 4:20 pm

Уважаемый kirill2008, высокая оценка за труды на благо сообщества!

скажите есть-ли русская версия вашего LSS Toolbar, Вы ведь владеете русским?!

Благодарю.
0

I.Aleks.S 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby guanjin » Mon Sep 03, 2012 6:41 pm

kirill 2008 Hello:
First, thank you for your hard work, the development of such a good tool.
There is a problem:
The joint can not be changed, thank you!
3333333.gif
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby kirill2008 » Thu Sep 06, 2012 6:27 pm

guanjin wrote:There is a problem:
The joint can not be changed, thank you!

Looks like it caused by localization. Please open ruby console and send an error message from it, so I'll be able to find the problem.
schnydix wrote:скажите есть-ли русская версия вашего LSS Toolbar, Вы ведь владеете русским?!

Русской версии пока что нет. Планирую исправить те недочеты, которые выявятся в ходе тестирования бета-версии, после этого приступить к локализации.
majid wrote:is there any conflict by Fredo06's truepaint?.... it is not working anymore...
Edit: removed the LSS toolbar and it;s components and fredo06 truepaint works again

That's strange. LSS Toolbar does not override any methods, so it may be blocked itself by other plugins (like SketchyPhysics, which overrides 'copy' method of 'Group') but it's very unlikely that LSS Toolbar blocks other plugins...
Anyway, you may temporarily disable LSS Toolbar without uninstalling it. LSS Toolbar is an extension (you can assume that extension is a kind of manageable plugin), so you may uncheck it in 'System Preferences' dialog instead of removing of all files and folders:
extension manager.png

It is a temporary solution, of course. Please, send report from ruby console when truepaint refuses to work with LSS Toolbar enabled, so it will be possible to find out what is the problem.

Good news: here is a bit fixed version https://dl.dropbox.com/u/44695539/lss_t ... beta_1.zip
It works better with non-decimal model units plus it has some new functionality:
0

kirill2008 
PluginStore Author
PluginStore Author
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby guanjin » Thu Sep 06, 2012 7:42 pm

Thank:kirill2008

Simple and convenient tool, I will continue to test!
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby driven » Fri Sep 07, 2012 12:23 am

Hi Kirill,

left a note on your blog, but thought I write here as well.

Webkit reported errors so I changed lss_common.js, just syntax
Code: Select all
function apply_defaults(){
   for (i=0; i<settings_arr.length; i++) {
      var img_btn=document.images[settings_arr[i][0]];
      if (img_btn) {
         if (settings_arr[i][1]=="true") {
            img_btn.setAttribute("className", "btn_checked");
         }
         else {
            img_btn.setAttribute("className", "btn_unchecked");
         }
      }
      var input_ctrl=document.getElementById(settings_arr[i][0]);
      if (input_ctrl) {
         if (input_ctrl.type == 'text') {
            input_ctrl.value=settings_arr[i][1];
         }
         if (input_ctrl.type == 'checkbox') {
            if (settings_arr[i][1]=='true'){
               input_ctrl.checked=true;
            }
            else{
               input_ctrl.checked=false;
            }
         }
      }
   }
}

also @index_path="file://#{@resource_dir}/lss_toolbar/instruct/index.html" was needed to open help in Safari.

Changed show()to show_modal() for mac use.

Seems to be a couple of other minor glitches that I'm finding, but they may be me not being familiar with the process.

The other major problem is SU crashes on quit with this activated in 'Extensions' but not when it's not... No other plugins/extensions active when testing.

When it's activated, SU asks to 'Save Changes' on quit, whether I used it or not, then crashes as it closes it's windows.

If I first close a drawing, I get the save dialog, which I can close without saving. after that SU will quit without a crash report.

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby thomthom » Fri Sep 07, 2012 8:48 am

Kirill
Here is a method I use that allows me to use instructor content wihtout placing the files in the SU folder. It basically resolves a relative path from the instructor folder to the folder where the content actually is. This only works when the content is on the same drive as SU though.

Code: Select all

  
# Get Instructor Path
  #
  # +Tool.getInstructorContentDirectory+ expects a path relative to SketchUp's
  # +Resource/<locale>/helpcontent/+ folder, despite the documentations use an
  # absolute path.
  #
  # This method is a wrapper that generates a path to the actual help content
  # which SketchUp can use.
  #
  # The given path must be under the same drive as SketchUp's help content.
  #
  # This quick exist in all current SketchUp versions.
  #
  # Current SketchUp version: SketchUp 8 M1
  #
  # @param [String] path
  #
  # @return [String,Nil]
  # @since 1.0.0
  
def self.get_instructor_pathpath )
    
path File.expand_pathpath )
    
origin Sketchup.get_resource_path'helpcontent' )
    
# Check if drive matches
    
origin_drive origin.match( /^(w):/ )
    if 
origin_drive
      origin_drive 
origin_drive[1].downcase
    end
    path_drive 
path.match( /^(w):/ )
    if 
path_drive
      path_drive 
path_drive[1].downcase
      path 
path[2...path.size# Trim drive letter
    
end
    
if path_drive && origin_drive
      
return nil unless origin_drive == path_drive
    end
    
# Build relative path
    
parts origin.splitFile::SEPARATOR ).size
    path_to_root 
"..#{File::SEPARATOR}" parts
    relative_path 
File.joinpath_to_rootpath )
    return 
relative_path
  end
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] LSS Toolbar 2.0 Beta

Postby rumcajs » Fri Sep 07, 2012 11:31 am

Thanks for great plug-in.

I have tested your LLS toolbar and have few questions and suggestions.

Sometimes when I partially configure a tool settings, then I abort it because I need to select group or to make group, then I select the group, and then I select the tool - and in this moment it suddenly starts performing actions (calculations), so I must wait some time... but I wanted to configure and then to apply. It would be good to prevent this, but I don't remember which tool it were, but it sometimes happens with different tools.

Voxelate tool - did not work to me. I did not succeed to change the object when I have selected group or defined voxel.

Make recursive tool – I do not understand sense too much of this tool. If I can create groups recursivly, what is it good for? I should have posibility to regroup all groups into one level or explode them all (don’t know if SU or any plug-in supports this).

LSS Matrix observer
This one did not work to me. I created group, created clones with recursive tool and then copied the group. Then I enabled observer and made changes to one group. But the changes did not appear on the instances... Probably I did something wrong...

Chaining - idea
I did a test with a simple circle shape (3D circle). I had made a structure with recursive tool which looks like chain. And my idea is, this. I would delete the faces of the chain and now what I would like to see: to have a tool, which can find intersection points, and use these points as joins of chain. Move with the chain, like it is real chain, which you can drag in any direction, you can twist with it or turn around, and so on. Maybe just to define several ways what you want to do with the model/object and where you want to go in the space. With dragging control point or mouse cursor, the chain will follow mouse cursor like a snake. It will twist, and so on… So you could create interesting structures from objects, which are connected like chain. You could probably create more wide chains (multiple chains) and then to form them into “linen” or “iron coat”…
This is the structure what I mean:
http://farm3.static.flickr.com/2352/225 ... d1e28f.jpg
http://farm6.staticflickr.com/5260/5451 ... 0f665e.jpg
Just one more thing this would need: the object must not create new intersections, because if it would join somewhere, you could not move it like before. Then if one will finish his object, he can coat it to any surface, so maybe he will create a snake from this shape, or some cloths, armour or some different things? If you would like to deform the linen maid from chains, than you would use wider circular shape to tell it where the part should be deformed.

Other tools:
Click to activate 2 faces + path”:
You could add here these features:
- color gradient
- color gradient position
- color gradient type
- color gradient curve
(similar like in Photoshop you can define type of gradient, which is linear, radial, angle, reflected and diamond)
- shape curve - this curve should define the transition, the way how the transition from one shape to another will apply on model. For example - you probably use linear “curve” now. But I am not sure, because when I tested the tool, so the result seemed unbalanced to me so this curve should keep a balance to transition. So one could make a curve which top (vertex?) should be in the middle. Then the transition would be most visible in the middle of transition.
Something like this:
http://www.civitas.org.uk/wordpress/wp- ... -curve.JPG
There is a lot of different curves. So for example with this one:
http://etc.usf.edu/clipart/35200/35204/ ... 204_lg.gif
you could reverse the object to different side, and then back.
Or like this curve:
http://www.weibull.com/hotwire/issue21/ht21_1.gif
So if you would have triangle on a start, and rectangle on end, when according this curve, there would be triangle on start, rectangle in middle and triangle on end.

This is the base idea, but I did not see all tools yet, so I will write here some other ideas later. Good luck.

Coating - idea
Or maybe you could make a tool (if that one is not in your toolbar yet), which could make some object get close to another object (as close as possible) but did not join with it. It would copy shape of the object. For example. If you have 3D person, and would you like to put real clothes on him/her, which you did, then you would like the font part of clothes to copy shape of the body. Similarly, if you would have some object like a jar and you would like to put some decoration to it, so you would create the doze, create the decoration separately on a flat surface, and then you would just send/project the decoration onto the surface of the jar. By the way, why not to make tools like this, which could deform surface with an object? But this idea is maybe more related to Control points... that you could use a jar to deform surface... and possibly to leave print in the surface.
0

rumcajs 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby kirill2008 » Fri Sep 14, 2012 9:11 am

The last few weeks I was deeply involved in the implementation of alternative user interface for Sketchup tools so I did not answer to new posts...
driven wrote:Webkit reported errors so I changed lss_common.js, just syntax
Changed show()to show_modal() for mac use.

So does it mean that there is light at the end of the tunnel for mac users? I mean I lost any hope that 'LSS Toolbar' can be adapted to run on mac.
thomthom wrote:Here is a method I use that allows me to use instructor content wihtout placing the files in the SU folder.

Thomas thanks a lot :thumb: I think I'll use the same method too for next update if you don't mind :)

Little announcement:
I just want to inform that I'm going to suspend 'LSS Toolbar' development for a while, since now I need to raise a kind of library with custom UI graphic controls for all previously made plugins/extensions. It will be an alternative to standard UI class of Sketchup API and to WebDialog class. Here is a video where it is possible to take a look at how such custom control looks like (skip to 1:08 for preview)
http://youtu.be/QLfI1McLMa0

I decided to get rid of WebDialog class so all issues caused by ruby-javascript communication will be immediately solved (for example non-decimal model units issue). But since I want to keep web-dialog flexibility then standard UI class is not an option, that's why I decided to make custom UI library.
rumcajs wrote:I have tested your LLS toolbar and have few questions and suggestions.

Thanks for valuable feedback and new ideas. Chaining idea is cool :thumb:
Speaking of 'Coating idea', you may try 'Stick Group' tool of 'LSS Toolbar' for this purpose (not sure about clothes modelling, but it is possible to apply some flat decoration on free formed surface not high poly though...)
0
Last edited by thomthom on Fri Sep 14, 2012 9:15 am, edited 1 time in total.
Reason: Inserted YouTube link so people can view in outside SCF if they want.

kirill2008 
PluginStore Author
PluginStore Author
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby thomthom » Fri Sep 14, 2012 9:28 am

kirill2008 wrote:
thomthom wrote:Here is a method I use that allows me to use instructor content wihtout placing the files in the SU folder.

Thomas thanks a lot :thumb: I think I'll use the same method too for next update if you don't mind :)

:)

kirill2008 wrote:It will be an alternative to standard UI class of Sketchup API and to WebDialog class.

Have you seen Aerilius' libary?
viewtopic.php?f=180&t=47605

kirill2008 wrote:(for example non-decimal model units issue).

You mean comma vs period?
I always keep all data as floats and lengths - Do not convert anything until it's being presented in the UI. What you want to watch out for if you send Length objects to WebDialogs is ensuring they are sent as floats.
http://www.thomthom.net/thoughts/2012/0 ... -sketchup/


Very cool video - looking forward to seeing the final product. :thumb: :thumb:
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] LSS Toolbar 2.0 Beta

Postby kirill2008 » Fri Sep 14, 2012 10:02 am

thomthom wrote:
kirill2008 wrote:It will be an alternative to standard UI class of Sketchup API and to WebDialog class.

Have you seen Aerilius' libary?
viewtopic.php?f=180&t=47605

No I haven't seen, unfortunately... Looks like I don't need to raise my own library :D
thomthom wrote:
kirill2008 wrote:(for example non-decimal model units issue).

You mean comma vs period?

I mean when distance string has quote and double quote sign and "/" sign at the same time (when model units are set to feet and inches). The point is that if I send raw distance value in SU internal units (decimal inches) to web-dialog, then I need to implement 'format_length' and 'parse_length' analogs on java-script side, so I send formatted length string to web-dialog. It's OK if model units are set to decimal (no matter metric or not), but if formatted string contains quote, double-quote and "/" sign (for fractional part), then it becomes non-obvious task to send such strings back and forth...
BTW I read your blog fairly often so I read your article about dealing with units a while ago and it really helped. But the point is I didn't find any hints in it how to let user edit formatted length string in a web-dialog, then send this information from web-dialog to ruby and this appears to be the most tricky part...
0

kirill2008 
PluginStore Author
PluginStore Author
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby thomthom » Fri Sep 14, 2012 10:25 am

kirill2008 wrote:I mean when distance string has quote and double quote sign and "/" sign at the same time (when model units are set to feet and inches). The point is that if I send raw distance value in SU internal units (decimal inches) to web-dialog, then I need to implement 'format_length' and 'parse_length' analogs on java-script side, so I send formatted length string to web-dialog. It's OK if model units are set to decimal (no matter metric or not), but if formatted string contains quote, double-quote and "/" sign (for fractional part), then it becomes non-obvious task to send such strings back and forth...
BTW I read your blog fairly often so I read your article about dealing with units a while ago and it really helped. But the point is I didn't find any hints in it how to let user edit formatted length string in a web-dialog, then send this information from web-dialog to ruby and this appears to be the most tricky part...


Escape the string before you send it to the webdialog. You can quickly do this by using the #inspect method of a string.

Say you have a string with " or ':
string = %{10.5"}

If you pass that directly to the webdialog you will get parse errors:
webdialog.execute_script( %|javascript_function("#{string}")| )

This will be evaluated in the webdialog's javascript engine as:
javascript_function("10.5"") - un-escaped quotes.

If you make use of #inspect:
string = %{10.5"}.inspect
This returns the string: 10.5\"

This we can use:
string = %{10.5"}
webdialog.execute_script( %|javascript_function("#{string.inspect}")| )


This will be evaluated in the webdialog's javascript engine as:
javascript_function("10.5\"") - valid! :D

I made a wrapper for this - so I can call javascript functions such as:
webdialog.call_script( 'javascript_function', %{10.5"} )
The first argument is the javascript function - the remaining arguments (as many as you like) becomes the javascript function's arguments properly formatted with any required escape quotes. It also converts Hash objects into JSON. I've also extended it to convert Geom::Point3d and Geom::Vector3d into javascript structures which can be passed back.
The webdialog.call_script also returns the value the javascript function return - converting ruby values <=> javascript values.

Part of TT_Lib2:
window.rb
javascript.rb
json.rb
base.js
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] LSS Toolbar 2.0 Beta

Postby rumcajs » Fri Sep 14, 2012 12:49 pm

Stick group - I want to
performing "preliminary sticking" action while I did not set any option yet is annoying. I have to confess that I don't have enough patience to wait so long every time when I click "Stick group" icon. So this is what I really mind on this plugin and will not use it until it will be fixed in future. I suggest disable any preliminary actions, add a button into the box, where user can click to preliminary draw and see how it would look. This would be voluntary, so user needs not to click it. Don't start any action until the conf. window is open and user will start do his own clicking actions. The test which I do today was with standard sphere with 24 segments. I even wonder what machines are you running guys!
0

rumcajs 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby panixia » Fri Sep 14, 2012 2:42 pm

this beta looks very good promising.. congrats!
only 2 question:

1. does this tools support pseudo quads?
2. does it actually have a conflict with tru-paint?

thank you
0
User avatar
panixia 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby fouronethirty » Tue Sep 18, 2012 7:06 am

greetings scf,

LSS toolbar, verygood tools, thanks
0
User avatar
fouronethirty 
 

Re: [Plugin] LSS Toolbar 2.0 Beta

Postby Traupmann » Wed Oct 03, 2012 6:55 am

Same compliments as everyone else

This seems like a small bug that isn't in the file indicated.



traupmann
0
User avatar
Traupmann 
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: No registered users and 94 guests

Visit our sponsors: