Ticket #194 (closed: fixed)
Add definition of shape to intrument definition
Reported by: | Nick Draper | Owned by: | Anders Markvardsen |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 12 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
This needs to be done in partnership with Sri.
We need to add xml to the instrument files to define the shape of the base level types.
This needs to start with a discussion between Sri, Anders and Nick.
I suggest that we hide the fact that we are using infinite surfaces in our definitions, and provide user friendly tags for common objects.
<Cylinder id="Bertie" radius=2 cap1="4,5,6" cap2="1,1,1"/> <Cuboid id="Harry" point1="0,0,0" point2="2,0,0" point3="2,2,2"/> <CSG algrebra="Bertie -Harry"/>
Change History
comment:9 Changed 12 years ago by Nick Draper
- Priority changed from major to critical
Now we just need to add support for rotation of the components through a facing tag. And allow boolean operations other than union.
comment:10 Changed 12 years ago by Anders Markvardsen
(In [1384]) Added 'facing' element to instrument definition file. Facing here is defined as to be when the XY plane faces the 'facing object' with the Z-axis pointing in the direction away from the 'facing object'. An additional instrument definition file, to use for unit testing, has also been added. Refs #194.
comment:11 Changed 12 years ago by Anders Markvardsen
comment:12 Changed 12 years ago by Anders Markvardsen
comment:13 Changed 12 years ago by Anders Markvardsen
comment:14 Changed 12 years ago by Anders Markvardsen
comment:15 Changed 12 years ago by Anders Markvardsen
comment:16 Changed 12 years ago by Anders Markvardsen
comment:17 Changed 12 years ago by Anders Markvardsen
comment:18 Changed 12 years ago by Anders Markvardsen
- Status changed from new to closed
- Resolution set to fixed
comment:19 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 1042
(In [1284]) Code added to specify geometry (for now sphere, infinite-plane and infinite-cylinder and any combination of these) in instrument definition file. Refs #194.