import{n as l}from"./index-b54f5418.js";import"./three-dc46505d.js";var o=function(){var e=this,r=e.$createElement,n=e._self._c||r;return n("div",{staticClass:"TorusGeometry-container"},[n("de-collapse-layout",{attrs:{label:"形状",icon:"#iconjichubianhuan","arrow-position":"left"},scopedSlots:e._u([{key:"container",fn:function(){return[n("de-controller-number",{attrs:{keyframe:!1,label:"环面半径",step:1,"drag-multply":2,min:0},model:{value:e.config.radius,callback:function(t){e.$set(e.config,"radius",t)},expression:"config.radius"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"管道半径",step:1,"drag-multply":2,min:0},model:{value:e.config.tube,callback:function(t){e.$set(e.config,"tube",t)},expression:"config.tube"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"半径分段",step:1,"drag-multply":2,min:0},model:{value:e.config.radialSegments,callback:function(t){e.$set(e.config,"radialSegments",t)},expression:"config.radialSegments"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"管道分段",step:1,"drag-multply":2,min:0},model:{value:e.config.tubularSegments,callback:function(t){e.$set(e.config,"tubularSegments",t)},expression:"config.tubularSegments"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"圆心角",step:1,"drag-multply":5,min:0,max:360,unit:"°","display-accuracy":0},model:{value:e.arc,callback:function(t){e.arc=t},expression:"arc"}})]},proxy:!0}])})],1)},c=[];const s={props:{config:{type:Object,required:!0}},computed:{arc:{get(){return this.config.arc*180/Math.PI},set(e){this.config.arc=e*Math.PI/180}}}},a={};var i=l(s,o,c,!1,u,null,null,null);function u(e){for(let r in a)this[r]=a[r]}const d=function(){return i.exports}();export{d as default};
