ملف:Moment of inertia cone.svg

محتويات الصفحة غير مدعومة بلغات أخرى.
من ويكيبيديا، الموسوعة الحرة

الملف الأصلي(ملف SVG، أبعاده 208 × 214 بكسل، حجم الملف: 14 كيلوبايت)

ملخص

الوصف
English: Illustration of the moment of inertia of a cone.
التاريخ
المصدر SVG rendering of the program used to generate the bitmap image Image:Moment_of_inertia_cone.png
المؤلف
  • Original MetaPost program by en:User:Grendelkhan
  • Program tweaked to avoid negative coordinates in PostScript output and rendered as SVG by Qef
  • Manually edited in inkscape to fixing intersection by Wiso
إصدارات أخرى Bitmap rendering of almost identical program: Image:Moment_of_inertia_cone.png
SVG منشأ الملف
InfoField
 
الشيفرة المصدرية لهذا الرسم المتجه صالحة.
 
هذا الرسم المتجهي أُنشئ بواسطة MetaPost
نص برمجي مصدري
InfoField

PostScript code

metapost-source
prologues := 3;

u=18mm;
textscale=u/12mm;

def cone =
  begingroup;
  save pmax,dmax,persp,persp_nt,tens,arr;
  save harr,rarr;
  save p,d;
  save axisprotrusion;
  save xax,yax,zax;
  save height,width,heightu,widthu;
  pmax = 2; dmax = 0;
  persp_nt = 0.5;
  tens = 2-persp_nt;
  persp = persp_nt*u;
  arr = 0.3u; % how far to offset the arrows from the diagram
  axisprotrusion = 0.4u;  % how far do the axes protrude?
  pair harr[],rarr[]; % endpoints for arrows
  path p[],d[]; % just plain paths for now
  pair xax[],yax[],zax[]; % x,y,z are taken; these are for the axes
  % parameters for the actual cone
  height = 1;
  width = 1.5;
  heightu = height*u;
  widthu = width*u;
  % solid paths
  p0 = (0,0)--(widthu/2,heightu);
  p1 = (0,0)--(-widthu/2,heightu);
  p2 = fullcircle scaled u xscaled width yscaled persp_nt shifted (0,heightu);
  % dotted paths
  % don't draw this; it's reference for the y-axis
  d99 = halfcircle scaled u xscaled 2 yscaled (2*persp_nt) rotated 180;
  % endpoints of dimension arrows
  harr0 = (widthu/2,0);
  harr1 = (widthu/2,heightu);
  rarr0 = (0,heightu);
  rarr1 = (widthu/2,heightu);

  % actually draw
  pickup pencircle scaled 1pt;
  for i=0 upto pmax:
    draw p[i];
  endfor;
  drawdblarrow (harr0..harr1);
  label.rt(btex $h$ etex scaled textscale,.5[harr0,harr1]);
  drawdblarrow (rarr0..rarr1);
  label.top(btex $r$ etex scaled textscale,.3[rarr0,rarr1]);
  % x axis
  xax0 = (0,0);
  xax1 = (widthu/2+arr,0);
  drawarrow (xax0..xax1);
  label.rt(btex $x$ etex scaled textscale,xax1);
  % y axis
  yax0 = (0,0);
  yax1 = point 1 of d99;
  yax2 = (width*persp_nt)[yax0,yax1];
  drawarrow (yax0..yax2);
  label.bot(btex $y$ etex scaled textscale,yax2);
  % z axis
  zax0 = (0,0);
  zax1 = (0,heightu);
  zax2 = (0,heightu+axisprotrusion);
  drawarrow (zax1..zax2);
  draw zax0..zax1 dashed evenly;
  label.top(btex $z$ etex scaled textscale,zax2);
  endgroup;
enddef;

beginfig(1)
  cone;
  currentpicture := currentpicture shifted (100,100); % avoid unwanted clipping
endfig;
end

Commands code

mpost fig.mp
ps2pdf -dEPSCrop fig.1 fig.pdf
pstoedit -page 1 -dt -xscale 2 -yscale 2 -f sk fig.pdf fig.sk
inkscape -z --vacuum-defs -f fig.sk -l fig.svg

ترخيص

Grendelkhan at the English Wikipedia، صاحب حقوق التأليف والنشر لهذا العمل، أنشر هذا العمل تحت الرخصة التالية:
GNU head يسمح نسخ وتوزيع و/أو تعديل هذه الوثيقة تحت شروط رخصة جنو للوثائق الحرة، الإصدار 1.2 أو أي إصدار لاحق تنشره مؤسسة البرمجيات الحرة؛ دون أقسام ثابتة ودون نصوص أغلفة أمامية ودون نصوص أغلفة خلفية. نسخة من الرخصة تم تضمينها في القسم المسمى GNU Free Documentation License.
w:ar:مشاع إبداعي
نسب العمل إلى مُؤَلِّفه الإلزام بترخيص المُشتقات بالمثل
هذا الملفُّ مُرخَّص بموجب رخصة المشاع الإبداعي نسبة المُصنَّف إِلى مُؤَلِّفه - المشاركة بالمثل 3.0 العامة
نسب العمل لمُؤَلِّفه: Grendelkhan at the English Wikipedia
يحقُّ لك:
  • مشاركة العمل – نسخ العمل وتوزيعه وبثُّه
  • إعادة إنتاج العمل – تعديل العمل
حسب الشروط التالية:
  • نسب العمل إلى مُؤَلِّفه – يلزم نسب العمل إلى مُؤَلِّفه بشكل مناسب وتوفير رابط للرخصة وتحديد ما إذا أجريت تغييرات. بالإمكان القيام بذلك بأية طريقة معقولة، ولكن ليس بأية طريقة تشير إلى أن المرخِّص يوافقك على الاستعمال.
  • الإلزام بترخيص المُشتقات بالمثل – إذا أعدت إنتاج المواد أو غيرت فيها، فيلزم أن تنشر مساهماتك المُشتقَّة عن الأصل تحت ترخيص الأصل نفسه أو تحت ترخيص مُتوافِقٍ معه.
تمت إضافة علامة الترخيص لهذا الملف كجزء من رخصة جنو للوثائق الحرة تحديث الترخيص.

الشروحات

earab

العناصر المصورة في هذا الملف

يُصوِّر

٩ يوليو 2008

تاريخ الملف

اضغط على زمن/تاريخ لرؤية الملف كما بدا في هذا الزمن.

زمن/تاريخصورة مصغرةالأبعادمستخدمتعليق
حالي11:12، 23 سبتمبر 2008تصغير للنسخة بتاريخ 11:12، 23 سبتمبر 2008208 × 214 (14 كيلوبايت)Wiso{{Information |Description= |Source= |Date= |Author= |Permission= |other_versions= }}
22:36، 9 يوليو 2008تصغير للنسخة بتاريخ 22:36، 9 يوليو 2008208 × 214 (12 كيلوبايت)Qef{{Information |Description={{en|1=Illustration of the moment of inertia of a cone.}} |Source=SVG rendering of the program used to generate the bitmap image Image:Moment_of_inertia_cone.png |Author=* Original MetaPost program by [[en:User:Grendelkhan]

الصفحة التالية تستخدم هذا الملف:

الاستخدام العالمي للملف

الويكيات الأخرى التالية تستخدم هذا الملف: