FredoBend | Powerful new bending tool for SketchUp Download

Alkategóriák

  • No decscription available

    20 Témakörök
    462 Hozzászólások
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • View.draw(GL_POINTS, points) - point size?

    9
    0 Szavazatok
    9 Hozzászólások
    3k Megtekintések
    thomthomT
    I don't know if/how one would issue that in SU Ruby :/. What is more: I closed SU and renamed my plugins folder - testing only my own script. The points where drawn as pixels as I saw at the office. When I restored the plugin folder I still saw the points drawn as single pixels! So there must have been some odd glitch. I did have that SU session open for a few days where I just put my computer in sleep mode. Maybe some other plugins changed the point size - when I ran it. Or some external glitch.... Really don't understand how it occurred. But I do want the effect of that glitch.
  • Default constants

    6
    0 Szavazatok
    6 Hozzászólások
    475 Megtekintések
    Dan RathbunD
    from Windows SDK, WinUser.h, line 2373... [language=C]: *` %(#008B8B)[/ Key State Masks for Mouse Messages / #define MK_LBUTTON 0x0001 #define MK_RBUTTON 0x0002 #define MK_SHIFT 0x0004 #define MK_CONTROL 0x0008 #define MK_MBUTTON 0x0010 #if(_WIN32_WINNT >= 0x0500) #define MK_XBUTTON1 0x0020 #define MK_XBUTTON2 0x0040 #endif / _WIN32_WINNT >= 0x0500 /]`*
  • [FIXED!!!] Anyone seen this web dialog bug?

    11
    0 Szavazatok
    11 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    @unknownuser said: So.... being the inquisitive guy I am... I removed the "false" from return false;. That did the trick!! Go figure. return [( [expression] [)];] @unknownuser said: "If expression is omitted, or no return statement is executed from within the function, the expression that called the current function is assigned the value undefined." http://msdn.microsoft.com/en-us/library/22a685h9(VS.85).aspx void expression @unknownuser said: "The void operator evaluates its expression, and returns undefined. It is most useful in situations where you want an expression evaluated but do not want the results visible to the remainder of the script. The expressionargument is any valid JScript expression." http://msdn.microsoft.com/en-us/library/e17c7cbe(VS.85).aspx .. this is why you often see void(0); used in the HREF attribute for controls (such as a <A> tag,) that display popups or alert boxes. ADDED: See SCF topic: [url=http://forums.sketchucation.com/viewtopic.php?f=180&t=25252:dqe1rmdx]Webdialogs and Javascript void[/url:dqe1rmdx] therefore... you should be able to do it in the input tag thus: onclick="void( window.location='skp:setvalue@' + toHex(document.getElementById('ifield').value) );" .. and shouldn't need to have a function call. EDIT: put MSDN quotes in quoteboxes for clarity.
  • Reset All Face UV's in a selection

    4
    0 Szavazatok
    4 Hozzászólások
    899 Megtekintések
    D
    TT to the rescue again. Many thanks. I tried it the first way as well but found the send_action call didn't work either. Your second method works like a champ. You're a star.
  • Point/Vertex.is_visible? how?

    7
    0 Szavazatok
    7 Hozzászólások
    397 Megtekintések
    thomthomT
    One additional problem with raytest: if you have a group/component open and you want to get a list of visible verties/3d points, then raytest won't be any good if there is geometry outside that scope between the camera and the vertices. Even if Hide Rest of Model is enabled. Alternative to that is to manually iterate all faces and intersect eye-point. Horrendously slow!
  • Webdialog vs browser

    6
    0 Szavazatok
    6 Hozzászólások
    419 Megtekintések
    thomthomT
    I don't care - I'm not supporting it. IE updates with the system unless they block it. If they do - then their loss. That pesky thing needs to die.
  • How to move a group?

    6
    0 Szavazatok
    6 Hozzászólások
    384 Megtekintések
    M
    thank u,i have got it...
  • Is a group in the shadow of another object?

    2
    0 Szavazatok
    2 Hozzászólások
    130 Megtekintések
    Chris FullmerC
    There is nothing built in that specifically tests this. But you could make it using ray_test. I'm not sure how fast it is especially over larger models. But if you had to, you could. Someone else might even have made something similar already, Chris
  • How to get a intersection btween a line and a face

    4
    0 Szavazatok
    4 Hozzászólások
    288 Megtekintések
    TIGT
    You could also look at model.raytest The point could be one that you used for your vertical edge and the vector is [0,0,-1] It will return any array raytest[0] is the intersection point and raytest[1][-1] is the face or edge it hits... http://code.google.com/apis/sketchup/docs/ourdoc/model.html#raytest
  • Backface UVs - How?

    3
    0 Szavazatok
    3 Hozzászólások
    186 Megtekintések
    D
    @thomthom said: what flags did you use when you obtained the PolygonMesh? Face.mesh http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/face.html#mesh @unknownuser said: Add these numbers together to combine flags. A value of 5 will include all flags, for example. This is wrong. 7 is the value if you want to include them all. It's a bitwise combination of the optional values. Thanks for that. Indeed, I was using 5 instread of 7 as the mesh flag. Thanks again
  • How to get a selected object center?

    3
    0 Szavazatok
    3 Hozzászólások
    210 Megtekintések
    M
    @chris fullmer said: because you are finding the bounding box for the first entitiy in the list of entities. What you want is to find the bounding box of the first entitiy in the selection set I would bet. model = Sketchup.active_model sel = model.selection first_entity = sel[0] try that i got it ,thank u ~
  • Plugin Idea: Flashbulb

    6
    0 Szavazatok
    6 Hozzászólások
    579 Megtekintések
    X
    whaat you could make a component (dynamic if you light) call it camera_light and then use the align camera light ruby.
  • Matrix Multiplication Explained

    10
    0 Szavazatok
    10 Hozzászólások
    939 Megtekintések
    TIGT
    That 'that' is manually rotating about a point and then scaling in a certain axis often gives quite different results from scaling in a certain axis then rotating about the same point That is that !
  • Observers within a Tool?

    2
    0 Szavazatok
    2 Hozzászólások
    116 Megtekintések
    thomthomT
    facepalm! model.rendering_options.add_observer(self) - duh!
  • NetBeans Question

    10
    0 Szavazatok
    10 Hozzászólások
    757 Megtekintések
    DavidBoulderD
    The syntax checking is a big plus. I've also just setup subversion control on it. Great to easily revert to previous version if I have messed up code. Commit once I know it is good. I also really like looking at differences between two versions. I can have both side by side, or on the active version, there is a notation of where I have made changes, and clicking the icon brings up a popup with the old code. I can then revert just that piece back vs. the entire file. The global searching is also nice. I'm working on someone else s code on a complex project, and it is great to quickly see where else specific code is being used.
  • I want text tool to show attributes other than area etc.

    5
    0 Szavazatok
    5 Hozzászólások
    331 Megtekintések
    T
    Got one already: http://www.smustard.com/script/TextLabelOverride Todd
  • Face Me Scaling bug?

    11
    0 Szavazatok
    11 Hozzászólások
    644 Megtekintések
    thomthomT
    @chris fullmer said: AND 3rd aprty renderers do not appreciate the 16th element of the matrix being anything other than 1 also. So they often freak out when they come across these face-me's that have been incorrectly scaled. Previous version of VfSU didn't like that type of transformation. The new one seem to deal with it properly. @chris fullmer said: Yeah, this was a fun bug to track down Obcurity - thy name is SketchUp!
  • Is measuring LUX in a model possible?

    29
    0 Szavazatok
    29 Hozzászólások
    8k Megtekintések
    AdamBA
    @wind-borne said: Initially, I will be looking at Lux for estimates of losses due to shading as program does face calculation if I understand the static reading. LightUp Insolation rendering gives 3 readings: A spot Kwh/m^2/day for the exact position from which you're taking the reading. (Static) A Face reading of Kwh/day (ie scaled by the area of the face). This is useful if you model panels with a single face. (Tracked) A Face reading of Kwh/day assuming the face tracks the sun (and is therefore more efficient). Adam
  • Any SU render engines that renders distorted textures?

    97
    0 Szavazatok
    97 Hozzászólások
    20k Megtekintések
    M
    What I'm trying to say is this: If you add Q*(Face Normal) to each of your points you get a new face. If you align your texture to this new face but assign it to the old face it should be distorted. PS: sorry for my bad English... I'm not a native speaker.
  • SU help forum: SketchUp Ruby Plug-Ins

    10
    0 Szavazatok
    10 Hozzászólások
    918 Megtekintések
    chrisglasierC
    @unknownuser said: I like the work put into the menu system Chris, I presume you're using that in a plugin you've created? (Or is SketchUp not capable of doing that?) Thanks. Both cgScenes and nsetSketchupAPI work as plugins and have been downloaded 130+ times. Here are copies of the download links. cgScenes R 1.051.zip nsetSketchupAPI 1.00 Nov15 1350.zip Here is how I introduced the API one: @chrisglasier said: I hope some people find the nset version of Alex's cheat sheet useful but really the main purpose was to demonstrate an alternative method of working that energerises names with computer code. Linked together in sets they provide machine-like support. Specific data is simply clicked into focus rather than the reader having to look through pages. . We thought that others might join in by adapting devices like Jim's web console [image: Rzjn_API012.png] and creating new ones using the same "name-based OS" that links everything together (the main menu is the model). But it seems web dialogs are not considered a serious solution, which is a great shame. I believe ignoring the real potential of the Net is very short-sighted. So I decided to concentrate on expanding cgScenes as I know there are SU people who would like to use hierarchies of scenes (views of their models) to facilitate design, present to clients/customers, submit to authorities, support purchasing, direct site work, explain timing and methods with diagrams and model animation, and handover useful and reusable automated information for ongoing activities.

Advertisement