designix-uis 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/public/_app/immutable/chunks/{C1tBwDTv.js → B20lA_HD.js} +1 -1
  2. package/dist/public/_app/immutable/chunks/BAXp3xY9.js +1 -0
  3. package/dist/public/_app/immutable/chunks/{DoZzvuZq.js → BUKT9zL0.js} +1 -1
  4. package/dist/public/_app/immutable/chunks/{xuOdSSey.js → BdJJnsaO.js} +1 -1
  5. package/dist/public/_app/immutable/chunks/C3t1Fbv1.js +216 -0
  6. package/dist/public/_app/immutable/chunks/Cn3en5xC.js +1 -0
  7. package/dist/public/_app/immutable/chunks/{CNKnrsqO.js → D6f3qz9z.js} +1 -1
  8. package/dist/public/_app/immutable/chunks/DzKmXKVN.js +2 -0
  9. package/dist/public/_app/immutable/chunks/ORUWwso2.js +3 -0
  10. package/dist/public/_app/immutable/chunks/{CDnh3uYF.js → gt6n6ul_.js} +1 -1
  11. package/dist/public/_app/immutable/entry/{app.FGtBRmw5.js → app.DuFnXSUm.js} +2 -2
  12. package/dist/public/_app/immutable/entry/start.Bh4_FWrz.js +1 -0
  13. package/dist/public/_app/immutable/nodes/{0.gcZo6tIT.js → 0.Z-QC-dyl.js} +1 -1
  14. package/dist/public/_app/immutable/nodes/{1.Dok56Iwa.js → 1.D9dRN08t.js} +1 -1
  15. package/dist/public/_app/immutable/nodes/{2.B6tp6eTf.js → 2.CxGER0Lm.js} +1 -1
  16. package/dist/public/_app/immutable/nodes/{3.DIUv_Rqj.js → 3.DajQ1SjD.js} +9 -9
  17. package/dist/public/_app/version.json +1 -1
  18. package/dist/public/gear/gear_bar.html +19 -19
  19. package/dist/public/gear/gear_epicycloid.html +19 -19
  20. package/dist/public/gear/gear_ring.html +19 -19
  21. package/dist/public/gear/gear_wheel.html +19 -19
  22. package/dist/public/heliostat/base.html +19 -19
  23. package/dist/public/heliostat/haxis_guidance.html +19 -19
  24. package/dist/public/heliostat/heliostat.html +19 -19
  25. package/dist/public/heliostat/heliostat_2.html +19 -19
  26. package/dist/public/heliostat/pole_static.html +19 -19
  27. package/dist/public/heliostat/rake.html +19 -19
  28. package/dist/public/heliostat/rake_stopper.html +19 -19
  29. package/dist/public/heliostat/ring.html +19 -19
  30. package/dist/public/heliostat/ring_guidance.html +19 -19
  31. package/dist/public/heliostat/rod.html +19 -19
  32. package/dist/public/heliostat/spider.html +19 -19
  33. package/dist/public/heliostat/surface.html +19 -19
  34. package/dist/public/heliostat/swing.html +19 -19
  35. package/dist/public/heliostat/trapeze.html +19 -19
  36. package/dist/public/heliostat/vaxis.html +19 -19
  37. package/dist/public/heliostat/vaxis_guidance.html +19 -19
  38. package/dist/public/heliostat/vaxis_holder.html +19 -19
  39. package/dist/public/index.html +17 -17
  40. package/package.json +4 -4
  41. package/dist/public/_app/immutable/assets/_layout.D3ep0F2Z.css +0 -1
  42. package/dist/public/_app/immutable/assets/_page.BTCojHq8.css +0 -1
  43. package/dist/public/_app/immutable/assets/_page.DKegludn.css +0 -1
  44. package/dist/public/_app/immutable/chunks/BRtc5fva.js +0 -2
  45. package/dist/public/_app/immutable/chunks/CXSxHcOb.js +0 -1
  46. package/dist/public/_app/immutable/chunks/DniPkIYg.js +0 -3
  47. package/dist/public/_app/immutable/chunks/WuaXWmRv.js +0 -216
  48. package/dist/public/_app/immutable/chunks/z6S__Qk1.js +0 -1
  49. package/dist/public/_app/immutable/entry/start.DTms_daA.js +0 -1
@@ -1 +1 @@
1
- import{D as L,E as A,F as Y,J as x,X as B,Y as F,Z as U,_ as q,$ as D,a0 as C,K as N,a1 as M,a2 as Z,a3 as $,a4 as k,a5 as j,N as w,a6 as z,a7 as G,n as m,a8 as H,a9 as y,aa as J,ab as K,ac as Q,Q as R,V,ad as X,ae as p,af as W,ag as aa,ah as ea,ai as ra,aj as ia,m as na,ak as ta,al as sa,am as fa,an as ua}from"./BRtc5fva.js";function la(a,r,u=!1){A&&Y();var s=a,n=null,e=null,_=Z,c=u?x:0,o=!1;const b=(d,t=!0)=>{o=!0,v(t,d)};var f=null;function E(){f!==null&&(f.lastChild.remove(),s.before(f),f=null);var d=_?n:e,t=_?e:n;d&&k(d),t&&j(t,()=>{_?e=null:n=null})}const v=(d,t)=>{if(_===(_=d))return;let I=!1;if(A){const P=B(s)===F;!!_===P&&(s=U(),q(s),D(!1),I=!0)}var S=$(),l=s;if(S&&(f=document.createDocumentFragment(),f.append(l=C())),_?n??=t&&N(()=>t(l)):e??=t&&N(()=>t(l)),S){var g=M,i=_?n:e,h=_?e:n;i&&g.skipped_effects.delete(i),h&&g.skipped_effects.add(h),g.add_callback(E)}else E();I&&D(!0)};L(()=>{o=!1,r(b),o||v(null,null)},c),A&&(s=w)}function O(a,r){return a===r||a?.[y]===r}function ca(a={},r,u,s){return z(()=>{var n,e;return G(()=>{n=e,e=[],m(()=>{a!==u(...e)&&(r(a,...e),n&&O(u(...n),a)&&r(null,...n))})}),()=>{H(()=>{e&&O(u(...e),a)&&r(null,...e)})}}),a}let T=!1;function _a(a){var r=T;try{return T=!1,[a(),T]}finally{T=r}}function va(a,r,u,s){var n=!na||(u&ta)!==0,e=(u&ia)!==0,_=(u&fa)!==0,c=s,o=!0,b=()=>(o&&(o=!1,c=_?m(s):s),c),f;if(e){var E=y in a||ua in a;f=J(a,r)?.set??(E&&r in a?i=>a[r]=i:void 0)}var v,d=!1;e?[v,d]=_a(()=>a[r]):v=a[r],v===void 0&&s!==void 0&&(v=b(),f&&(n&&K(),f(v)));var t;if(n?t=()=>{var i=a[r];return i===void 0?b():(o=!0,i)}:t=()=>{var i=a[r];return i!==void 0&&(c=void 0),i===void 0?c:i},n&&(u&Q)===0)return t;if(f){var I=a.$$legacy;return(function(i,h){return arguments.length>0?((!n||!h||I||d)&&f(h?t():i),i):t()})}var S=!1,l=((u&sa)!==0?V:X)(()=>(S=!1,t()));e&&R(l);var g=ea;return(function(i,h){if(arguments.length>0){const P=h?R(l):n&&e?p(i):i;return W(l,P),S=!0,c!==void 0&&(c=P),i}return aa&&S||(g.f&ra)!==0?l.v:R(l)})}export{ca as b,la as i,va as p};
1
+ import{D as L,E as A,F as Y,J as x,X as B,Y as F,Z as U,_ as q,$ as D,a0 as C,K as N,a1 as M,a2 as Z,a3 as $,a4 as k,a5 as j,N as w,a6 as z,a7 as G,n as m,a8 as H,a9 as y,aa as J,ab as K,ac as Q,Q as R,V,ad as X,ae as p,af as W,ag as aa,ah as ea,ai as ra,aj as ia,m as na,ak as ta,al as sa,am as fa,an as ua}from"./DzKmXKVN.js";function la(a,r,u=!1){A&&Y();var s=a,n=null,e=null,_=Z,c=u?x:0,o=!1;const b=(d,t=!0)=>{o=!0,v(t,d)};var f=null;function E(){f!==null&&(f.lastChild.remove(),s.before(f),f=null);var d=_?n:e,t=_?e:n;d&&k(d),t&&j(t,()=>{_?e=null:n=null})}const v=(d,t)=>{if(_===(_=d))return;let I=!1;if(A){const P=B(s)===F;!!_===P&&(s=U(),q(s),D(!1),I=!0)}var S=$(),l=s;if(S&&(f=document.createDocumentFragment(),f.append(l=C())),_?n??=t&&N(()=>t(l)):e??=t&&N(()=>t(l)),S){var g=M,i=_?n:e,h=_?e:n;i&&g.skipped_effects.delete(i),h&&g.skipped_effects.add(h),g.add_callback(E)}else E();I&&D(!0)};L(()=>{o=!1,r(b),o||v(null,null)},c),A&&(s=w)}function O(a,r){return a===r||a?.[y]===r}function ca(a={},r,u,s){return z(()=>{var n,e;return G(()=>{n=e,e=[],m(()=>{a!==u(...e)&&(r(a,...e),n&&O(u(...n),a)&&r(null,...n))})}),()=>{H(()=>{e&&O(u(...e),a)&&r(null,...e)})}}),a}let T=!1;function _a(a){var r=T;try{return T=!1,[a(),T]}finally{T=r}}function va(a,r,u,s){var n=!na||(u&ta)!==0,e=(u&ia)!==0,_=(u&fa)!==0,c=s,o=!0,b=()=>(o&&(o=!1,c=_?m(s):s),c),f;if(e){var E=y in a||ua in a;f=J(a,r)?.set??(E&&r in a?i=>a[r]=i:void 0)}var v,d=!1;e?[v,d]=_a(()=>a[r]):v=a[r],v===void 0&&s!==void 0&&(v=b(),f&&(n&&K(),f(v)));var t;if(n?t=()=>{var i=a[r];return i===void 0?b():(o=!0,i)}:t=()=>{var i=a[r];return i!==void 0&&(c=void 0),i===void 0?c:i},n&&(u&Q)===0)return t;if(f){var I=a.$$legacy;return(function(i,h){return arguments.length>0?((!n||!h||I||d)&&f(h?t():i),i):t()})}var S=!1,l=((u&sa)!==0?V:X)(()=>(S=!1,t()));e&&R(l);var g=ea;return(function(i,h){if(arguments.length>0){const P=h?R(l):n&&e?p(i):i;return W(l,P),S=!0,c!==void 0&&(c=P),i}return aa&&S||(g.f&ra)!==0?l.v:R(l)})}export{ca as b,la as i,va as p};
@@ -0,0 +1 @@
1
+ const s=globalThis.__sveltekit_tq1kpi?.base??"",t=globalThis.__sveltekit_tq1kpi?.assets??s;export{t as a,s as b};
@@ -1,4 +1,4 @@
1
- import{p as t,a as z,b as ve,c as xe,i as ue,f as L,d as J,g as B,E as ce,h as G,r as he,j as P,k as le,l as de,m as Pe,n as Y,o as fe,q as Le,t as He,u as Mt,v as we,w as Ze,x as Et,y as _e,z as Be,A as ye,B as me,S as Ae,C as bt}from"./WuaXWmRv.js";var At=class{base_center_x;base_center_y;base_radius;initial_angle;right_nleft;constructor(s,e,S,o,i){this.base_center_x=s,this.base_center_y=e,this.base_radius=S,this.initial_angle=o,this.right_nleft=i}angleSign(){return this.right_nleft?1:-1}lFromU(s){return this.base_radius*Math.sqrt(1+s**2)}wFromU(s){if(s<0)throw`err729: involute parameter au ${s} is negative`;if(Math.abs(s)>Math.PI/2)throw`err730: involute parameter au ${s} is larger than PI/2`;return this.angleSign()*(s-Math.atan(s))}w2FromU(s){return this.initial_angle+this.wFromU(s)}ptc(s){const e=this.lFromU(s),S=this.w2FromU(s),o=this.base_center_x+Math.cos(S)*e,i=this.base_center_y+Math.sin(S)*e;return[o,i]}ptcta(s){return this.initial_angle+this.angleSign()*s}uFromL(s){return Math.sqrt(s**2/this.base_radius**2-1)}uFromWslow(s){let S=Math.PI/3,o=S/2,i=this.wFromU(S),d=0;for(;Math.abs(i-s)>1e-4;)i<s?S+=o:S-=o,i=this.wFromU(S),o=o/2,d+=1;return console.log(`dbg072: uFromWslow itcnt ${d}`),S}laptc(s,e,S,o){if(Math.sign(e)*this.angleSign()<0)throw`err904: Invole.laptc angle-of-pressure ${e} not compatible with right_nleft ${this.right_nleft}`;const i=s+e,d=this.base_center_x+Math.cos(i)*this.base_radius,c=this.base_center_y+Math.sin(i)*this.base_radius,n=i-this.angleSign()*Math.PI/2,l=S*this.base_radius,h=d+Math.cos(n)*l,a=c+Math.sin(n)*l,g=this.lFromU(S)*o,r=S,u=Math.cos(r)*g,f=Math.sin(r)*g;return[h,a,u,f]}};function Me(s,e,S,o,i){return new At(s,e,S,o,i)}var kt=class{mod=1;TN=23;as=1;cx=0;cy=0;brr=50;blr=50;ar=54;pr=53;dr=52;br=51;bRound=1;adt=.5;initAngle=0;axisAngle=0;involArcPairs=1;skinThickness=0;involuteR=Me(0,0,50,0,!0);involuteL=Me(0,0,50,0,!1);rud=0;rup=0;rua=0;rwd=0;rwp=0;rwa=0;lud=0;lup=0;lua=0;lwd=0;lwp=0;lwa=0;msg;initStep=0;constructor(){this.mod=1,this.msg="",this.initStep=0}incInitStep(s){if(this.initStep+1!==s)throw`err834: incInitStep initStep ${this.initStep} and target ${s} are not compatible`;this.initStep=s}checkInitStep(s,e){if(this.initStep<s)throw`err835: checkInitStep for ${e} initStep ${this.initStep} is too small compare to targetMin ${s}`}set1ModuleToothNumber(s,e){this.incInitStep(1),this.mod=s,this.TN=e,this.pr=this.mod*this.TN/2,this.as=2*Math.PI/this.TN}set2CenterPosition(s,e){this.incInitStep(2),this.cx=s,this.cy=e}set3CircleRadius(s,e,S,o){this.incInitStep(3),this.ar=this.pr+this.mod*s,this.dr=this.pr-this.mod*e,this.br=this.dr-this.mod*S,this.bRound=o}set4BaseCircles(s,e){this.incInitStep(4),this.brr=s,this.blr=e}set5AddendumThickness(s){this.incInitStep(5),this.adt=s/100}set6Angles(s,e){this.incInitStep(6),this.initAngle=s,this.axisAngle=e}set7InvoluteDetails(s,e){this.incInitStep(7),this.involArcPairs=s,this.skinThickness=e}getRefCircles(){return this.checkInitStep(4,"getRefCircles"),[P(this.cx,this.cy,this.ar,"Azure"),P(this.cx,this.cy,this.pr,"Azure"),P(this.cx,this.cy,this.dr,"Azure"),P(this.cx,this.cy,this.br,"Azure"),P(this.cx,this.cy,this.brr,"CornFlowerBlue"),P(this.cx,this.cy,this.blr,"Crimson")]}calcInvoluteAngles(){this.checkInitStep(4,"calcInvoluteAngles"),this.involuteR=Me(this.cx,this.cy,this.brr,0,!0),this.dr>this.brr?this.rud=this.involuteR.uFromL(this.dr):this.rud=0,this.rup=this.involuteR.uFromL(this.pr),this.rua=this.involuteR.uFromL(this.ar),this.rwd=this.involuteR.wFromU(this.rud),this.rwp=this.involuteR.wFromU(this.rup),this.rwa=this.involuteR.wFromU(this.rua),this.involuteL=Me(this.cx,this.cy,this.blr,0,!1),this.dr>this.blr?this.lud=this.involuteL.uFromL(this.dr):this.lud=0,this.lup=this.involuteL.uFromL(this.pr),this.lua=this.involuteL.uFromL(this.ar),this.lwd=this.involuteL.wFromU(this.lud),this.lwp=this.involuteL.wFromU(this.lup),this.lwa=this.involuteL.wFromU(this.lua)}checkProfileConditions(){const s=this.as*this.adt,e=this.rwa-this.rwp,S=Math.abs(this.lwa-this.lwp),o=s-e-S;if(o<0)throw`err554: No remaining Addendum reserve ${L(o)}
1
+ import{p as t,a as z,b as ve,c as xe,i as ue,f as L,d as J,g as B,E as ce,h as G,r as he,j as P,k as le,l as de,m as Pe,n as Y,o as fe,q as Le,t as He,u as Mt,v as we,w as Ze,x as Et,y as _e,z as Be,A as ye,B as me,S as Ae,C as bt}from"./C3t1Fbv1.js";var At=class{base_center_x;base_center_y;base_radius;initial_angle;right_nleft;constructor(s,e,S,o,i){this.base_center_x=s,this.base_center_y=e,this.base_radius=S,this.initial_angle=o,this.right_nleft=i}angleSign(){return this.right_nleft?1:-1}lFromU(s){return this.base_radius*Math.sqrt(1+s**2)}wFromU(s){if(s<0)throw`err729: involute parameter au ${s} is negative`;if(Math.abs(s)>Math.PI/2)throw`err730: involute parameter au ${s} is larger than PI/2`;return this.angleSign()*(s-Math.atan(s))}w2FromU(s){return this.initial_angle+this.wFromU(s)}ptc(s){const e=this.lFromU(s),S=this.w2FromU(s),o=this.base_center_x+Math.cos(S)*e,i=this.base_center_y+Math.sin(S)*e;return[o,i]}ptcta(s){return this.initial_angle+this.angleSign()*s}uFromL(s){return Math.sqrt(s**2/this.base_radius**2-1)}uFromWslow(s){let S=Math.PI/3,o=S/2,i=this.wFromU(S),d=0;for(;Math.abs(i-s)>1e-4;)i<s?S+=o:S-=o,i=this.wFromU(S),o=o/2,d+=1;return console.log(`dbg072: uFromWslow itcnt ${d}`),S}laptc(s,e,S,o){if(Math.sign(e)*this.angleSign()<0)throw`err904: Invole.laptc angle-of-pressure ${e} not compatible with right_nleft ${this.right_nleft}`;const i=s+e,d=this.base_center_x+Math.cos(i)*this.base_radius,c=this.base_center_y+Math.sin(i)*this.base_radius,n=i-this.angleSign()*Math.PI/2,l=S*this.base_radius,h=d+Math.cos(n)*l,a=c+Math.sin(n)*l,g=this.lFromU(S)*o,r=S,u=Math.cos(r)*g,f=Math.sin(r)*g;return[h,a,u,f]}};function Me(s,e,S,o,i){return new At(s,e,S,o,i)}var kt=class{mod=1;TN=23;as=1;cx=0;cy=0;brr=50;blr=50;ar=54;pr=53;dr=52;br=51;bRound=1;adt=.5;initAngle=0;axisAngle=0;involArcPairs=1;skinThickness=0;involuteR=Me(0,0,50,0,!0);involuteL=Me(0,0,50,0,!1);rud=0;rup=0;rua=0;rwd=0;rwp=0;rwa=0;lud=0;lup=0;lua=0;lwd=0;lwp=0;lwa=0;msg;initStep=0;constructor(){this.mod=1,this.msg="",this.initStep=0}incInitStep(s){if(this.initStep+1!==s)throw`err834: incInitStep initStep ${this.initStep} and target ${s} are not compatible`;this.initStep=s}checkInitStep(s,e){if(this.initStep<s)throw`err835: checkInitStep for ${e} initStep ${this.initStep} is too small compare to targetMin ${s}`}set1ModuleToothNumber(s,e){this.incInitStep(1),this.mod=s,this.TN=e,this.pr=this.mod*this.TN/2,this.as=2*Math.PI/this.TN}set2CenterPosition(s,e){this.incInitStep(2),this.cx=s,this.cy=e}set3CircleRadius(s,e,S,o){this.incInitStep(3),this.ar=this.pr+this.mod*s,this.dr=this.pr-this.mod*e,this.br=this.dr-this.mod*S,this.bRound=o}set4BaseCircles(s,e){this.incInitStep(4),this.brr=s,this.blr=e}set5AddendumThickness(s){this.incInitStep(5),this.adt=s/100}set6Angles(s,e){this.incInitStep(6),this.initAngle=s,this.axisAngle=e}set7InvoluteDetails(s,e){this.incInitStep(7),this.involArcPairs=s,this.skinThickness=e}getRefCircles(){return this.checkInitStep(4,"getRefCircles"),[P(this.cx,this.cy,this.ar,"Azure"),P(this.cx,this.cy,this.pr,"Azure"),P(this.cx,this.cy,this.dr,"Azure"),P(this.cx,this.cy,this.br,"Azure"),P(this.cx,this.cy,this.brr,"CornFlowerBlue"),P(this.cx,this.cy,this.blr,"Crimson")]}calcInvoluteAngles(){this.checkInitStep(4,"calcInvoluteAngles"),this.involuteR=Me(this.cx,this.cy,this.brr,0,!0),this.dr>this.brr?this.rud=this.involuteR.uFromL(this.dr):this.rud=0,this.rup=this.involuteR.uFromL(this.pr),this.rua=this.involuteR.uFromL(this.ar),this.rwd=this.involuteR.wFromU(this.rud),this.rwp=this.involuteR.wFromU(this.rup),this.rwa=this.involuteR.wFromU(this.rua),this.involuteL=Me(this.cx,this.cy,this.blr,0,!1),this.dr>this.blr?this.lud=this.involuteL.uFromL(this.dr):this.lud=0,this.lup=this.involuteL.uFromL(this.pr),this.lua=this.involuteL.uFromL(this.ar),this.lwd=this.involuteL.wFromU(this.lud),this.lwp=this.involuteL.wFromU(this.lup),this.lwa=this.involuteL.wFromU(this.lua)}checkProfileConditions(){const s=this.as*this.adt,e=this.rwa-this.rwp,S=Math.abs(this.lwa-this.lwp),o=s-e-S;if(o<0)throw`err554: No remaining Addendum reserve ${L(o)}
2
2
  `;const i=this.as*(1-this.adt),d=this.rwp-this.rwd,c=Math.abs(this.lwp-this.lwd),n=i-d-c;if(n<2*Math.atan2(this.bRound,this.br))throw`err555: No remaining Dedendum reserve ${L(n)} compare to bRound ${L(this.bRound)}
3
3
  `}getToothRef(){const s=6*this.involArcPairs,e=0;this.checkInitStep(7,"getProfile"),this.calcInvoluteAngles();const S=(this.rua-this.rud)/s,o=(this.lua-this.lud)/s,i=this.initAngle+e*this.as,d=Me(this.cx,this.cy,this.brr,i-this.rwp,!0),[c,n]=d.ptc(this.rud+0*S),l=J(c,n,"Gold");for(let _=0;_<s;_++){const[g,r]=d.ptc(this.rud+(_+1)*S);l.addSegStrokeA(g,r)}const h=i+this.as*this.adt,a=Me(this.cx,this.cy,this.blr,h-this.lwp,!1);for(let _=0;_<s+1;_++){const[g,r]=a.ptc(this.lud+(s-_)*o);l.addSegStrokeA(g,r)}return l.closeSegStroke(),l}getProfile(){this.checkInitStep(7,"getProfile"),this.calcInvoluteAngles(),this.checkProfileConditions();const s=this.rwd-this.rwp,e=this.lwd-this.lwp,S=this.dr>this.brr?this.dr:this.brr,o=this.dr>this.blr?this.dr:this.blr;if(this.bRound>S-this.br)throw`err409: getProfile bRound ${L(this.bRound)} too large for erdr ${L(S)} and br ${L(this.br)}`;if(this.bRound>o-this.br)throw`err408: getProfile bRound ${L(this.bRound)} too large for eldr ${L(o)} and br ${L(this.br)}`;const i=(this.rua-this.rud)/this.involArcPairs,d=(this.lua-this.lud)/this.involArcPairs,c=de(this.cx,this.cy),n=c.translatePolar(this.initAngle+s,this.br),l=J(n.cx,n.cy);for(let h=0;h<this.TN;h++){const a=this.initAngle+h*this.as,_=c.translatePolar(a+s,this.br);l.addSegStrokeA(_.cx,_.cy).addCornerRounded(this.bRound);const g=Me(this.cx,this.cy,this.brr,a-this.rwp,!0),[r,u]=g.ptc(this.rud),f=g.ptcta(this.rud),H=de(r,u).translatePolar(f-Math.PI/2,this.skinThickness);l.addSegStrokeA(H.cx,H.cy);for(let x=0;x<this.involArcPairs;x++){const O=this.rud+x*i,[C,$]=g.ptc(O+i),m=g.ptcta(O),U=g.ptcta(O+i)+Math.PI,F=de(C,$).translatePolar(m-Math.PI/2,this.skinThickness);l.addPointA(F.cx,F.cy).addSeg2Arcs(m,U)}const k=a+this.as*this.adt,M=Me(this.cx,this.cy,this.blr,k-this.lwp,!1),D=this.lud+this.involArcPairs*d,[b,N]=M.ptc(D),R=M.ptcta(D)+Math.PI,v=de(b,N).translatePolar(R-Math.PI/2,this.skinThickness);l.addSegStrokeA(v.cx,v.cy);for(let x=0;x<this.involArcPairs;x++){const O=this.lud+(this.involArcPairs-x)*d,[C,$]=M.ptc(O-d),m=M.ptcta(O)+Math.PI,U=M.ptcta(O-d),F=de(C,$).translatePolar(m-Math.PI/2,this.skinThickness);l.addPointA(F.cx,F.cy).addSeg2Arcs(m,U)}const E=c.translatePolar(k+e,this.br);l.addSegStrokeA(E.cx,E.cy).addCornerRounded(this.bRound)}return l.closeSegStroke(),l}getMsg(){return this.msg}};function Ke(){return new kt}function Rt(s,e,S,o){s.checkInitStep(1,"helper.gw2center-1"),e.checkInitStep(1,"helper.gw2center-2");const i=s.pr+e.pr+o,d=s.cx+i*Math.cos(S),c=s.cy+i*Math.sin(S);return[d,c,i]}function Nt(s,e,S,o,i,d,c,n,l,h,a){s.checkInitStep(3,"helper.baseCircles-1"),e.checkInitStep(3,"helper.baseCircles-2");let _=S,g=i,r=o,u=d;const f=s.pr+e.pr,H=h,k=a;switch(H){case 0:e.TN>s.TN?(_=s.dr,g=_*e.TN/s.TN):(g=e.dr,_=g*s.TN/e.TN);break;case 1:g=_*e.TN/s.TN;break;case 2:_=g*s.TN/e.TN;break;case 3:_=f*s.TN/(s.TN+e.TN)*Math.cos(Pe(c)),g=_*e.TN/s.TN;break;case 4:break;default:console.log(`err337: involROpt2 case ${H} is not implemented!`)}switch(k){case 0:e.TN>s.TN?(r=s.dr,u=r*e.TN/s.TN):(u=e.dr,r=u*s.TN/e.TN);break;case 1:u=r*e.TN/s.TN;break;case 2:r=u*s.TN/e.TN;break;case 3:r=f*s.TN/(s.TN+e.TN)*Math.cos(Pe(n)),u=r*e.TN/s.TN;break;case 4:break;default:console.log(`err358: involLOpt2 case ${k} is not implemented!`)}return l===1&&(r=_,u=g),[_,r,g,u]}var Ct=class{gw1;gw2;initAngle1;angleCenterCenter;interAxis;rightLeftCenter2;msg;apr;apl;lBDr=0;lBDl=0;laStartRr1=0;laStartRr2=0;laStartRl1=0;laStartRl2=0;aFODr1=0;aFODr2=0;aFODl1=0;aFODl2=0;lasr1=0;lasr2=0;lasl1=0;lasl2=0;firstToothUr1=0;firstToothUl1=0;ftdr1=0;ftdl1=0;constructor(s,e,S,o,i,d){this.gw1=s,this.gw2=e,this.initAngle1=S,this.angleCenterCenter=o,this.interAxis=i,this.rightLeftCenter2=d,this.msg="",this.apr=0,this.apl=0}check1(){this.gw1.checkInitStep(4,"ActionLine.check1-1"),this.gw2.checkInitStep(4,"ActionLine.check1-2"),this.interAxis>this.gw1.ar+this.gw2.ar&&(this.msg+=`warn333: initAngle2 interAxis ${L(this.interAxis)} is too large compare to gw1.ar ${L(this.gw1.ar)} and gw2.ar ${L(this.gw2.ar)}
4
4
  `),_e(this.gw1.brr*this.gw2.TN-this.gw2.brr*this.gw1.TN)!==0&&(this.msg+=`warn407: right ratios differ N1/N2 = ${this.gw1.TN} / ${this.gw2.TN} = ${L(this.gw1.TN/this.gw2.TN)} and brr1/brr2 = ${L(this.gw1.brr)}/${L(this.gw2.brr)} = ${L(this.gw1.brr/this.gw2.brr)}
@@ -1 +1 @@
1
- import{l as a,u as g,g as e,h as i,i as v,j as d,k as f,m as y,n as c,o as b,q as x,v as h,w as C,x as k,y as S,z as w,A,B as j,C as z}from"./BRtc5fva.js";import{c as D}from"./CNKnrsqO.js";function E(){return i===null&&v(),(i.ac??=new AbortController).signal}function _(t){e===null&&a(),y&&e.l!==null?u(e).m.push(t):g(()=>{const n=c(t);if(typeof n=="function")return n})}function M(t){e===null&&a(),_(()=>()=>c(t))}function O(t,n,{bubbles:l=!1,cancelable:s=!1}={}){return new CustomEvent(t,{detail:n,bubbles:l,cancelable:s})}function P(){const t=e;return t===null&&a(),(n,l,s)=>{const o=t.s.$$events?.[n];if(o){const p=d(o)?o.slice():[o],r=O(n,l,s);for(const m of p)m.call(t.x,r);return!r.defaultPrevented}return!0}}function U(t){e===null&&a(),e.l===null&&f(),u(e).b.push(t)}function $(t){e===null&&a(),e.l===null&&f(),u(e).a.push(t)}function u(t){var n=t.l;return n.u??={a:[],b:[],m:[]}}const R=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:$,beforeUpdate:U,createEventDispatcher:P,createRawSnippet:D,flushSync:b,getAbortSignal:E,getAllContexts:x,getContext:h,hasContext:C,hydrate:k,mount:S,onDestroy:M,onMount:_,setContext:w,settled:A,tick:j,unmount:z,untrack:c},Symbol.toStringTag,{value:"Module"}));export{M as a,_ as o,R as s};
1
+ import{l as a,u as g,g as e,h as i,i as v,j as d,k as f,m as y,n as c,o as b,q as x,v as h,w as C,x as k,y as S,z as w,A,B as j,C as z}from"./DzKmXKVN.js";import{c as D}from"./D6f3qz9z.js";function E(){return i===null&&v(),(i.ac??=new AbortController).signal}function _(t){e===null&&a(),y&&e.l!==null?u(e).m.push(t):g(()=>{const n=c(t);if(typeof n=="function")return n})}function M(t){e===null&&a(),_(()=>()=>c(t))}function O(t,n,{bubbles:l=!1,cancelable:s=!1}={}){return new CustomEvent(t,{detail:n,bubbles:l,cancelable:s})}function P(){const t=e;return t===null&&a(),(n,l,s)=>{const o=t.s.$$events?.[n];if(o){const p=d(o)?o.slice():[o],r=O(n,l,s);for(const m of p)m.call(t.x,r);return!r.defaultPrevented}return!0}}function U(t){e===null&&a(),e.l===null&&f(),u(e).b.push(t)}function $(t){e===null&&a(),e.l===null&&f(),u(e).a.push(t)}function u(t){var n=t.l;return n.u??={a:[],b:[],m:[]}}const R=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:$,beforeUpdate:U,createEventDispatcher:P,createRawSnippet:D,flushSync:b,getAbortSignal:E,getAllContexts:x,getContext:h,hasContext:C,hydrate:k,mount:S,onDestroy:M,onMount:_,setContext:w,settled:A,tick:j,unmount:z,untrack:c},Symbol.toStringTag,{value:"Module"}));export{M as a,_ as o,R as s};