Ticket #3667 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

In IDF: Combine components into one shape

Reported by: Anders Markvardsen Owned by: Anders Markvardsen
Priority: major Milestone: Iteration 30
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Karl Palmen

Description

As an alternative to define a geometric shape consisting of part allow the following notation in an IDF:

<component type="adjusted cuboid" idlist="adjust cuboid">

<location />

</component>

<component type="cuboid1" idlist="normal cuboid">

<location z="3"/>

</component>

<type name="adjusted cuboid" is="detector">

<combine-components-into-one-shape /> <component type="cuboid1">

<location name="A"/> <location name="B" y="10" rot="90" axis-x="1" axis-y="0" axis-z="0" />

</component> <algebra val="A : B" />

</type>

<type name="cuboid1" is="detector">

<cuboid id="bob">

<left-front-bottom-point x="0.5" y="-5.0" z="-0.5" /> <left-front-top-point x="0.5" y="-5.0" z="0.5" /> <left-back-bottom-point x="-0.5" y="-5.0" z="-0.5" /> <right-front-bottom-point x="0.5" y="5.0" z="-0.5" />

</cuboid>

</type>

Change History

comment:1 Changed 9 years ago by Anders Markvardsen

In [14408]:

Fix In IDF: Combine components into one shape
re #3667

comment:2 Changed 9 years ago by Anders Markvardsen

  • Status changed from new to accepted

comment:3 Changed 9 years ago by Anders Markvardsen

In [14409]:

fix to compile linux re #3667

comment:4 Changed 9 years ago by Anders Markvardsen

In [14528]:

Allow nested components when combine components into one shape
re #3667

comment:5 Changed 9 years ago by Anders Markvardsen

In [14530]:

Forget this one...
re #3667

comment:6 Changed 9 years ago by Anders Markvardsen

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:7 Changed 9 years ago by Mathieu Doucet

In [14557]:

Fix warnings Re #3667

comment:8 Changed 9 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:9 Changed 9 years ago by Karl Palmen

  • Status changed from verifying to closed

An examination of the test showed what I expected.

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4514

Note: See TracTickets for help on using tickets.