Extension:3D/pt-br

A extensão 3D fornece ao usuário um suporte para wiki para carregar e visualizar modelos 3D. Veja Help:Extension:3d para documentação de uso.

Ele atualmente suporta os formatos de arquivo AMF e STL, que são comuns no campo de impressão 3D.

1. Permitindo o envio de arquivos em 3D
Diga ao software para aceitar envios STL. Adicione o seguinte ao seu :

3. Instalando o 3d2png
O 3d2png é um renderizador de miniaturas para arquivos em 3D. Ele renderizará miniaturas em PNG da mesma maneira que essa extensão vai exibir os objetos, pois usa das mesmas bibliotecas JS, que são executas pelo Node.js em vez do próprio navegador do usuário.

Para instalar, clonar e ativar o repositório 3d2png:

No Linux, será necessário instalar um framebuffer para que o 3d2png possa capturar o objeto 3D sem o uso de cabeçalhos.

Após ter instalado o 3d2png, diremos à extensão 3D como fazer a chamada ao serviço. Add this to your, and make sure to update the paths to match your configuration:

4. Install Extension:MultimediaViewer
MultimediaViewer is not a hard dependency of the 3D extension, but you will need to install it if you want to interact (move, pan, zoom) with the 3D models. After installing MultimediaViewer, you will need to associate the STL file type with the correct viewer extension, by adding this to your  file:

Special:Upload
To add patent agreement selection options to Special:Upload, edit your wiki's  page. Every line on that page will be turned into an &lt;option&gt;, where everything after the last  character is the text, and everything before is the template that will be added to the upload content. Check out commons:MediaWiki:3d-patents for an example.

'''Make sure to create the template(s) that will be added to the content. I.e. '''

Special:UploadWizard
Special:UploadWizard also supports patent agreement, though slightly less flexible. When uploading a third party STL file, a dialog will be displayed to confirm your upload does not infringe any patents. When uploading one of your own, it'll also ask to confirm the 3d objects depicted are your own work. The template added to the upload content will be or  respectively.

To change the phrasing of these messages, these pages can be altered:  &.

To change which file types require patent agreement, which template is added to the upload content or where the urls point to, change. Below are the default settings:

Extension:CommonsMetadata
Lastly, Extension:CommonsMetadata provides a way to track 3D uploads without said patent license, though it is not configurable at all. It will just check for uploads with a  mime type (currently the only ones supported by Extension:3D) that lack the   template. Matching files lacking this template in their content will automatically be added to to.

If you use any other template than, this will not be useful for you, as this is not currently configurable.