sketchucation logo sketchucation
    • Login
    1. Home
    2. NN24
    3. Posts
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download
    N
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 12
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Dynamic component problem(s)

      Hi,

      I typed what i showed exactly and it works now. I think the reason was either the formula that used largest/smallest or using constants istead of variables, though what's the difference - i dunno.

      Thanks for the tip.

      Last one thing that seems unsolved is how can i make the length parameter editable for the user (eg. if he/she wanted to type in the value) without erasing the formula ?

      posted in Dynamic Components
      N
      NN24
    • RE: Dynamic component problem(s)

      Thanks for the tip. However, i discovered that the problem is (i suppose) not due to the formula, but because of the units returned by current("LenZ") which are inches, as opposed to what i use in the formula and all other variables - centimeteres. Model default units are decimal too.

      After i "adjusted" cz with simple "*2.54" (is there any function i can use to make SU convert units "internally") it started to work and continued to do so for the next minute. Then it got messy again. Why - i don't know.

      posted in Dynamic Components
      N
      NN24
    • RE: Dynamic component problem(s)

      @jim said:

      You should be able to accomplish this using a couple IF expressions. I used a cz variable to simplify the IF expression:

      cz: =current("LenZ")

      How do you put the variable assignment into the component attribute formula ?
      Don't you need a script for that ?

      posted in Dynamic Components
      N
      NN24
    • RE: Dynamic component problem(s)

      I attached the file, just try to scale it using scale tool and you'll see.
      The other problem is that typing any value in the Length field erases the component attributes LenZ formula completely πŸ˜„


      custobj.skp

      posted in Dynamic Components
      N
      NN24
    • RE: Dynamic component problem(s)

      Hi πŸ˜„

      For #1 i tried LenZ=LARGEST(SMALLEST(CURRENT("LenZ"),20),10) ...it works...kind of...it limits the size, but it mess up with the position and all sizes in between the limits. Any idea why?

      #2 - I see πŸ˜‰

      posted in Dynamic Components
      N
      NN24
    • Dynamic component problem(s)

      Hi guys, I stumbled upon some problems today. I'd appreciate if you have any suggestions about what can i try:

      1. a simple dynamic component - i'd like to contstrain the length to be between eg. 10 and 20 units. I tried using some logic functions (like IF etc.) but ended up with circular reference errors.

      2. global variable - i'd like to add to a global variable a certain value on each creation of a dynamic component, substract when the component is deleted, and modify the global variable if some attributes of the component are changed. I'd like the user to be able to easily monitor the current value of the variable, by showing it in a corner of the model view (or somewhere else). I looked for "oncreate" event or similiar, but components attribute window shows only "onClick".

      posted in Dynamic Components sketchup
      N
      NN24
    • Colors

      Hi πŸ˜„ Is it possible to assign different colors to lines and other wire entities ? I tried to achieve it with layers, but it seems that SU allows only face colors.

      posted in Newbie Forum sketchup
      N
      NN24
    • Is it scam?

      http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=260374513031

      How come that cheap ?

      posted in SketchUp Discussions sketchup
      N
      NN24
    • oriented hiding

      Hello πŸ˜„

      Let's assume we have a cube. We erase its top face,and we get an "open box".
      Now we orbit so we only see the outside of the box. We want to see the edges at the bottom. Then we orient the camera above the box to show us the inside of the box. We don't want to see the bottom face edges there. Question is - how do i achieve that assuming we don't want the sides of the box/cube to have any thickness (they need to stay faces only).

      To answer the inevitable question "why would one want to do that" i say 1/ because it is hard, therefore interesting πŸ˜„ 2/ estethics of a bit more complex model when exporting as graphics.

      I use hidden layers now, but it doesn't work if camera is oriented to show both inside and outside.

      By the way, is there any way to export an editable 2D parallel projection, to - let's say - Illustrator or any other 2D vector software (EPS, PDF, CDR) ?

      posted in Newbie Forum sketchup
      N
      NN24
    • RE: How do we divide arc...

      The reason is that i need these arcs to get segmented ("polygonally") at these certain lengths later due to a certain textures structure i work with.

      Can you give me a hint about harnessing dynamic components to do the job ? πŸ˜„

      posted in Newbie Forum
      N
      NN24
    • RE: How do we divide arc...

      Thanks guys for your posts and thanks for the attached skp - i'll certainly take a look at it. I attached some attempt to solve the problem with a bit of math. The precision i get is about 0.2mm though i could get my math wrong - last time i used it a life ago πŸ˜„ It just shows the basic idea.

      arc_divide.skparc_divide.skp

      posted in Newbie Forum
      N
      NN24
    • How do we divide arc...

      ...unequally? Let's say i want to divide 1m long (as seen in Entity info->length) arc into the segments 11.5cm,30cm, 67cm and 1.5cm long. Divide only works for equal division.

      posted in Newbie Forum sketchup
      N
      NN24
    • 1 / 1