Custom Query (36 matches)
Results (13 - 15 of 36)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#47 | fixed | ModelGeometry: verify all changes in revision 234 | ||
Description | ||||
#46 | fixed | ModelGeometry: add support for shape=0 (cylinder) | ||
Description |
As the first step while shape=0 is not yet supported, the source should print an error message and return 0 (or treat cylinder as a cuboid) instead of crashing as it currently does. Test with: frams "var m=Model.newFromString(\"//0\np:sh=0\n\"); var mg=ModelGeometry.forModel(m); Simulator.print(mg.sizesAndAxes());" -q |
|||
#44 | fixed | ModelGeometry: for cuboids, sampling points should be located on edges | ||
Description |
Improperly placed sampling points (missing one "row" along edges? needs verification) may be the reason for inaccurate estimation of cuboid sizes. Test with: frams "var m=Model.newFromString(\"//0\np:sh=2\n\"); var mg=ModelGeometry.forModel(m); mg.geom_density=2; Simulator.print(mg.sizesAndAxes());" -q Instead of nice round numbers, we get [(3.46410161513775,3.2659863237109,2.82842712474619),Orient@(-1.5708,0.61548,0.785398)] |
Note: See TracQuery
for help on using queries.