SketchUp doesn't start anymore on my PC (Windows 7) either. As soon as I doubleclick it, the BugSplat-Window appears. I tried to install the newest version, reinstalled it completely, updated my graphics driver, looked into the registry, but nothing's helping. That's really odd, because last week it worked just fine. My PC has some issues right now, slow startup and some other problems, might that be the cause? I have no idea...
Latest posts made by klaufi
-
RE: Sketchup crashes when starting
-
RE: SketchyPhysics in a Technical Drawing classroom
-
I have used the left button only until now, is this such a huge problem for you?
-
I have SP 3.2 and scaling the joints with the scaling tool works just fine. Actualy, the models of the joints are made with SU too, so if you enter their group you can also modify them
-
I have not really worked with the gear-tool, so I have no answer here, sry
-
I think they are just some random units with no representation, just as they are used by the integrator. Some real units would be very fine, I think, but unfortunately SP wasn't updated for quite a while
-
Yeah, that happens sometimes, but I lack the insight in the code to say you, what causes it. Better save your model before running the simulation. And don't copy any joints as the integrator can't handle multiple joints with the same adress
-
-
RE: Error: undefined method '+' for nil:NilClass
Ok, now this works.
Now I have another problem: I can't read out the frame in the scripted box.
if i do so, an error message appears.
When I write something likeMath.sin(frame/100.00)
in the controller of a servo, it works, but if I write
setVar("a",frame/100.00)
and into the controller
getVar("a")
the error message occurs.
That's really odd...edit: It seems, that my old SP models work well, but if I copy the code into a new Scripted-box ob an object, it doesn't work anymore. Maybe I should get an older Version of SP?
-
Error: undefined method '+' for nil:NilClass
Hi there
I got a new notebook and now SU8 is finally working. I wanted to script something in Sp3, but it didn't work right. There was an error message, which told me "undefined method 'atan2' for nil:NilClass". So I made a simple testing program and even that didn't work. Here's the code:
if frame==0 $a=1 $b=2 end $c=$a+$b puts "1+2=#{$c}"
it should just handle some variables and send the result to the ruby-console, but by hitting play I always got this error message:
"undefined method '+' for nil:NilClass"
Even if I used local variables, it didn't change anything. By using getVar and setVar it worked, but the result was always 0.00
What's going wrong? -
RE: Programming a Robot Arm
Thank you, now I have managed to program something useful. This is, what I made so far for testing. Next is to adjust it for the robot.
Thanks for the help this far
-
RE: Programming a Robot Arm
I have Sketchyphysics 3.x and I really should try out SU8, so I can watch your models >_<
But thanks for your effort
Edit: SU8 doesn't work on my notebook, either
Could you please upload it again for SU6? -
RE: Programming a Robot Arm
I've played around a bit with functions and came to something like this:
$temp=0; def move(div1) if $frame>=$temp && $frame<div1+$temp; $value=1-($frame-$temp)/div1; #some movement end; if $frame==div1+$temp; $temp=$temp+div1; end; end;
div1 is some divider to set a time, that the joint should move, temp is the temporary variable to set the time to begin the next function, $value is the parameter to transfer to the joint itself. After running the movement in div1 frames, div1 is added to temp, so that the temp'th frame is the new number zero frame for the next function. If I insert something like this:
move(200); move(300);
It should start the second function after finishing the first, but somehow it doesn't even compile. It says:
Undefined method '>=' for nil.NILClass
I don't know, what that means...
-
RE: Programming a Robot Arm
Oh, the function with grabbing on touch is funny
And I didn't know, that you can put some stuff into the OnTick-field, thats really convenient. But somehow the models I'm downloading lack of hinges and so on. They are there, the simulation runs as it should, but I can't find the objects to manipulate their attributes That's really weird..Edit: I think, now I know, how to make funktions, but now I'm wondering something else: How can I read out the current frame and set some offset onto it, so the function waits the offset till continuing? Or how can I make timed events else?
-
RE: HOW CAN I ATTACH 2 PISTONS TO ONE OBJECT?
I don't understand exactly, what you want, so I guess: there are two pistons connected to one box? Maybe it helps if you connect it to just one piston, that is grouped with another box, that is connected to another piston. Hard to explain^^
But so you would avoid some problems, I guess. The second box can be set to invisible and ignore, so it is no obstacle anymore. -
RE: Programming a Robot Arm
No problem, I would really like to see how you modified the model, but I have SU6 and since SU7 didn't work on my notebook, SU8 might neither.
The pages look really helpfull, thanks, I will read them when I have more time.