Try https://www.kubity.com, it's a web and mobile application to simply export your Sketchup file in mobile and cardboard.
Some examples here : http://sketchucation.com/forums/viewtopic.php?f=400%26amp;t=64800
Posts
-
RE: VR app
-
RE: How does material color multiplication works?
@tt_su said:
It does a HSL shift.
Hi,
If we have the original rgb texture, and the hls or rgb color of the texture, what is the opertion to do to each pixel to create the new material with color like the Sketchup texture writer???thanks
-
RE: UI doesn't update
Update for Sketchup 2014 :
require "Win32API.rb msg = "\000" * 36 peekMessage = Win32API.new('user32','PeekMessage' , 'PLIII', 'I') peekMessage.call( msg, 0, 0, 0, 0x0000 ) != 0
-
RE: A way to avoid that ?
Update for Sketchup 2014 :
require "Win32API.rb msg = "\000" * 36 peekMessage = Win32API.new('user32','PeekMessage' , 'PLIII', 'I') peekMessage.call( msg, 0, 0, 0, 0x0000 ) != 0
-
RE: Sketchup URL scheme / pseudo protocol
@tig said:
Something like
UI.openURL('file:///the/full/path/to/my.skp')
Will open the specified SKP using its default application - SketchUp.exe...
You can't pass arguments to an exe this way - use cmd/vbs/mac-terminal 'system' commands etc for that...Thanks for this tip, but I would like to start Sketchup from a web link without that Sketchup has been starting before.
I just want to start Sketchup without any project , is it possible? -
Sketchup URL scheme / pseudo protocol
Do you know if it's possible to start Sketchup with an URL?
Somethink like this:sketchup;//<projectName.skp>
Any Idea??
-
RE: [Plugin] Heightmap from model
Tips to unpack it :
[mod=Respect the original author:1hft24br]Please respect the author's wish to not have the code visible. Just because a plugin is free doesn't mean the source code is.[/mod:1hft24br]
You can use the scrambler to protect your code:
http://www.sketchup.com/intl/en/developer/docs/utilities -
RE: Plug In - Copy to Path troubles
Ok I get the good position with a translate:
definition.instances.each do |instance| originBefore = instance.transformation.origin instance.transform! inv tr = instance.transformation vectorTranslate = originBefore - instance.transformation.origin translate = Geom::Transformation.translation(vectorTranslate) instance.transform!(translate) end
but when the axes changes (y axes become z axis for exemple) the scale are not good and switch...
I try to get the model.edit_transform , manualy I can get it but with the API it's always the same problem : I can't do the right click Component edit...
Any Idea to get the local axes? -
RE: Plug In - Copy to Path troubles
@thomthom said:
@nikusknx said:
Is it possible to do the "right-click scale definition" with Sketchup api?
Take the scale of the instance, scale the definition by this scale - then scale the instances by the inverse scaling transformation.
Ok its seems to work but the position of instances are not good : I do this to scale the instances by the inverse scaling transformation :
definition.entities.transform_entities(t,self.entities.to_a) inv = t.inverse definition.instances.each do |instance| instance.transform! inv end
Any idea?
-
RE: Plug In - Copy to Path troubles
Is it possible to do the "right-click scale definition" with Sketchup api?