Hello,
SUalive Free 2.40 under review...
see features update on the following thread (replay slider, render)
http://sketchucation.com/forums/viewtopic.php?f=323&t=65306&p=631451#p631451
Have a good day
WhyDi
Hello,
SUalive Free 2.40 under review...
see features update on the following thread (replay slider, render)
http://sketchucation.com/forums/viewtopic.php?f=323&t=65306&p=631451#p631451
Have a good day
WhyDi
Hello,
SUalive Free 2.40 just under review (you can download 2.40 from our website)…
SUalive Light and Full release today!
Website home page has 4 new animation videos
@jumpjack
We are waiting for Twilight contact and will let you know here as soon as they mail us.
you said ‘...creating a temporary new scene per each frame...’
You can now render any frame you like. Simply move replay slider then render!
you said ‘...Maybe SUalive could save scenes data...’
SUalive full has 2 commands. First ‘Export Scene like’ and ‘Play Scenes’. The last wait for user to click on next button and can easily be automated. User Ruby script or render extension can integrate the following safe script. Both script and next button may be used at the same time.
if defined?(YDco657479255;;api_play_next_scene)
YDco657479255;;api_play_next_scene()
end
Have a good day
WhyDi
Hello,
Following macfreek post we checked once more ‘Can not animate’ message then found out a bug when using [Adjust Sel Times] on SUalive Free version.
Details on Plugins Store, SUalive, Reviews.
https://extensions.sketchup.com/en/content/sualive-free#comment-80736
Best Regards
SUalive Team.
Hello,
We are pleased to announce SUalive Free is now cross-platform - Windows or Mac Osx.
Thanks to Helen and Hugh, Vincent ( osx59) and some others for the time. That Osx very first version also owns a debt to John ( driven ) for his welcome and wise advices and the nice way he offers to test SUalive user interface.
I would like to tell you nothing would have been possible without your great help. It's an honour for me to have met such friendly people.
If there is anything I can do for you, it will be a pleasure.
Have a good week-end
Hello,
We are pleased to announce SUalive Freeis now cross-platform - Windows or Mac Osx.
Thanks to Helen and Hugh, Vincent ( osx59) and some others for the time. That Osx very first version also owns a debt to John ( driven ) for his welcome and wise advices and the nice way he offers to test SUalive user interface.
I would like to tell you nothing would have been possible without your great help. It's an honour for me to have met such friendly people.
If there is anything I can do for you, it will be a pleasure.
Have a good week-end
Hi Pilou,
What do you mean 'Hobby version'?
Regards
Hello,
We are currently developing a two-side educational version aiming educational institutions.
Question is 'Student' version only in classroom right or should we think about 'Student' version inside and outside of the educational institution - meaning on student pc at home?
What is your take?
Any suggestion welcome.
Have a good day
Hello Chrishe
Extended versions were originally planned by the end of the year but we need to slightly delay based on two factors.
First such soft needs thorough help and tutorials and we wanted detailed videos as regard both but this raises more issues than we expected - greedy bandwith to provide online help as instance. Related to their weight - and size on your hard disk - such help can not install locally. Perhaps we are going back to more conventional help so that saving time and publish SUalive Light and Full earlier but is it worth? Answer is up to you!
Second OSX version demands work we are not able to plan. SketchUp api seems working but not the same about javascript behaviours. The last raises a host of small but numerous complexities that significantly slows down other developments. Be sure we are giving all our best to fully support Osx! in return we hope Mac user to be patient and Windows user not hold it against us!
What is unfortunate is we are on the home stretch but we can't tell when we reach!
You can send us a short e-mail - from our website - if you want us to let you know the release date as soon as we decide.
Regards
Hello,
Here are our comments after adjusting SUalive code
cross-platform Windows/OSX show_modal. Report on Windows side.
In short UI::WebDialog.set_on_close() only raised if parent window not visible.
main_window not visible
Shared code above works only if dlg_main is not visible e.g. dlg_license - dlg_license launched at start time but dlg_main is not shown and will be shown only if user agrees to license. In such context SketchUp raises set_on_close() method. dlg_parent.nil? == true inside set_on_close which means no call to any outside method reading dlg_license class variable. As a consequence we need true_modality_emulation_through_timer() method where dlg_parent.nil? == false - don't tell me why I really don't know.
main_window visible
Shared code above no longer works after dlg_main shown as SketchUp does not raise set_on_close() method. So any inside code is simply ignored. Here is the alternative.
require 'sketchup'
################################################################################
# Cross-platform WebDialog True-modality workaround - Windows - Mac OSX #
# - www.SUalive.com shared code - FREE OF USE no liability - #
# Thanks to John - Driven - for his great help #
# authors would appreciate a link to this topic or www.SUalive.com #
# http://sketchucation.com/forums/viewtopic.php?f=180&t=65013&start=30#p603466 #
# see also above #
# http://sketchucation.com/forums/viewtopic.php?f=180&t=65013&p=602971#p602971 #
################################################################################
# Goes on next code after dialog-bow closed
# 1 - parent_window must be visible
# 2 - dialog_box_run() method runs the dialog
# 3a - Mac OSX - call dialog_box_is_closed() from set_on_close()
# 3b - Windows - call dialog_box_is_closed() after dialog_box_run()
################################################################################
# Please note Mac-user can interact with the parent window wheras #
# Windows-user can't. So locking parent window is up to you #
################################################################################
module YDco_debug
module YDalv
class << self
@cli_dlg_debug = nil
def dialog_box_run()
@cli_dlg_debug = YDalv;;Dlg_debug.new()
end
def dialog_box_is_closed()
str_out = " DlFg_debug returns <Continue> button cliqued? " +
@cli_dlg_debug.is_continue.to_s
puts str_out
#UI.messagebox( str_out )
end
end
class Dlg_debug < UI;;WebDialog
attr_reader ;is_continue
def initialize()
@is_continue = false
super "SUalive debug", false, "SUalvDebug", 512, 256, 100, 50, false
set_html(html_data)
initialize_callback()
set_on_close do
YDalv;;dialog_box_is_closed()
end
show_modal()
end
private
def html_data()
str_html = '<html><head>' +
'<meta http-equiv="content-type" content="charset=UTF-8">'+
'<meta http-equiv="MSThemeCompatible" content="Yes">'+
'<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">'+
'<script type="text/JavaScript">'+
'function jsDebugSwitch(obj){document.getElementById("btnContinue").disabled=!obj.checked}'+
'function jsDebugToRuby(obj){var isOK=(obj.id=="btnContinue");window.location="skp;qwerty@"+isOK}'+
'</script>'+
'</head><body>' +
'<div style="width; 496px; font-family; Arial">' +
'<div style="border; solid 1px #CECECE; padding; 0px 10px 0px 10px; ' +
'font-family; Arial; font-size; 14px; width; 470px; height; 150px; ' +
'text-align; justify; overflow; auto">'+
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam gravida nunc metus, '+
'id vulputate metus rutrum at. Curabitur et pretium arcu. Morbi vehicula arcu a nisl ' +
'consequat, non vulputate ligula congue. Aenean sit amet orci nec leo cursus tempus. '+
'Nulla facilisi. Mauris vestibulum elit magna, ut pellentesque enim tincidunt placerat. '+
'Nunc volutpat varius maximus. Praesent bibendum convallis tellus ut fringilla. '+
'Vestibulum dignissim lacinia sapien, sed porttitor justo dictum quis. Curabitur laoreet '+
'nisl nunc. Ut egestas magna eget laoreet gravida. '+
'</div>' +
'<div style="width; 482px; margin; 20px 7px 0px 7px; font-size;smaller">' +
'<div style="float; right">' +
'<button id="btnContinue" style="margin-right; 7px" onclick="jsDebugToRuby(this)" disabled>Continue</button>' +
'<button id="btnExit" onclick="jsDebugToRuby(this)">Exit</button>' +
'</div>' +
'<input type="checkbox" onclick="jsDebugSwitch(this)">Check me please' +
'</div>' +
'</div>' +
'<div style="position;fixed;left;0;top;0;width;500px;height;220px;border;solid 1px blue;display;block;" onclick="javascript:alert()"></div>'+
'</body></html>'
return str_html
end
def initialize_callback()
add_action_callback("qwerty") do |wdialog, str_params|
@is_continue = (str_params == "true")
wdialog.close()
end
end
end
#Here parent_window must be visible
dialog_box_run()
#required as set_on_close() not raised
dialog_box_is_closed() if RUBY_PLATFORM.include?('mswin')
end
end
Unfortunately I'm not able to tell you SUalive results on this as Vincent has left for some weeks. If you want to get the results tell me. I will be pleased to send you a link so that downloading something like JohnSUalive.rbz
WhyDi
Hi John,
I don't feel comfortable with ruby HEREDOC. May come soon! or not!
Now get back on your reformatted code. I noticed your html header
<head>
<meta content="charset=utf-8" http-equiv="content-type">
<meta content="Yes" http-equiv="MSThemeCompatible">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
</head>
and our
<head>
<meta http-equiv="content-type" content="charset=UTF-8">
<meta http-equiv="MSThemeCompatible" content="Yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
</head>
Is it all about your way of coding or can such small variation effect html rendering in WebDialog on the Mac?
WhyDi