<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Internal error in generator function in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94240#M38529</link>
    <description>Rob,&lt;BR /&gt;
As you and I suspected it is a problem with CUTPOLYA.&lt;BR /&gt;
The strange thing is that I issue four identical CUTPOLYA commands,&lt;BR /&gt;
with identical transformations, working on identical bodies.&lt;BR /&gt;
I commented out each one separately and find that&lt;BR /&gt;
only one of them causes the error.&lt;BR /&gt;
&lt;BR /&gt;
I'm stumped.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
    <pubDate>Wed, 12 Jan 2005 04:31:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-01-12T04:31:28Z</dc:date>
    <item>
      <title>Internal error in generator function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94237#M38526</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
I made a library part in AC 8.1 v2 that works fine in that version.&lt;BR /&gt;
But in AC 9.0 it fails to process in 3D.&lt;BR /&gt;
In the library part editing environment "Check Script" for the 3D script&lt;BR /&gt;
returns "OK" but when I go to the 3D window the following&lt;BR /&gt;
error message is displayed.&lt;BR /&gt;
"Internal error in generator function at line.....(System Error -1)"&lt;BR /&gt;
Only one part of the object is displayed in the 3D window.&lt;BR /&gt;
&lt;BR /&gt;
When I click the stop button in the error dialogue and look at&lt;BR /&gt;
the 3D script the "Body -1" statement is hi-lighted.&lt;BR /&gt;
In my experience "Internal error in generator function" has most often&lt;BR /&gt;
been associated with CUTPOLYA .&lt;BR /&gt;
In this case the apparently innocuous "Body -1" is hi-lighted.&lt;BR /&gt;
There is a CUTPOLYA command issued earlier in the script and three&lt;BR /&gt;
lines after the "Body -1" are two CUTENDs. If I comment out&lt;BR /&gt;
the "Body -1" then the first CUTEND is hi-lighted.&lt;BR /&gt;
The part that does show in 3D also has a CUTPOLYA&lt;BR /&gt;
but this one does not seem to cause a problem.&lt;BR /&gt;
&lt;BR /&gt;
Does any one know what might be deduced about the script&lt;BR /&gt;
when this error is displayed and what is a "(System Error -1)" ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:11:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94237#M38526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Internal error in generator function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94238#M38527</link>
      <description>Peter,&lt;BR /&gt;
&lt;BR /&gt;
I am pretty sure that the problem is in your parameter script, especially when you're using CUTPOLYA with calculated parametres or moveable hotspots etc. where incorrectly calculated values distort the cut plane. similar problem gave me a real grief lately.&lt;BR /&gt;
&lt;BR /&gt;
the parameter script is a bit tricky (it seems to be run twice along with the master script) so be careful and test it properly.&lt;BR /&gt;
&lt;BR /&gt;
Actually my wish would be (and I am going to put in GDL wishlist) if we could get reasonable explanation/description how's that bl**dy thingy (meaning the parameter script) actually work from GS.</description>
      <pubDate>Wed, 12 Jan 2005 03:14:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94238#M38527</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2005-01-12T03:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Internal error in generator function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94239#M38528</link>
      <description>Rob,&lt;BR /&gt;
Thank you for your reply.&lt;BR /&gt;
Fortunately, there is nothing in the Parameters script,&lt;BR /&gt;
there are no moveable hotspots, it works fine in AC 8.1,&lt;BR /&gt;
and the two CUTPOLYA commands are quite simple one having&lt;BR /&gt;
only one ROTx transformation (this confused AC 8.0),&lt;BR /&gt;
so this would seem to simplify the problem.&lt;BR /&gt;
&lt;BR /&gt;
Your information about the parameters script is valuable &lt;BR /&gt;
and I will remember it. &lt;BR /&gt;
You say "(it seems to be run twice along with the master script)".&lt;BR /&gt;
I did not know that the master script was run twice.&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 12 Jan 2005 03:47:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94239#M38528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-01-12T03:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Internal error in generator function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94240#M38529</link>
      <description>Rob,&lt;BR /&gt;
As you and I suspected it is a problem with CUTPOLYA.&lt;BR /&gt;
The strange thing is that I issue four identical CUTPOLYA commands,&lt;BR /&gt;
with identical transformations, working on identical bodies.&lt;BR /&gt;
I commented out each one separately and find that&lt;BR /&gt;
only one of them causes the error.&lt;BR /&gt;
&lt;BR /&gt;
I'm stumped.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 12 Jan 2005 04:31:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Internal-error-in-generator-function/m-p/94240#M38529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-01-12T04:31:28Z</dc:date>
    </item>
  </channel>
</rss>

