Opened 10 years ago
Closed 6 years ago
#46 closed defect (fixed)
ModelGeometry: add support for shape=0 (cylinder)
Reported by: | Maciej Komosinski | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Framsticks core | Version: | |
Keywords: | Cc: |
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
Note: See
TracTickets for help on using
tickets.
In 262: