… I've been messing around with view.draw lately, and have to say that its confusing. View only updates when the view changes, and in order to get it to update on mouse move, requires a lot of confusing things that I don't understand yet. I'll figure it out sooner or later…
Posts made by BTM
-
RE: [Plugin] Sculpt Tools (help)
-
RE: [Plugin] Sculpt Tools (help)
@tig said:
Can I suggest a new "[Plugin] Sculpt" thread that has the updated stuff as its first post - it's getting confusing...
Not yet, I'm hoping to get the plugin past all the problems first; I couldn't test it on windows myself though, so I guess you guys are the testers.
-
RE: [Plugin] Sculpt Tools (help)
@daniel s said:
Thank you BTM!
a few ideas/requests:
- Is it possible to make a circle (or the shape of the brush) around the cursor? Something like the smoove tool or the circle tool? Something like this:
Will make it more "precise"
- Be able to change the radius of the brush in the vcb or measurements toolbar (this is possible to make for example with the smoove or circle tool so you don´t have to open the dialog every time you want to change desired size of the radius of the brush):
It will be faster to sculpt
Also I attach alternate icons. I take them from a mudbox tutorial... I only change the colors.
Daniel S
First of all, I DO plan on adding visuals eventually, which include a soft radius circle, hard radius circle, and a direction line for the bulge tool. As for the radius in the VCB, I could do it, but I'd need to know who wants what setting to appear there (probably soft radius). For icons, those do give me some ideas.
-
RE: [Plugin] Sculpt Tools (help)
Here's something to play with.
This is the template I used to make the face a while ago. -
RE: [Plugin] Sculpt Tools (help)
@sepo said:
It is not there anymore..
Sorry, I meant 4
http://forums.sketchucation.com/download/file.php?id=30086 -
RE: [Plugin] Sculpt Tools (help)
@sepo said:
BTM ...could you actually post the link for PC or at least say on which page it is. There are couple of download versions. Thanks
The download all link to the one on page 5.
-
RE: [Plugin] Sculpt Tools (help)
The download's been replaced with the one with good icons that Chris edited. My next fix of the mac issue should be up shortly.
-
RE: [Plugin] Sculpt Tools (help)
@cadfather said:
because mac is
small icons here
I already made my own small icons, but whatever. Good for the others untill the next one's up.
Just a simple question, but is anyone willing to make better icons? I don't really like the ones it has right now, but don't know what the new ones should look like…
@unknownuser said:
Awesome, thanks TIG!
BTM, I just PM'ed you a copy of the plugin with working icons on the PC, and a pc friendly zip, if you want to update the version here.
Maybe put the current copy back in the first post? Or maybe it just needs a whole new topic now that its a [Plugin] ? Or maybe you want to wait til the final toolbar oddities get worked out?
Chris
Why does everyone post things when I'm writing my posts/ editing the script myself!
I'll check my PMs, and yes, I'm planning on making a [Plugin] thread when all the oddities work out. I'll keep the download where it is for now, so that mostly the people downloading it are those who are testing it.
@sepo said:
Could actually someone post the one which works...of course with BTMs agreement. At moment this is crazy,
Tell me about it
-
RE: [Plugin] Sculpt Tools (help)
@tig said:
A most interseting tool... marred by these toolbar problems...
The problem is there are no 'small_icons' AND the icons' paths are missing a ./... for example
###... > $btm_sculpt_menu.add_item mgp > mgp.large_icon = "./btm_sculpt3_push1.png" > mgp.small_icon = "./btm_sculpt3_push1.png" > ###...
I adjusted each of the rubies and NOW it works fine for me
Until some different sized [better?] icons gets made...Then why did it still work for me?
-
RE: [Plugin] Sculpt Tools (help)
@burkhard said:
I'm not sure if these changes are the only ones ( that's what I call "playing around" ) But I remember I put also the # in front of some header lines.
Yeah, but =start and =end do the same things, so you didn't need those. I haven't posted the file with proper icons yet, but it's coming. I'm trying to get the script working with the multi-windows that macs can have; right now when I try it crashes. Apparently it's because active_model doesn't seem to be good enough for it, and the SU API FAQ mentions how to get it to work, so I'm going to give it a go…
Also, on a side note, is there anyone who wants to make a webdialog that can be opened and closed on the click of the dialog tool, instead of the current inputbox? I think that could make it easier to change settings while using a tool, but I can't make webdialogs. I don't know how .
-
RE: [Plugin] Sculpt Tools (help)
Wait, so all it needs is the small icons?
I thought that I didn't need small icons, as my mac will automatically turn the large ones into 16x16's, if I set it to small.I'll change the scripts as you did to have small icons too. If there are still issues, let me know.
-
RE: [Plugin] Sculpt Tools (help)
@cadfather said:
BTM, the problem is that you are calling the tools with different toolbars,
look in the extensions menu under preferences and you will find bulge, push etc
go to view toolbars and you will find your sculpt (sculp) as wellI actually just found out about the typo a few minutes ago The current file up is now easier to download, but still has the typo. As for me though, I only have the 1 toolbar anyways.
-
RE: [Plugin] Sculpt Tools (help)
… Weird The icons work for me, and, although ugly, look like this.
I can't seem to find any problems either. -
RE: [Plugin] Sculpt Tools (help)
@solo said:
I unzipped it into my SU6 plugins folder, but cannot see icons nor the plugin in the drop down menu.
This page might explain one of the problems with the zip files macs make.
http://forums.sketchucation.com/viewtopic.php?f=180&t=19838&start=60 -
RE: [Plugin] Sculpt Tools (help)
Okay, the file has been updated, it SHOULD work with windows now too. Still, if there are any problems, let me know.
-
RE: [Plugin] Sculpt Tools (help)
@chris fullmer said:
It is zero on PCs
How have you implemented the modifier keys?
…Using flags. So, I guess that means I'll have to change the script again Sorry guys. Also, if anyone can test this on a mac, does it work on yours too?
-
RE: [Plugin] Sculpt Tools (help)
@sepo said:
Donno if this is what you wanted
if flags == 256 + MK_LBUTTON
Error: #<SyntaxError: (eval):131: compile error
(eval):131: syntax error
if flags == 256 + MK_LBUTTON
^>
(eval):131uh… not exactly. more like
` class Flagtest
def onMouseMove(flags,x,y,view)
UI.messagebox flags
end
endftest = UI::Command.new("Flags Test") { Sketchup.active_model.select_tool Flagtest.new }
UI.menu("Plugins").add_item ftest`
… Put that into the Ruby Console, and then go to plugins, Flags Test. Move the mouse, and tell me what number pops up.… Now that I think about it, is there any chance you put the files in the wrong spots? The problems you're having seem to say so… the Loader should go in the plugins folder, and the rest of the pictures and scripts should go in their folder, inside the plugins folder.
-
RE: [Plugin] Sculpt Tools (help)
@sepo said:
Hmmm.. the icons are not showing although have tool bar ...but can't make it work. I have a feeling I am not having everything.
There could be 2 problems, I overlooked them when I sent you the ZIP. One, is that I don't know what flags returns when no keys are pressed on windows. If it's not the same as mac, it won't work. Other than that, I included a line of code twice for each tool by accident, but it should only cause it to have 2 of the tools in the plugins menu, and shouldn't change anything else. Can someone see what 'flags' returns when no key is pressed on windows? On my mac it's 256, so in the code I put
if flags == 256 + MK_LBUTTON
, etc. I think that's probably why the tools aren't working. Other than that, the Thumbs.bd file shouldn't be there, but that doesn't seem to make a difference.