ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • How to Make My Own Custom Dynamic Component

    sketchup
    4
    0 評價
    4 貼文
    2k 瀏覽
    pilouP
    @unknownuser said: my own custom Dynamic component by using ruby. This is a curious thing You can make Dynamic Components without using any Ruby or other Language! See this for example Click-Cuisine who is made only with Dynamic Component without ruby! http://www.youtube.com/watch?v=qQC5gVAg5CA You have also many tutorials for make Dynamic Components without any languages but in French!
  • Dynamic Beams

    sketchup
    5
    0 評價
    5 貼文
    2k 瀏覽
    oceanembersO
    Assuming you aren't looking for joints etc., it's a pretty simple dynamic to make. You'd probably do better with some of the plugins mentioned above, but here, I attached one for you. Pretty basic - use the options to change height, width, flange/web thickness. Scale tool changes the length. I-Beam_DYN.skp
  • Adding group to existing entities

    sketchup
    7
    0 評價
    7 貼文
    2k 瀏覽
    TIGT
    The class is somewhat like a module in this context... But still best to include the whole lot inside your own module... Can I suggest you revisit your various entities definitions. Sometimes you use model.active_entities, another model.entities, they might not always be the same thing... Also if you make your group and immediately add thing to group.entities it might be easier...
  • Dynamic components - help

    sketchup
    7
    0 評價
    7 貼文
    2k 瀏覽
    K
    Thanks pcmoor, i will download the samples and try at work later today. BTW i posted a link to the 3Dwarehouse where my model is, but it didnt show up. Ill try it again, https://3dwarehouse.sketchup.com/model.html?id=ud374f307-8802-4ac4-9be6-c7f1bdebf68e Thanks again
  • Need a bit of guidance in solving a D C situation.

    sketchup
    8
    0 評價
    8 貼文
    2k 瀏覽
    F
    Thank you very much. Problem solved
  • DC Bolt Builder

    sketchup
    7
    0 評價
    7 貼文
    7k 瀏覽
    J
    Does this program create the threads?
  • Sketchup Faces

    sketchup
    2
    0 評價
    2 貼文
    1k 瀏覽
    JQLJ
    Show us an example please.
  • Change Axes in Sketchup.

    sketchup
    2
    0 評價
    2 貼文
    1k 瀏覽
    G
    This is what I use # Let 'point' be the new insertion point of the component. # Let vector=ORIGIN.point.vector_to(point) # Let tr=Geom;;Transformation.translation(vector) vector = component.transformation.origin.vector_to(new_origin) tr = Geom;;Transformation.translation(vector) component.definition.entities.transform_entities(tr.inverse, component.definition.entities.to_a) # All of the component's innards jump to suit, so the instance is now in the wrong place relative to its container's contents... # To fix any instances so the contents are placed back as they were, inside their individual container... component.definition.instances.each{ |inst| inst.transform!(tr) } component.definition.invalidate_bounds
  • Quantity of a dynamic component occurrence

    sketchup
    2
    0 評價
    2 貼文
    1k 瀏覽
    P
    No You can only work within the group or component itself. so for a collection, they would be nested within a group component which would determine the copies. This can lead to heavier component or file size, however the contents can all be exploded leaving the parent details, thus a smaller file and when necessary swapped with its definition for further editing. Other methods include..... You can use outliner and use the filter to show all instances relating to its name The report writer will create a list based on a selection or the model or use an appropriate plugin or ruby script
  • Dynamic Component attribute question

    sketchup
    3
    0 評價
    3 貼文
    1k 瀏覽
    I
    Thank you pcmoor. i was able to use =CHOOSE(OPTIONINDEX. It gave me the result i was looking for. Thanks for the help!
  • Dynamic Components Animation at lower level

    sketchup
    4
    0 評價
    4 貼文
    3k 瀏覽
    DareDevilD
    The animate function (and animatefast, animateslow, animateCustom) can animate any atribute. And any attribut can refer to an other attribute. This way to animate changes the custom atribute Anim and any X child's attribute refer to this Anim parent's attibute. You should imagine Anim attribute like a timeline, 5000 frames long in this example, controled with OnClick = animatecustom(Anim,5,,,0,5000). I used animcustom to set de duration (5 seconds). Then, you must make childs animation sequences like on any timeline based animation or film making: [image: O6ub_TimeLine.jpg] For each child you must define the time range of animation (with two if statements), the start and stop attribute values and transform Anim value to right value range and give it to the right attribute with a "Anim to Attribute" equation. Attribute = IF (Parent!Anim>StartFrame, IF (Parent!Anim<EndFrame, Anim2AttribEqu, EndValue), StartValue) In this example, the Comp2 must start to move at Anim = 1000 and stop at anim = 2000, so the child attribute (X in this case), the start position is X=0 and end position is X = 1000, and Anim to X equation is X = Parent!Anim-1000 (when Anim = 1000, X = 0 and when Anim = 2000, X = 1000) X = IF (Parent!Anim>1000, IF (Parent!Anim<2000, Parent!Anim-1000, 1000), 0) I hope it's clear enough...
  • Dynamic component function

    sketchup
    2
    0 評價
    2 貼文
    1k 瀏覽
    J
    Hi John, LenX is a size, but you said "move" and position which is a little confusing. Do you want to have the component snap to a position, or snap to a length when scaled? If you want the position to snap to a grid, you would use the X, Y, or Z attribute. Maybe: X: =floor(current("X"), 600) [image: y9ut_2015-03_244.png]
  • DC sliding &quot;wavering&quot; problem

    sketchup
    8
    0 評價
    8 貼文
    2k 瀏覽
    G
    I concur, I have a passage door that opens and closes. It is panel raised and can have up to a dozen panels. If I use a Schlage handle drawn professionally it works fine. I found another door handle (needs 2 per door) which is round and has way too many facets. It's motion is rather jagged.
  • My week-end challenge and DC problems

    sketchup
    21
    0 評價
    21 貼文
    3k 瀏覽
    DareDevilD
    Three years ago, I made this model to test DC and my trigonometry knowledge. I bring out it to show my students the wonder of SU Dynamic Components. But... After the divide by zero problem we talk in this thread, I have a new problem with SU 2015 (on Windows 7 and 8 64): it seems that there are any problems with very small numbers. That's what happen when I roll and unroll the bridge on SU 2015 : [image: mSXi_SU2015.jpg] That's is the good position after the sams operation on SU 8 : [image: heoT_SU8.jpg] If I explore components, I find it : [image: sYJj_DC_SU2015.jpg] An error is highlighted on a very little number with a negative exponent e-6. Is the result of a COS calculated in the formula. Perhaps SU DC don't understand this way to write a number and consider it like a text... Perhaps... Some one have same issue with this model or other DC ?
  • Rearranging 'Component options' in dynamic components

    sketchup
    2
    0 評價
    2 貼文
    1k 瀏覽
    P
    you can use alphabetical prefixes to organise your named attributes like a_ b_ for the other DC attributes like LenZ you would have to pass the values from a named attribute like "a_len" or wherever you need to place it like say g_len instead
  • The Material Function in Dynamic Components

    sketchup
    3
    0 評價
    3 貼文
    3k 瀏覽
    TIGT
    Your issue is this... The rectangular face inside the DC has no materials at all == <default>. Use Entity Info on the internal face [edit the DC] to see that. When you change the DC's "Material" it applies to the DC instance itself. So when you get Entity Info on the DC itself it's say "Red". But the internal face with no material <default> which are inside a component [or group] 'display' the material of that container - the face's material does NOT change from <default>. So although a face might 'look' "Red", it actually has no material at all <default>. Your DC code looks for all faces colored "Red" inside the DC component, BUT there are NONE, because the actual face has the <default> material - so you correctly get Area=0. You can fix the DC code to report the face's area by using Area as =FACEAREA()/2 Note /2 *** to consider just the one side ! Now that DC always reports the Area of the internal face***. In your current DC the Area is returned, and you have its Material of say "Red" etc. BUT if you have a "Red" material actually painted on to the face itself [one side], then the code =FACEAREA(Material) will work IF the chosen Material is "Red" - giving Area=12345... - otherwise it's Area=0 - as if another color is chosen there are no "Blue" or "Green" faces, so then the DC's chosen Material returns Area=0 again... In DC code you cannot assign a material to a face, only to a 'container' - component-instance or group. You can change the way a face 'appears', because any faces using the <default> material displays using the container's material, but its material is still <default>. ...
  • Label from Component Attributes

    sketchup
    6
    0 評價
    6 貼文
    2k 瀏覽
    TIGT
    @bmike said: Thanks for the link to the script. What is a RAR file? A RAR file is a compressed file like a ZIP. You can uncompress it with many un-compression apps. Perhaps your regular ZIP/unZIP tool can cope with it ? Otherwise get an app that can...
  • Dynamic Component Help

    sketchup
    3
    0 評價
    3 貼文
    1k 瀏覽
    J
    Thanks Jim. I figured out that if I change the "Units" in the drop down list from 'Default:Text' to 'Decimal Numbers' the IF function worked out. Hpe that helps anyone else going through this.
  • Adding attributes to a selection of groups

    sketchup
    2
    0 評價
    2 貼文
    1k 瀏覽
    A
    The Dynamic Component Attribute dialog is probably designed for single selection. Depending on where exactly the attributes are stored (component attributes, sub-entities etc.) you may have success with the Attribute Inspector extension. Like SketchUp's Entity Inspector, it works with multiple selection. First select one component and find the attribute to change. Then select all and set the same attribute.
  • Looking for a post

    sketchup
    9
    0 評價
    9 貼文
    2k 瀏覽
    pilouP
    another one! http://www.youtube.com/watch?v=Ff7oyL7bEF4&list=UUD7pELbgsWu74mjGb2jmTmw

Advertisement