sketchucation logo sketchucation
    • Login
    1. Home
    2. Greg
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 22
    • Groups 1

    Greg

    @Greg

    10
    Reputation
    1
    Profile views
    22
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Greg Unfollow Follow
    registered-users

    Latest posts made by Greg

    • RE: Eliminate Bluriness on 3D Text

      Gaieus,

      I thank you for your advice. I resolved the problem by defining a new style and setting the line profiles to 1 pixel.

      Greg

      posted in Developers' Forum
      G
      Greg
    • RE: How do you Make Thin Lines?

      Thanks Jim and tomsdesk. Unchecking 'Display Edges' does not do it because I'm using lines to simulate empty bins in a virtual warehouse, but setting the line profile from 3 to 1 does the trick.

      I'm trying to derive the Ruby commands to do this programmatically.

      Greg

      posted in Newbie Forum
      G
      Greg
    • RE: Eliminate Bluriness on 3D Text

      Hello,

      The syntax for obtaining style information is listed as follows:

      %(#FF0080)[styles = model.styles
      style = styles.active_style]

      But I can't find any documentation on setting the style and, more importantly, changing the edge profile from the default of 3px to 1px. Can this be done?

      Thank you.

      Greg

      posted in Developers' Forum
      G
      Greg
    • RE: Eliminate Bluriness on 3D Text

      Hello,

      I resolved the problem of the blurry text by doing the following:

      1. Open the styles window (Select Window >> Styles).

      2. Select the edit tab in the styles window.

      3. Change the value in the Profiles field from it's default value of 3 to a value of 1.

      The blurriness is eliminated from the 3D Text. It also makes the lines that define the objects thinner, which in my case, makes the drawings more elegant.

      My question is: How can I do this programmatically? What are the Ruby commands to ...

      1. Set the Profiles value from 3 to 1.

      2. Set the style to 'canvas.'

      Thank you.

      Greg

      posted in Developers' Forum
      G
      Greg
    • How do you Make Thin Lines?

      Hello,

      I thought this would be easy, but I don't see how to make the lines in the objects thin. They are thin when I move the object, but as soon as the object stops the lines change to thick, like going from pen to magic marker.

      Is there a way to make and keep the lines thin?

      Thank you.

      Greg

      posted in Newbie Forum sketchup
      G
      Greg
    • RE: Eliminate Bluriness on 3D Text

      Gaieus,

      Thanks for your guidance. However I am unable to minimize the blurriness of the text. As a simple test, I executed the following steps:

      1. I selected the 3d Text tool (Tools >> 3d Text) and attached the text to a rectangular cube.

      2. I then changed the face style to Wireframe (View >> Face style >> Wireframe)

      3. I hid all of the edges of the cube by clicking on each edge and selecting 'Hide.'

      However, the 3d Text is still blurry. I'm doing something wrong. How do you navigate to the 'Context' of an object or limit the wireframe option to a specific object? The Wireframe option does not seem to effect the 3D Text.

      Greg

      posted in Developers' Forum
      G
      Greg
    • Eliminate Bluriness on 3D Text

      Hello,

      Is there a way to eliminate or minimize the blurriness of 3D-Text? It is very clear and sharp when you move the object around, but changes to dark and blury once the object is still.

      It also prints blurry. I'm using Arial Narrow. Is there a suggested font for 3D text?

      Thank you.

      Greg

      posted in Developers' Forum
      G
      Greg
    • RE: Can Objects Have Hyperlinks?

      Thanks TIG, I'll add this code and evaluate.

      Greg

      posted in Developers' Forum
      G
      Greg
    • RE: Can Objects Have Hyperlinks?

      Hello,

      Is there a way to pass a parameter to .exe file run by the openURL?

      For example the following code works:

      %(#FF0080)[dict_key_url="c://gfTest01.exe"
      UI.openURL(dict_key_url)]

      But it does not work when I add a parameter:

      %(#FF0080)[dict_key_url="c://gfTest01.exe?x=123"
      UI.openURL(dict_key_url)]

      Thank you.

      Greg

      posted in Developers' Forum
      G
      Greg
    • RE: Can Objects Have Hyperlinks?

      Right, I had too much code. This works:

      %(#FF0080)[# front plane
      pt1 = Geom::Point3d.new(x,y,z)
      pt2 = Geom::Point3d.new(x+w,y,z)
      pt3 = Geom::Point3d.new(x+w,y,z+h)
      pt4 = Geom::Point3d.new(x,y,z+h)
      edges[0] = entities.add_line(pt1, pt2)
      edges[1] = entities.add_line(pt2, pt3)
      edges[2] = entities.add_line(pt3, pt4)
      edges[3] = entities.add_line(pt4, pt1)
      face = entities.add_face edges
      face.material = m

      test code start

      dict_name="link_data"
      dict_key_url="http://www.inventoryPalletDetailTest.com"
      face.attribute_dictionary(dict_name, true)
      face.set_attribute(dict_name,"url",dict_key_url)

      test code stop]

      Thanks Jim.

      Greg

      posted in Developers' Forum
      G
      Greg