[Plugin] UVEditor 0.30
-
Very interesting. Will have to try this.
One of SU long missed functions. -
Nice first post! Something to enhance the mapping process has been on my wish-list for a long time.
I wanted to try your plugin but I'm not sure what's going wrong here. Front face has texture on it, face is selected, UVeditor launched but no image or points appear in the editor... Any idea what I am doing wrong here?On Win 7 X64 - SUpro 2014.
-
I have the same problem.
-
Probably not relevant, but has this been designed for SU 2013 and 2014, also?
-
-
I see in his post he shows it with SketchUp on a Mac. Maybe there is something not working with the Windows version? I have a Macbook Pro at home I'll try it there and see if it works...
-
This is what I get on Windows 8 with Internet Explorer 11:
dlg = UI;;WebDialog.new() dlg.show_modal do dlg.execute_script('document.body.innerText=navigator.userAgent;') end true
And a empty window appears.
-
Just tried it on my MacBook and all I can see no matter how I select or zoom is 1 (one) vertex???
-
@pixero said:
This is what I get on Windows 8 with Internet Explorer 11:
dlg = UI;;WebDialog.new() > dlg.show_modal do > dlg.execute_script('document.body.innerText=navigator.userAgent;') > end > true
And a empty window appears.
Same here on Win7 IE11
-
@PC folk,
looking at the code it is Windows friendly, but does have a line in the javascript
//Called after DOM inititialised. Not called under IE<9 since DOMContentLoaded not supported
so that may be your issue...
post your SU 'used' IE version if you shooting blanks...
if unsure what version SU uses, paste this into 'Ruby Console'
dlg = UI;;WebDialog.new() dlg.show_modal do dlg.execute_script('document.body.innerText=navigator.userAgent;') end
then copy/paste the [highlight=#fff:1j1tkcft]EDIT: text in the WebDialog[/highlight:1j1tkcft]back into a reply...
mine [on mac] contains this
@unknownuser said:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) SketchUp/14.0 (Mac; Safari)
john
-
it does look like browser version issue,
also I edited my earlier post, 3 above...
to show which bit I copy pasted back...john
-
I've edited the first post to clarify system requirements, namely:
SketchUp 8 or later. MacOS 10.5 or later, or Windows XP or later with IE 9 or later.And to upload a new version:
- Fix for texture not appearing in UV Editor window on Windows.
- UV Editor window stays on top.
Please let me know if you're still having trouble getting started.
@jeff hammond said:
it seems like it would take a really long time to edit the uvs so all the texture lines match up in this example.. but again, i'm probably overlooking a scenario where it's useful or not as complicated.
I'd envisaged it being useful for tweaking the position of textures that have already been projected.But I'm starting to think that to be truly useful it's going to have to support a range of unwrapping and projection tools. (I looked at ThruPaint and, as far as I can tell, it doesn't offer these).
-
is the body ready ? Try with a button..
html = <<-HTML <!DOCTYPE html> <html> <body> <input type='button' onclick='alert(document.body.innerText=navigator.userAgent);'> </body> </html> HTML dlg = UI;;WebDialog.new() dlg.set_html(html) dlg.show_modal
-
Installed v0.2 still nothing visible with Windows 7 and IE9.
-
@pixero said:
Installed v0.2 still nothing visible with Windows 7 and IE9.
You are sure you are using v0.2? I had to remove v0.1 first before v0.2 was being used.
-
Hi. Get an "undefined" JavaScript error on line 636.
I see in the JS code "ctx.drawImage" is being called. BUT I can't see it has been assigned anywhere..
-
-
@marginal said:
And to upload a new version:
- Fix for texture not appearing in UV Editor window on Windows.
- UV Editor window stays on top.
Please let me know if you're still having trouble getting started.
Texture appears in v0.20 but I cant select the move button. Win7 32bits Su2014 , IE 11
edit: Still empty window with v0.20 on Win7 64bits Su2014 , IE 11
-
@pixero said:
I uninstalled and reinstalled v0.2 but nothing is visible in the UV editor. SketchUp 2014, Windows 7 and IE9.
I edited my post above. For v0.2:
On my win7 32bits SU2014 and IE11 the contents are visible but I can't select the move tool.
On my win7 64bits SU2014 and IE11 the contents are not visible. -
@unknownuser said:
ctx.drawImage
Doh! It's a HTML Canvas function call.. I prefer SVG
Anyway. Spits out an error at initialization..
Edit: I can't dig through all your code, but could it be that the "imgresource" needed for the drawImage functioncall is somehow not getting through ?
The dialog is showing up fine without any errors. But when applying a Texture onto a face(any texture from materials palette) and reentering the dialog the JS error occours and persists. No texture is shown on the canvas.
Advertisement