Ticket #3667 (closed: fixed)
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:6 Changed 9 years ago by Anders Markvardsen
- Status changed from accepted to verify
- Resolution set to fixed
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
In [14408]: