<?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: Setback (possible) Bug in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392916#M5437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;by the way, setback and the shapeLOU operations need a yUp scope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as you certainly know, after a comp(f), the scope is zUp.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 08:52:00 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2011-11-30T08:52:00Z</dc:date>
    <item>
      <title>Setback (possible) Bug</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392914#M5435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know if I should post these findings here... please correct me, or move this to a more appropriate section...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While moving a project to the 2011 version, I had multiple CE crashes while trying to generate geometry. The crash was related to a 'setback' operation. I had something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
HouseSetBack --&amp;gt;
 setback(gardenSetback){
&amp;nbsp; remainder : innerRect House |
&amp;nbsp; all: NIL
 }
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The mere opening of the CGA rule file containing this, would crash CE, because of the default preview bar of the rule (I reckon it evaluates the code, thus crashing)....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If started through a terminal, CE outputs the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
#
# A fatal error has been detected by the Java Runtime Environment:
#
#&amp;nbsp; SIGSEGV (0xb) at pc=0x00007f6112ff80a3, pid=13790, tid=140054875539200
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C&amp;nbsp; [libcom_procedural_grammarcore.so+0x29f0a3]&amp;nbsp; SetbackOperation::FaceSetback::extractSetbackFaces(std::vector&amp;lt;unsigned, std::allocator&amp;lt;unsigned&amp;gt; &amp;gt; const&amp;amp;, Mesh const*)+0x671
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to solve? Well, I merely changed the code to the following, reversing the selector's order:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
HouseSetBack --&amp;gt;
 setback(gardenSetback){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all: NIL |
&amp;nbsp; remainder : innerRect House
 }
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which, probably, is the way it is meant to be used... I'm a little confuse now... anyway I think it's not supposed to crash CE !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone confirm this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Ubuntu Linux 64 bits, CityEngine 2011 64 bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;André&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 14:47:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392914#M5435</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2011-11-26T14:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Setback (possible) Bug</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392915#M5436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi Andre.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can you check if the issue is that the scope is not yUp ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;before the setback operation, try alignScopeToAxes(y).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it this ? please let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 08:51:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392915#M5436</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2011-11-30T08:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setback (possible) Bug</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392916#M5437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;by the way, setback and the shapeLOU operations need a yUp scope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as you certainly know, after a comp(f), the scope is zUp.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 08:52:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392916#M5437</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2011-11-30T08:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setback (possible) Bug</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392917#M5438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've just tried what you said. But no luck. Also, the setback was one of the first rules on the footprint, so the scope must've been yUp already (correct me please) !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The test done was (now with the first rule of the footprint):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Lot --&amp;gt;
 90%:
&amp;nbsp; HouseSetBack
&amp;nbsp; Garden
 else:
&amp;nbsp; innerRect
&amp;nbsp; House

HouseSetBack --&amp;gt;
 alignScopeToAxes(y)
 setback(gardenSetback){
&amp;nbsp; remainder: innerRect House |
&amp;nbsp; all: NIL
 }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And again on the terminal:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C&amp;nbsp; [libcom_procedural_grammarcore.so+0x29f0a3]&amp;nbsp; SetbackOperation::FaceSetback::extractSetbackFaces(std::vector&amp;lt;unsigned, std::allocator&amp;lt;unsigned&amp;gt; &amp;gt; const&amp;amp;, Mesh const*)+0x671&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know if it helps (did not open it), but in the attachments follows the error log generated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;André&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hi Andre.&lt;BR /&gt;&lt;BR /&gt;can you check if the issue is that the scope is not yUp ?&lt;BR /&gt;&lt;BR /&gt;before the setback operation, try alignScopeToAxes(y).&lt;BR /&gt;&lt;BR /&gt;is it this ? please let me know.&lt;BR /&gt;&lt;BR /&gt;matt&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/setback-possible-bug/m-p/392917#M5438</guid>
      <dc:creator>AndréCardoso</dc:creator>
      <dc:date>2021-12-11T18:00:34Z</dc:date>
    </item>
  </channel>
</rss>

