it evaluates left side, then right side and then the operation between.
here is an example:
1==1 && (p "me too";true)
=> true
so in your example you will not see any speed improvement
it evaluates left side, then right side and then the operation between.
here is an example:
1==1 && (p "me too";true)
=> true
so in your example you will not see any speed improvement
on a 100 lines each with a dimension
0.003
Sketchup.active_model.entities.reject {|x| x.class==Sketchup;;Drawingelement}
0.007 - 0.014
Sketchup.active_model.entities.reject {|x| x.typename=="DimensionLinear"}
I think it will work. it is an extension of XMPP (as GoogleTalk is an extension of XMPP for voice and media) so it will be "easy" to bring more power to it.
I saw others doing something similar but they didn't make it open source, didn't have Google impact and it was too early to catch up.
Time will tell, but I will definitely play with it as it mixes with some projects of mine - so less work for me
at 2:00 there is even a mention of SketchUcation
you can use SketchUp Bridge and send command Sketchup.active_model.import("file.dwg",false)
SketchUp already supports dropped images & skp
http://www.gogeometry.com/software/google_sketchup_mind_map.htm
a mindmap organized by tools with links to questions/answers from SketchUp help system
I have open for images in my Vista
if you use "" it is the same as giving NULL to ShellExecute which takes in this order:
error 31 is "There is no application associated with the given file name extension" which in your case is true.
ShellExecute API has open verb (see documentation). it has nothing to do with right click menu which can be modified to anything (e.g. mysuperduperopenfunctionthatdoesntwork)
you need to trace down the API to see what the real error is (wrong path, bad associations, no privileges, ...)
Sketchup::require is needed for .rbs files as stated in documentation
you need a direct path for the icons, use find_support_file(s). also use File.join to add the icons names (I had some troubles using concatenation on Mac)
repairing Sketchup doesn't delete the Plugins subdir so you dont know if it is a plugin that messes around or not.
@unknownuser said:
Completely uninstalling and reinstalling SU with all rubies will take me half a day which I don't want to do
you can rename the Plugins dir (e.g. ZPlugins) and see if it crashes when start. then if not try to remove the last plugins that you installed
btw, what is the last plugin that you installed before crashing ?
i think more like features of SU will come in o3d. or a port of SU to o3d (see the second link in the first post, looks like simpler SU Viewer)
http://code.google.com/apis/o3d/
it looks interesting on a quick look on the docs and with a lot of features
http://o3d.googlecode.com/svn/trunk/samples/home-configurators/homedesigner.html
so soon we will have SketchUp inside a browser ?
we have another Singer sewing machine hoax that goes like this (automatic translation)
lot of people got screwed by this one. it is funny that I even see ads on the street poles for this ones.
stefanq: please use English so other users can understand the fun that you had in highschool
raduteo: nice modelling and texturing. keep them coming !
5 sec search on google -
What's the difference between "include" and "require" in Ruby?
Answer:
The include and require methods do very different things.
The require method does what include does in most other programming languages: run another file. It also tracks what you've required in the past and won't require the same file twice. To run another file without this added functionality, you can use the load method.
The include method takes all the methods from another module and includes them into the current module. This is a language-level thing as opposed to a file-level thing as with require. The include method is the primary way to "extend" classes with other modules (usually referred to as mix-ins). For example, if your class defines the method "each", you can include the mixin module Enumerable and it can act as a collection.
@gaieus said:
As a comparison, 1 Hungarian forint at the moment is about $ 240.
it is not the other way round - 240 HUF is $1 ?
yup, Numb.rb was the first Ruby script made from someone not from @Last - 1.o (12.Jun.2oo4)
how time flies
my advice: don't do it, unless you want to spend lots of nights searching the reasons of crashes that have no explanations.
also do not mix native threading with ruby threading - they don't like each other much.