Requesting Profiles

This topic contains 1 reply, has 2 voices, and was last updated by  Barry Kelly 6 months, 4 weeks ago.

  • Author
    Posts
  • #4198

    Frank Studzinski
    Participant

    For new object I want to use the profiles.
    When i check the resulting values of
    REQUEST (“Profile_default_geometry”, profile, _profileGeometryRawData)
    I always get wrong values the one point of the profile has x=0.
    Instead of 0 o get -6.30182e-17 or other values.

    The Problem only occurs when i place the point to 0 by mouse.
    Entering the 0 numerical, evrything is fine.

  • #4199

    Barry Kelly
    Participant

    -6.30182e-17 is effectively zero.
    Archicad has always had this error (someone else will have to explain why – floating decimals or something?).

    -6.30182e-17 = -0.000000000000000630182

    I will often just change it to zero in a script just to make it easier to read.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

You must be logged in to reply to this topic.