Skip to content

Commit

Permalink
#4848 - added points for stl shape editor
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeilman committed Sep 27, 2022
1 parent 63e70c3 commit 54982de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sirepo/package_data/static/js/radia.js
Original file line number Diff line number Diff line change
Expand Up @@ -3891,7 +3891,7 @@ SIREPO.app.directive('shapeButton', function(appState, geometry, panelState, plo

SIREPO.app.directive('shapeSelector', function(appState, panelState, plotting, radiaService, utilities) {

const availableShapes = ['cuboid', 'cylinder', 'ell', 'cee', 'jay', 'extrudedPoints',];
const availableShapes = ['cuboid', 'cylinder', 'ell', 'cee', 'jay', 'extrudedPoints', 'stl',];
let sel = new SIREPO.DOM.UISelect('', [
new SIREPO.DOM.UIAttribute('data-ng-model', 'field'),
]);
Expand Down
2 changes: 1 addition & 1 deletion sirepo/package_data/static/json/radia-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"doClose": true,
"fill": "#97B6D5",
"points": [
[0, 0], [24, 0], [24, 24], [0, 24]
[16, 0], [30, 8], [30, 24], [16, 32], [2, 24], [2, 8]
],
"stroke": "black"
}
Expand Down

0 comments on commit 54982de

Please sign in to comment.